[INFO] cloning repository https://github.com/MrRobb/pddl-parser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MrRobb/pddl-parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrRobb%2Fpddl-parser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrRobb%2Fpddl-parser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9afc5fac88dd8050d0766cb5ab692a21dead0d7f [INFO] checking MrRobb/pddl-parser/9afc5fac88dd8050d0766cb5ab692a21dead0d7f against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrRobb%2Fpddl-parser" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MrRobb/pddl-parser 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/MrRobb/pddl-parser [INFO] finished tweaking git repo https://github.com/MrRobb/pddl-parser [INFO] tweaked toml for git repo https://github.com/MrRobb/pddl-parser written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MrRobb/pddl-parser 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] ec85662ccd8fcd05659bfcc81cb5a599381808854d8a3f4e42d0511531a4ecff [INFO] running `Command { std: "docker" "start" "-a" "ec85662ccd8fcd05659bfcc81cb5a599381808854d8a3f4e42d0511531a4ecff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec85662ccd8fcd05659bfcc81cb5a599381808854d8a3f4e42d0511531a4ecff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec85662ccd8fcd05659bfcc81cb5a599381808854d8a3f4e42d0511531a4ecff", kill_on_drop: false }` [INFO] [stdout] ec85662ccd8fcd05659bfcc81cb5a599381808854d8a3f4e42d0511531a4ecff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] cda39a78c4cef9b5ba94390eb63d56f30bec8558601ef15e041ad2c62b39af94 [INFO] running `Command { std: "docker" "start" "-a" "cda39a78c4cef9b5ba94390eb63d56f30bec8558601ef15e041ad2c62b39af94", 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 libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking half v2.3.1 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking indicatif v0.17.7 [INFO] [stderr] Compiling openssl-src v300.2.2+3.2.1 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Compiling libz-sys v1.1.15 [INFO] [stderr] Compiling openssl-sys v0.9.99 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling libgit2-sys v0.16.2+1.7.2 [INFO] [stderr] Checking is-terminal v0.4.10 [INFO] [stderr] Checking tempfile v3.10.0 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling logos-codegen v0.14.0 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking pretty_env_logger v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling logos-derive v0.14.0 [INFO] [stderr] Checking logos v0.14.0 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking pddl-parser v0.2.3 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `pddl_parser` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/domain/constant.rs [INFO] [stderr] * src/domain/domain.rs [INFO] [stderr] * src/domain/durative_action.rs [INFO] [stderr] * src/domain/expression.rs [INFO] [stderr] * src/domain/predicate.rs [INFO] [stderr] * src/domain/requirement.rs [INFO] [stderr] * src/domain/simple_action.rs [INFO] [stderr] * src/domain/typed_parameter.rs [INFO] [stderr] * src/domain/typed_predicate.rs [INFO] [stderr] * src/domain/typing.rs [INFO] [stderr] * src/error.rs [INFO] [stderr] * src/lexer.rs [INFO] [stderr] * src/plan/durative_action.rs [INFO] [stderr] * src/plan/simple_action.rs [INFO] [stderr] * src/problem.rs [INFO] [stderr] * src/tokens.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:10:16 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Logos + use<'s>, Debug, Display, Clone, PartialEq)] [INFO] [stderr] | ^ expected one of `(`, `,`, `::`, or `=` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::lexer::Token` [INFO] [stderr] --> src/domain/constant.rs:8:20 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::lexer::{Token, TokenStream}; [INFO] [stderr] | ^^^^^ no `Token` in `lexer` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::lexer::Token` [INFO] [stderr] --> src/domain/domain.rs:14:20 [INFO] [stderr] | [INFO] [stderr] 14 | use crate::lexer::{Token, TokenStream}; [INFO] [stderr] | ^^^^^ no `Token` in `lexer` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::lexer::Token` [INFO] [stderr] --> src/domain/durative_action.rs:9:20 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::lexer::{Token, TokenStream}; [INFO] [stderr] | ^^^^^ no `Token` in `lexer` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::lexer::Token` [INFO] [stderr] --> src/domain/expression.rs:11:20 [INFO] [stderr] | [INFO] [stderr] 11 | use crate::lexer::{Token, TokenStream}; [INFO] [stderr] | ^^^^^ no `Token` in `lexer` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::lexer::Token` [INFO] [stderr] --> src/domain/predicate.rs:8:20 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::lexer::{Token, TokenStream}; [INFO] [stderr] | ^^^^^ no `Token` in `lexer` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::lexer::Token` [INFO] [stderr] --> src/domain/requirement.rs:9:20 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::lexer::{Token, TokenStream}; [INFO] [stderr] | ^^^^^ no `Token` in `lexer` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::lexer::Token` [INFO] [stderr] --> src/domain/simple_action.rs:9:20 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::lexer::{Token, TokenStream}; [INFO] [stderr] | ^^^^^ no `Token` in `lexer` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::lexer::Token` [INFO] [stderr] --> src/domain/typed_parameter.rs:9:20 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::lexer::{Token, TokenStream}; [INFO] [stderr] | ^^^^^ no `Token` in `lexer` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::lexer::Token` [INFO] [stderr] --> src/domain/typed_predicate.rs:9:20 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::lexer::{Token, TokenStream}; [INFO] [stderr] | ^^^^^ no `Token` in `lexer` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::lexer::Token` [INFO] [stderr] --> src/domain/typing.rs:12:20 [INFO] [stderr] | [INFO] [stderr] 12 | use crate::lexer::{Token, TokenStream}; [INFO] [stderr] | ^^^^^ no `Token` in `lexer` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::lexer::Token` [INFO] [stderr] --> src/error.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::lexer::Token; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ no `Token` in `lexer` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::lexer::Token` [INFO] [stderr] --> src/plan/durative_action.rs:9:20 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::lexer::{Token, TokenStream}; [INFO] [stderr] | ^^^^^ no `Token` in `lexer` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::lexer::Token` [INFO] [stderr] --> src/plan/simple_action.rs:9:20 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::lexer::{Token, TokenStream}; [INFO] [stderr] | ^^^^^ no `Token` in `lexer` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::lexer::Token` [INFO] [stderr] --> src/problem.rs:10:20 [INFO] [stderr] | [INFO] [stderr] 10 | use crate::lexer::{Token, TokenStream}; [INFO] [stderr] | ^^^^^ no `Token` in `lexer` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::lexer::Token` [INFO] [stderr] --> src/tokens.rs:4:20 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::lexer::{Token, TokenStream}; [INFO] [stderr] | ^^^^^ no `Token` in `lexer` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Token` in this scope [INFO] [stderr] --> src/lexer.rs:355:29 [INFO] [stderr] | [INFO] [stderr] 355 | lexer: logos::Lexer<'a, Token>, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 354 | pub struct TokenStream<'a, Token> { [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Token` in this scope [INFO] [stderr] --> src/lexer.rs:390:42 [INFO] [stderr] | [INFO] [stderr] 390 | pub fn peek(&self) -> Option<(Result, &'a str)> { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 366 | impl<'a, Token> TokenStream<'a> { [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Token` in this scope [INFO] [stderr] --> src/lexer.rs:396:58 [INFO] [stderr] | [INFO] [stderr] 396 | pub fn peek_n(&self, n: usize) -> Option, String)>> { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 366 | impl<'a, Token> TokenStream<'a> { [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Token` in this scope [INFO] [stderr] --> src/lexer.rs:420:65 [INFO] [stderr] | [INFO] [stderr] 420 | impl<'a> nom::Parser, &'a str, ParserError> for Token { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/domain/expression.rs:394:22 [INFO] [stderr] | [INFO] [stderr] 394 | |(_, _, expression)| Expression::Duration(DurationInstant::Start, Box::new(expression)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected `str`, found `(_, _, _)` [INFO] [stderr] | expected due to this [INFO] [stderr] | [INFO] [stderr] = note: expected type `str` [INFO] [stderr] found tuple `(_, _, _)` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/domain/expression.rs:398:22 [INFO] [stderr] | [INFO] [stderr] 398 | |(_, _, expression)| Expression::Duration(DurationInstant::End, Box::new(expression)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected `str`, found `(_, _, _)` [INFO] [stderr] | expected due to this [INFO] [stderr] | [INFO] [stderr] = note: expected type `str` [INFO] [stderr] found tuple `(_, _, _)` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/domain/expression.rs:402:22 [INFO] [stderr] | [INFO] [stderr] 402 | |(_, _, expression)| Expression::Duration(DurationInstant::All, Box::new(expression)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected `str`, found `(_, _, _)` [INFO] [stderr] | expected due to this [INFO] [stderr] | [INFO] [stderr] = note: expected type `str` [INFO] [stderr] found tuple `(_, _, _)` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stderr] --> src/lexer.rs:370:20 [INFO] [stderr] | [INFO] [stderr] 370 | lexer: Token::lexer(input), [INFO] [stderr] | ^^^^^ use of undeclared type `Token` [INFO] [stderr] [INFO] [stderr] error: aborting due to 24 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0412, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Logos, Debug, Display, Clone, 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:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Logos, Debug, Display, Clone, 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] 10 | #[derive(Logos + use<'s>, Debug, Display, Clone, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, i64, Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Logos, Debug, Display, Clone, 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:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Logos, Debug, Display, Clone, 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] 10 | #[derive(Logos + use<'s>, Debug, Display, Clone, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, i64, Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Logos, Debug, Display, Clone, 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:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Logos, Debug, Display, Clone, 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] 10 | #[derive(Logos + use<'s>, Debug, Display, Clone, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, f64, Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Logos, Debug, Display, Clone, 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:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Logos, Debug, Display, Clone, 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] 10 | #[derive(Logos + use<'s>, Debug, Display, Clone, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Logos, Debug, Display, Clone, 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:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Logos, Debug, Display, Clone, 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] 10 | #[derive(Logos + use<'s>, Debug, Display, Clone, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking git2 v0.18.2 [INFO] [stderr] Migrating examples/cli.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `pddl_parser` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/domain/constant.rs [INFO] [stderr] * src/domain/domain.rs [INFO] [stderr] * src/domain/durative_action.rs [INFO] [stderr] * src/domain/expression.rs [INFO] [stderr] * src/domain/predicate.rs [INFO] [stderr] * src/domain/requirement.rs [INFO] [stderr] * src/domain/simple_action.rs [INFO] [stderr] * src/domain/typed_parameter.rs [INFO] [stderr] * src/domain/typed_predicate.rs [INFO] [stderr] * src/domain/typing.rs [INFO] [stderr] * src/error.rs [INFO] [stderr] * src/lexer.rs [INFO] [stderr] * src/plan/durative_action.rs [INFO] [stderr] * src/plan/simple_action.rs [INFO] [stderr] * src/problem.rs [INFO] [stderr] * src/tokens.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:10:16 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Logos + use<'s>, Debug, Display, Clone, PartialEq)] [INFO] [stderr] | ^ expected one of `(`, `,`, `::`, or `=` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::lexer::Token` [INFO] [stderr] --> src/domain/constant.rs:8:20 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::lexer::{Token, TokenStream}; [INFO] [stderr] | ^^^^^ no `Token` in `lexer` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::lexer::Token` [INFO] [stderr] --> src/domain/domain.rs:14:20 [INFO] [stderr] | [INFO] [stderr] 14 | use crate::lexer::{Token, TokenStream}; [INFO] [stderr] | ^^^^^ no `Token` in `lexer` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::lexer::Token` [INFO] [stderr] --> src/domain/durative_action.rs:9:20 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::lexer::{Token, TokenStream}; [INFO] [stderr] | ^^^^^ no `Token` in `lexer` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::lexer::Token` [INFO] [stderr] --> src/domain/expression.rs:11:20 [INFO] [stderr] | [INFO] [stderr] 11 | use crate::lexer::{Token, TokenStream}; [INFO] [stderr] | ^^^^^ no `Token` in `lexer` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::lexer::Token` [INFO] [stderr] --> src/domain/predicate.rs:8:20 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::lexer::{Token, TokenStream}; [INFO] [stderr] | ^^^^^ no `Token` in `lexer` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::lexer::Token` [INFO] [stderr] --> src/domain/requirement.rs:9:20 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::lexer::{Token, TokenStream}; [INFO] [stderr] | ^^^^^ no `Token` in `lexer` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::lexer::Token` [INFO] [stderr] --> src/domain/simple_action.rs:9:20 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::lexer::{Token, TokenStream}; [INFO] [stderr] | ^^^^^ no `Token` in `lexer` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::lexer::Token` [INFO] [stderr] --> src/domain/typed_parameter.rs:9:20 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::lexer::{Token, TokenStream}; [INFO] [stderr] | ^^^^^ no `Token` in `lexer` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::lexer::Token` [INFO] [stderr] --> src/domain/typed_predicate.rs:9:20 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::lexer::{Token, TokenStream}; [INFO] [stderr] | ^^^^^ no `Token` in `lexer` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::lexer::Token` [INFO] [stderr] --> src/domain/typing.rs:12:20 [INFO] [stderr] | [INFO] [stderr] 12 | use crate::lexer::{Token, TokenStream}; [INFO] [stderr] | ^^^^^ no `Token` in `lexer` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::lexer::Token` [INFO] [stderr] --> src/error.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::lexer::Token; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ no `Token` in `lexer` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::lexer::Token` [INFO] [stderr] --> src/plan/durative_action.rs:9:20 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::lexer::{Token, TokenStream}; [INFO] [stderr] | ^^^^^ no `Token` in `lexer` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::lexer::Token` [INFO] [stderr] --> src/plan/simple_action.rs:9:20 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::lexer::{Token, TokenStream}; [INFO] [stderr] | ^^^^^ no `Token` in `lexer` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::lexer::Token` [INFO] [stderr] --> src/problem.rs:10:20 [INFO] [stderr] | [INFO] [stderr] 10 | use crate::lexer::{Token, TokenStream}; [INFO] [stderr] | ^^^^^ no `Token` in `lexer` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::lexer::Token` [INFO] [stderr] --> src/tokens.rs:4:20 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::lexer::{Token, TokenStream}; [INFO] [stderr] | ^^^^^ no `Token` in `lexer` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Token` in this scope [INFO] [stderr] --> src/lexer.rs:355:29 [INFO] [stderr] | [INFO] [stderr] 355 | lexer: logos::Lexer<'a, Token>, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 354 | pub struct TokenStream<'a, Token> { [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Token` in this scope [INFO] [stderr] --> src/lexer.rs:390:42 [INFO] [stderr] | [INFO] [stderr] 390 | pub fn peek(&self) -> Option<(Result, &'a str)> { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 366 | impl<'a, Token> TokenStream<'a> { [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Token` in this scope [INFO] [stderr] --> src/lexer.rs:396:58 [INFO] [stderr] | [INFO] [stderr] 396 | pub fn peek_n(&self, n: usize) -> Option, String)>> { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 366 | impl<'a, Token> TokenStream<'a> { [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Token` in this scope [INFO] [stderr] --> src/lexer.rs:420:65 [INFO] [stderr] | [INFO] [stderr] 420 | impl<'a> nom::Parser, &'a str, ParserError> for Token { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/domain/expression.rs:394:22 [INFO] [stderr] | [INFO] [stderr] 394 | |(_, _, expression)| Expression::Duration(DurationInstant::Start, Box::new(expression)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected `str`, found `(_, _, _)` [INFO] [stderr] | expected due to this [INFO] [stderr] | [INFO] [stderr] = note: expected type `str` [INFO] [stderr] found tuple `(_, _, _)` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/domain/expression.rs:398:22 [INFO] [stderr] | [INFO] [stderr] 398 | |(_, _, expression)| Expression::Duration(DurationInstant::End, Box::new(expression)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected `str`, found `(_, _, _)` [INFO] [stderr] | expected due to this [INFO] [stderr] | [INFO] [stderr] = note: expected type `str` [INFO] [stderr] found tuple `(_, _, _)` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/domain/expression.rs:402:22 [INFO] [stderr] | [INFO] [stderr] 402 | |(_, _, expression)| Expression::Duration(DurationInstant::All, Box::new(expression)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected `str`, found `(_, _, _)` [INFO] [stderr] | expected due to this [INFO] [stderr] | [INFO] [stderr] = note: expected type `str` [INFO] [stderr] found tuple `(_, _, _)` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stderr] --> src/lexer.rs:370:20 [INFO] [stderr] | [INFO] [stderr] 370 | lexer: Token::lexer(input), [INFO] [stderr] | ^^^^^ use of undeclared type `Token` [INFO] [stderr] [INFO] [stderr] error: aborting due to 24 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0412, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | std::env::set_var("RUST_LOG", "debug"); [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] 51 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 52 ~ unsafe { std::env::set_var("RUST_LOG", "debug") }; [INFO] [stdout] | [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/lib.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | std::env::set_var("RUST_LOG", "debug"); [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] 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] 62 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 63 ~ unsafe { std::env::set_var("RUST_LOG", "debug") }; [INFO] [stdout] | [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/lib.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | std::env::set_var("RUST_LOG", "debug"); [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] 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] 73 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 74 ~ unsafe { std::env::set_var("RUST_LOG", "debug") }; [INFO] [stdout] | [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/lib.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | std::env::set_var("RUST_LOG", "debug"); [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] 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] 97 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 98 ~ unsafe { std::env::set_var("RUST_LOG", "debug") }; [INFO] [stdout] | [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/lib.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | std::env::set_var("RUST_LOG", "debug"); [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] 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] 152 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 153 ~ unsafe { std::env::set_var("RUST_LOG", "debug") }; [INFO] [stdout] | [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/lib.rs:361:9 [INFO] [stdout] | [INFO] [stdout] 361 | std::env::set_var("RUST_LOG", "debug"); [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] 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] 361 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 362 ~ unsafe { std::env::set_var("RUST_LOG", "debug") }; [INFO] [stdout] | [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/lib.rs:991:9 [INFO] [stdout] | [INFO] [stdout] 991 | std::env::set_var("RUST_LOG", "debug"); [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] 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] 991 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 992 ~ unsafe { std::env::set_var("RUST_LOG", "debug") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Logos, Debug, Display, Clone, 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:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Logos, Debug, Display, Clone, 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] 10 | #[derive(Logos + use<'s>, Debug, Display, Clone, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, i64, Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Logos, Debug, Display, Clone, 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:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Logos, Debug, Display, Clone, 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] 10 | #[derive(Logos + use<'s>, Debug, Display, Clone, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, i64, Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Logos, Debug, Display, Clone, 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:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Logos, Debug, Display, Clone, 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] 10 | #[derive(Logos + use<'s>, Debug, Display, Clone, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, f64, Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Logos, Debug, Display, Clone, 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:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Logos, Debug, Display, Clone, 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] 10 | #[derive(Logos + use<'s>, Debug, Display, Clone, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lexer.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Logos, Debug, Display, Clone, 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:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Logos, Debug, Display, Clone, 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] 10 | #[derive(Logos + use<'s>, Debug, Display, Clone, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed examples/cli.rs (1 fix) [INFO] [stderr] Migrating tests/test_instances.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/bench.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/basic.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.56s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking pddl-parser v0.2.3 (/tmp/fixit) [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/lib.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | std::env::set_var("RUST_LOG", "debug"); [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] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/lib.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | std::env::set_var("RUST_LOG", "debug"); [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] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/lib.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | std::env::set_var("RUST_LOG", "debug"); [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] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/lib.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | std::env::set_var("RUST_LOG", "debug"); [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] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/lib.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | std::env::set_var("RUST_LOG", "debug"); [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] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/lib.rs:361:9 [INFO] [stdout] | [INFO] [stdout] 361 | std::env::set_var("RUST_LOG", "debug"); [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] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe function or block [INFO] [stdout] --> src/lib.rs:991:9 [INFO] [stdout] | [INFO] [stdout] 991 | std::env::set_var("RUST_LOG", "debug"); [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 `pddl-parser` (lib test) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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" "cda39a78c4cef9b5ba94390eb63d56f30bec8558601ef15e041ad2c62b39af94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cda39a78c4cef9b5ba94390eb63d56f30bec8558601ef15e041ad2c62b39af94", kill_on_drop: false }` [INFO] [stdout] cda39a78c4cef9b5ba94390eb63d56f30bec8558601ef15e041ad2c62b39af94