[INFO] fetching crate logos 0.14.2... [INFO] checking logos-0.14.2 against try#da25749bf5e6ba5ed862ff361c19afff2a986b2d for pr-132712 [INFO] extracting crate logos 0.14.2 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate logos 0.14.2 on toolchain da25749bf5e6ba5ed862ff361c19afff2a986b2d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate logos 0.14.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate logos 0.14.2 [INFO] tweaked toml for crates.io crate logos 0.14.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate logos 0.14.2 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" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "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" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9109c6c25ef1960974760ba54304ee4f467bf956baaf2241e537345b6c517d2c [INFO] running `Command { std: "docker" "start" "-a" "9109c6c25ef1960974760ba54304ee4f467bf956baaf2241e537345b6c517d2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9109c6c25ef1960974760ba54304ee4f467bf956baaf2241e537345b6c517d2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9109c6c25ef1960974760ba54304ee4f467bf956baaf2241e537345b6c517d2c", kill_on_drop: false }` [INFO] [stdout] 9109c6c25ef1960974760ba54304ee4f467bf956baaf2241e537345b6c517d2c [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" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fce05ade18b2f19f4b63e91151464fb309c077af6c92e9316f697ecd7fc85005 [INFO] running `Command { std: "docker" "start" "-a" "fce05ade18b2f19f4b63e91151464fb309c077af6c92e9316f697ecd7fc85005", 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.86 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking concolor-query v0.1.0 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking concolor v0.0.11 [INFO] [stderr] Checking ariadne v0.2.0 [INFO] [stderr] Compiling logos-codegen v0.14.2 [INFO] [stderr] Compiling logos-derive v0.14.2 [INFO] [stderr] Checking logos v0.14.2 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/source.rs (8 fixes) [INFO] [stderr] Fixed src/lexer.rs (1 fix) [INFO] [stderr] Migrating examples/custom_error.rs from 2021 edition to 2024 [INFO] [stdout] warning: `impl CallbackResult<'s, u8, Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> examples/custom_error.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Debug, Logos, 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] --> examples/custom_error.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Debug, Logos, 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] [INFO] [stdout] [INFO] [stderr] Migrating examples/brainfuck.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/json.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/json_borrowed.rs from 2021 edition to 2024 [INFO] [stdout] warning: `impl CallbackResult<'s, String, Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> examples/json.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Logos)] [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] --> examples/json.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Logos)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, String, Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> examples/json.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Logos)] [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] --> examples/json.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Logos)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, bool, Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> examples/json.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Logos)] [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] --> examples/json.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Logos)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, bool, Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> examples/json.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Logos)] [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] --> examples/json.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Logos)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, f64, Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> examples/json.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Logos)] [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] --> examples/json.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Logos)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, f64, Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> examples/json.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Logos)] [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] --> examples/json.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Logos)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, f64, Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> examples/json.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Logos)] [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] --> examples/json.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Logos)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, f64, Token>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> examples/json.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Logos)] [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] --> examples/json.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Logos)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, &'s str, Token<'s>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> examples/json_borrowed.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Logos)] [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] --> examples/json_borrowed.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Logos)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/extras.rs from 2021 edition to 2024 [INFO] [stdout] warning: `impl CallbackResult<'s, &'s str, Token<'s>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> examples/json_borrowed.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Logos)] [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] --> examples/json_borrowed.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Logos)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, bool, Token<'s>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> examples/json_borrowed.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Logos)] [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] --> examples/json_borrowed.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Logos)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, bool, Token<'s>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> examples/json_borrowed.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Logos)] [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] --> examples/json_borrowed.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Logos)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, f64, Token<'s>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> examples/json_borrowed.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Logos)] [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] --> examples/json_borrowed.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Logos)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, f64, Token<'s>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> examples/json_borrowed.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Logos)] [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] --> examples/json_borrowed.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Logos)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, f64, Token<'s>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> examples/json_borrowed.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Logos)] [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] --> examples/json_borrowed.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Logos)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, f64, Token<'s>>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> examples/json_borrowed.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Logos)] [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] --> examples/json_borrowed.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Logos)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.16s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking logos v0.14.2 (/tmp/fixit) [INFO] [stdout] error[E0499]: cannot borrow `*lex` as mutable more than once at a time [INFO] [stdout] --> examples/custom_error.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Debug, Logos, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `*lex` was mutably borrowed here in the previous iteration of the loop [INFO] [stdout] | first borrow later used by call [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> examples/custom_error.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Debug, Logos, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a precise capturing bound to avoid overcapturing [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Debug, Logos + use<'s>, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `logos` (example "custom_error") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0499]: cannot borrow `*lex` as mutable more than once at a time [INFO] [stdout] --> examples/json.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Logos)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `*lex` was mutably borrowed here in the previous iteration of the loop [INFO] [stdout] | first borrow later used by call [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> examples/json.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Logos)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a precise capturing bound to avoid overcapturing [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Logos + use<'s>)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*lex` as mutable more than once at a time [INFO] [stdout] --> examples/json.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Logos)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `*lex` was mutably borrowed here in the previous iteration of the loop [INFO] [stdout] | first borrow later used by call [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> examples/json.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Logos)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a precise capturing bound to avoid overcapturing [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Logos + use<'s>)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*lex` as mutable more than once at a time [INFO] [stdout] --> examples/json.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Logos)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `*lex` was mutably borrowed here in the previous iteration of the loop [INFO] [stdout] | first borrow later used by call [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> examples/json.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Logos)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a precise capturing bound to avoid overcapturing [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Logos + use<'s>)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*lex` as mutable more than once at a time [INFO] [stdout] --> examples/json.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Logos)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `*lex` was mutably borrowed here in the previous iteration of the loop [INFO] [stdout] | first borrow later used by call [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> examples/json.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Logos)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a precise capturing bound to avoid overcapturing [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Logos + use<'s>)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*lex` as mutable more than once at a time [INFO] [stdout] --> examples/json.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Logos)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `*lex` was mutably borrowed here in the previous iteration of the loop [INFO] [stdout] | first borrow later used by call [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> examples/json.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Logos)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a precise capturing bound to avoid overcapturing [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Logos + use<'s>)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*lex` as mutable more than once at a time [INFO] [stdout] --> examples/json.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Logos)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `*lex` was mutably borrowed here in the previous iteration of the loop [INFO] [stdout] | first borrow later used by call [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> examples/json.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Logos)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a precise capturing bound to avoid overcapturing [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Logos + use<'s>)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*lex` as mutable more than once at a time [INFO] [stdout] --> examples/json.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Logos)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `*lex` was mutably borrowed here in the previous iteration of the loop [INFO] [stdout] | first borrow later used by call [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> examples/json.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Logos)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a precise capturing bound to avoid overcapturing [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Logos + use<'s>)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*lex` as mutable more than once at a time [INFO] [stdout] --> examples/json.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Logos)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `*lex` was mutably borrowed here in the previous iteration of the loop [INFO] [stdout] | first borrow later used by call [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> examples/json.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Logos)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a precise capturing bound to avoid overcapturing [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, Logos + use<'s>)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*lex` as mutable more than once at a time [INFO] [stdout] --> examples/json_borrowed.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Logos)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `*lex` was mutably borrowed here in the previous iteration of the loop [INFO] [stdout] | first borrow later used by call [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> examples/json_borrowed.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Logos)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a precise capturing bound to avoid overcapturing [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Logos + use<'s>)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*lex` as mutable more than once at a time [INFO] [stdout] --> examples/json_borrowed.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Logos)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `*lex` was mutably borrowed here in the previous iteration of the loop [INFO] [stdout] | first borrow later used by call [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> examples/json_borrowed.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Logos)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a precise capturing bound to avoid overcapturing [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Logos + use<'s>)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*lex` as mutable more than once at a time [INFO] [stdout] --> examples/json_borrowed.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Logos)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `*lex` was mutably borrowed here in the previous iteration of the loop [INFO] [stdout] | first borrow later used by call [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> examples/json_borrowed.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Logos)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a precise capturing bound to avoid overcapturing [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Logos + use<'s>)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*lex` as mutable more than once at a time [INFO] [stdout] --> examples/json_borrowed.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Logos)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `*lex` was mutably borrowed here in the previous iteration of the loop [INFO] [stdout] | first borrow later used by call [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> examples/json_borrowed.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Logos)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a precise capturing bound to avoid overcapturing [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Logos + use<'s>)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*lex` as mutable more than once at a time [INFO] [stdout] --> examples/json_borrowed.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Logos)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `*lex` was mutably borrowed here in the previous iteration of the loop [INFO] [stdout] | first borrow later used by call [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> examples/json_borrowed.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Logos)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a precise capturing bound to avoid overcapturing [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Logos + use<'s>)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*lex` as mutable more than once at a time [INFO] [stdout] --> examples/json_borrowed.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Logos)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `*lex` was mutably borrowed here in the previous iteration of the loop [INFO] [stdout] | first borrow later used by call [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> examples/json_borrowed.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Logos)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a precise capturing bound to avoid overcapturing [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Logos + use<'s>)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*lex` as mutable more than once at a time [INFO] [stdout] --> examples/json_borrowed.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Logos)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `*lex` was mutably borrowed here in the previous iteration of the loop [INFO] [stdout] | first borrow later used by call [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> examples/json_borrowed.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Logos)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a precise capturing bound to avoid overcapturing [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Logos + use<'s>)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `*lex` as mutable more than once at a time [INFO] [stdout] --> examples/json_borrowed.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Logos)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `*lex` was mutably borrowed here in the previous iteration of the loop [INFO] [stdout] | first borrow later used by call [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> examples/json_borrowed.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Logos)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a precise capturing bound to avoid overcapturing [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Logos + use<'s>)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `logos` (example "json") due to 8 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0499`. [INFO] [stdout] [INFO] [stderr] error: could not compile `logos` (example "json-borrowed") due to 8 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "fce05ade18b2f19f4b63e91151464fb309c077af6c92e9316f697ecd7fc85005", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fce05ade18b2f19f4b63e91151464fb309c077af6c92e9316f697ecd7fc85005", kill_on_drop: false }` [INFO] [stdout] fce05ade18b2f19f4b63e91151464fb309c077af6c92e9316f697ecd7fc85005