[INFO] cloning repository https://github.com/elegaanz/berlioz [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/elegaanz/berlioz" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felegaanz%2Fberlioz", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felegaanz%2Fberlioz'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c59880f557a0be4822e6c9d39bc68eb9a136b1af [INFO] checking elegaanz/berlioz/c59880f557a0be4822e6c9d39bc68eb9a136b1af against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felegaanz%2Fberlioz" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/elegaanz/berlioz on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/elegaanz/berlioz [INFO] finished tweaking git repo https://github.com/elegaanz/berlioz [INFO] tweaked toml for git repo https://github.com/elegaanz/berlioz written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/elegaanz/berlioz 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5847fee2efdd45a0fadb6d251ff7a7a37fd47873eb8ee6699c1e194d66ab349c [INFO] running `Command { std: "docker" "start" "-a" "5847fee2efdd45a0fadb6d251ff7a7a37fd47873eb8ee6699c1e194d66ab349c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5847fee2efdd45a0fadb6d251ff7a7a37fd47873eb8ee6699c1e194d66ab349c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5847fee2efdd45a0fadb6d251ff7a7a37fd47873eb8ee6699c1e194d66ab349c", kill_on_drop: false }` [INFO] [stdout] 5847fee2efdd45a0fadb6d251ff7a7a37fd47873eb8ee6699c1e194d66ab349c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 834e5b030b297c8b5f3c35154cbe306df4c028c373ff8025feefda40491dd265 [INFO] running `Command { std: "docker" "start" "-a" "834e5b030b297c8b5f3c35154cbe306df4c028c373ff8025feefda40491dd265", 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.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling case v1.0.0 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling cpal v0.15.2 [INFO] [stderr] Compiling ungrammar v1.16.1 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking countme v3.0.1 [INFO] [stderr] Checking text-size v1.1.1 [INFO] [stderr] Compiling berlioz v0.1.0 (/tmp/fixit) [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking siphasher v1.0.0 [INFO] [stderr] Checking rowan v0.15.13 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking alsa v0.7.1 [INFO] [stderr] Compiling logos-codegen v0.13.0 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling comemo-macros v0.3.1 [INFO] [stderr] Compiling enum-ordinalize-derive v4.2.0 [INFO] [stderr] Checking comemo v0.3.1 [INFO] [stderr] Checking enum-ordinalize v4.2.0 [INFO] [stderr] Compiling logos-derive v0.13.0 [INFO] [stderr] Checking logos v0.13.0 [INFO] [stderr] Checking rowan-nom v0.1.0 [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `berlioz` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [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[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/parser.rs:140:10 [INFO] [stderr] | [INFO] [stderr] 140 | ($parser:expr_2021, $input:expr_2021, &mut $children:ident) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/parser.rs:140:29 [INFO] [stderr] | [INFO] [stderr] 140 | ($parser:expr_2021, $input:expr_2021, &mut $children:ident) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [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:141:18 [INFO] [stdout] | [INFO] [stdout] 141 | ($parser:expr, $input:expr, &mut $children:ident) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = 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] 141 | ($parser:expr_2021, $input:expr, &mut $children:ident) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/parser.rs:141:31 [INFO] [stdout] | [INFO] [stdout] 141 | ($parser:expr, $input:expr, &mut $children:ident) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 141 | ($parser:expr, $input:expr_2021, &mut $children:ident) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `expect`, `clone_for_update`, and `clone_subtree` are never used [INFO] [stdout] --> src/ast.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait AstNode { [INFO] [stdout] | ------- associated items in this trait [INFO] [stdout] ... [INFO] [stdout] 22 | fn expect(syntax: SyntaxNode) -> Self [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn clone_for_update(&self) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn clone_subtree(&self) -> Self [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `expect` is never used [INFO] [stdout] --> src/ast.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait AstToken { [INFO] [stdout] | -------- associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 50 | fn expect(syntax: SyntaxToken) -> Self [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `msg` and `cause` are never read [INFO] [stdout] --> src/parser.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct ParserError { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 41 | pub span: Range, [INFO] [stdout] 42 | pub msg: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 43 | pub cause: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/berlioz-42b251ac5f02115e/out/ast_generated.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn all_binding(&self) -> impl Iterator { [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] --> /opt/rustwide/target/debug/build/berlioz-42b251ac5f02115e/out/ast_generated.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn all_binding(&self) -> impl Iterator { [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] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 49 | pub fn all_binding(&self) -> impl Iterator + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/berlioz-42b251ac5f02115e/out/ast_generated.rs:89:37 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn all_identifier(&self) -> impl Iterator { [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] --> /opt/rustwide/target/debug/build/berlioz-42b251ac5f02115e/out/ast_generated.rs:89:27 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn all_identifier(&self) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 89 | pub fn all_identifier(&self) -> impl Iterator + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/berlioz-42b251ac5f02115e/out/ast_generated.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn all_expression(&self) -> impl Iterator { [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] --> /opt/rustwide/target/debug/build/berlioz-42b251ac5f02115e/out/ast_generated.rs:92:27 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn all_expression(&self) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 92 | pub fn all_expression(&self) -> impl Iterator + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/berlioz-42b251ac5f02115e/out/ast_generated.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | if let ExprKind::Mul(_) = *self { true } else { false } [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] --> /opt/rustwide/target/debug/build/berlioz-42b251ac5f02115e/out/ast_generated.rs:182:48 [INFO] [stdout] | [INFO] [stdout] 182 | if let ExprKind::Mul(_) = *self { true } else { false } [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] 182 | match *self { ExprKind::Mul(_) => { true } _ => { false }} [INFO] [stdout] | ~~~~~ +++++++++++++++++++++ ~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/berlioz-42b251ac5f02115e/out/ast_generated.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 188 | if let ExprKind::Sum(_) = *self { true } else { false } [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] --> /opt/rustwide/target/debug/build/berlioz-42b251ac5f02115e/out/ast_generated.rs:188:48 [INFO] [stdout] | [INFO] [stdout] 188 | if let ExprKind::Sum(_) = *self { true } else { false } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 188 | match *self { ExprKind::Sum(_) => { true } _ => { false }} [INFO] [stdout] | ~~~~~ +++++++++++++++++++++ ~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/berlioz-42b251ac5f02115e/out/ast_generated.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 194 | if let ExprKind::Call(_) = *self { true } else { false } [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] --> /opt/rustwide/target/debug/build/berlioz-42b251ac5f02115e/out/ast_generated.rs:194:49 [INFO] [stdout] | [INFO] [stdout] 194 | if let ExprKind::Call(_) = *self { true } else { false } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 194 | match *self { ExprKind::Call(_) => { true } _ => { false }} [INFO] [stdout] | ~~~~~ ++++++++++++++++++++++ ~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/berlioz-42b251ac5f02115e/out/ast_generated.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 200 | if let ExprKind::Constant(_) = *self { true } else { false } [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] --> /opt/rustwide/target/debug/build/berlioz-42b251ac5f02115e/out/ast_generated.rs:200:53 [INFO] [stdout] | [INFO] [stdout] 200 | if let ExprKind::Constant(_) = *self { true } else { false } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 200 | match *self { ExprKind::Constant(_) => { true } _ => { false }} [INFO] [stdout] | ~~~~~ ++++++++++++++++++++++++++ ~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/berlioz-42b251ac5f02115e/out/ast_generated.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | if let ExprKind::Sequence(_) = *self { true } else { false } [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] --> /opt/rustwide/target/debug/build/berlioz-42b251ac5f02115e/out/ast_generated.rs:206:53 [INFO] [stdout] | [INFO] [stdout] 206 | if let ExprKind::Sequence(_) = *self { true } else { false } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 206 | match *self { ExprKind::Sequence(_) => { true } _ => { false }} [INFO] [stdout] | ~~~~~ ++++++++++++++++++++++++++ ~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/berlioz-42b251ac5f02115e/out/ast_generated.rs:248:37 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn all_expression(&self) -> impl Iterator { [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] --> /opt/rustwide/target/debug/build/berlioz-42b251ac5f02115e/out/ast_generated.rs:248:27 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn all_expression(&self) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 248 | pub fn all_expression(&self) -> impl Iterator + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/berlioz-42b251ac5f02115e/out/ast_generated.rs:288:37 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn all_expression(&self) -> impl Iterator { [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] --> /opt/rustwide/target/debug/build/berlioz-42b251ac5f02115e/out/ast_generated.rs:288:27 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn all_expression(&self) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 288 | pub fn all_expression(&self) -> impl Iterator + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/berlioz-42b251ac5f02115e/out/ast_generated.rs:328:37 [INFO] [stdout] | [INFO] [stdout] 328 | pub fn all_expression(&self) -> impl Iterator { [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] --> /opt/rustwide/target/debug/build/berlioz-42b251ac5f02115e/out/ast_generated.rs:328:27 [INFO] [stdout] | [INFO] [stdout] 328 | pub fn all_expression(&self) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 328 | pub fn all_expression(&self) -> impl Iterator + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/berlioz-42b251ac5f02115e/out/ast_generated.rs:371:33 [INFO] [stdout] | [INFO] [stdout] 371 | pub fn all_number(&self) -> impl Iterator { [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] --> /opt/rustwide/target/debug/build/berlioz-42b251ac5f02115e/out/ast_generated.rs:371:23 [INFO] [stdout] | [INFO] [stdout] 371 | pub fn all_number(&self) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 371 | pub fn all_number(&self) -> impl Iterator + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/berlioz-42b251ac5f02115e/out/ast_generated.rs:420:37 [INFO] [stdout] | [INFO] [stdout] 420 | pub fn all_expression(&self) -> impl Iterator { [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] --> /opt/rustwide/target/debug/build/berlioz-42b251ac5f02115e/out/ast_generated.rs:420:27 [INFO] [stdout] | [INFO] [stdout] 420 | pub fn all_expression(&self) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 420 | pub fn all_expression(&self) -> impl Iterator + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/berlioz-42b251ac5f02115e/out/ast_generated.rs:461:12 [INFO] [stdout] | [INFO] [stdout] 461 | if let Terminal::Call(_) = *self { true } else { false } [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] --> /opt/rustwide/target/debug/build/berlioz-42b251ac5f02115e/out/ast_generated.rs:461:49 [INFO] [stdout] | [INFO] [stdout] 461 | if let Terminal::Call(_) = *self { true } else { false } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 461 | match *self { Terminal::Call(_) => { true } _ => { false }} [INFO] [stdout] | ~~~~~ ++++++++++++++++++++++ ~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> /opt/rustwide/target/debug/build/berlioz-42b251ac5f02115e/out/ast_generated.rs:467:12 [INFO] [stdout] | [INFO] [stdout] 467 | if let Terminal::Constant(_) = *self { true } else { false } [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] --> /opt/rustwide/target/debug/build/berlioz-42b251ac5f02115e/out/ast_generated.rs:467:53 [INFO] [stdout] | [INFO] [stdout] 467 | if let Terminal::Constant(_) = *self { true } else { false } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 467 | match *self { Terminal::Constant(_) => { true } _ => { false }} [INFO] [stdout] | ~~~~~ ++++++++++++++++++++++++++ ~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 119 | if let Ok((input, new_children)) = right.parse(input.clone()) { [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] 120 | break Ok((input, ControlFlow::Break(children + new_children))); [INFO] [stdout] 121 | } else if let Ok((input, new_children)) = parser.parse(input.clone()) { [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] 124 | t_any::<_, _, DummyError>(input.clone()) [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/parser.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | } else if let Ok((input, new_children)) = parser.parse(input.clone()) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/parser.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | } else if let Ok((new_input, new_children)) = [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/parser.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 119 ~ match right.parse(input.clone()) { Ok((input, new_children)) => { [INFO] [stdout] 120 | break Ok((input, ControlFlow::Break(children + new_children))); [INFO] [stdout] 121 ~ } _ => { match parser.parse(input.clone()) { Ok((input, new_children)) => { [INFO] [stdout] 122 | break Ok((input, ControlFlow::Continue(children + new_children))); [INFO] [stdout] 123 ~ } _ => { match t_any::<_, _, DummyError>(input.clone()) [INFO] [stdout] 124 ~ { Ok((new_input, new_children)) => { [INFO] [stdout] 125 | input = new_input; [INFO] [stdout] ... [INFO] [stdout] 130 | children += Children::from_err(err); [INFO] [stdout] 131 ~ } _ => { [INFO] [stdout] 132 | // TODO: maybe don't error, but consider eof as a RIGHT equivalent + silent error [INFO] [stdout] 133 | break Err(nom::Err::Error(IE::from_unexpected_eof(input.src_pos()))); [INFO] [stdout] 134 ~ }}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/stream.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | if let Some(binding) = resolve(name, source) { [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/stream.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | } else if let Some(expr) = env.resolve(name) { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 100 ~ match resolve(name, source) { Some(binding) => { [INFO] [stdout] 101 | let expr = binding [INFO] [stdout] ... [INFO] [stdout] 119 | .log_err(format!("Function call ({}) returned None", name)) [INFO] [stdout] 120 ~ } _ => if let Some(expr) = env.resolve(name) { [INFO] [stdout] 121 | Some(expr) [INFO] [stdout] ... [INFO] [stdout] 220 | } [INFO] [stdout] 221 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/stream.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 229 | if let Some(binding) = resolve(name, source) { [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/stream.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | } else if env.resolve(name).is_some() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 229 ~ match resolve(name, source) { Some(binding) => { [INFO] [stdout] 230 | let expr = binding [INFO] [stdout] ... [INFO] [stdout] 247 | expr.duration(func_env.track(), source, time) [INFO] [stdout] 248 ~ } _ => if env.resolve(name).is_some() { [INFO] [stdout] 249 | Some(time) [INFO] [stdout] ... [INFO] [stdout] 300 | } [INFO] [stdout] 301 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] --> src/parser.rs:140:10 [INFO] [stdout] | [INFO] [stdout] 140 | ($parser:expr_2021, $input:expr_2021, &mut $children:ident) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #123742 for more information [INFO] [stdout] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] --> src/parser.rs:140:29 [INFO] [stdout] | [INFO] [stdout] 140 | ($parser:expr_2021, $input:expr_2021, &mut $children:ident) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #123742 for more information [INFO] [stdout] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] [INFO] [stderr] error: could not compile `berlioz` (bin "berlioz") due to 3 previous errors [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "834e5b030b297c8b5f3c35154cbe306df4c028c373ff8025feefda40491dd265", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "834e5b030b297c8b5f3c35154cbe306df4c028c373ff8025feefda40491dd265", kill_on_drop: false }` [INFO] [stdout] 834e5b030b297c8b5f3c35154cbe306df4c028c373ff8025feefda40491dd265