[INFO] fetching crate ui_test 0.26.5... [INFO] checking ui_test-0.26.5 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate ui_test 0.26.5 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate ui_test 0.26.5 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 crates.io crate ui_test 0.26.5 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate ui_test 0.26.5 [INFO] tweaked toml for crates.io crate ui_test 0.26.5 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate ui_test 0.26.5 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d797352a6116449af0b74cbc96ce7c5dfdd0f024f4cc72fd3d3ee43100642139 [INFO] running `Command { std: "docker" "start" "-a" "d797352a6116449af0b74cbc96ce7c5dfdd0f024f4cc72fd3d3ee43100642139", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d797352a6116449af0b74cbc96ce7c5dfdd0f024f4cc72fd3d3ee43100642139", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d797352a6116449af0b74cbc96ce7c5dfdd0f024f4cc72fd3d3ee43100642139", kill_on_drop: false }` [INFO] [stdout] d797352a6116449af0b74cbc96ce7c5dfdd0f024f4cc72fd3d3ee43100642139 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bae0ac8f882e2b941d7397209e42d178fca76a00b1c53f0d2743cd5f76623446 [INFO] running `Command { std: "docker" "start" "-a" "bae0ac8f882e2b941d7397209e42d178fca76a00b1c53f0d2743cd5f76623446", 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.155 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling camino v1.1.7 [INFO] [stderr] Compiling syn v2.0.67 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking pad v0.1.6 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking annotate-snippets v0.11.4 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking comma v1.0.0 [INFO] [stderr] Checking levenshtein v1.0.5 [INFO] [stderr] Checking prettydiff v0.7.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Checking ctrlc v3.4.5 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Checking color-spantrace v0.2.1 [INFO] [stderr] Checking color-eyre v0.6.3 [INFO] [stderr] Checking spanned v0.3.0 [INFO] [stderr] Checking serde v1.0.203 [INFO] [stderr] Checking cargo-platform v0.1.8 [INFO] [stderr] Checking rustc_version v0.4.0 [INFO] [stderr] Checking cargo_metadata v0.18.1 [INFO] [stderr] Checking rustfix v0.8.4 [INFO] [stderr] Checking ui_test v0.26.5 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `ui_test` [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] * src/parser/tests.rs [INFO] [stderr] * src/tests.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/tests.rs:13:6 [INFO] [stderr] | [INFO] [stderr] 13 | ($thing:expr_2021, $s:expr_2021) => {{ [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/tests.rs:13:24 [INFO] [stderr] | [INFO] [stderr] 13 | ($thing:expr_2021, $s:expr_2021) => {{ [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:727:16 [INFO] [stderr] | [INFO] [stderr] 727 | ($($name:expr_2021 => ($this:ident, $args:ident, $span:ident)$block:block)*) => { [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/tests.rs:19:22 [INFO] [stderr] | [INFO] [stderr] 19 | ($config:ident = $s:expr_2021) => { [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/tests.rs:46:6 [INFO] [stderr] | [INFO] [stderr] 46 | ($thing:expr_2021, $s:expr_2021) => {{ [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/tests.rs:46:24 [INFO] [stderr] | [INFO] [stderr] 46 | ($thing:expr_2021, $s:expr_2021) => {{ [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 6 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/tests.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | ($thing:expr, $s:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = 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] 13 | ($thing:expr_2021, $s:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/parser/tests.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | ($thing:expr, $s:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 13 | ($thing:expr, $s:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/parser.rs:727:22 [INFO] [stdout] | [INFO] [stdout] 727 | ($($name:expr => ($this:ident, $args:ident, $span:ident)$block:block)*) => { [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] 727 | ($($name:expr_2021 => ($this:ident, $args:ident, $span:ident)$block:block)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tests.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | ($config:ident = $s:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 19 | ($config:ident = $s:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tests.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | ($thing:expr, $s:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 46 | ($thing:expr_2021, $s:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tests.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | ($thing:expr, $s:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 46 | ($thing:expr, $s:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:216:19 [INFO] [stdout] | [INFO] [stdout] 216 | while let Some((path, build_manager)) = todo.pop_front() { [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/lib.rs:290:13 [INFO] [stdout] | [INFO] [stdout] 290 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:231:27 [INFO] [stdout] | [INFO] [stdout] 231 | } else if let Some(matched) = file_filter(&path, build_manager.config()) { [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/lib.rs:289:17 [INFO] [stdout] | [INFO] [stdout] 289 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 231 ~ } else { match file_filter(&path, build_manager.config()) { Some(matched) => { [INFO] [stdout] 232 | if matched { [INFO] [stdout] ... [INFO] [stdout] 288 | } [INFO] [stdout] 289 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/config/args.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 60 | while let Some(arg) = iter.next() { [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/config/args.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/config/args.rs:78:23 [INFO] [stdout] | [INFO] [stdout] 78 | } else if let Some(format) = parse_value("--format", &arg, &mut iter)? { [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] 84 | } else if let Some(skip) = parse_value("--skip", &arg, &mut iter)? { [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] 88 | } else if let Some(n) = parse_value("--test-threads", &arg, &mut iter)? { [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/config/args.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | } else if let Some(skip) = parse_value("--skip", &arg, &mut iter)? { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/config/args.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | } else if arg == "--help" { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/config/args.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | } else if arg.starts_with("--") { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 78 ~ } else { match parse_value("--format", &arg, &mut iter)? { Some(format) => { [INFO] [stdout] 79 | self.format = match &*format { [INFO] [stdout] ... [INFO] [stdout] 83 | }; [INFO] [stdout] 84 ~ } _ => { match parse_value("--skip", &arg, &mut iter)? { Some(skip) => { [INFO] [stdout] 85 | self.skip.push(skip.into_owned()); [INFO] [stdout] 86 ~ } _ => if arg == "--help" { [INFO] [stdout] 87 | bail!("available flags: --quiet, --check, --bless, --test-threads=n, --skip") [INFO] [stdout] 88 ~ } else { match parse_value("--test-threads", &arg, &mut iter)? { Some(n) => { [INFO] [stdout] 89 | self.threads = Some(n.parse()?); [INFO] [stdout] 90 ~ } _ => if arg.starts_with("--") { [INFO] [stdout] 91 | bail!( [INFO] [stdout] ... [INFO] [stdout] 96 | self.filters.push(arg); [INFO] [stdout] 97 ~ }}}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/core.rs:34:6 [INFO] [stdout] | [INFO] [stdout] 34 | ) -> 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] --> src/core.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | prefix: &Path, [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] 34 | ) -> impl Iterator> + use<'a> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | if let Some(found) = f(rev).into_inner() { [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/parser.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 60 ~ match f(rev).into_inner() { Some(found) => { [INFO] [stdout] 61 | if result.is_some() { [INFO] [stdout] ... [INFO] [stdout] 65 | } [INFO] [stdout] 66 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:385:28 [INFO] [stdout] | [INFO] [stdout] 385 | if let Some(rev) = self [INFO] [stdout] | _____________________________^ - [INFO] [stdout] | | ____________________________________________| [INFO] [stdout] 386 | || .comments [INFO] [stdout] 387 | || .revisioned [INFO] [stdout] | ||_______________________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 388 | | .values_mut() [INFO] [stdout] 389 | | .find(|rev| rev.error_matches[idx].line == line) [INFO] [stdout] | |_____________________________________________________________________________^ [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:392:25 [INFO] [stdout] | [INFO] [stdout] 392 | } 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] 385 ~ match self [INFO] [stdout] 386 | .comments [INFO] [stdout] ... [INFO] [stdout] 389 | .find(|rev| rev.error_matches[idx].line == line) [INFO] [stdout] 390 ~ { Some(rev) => { [INFO] [stdout] 391 | rev.error_matches[idx].line = match_line; [INFO] [stdout] 392 ~ } _ => { [INFO] [stdout] 393 | self.error(span, "`//~|` comment not attached to anchoring matcher"); [INFO] [stdout] 394 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:400:12 [INFO] [stdout] | [INFO] [stdout] 400 | if let Some(revisions) = &self.comments.revisions { [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/parser.rs:411:9 [INFO] [stdout] | [INFO] [stdout] 411 | } 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] 400 ~ match &self.comments.revisions { Some(revisions) => { [INFO] [stdout] 401 | for (key, revisioned) in &self.comments.revisioned { [INFO] [stdout] ... [INFO] [stdout] 410 | } [INFO] [stdout] 411 ~ } _ => { [INFO] [stdout] 412 | for (key, revisioned) in &self.comments.revisioned { [INFO] [stdout] ... [INFO] [stdout] 419 | } [INFO] [stdout] 420 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:753:20 [INFO] [stdout] | [INFO] [stdout] 753 | if let Some((regex, replacement)) = this.parse_normalize_test(args, "stderr") { [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/parser.rs:755:17 [INFO] [stdout] | [INFO] [stdout] 755 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 753 ~ match this.parse_normalize_test(args, "stderr") { Some((regex, replacement)) => { [INFO] [stdout] 754 | this.normalize_stderr.push((regex.into(), replacement)) [INFO] [stdout] 755 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:758:20 [INFO] [stdout] | [INFO] [stdout] 758 | if let Some((regex, replacement)) = this.parse_normalize_test(args, "stdout") { [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/parser.rs:760:17 [INFO] [stdout] | [INFO] [stdout] 760 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 758 ~ match this.parse_normalize_test(args, "stdout") { Some((regex, replacement)) => { [INFO] [stdout] 759 | this.normalize_stdout.push((regex.into(), replacement)) [INFO] [stdout] 760 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/rustc_stderr.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | if let Some(line) = span_line(&exp.span, file, !primary || span.is_primary) { [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/rustc_stderr.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | } else if file_name != file { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 61 ~ match span_line(&exp.span, file, !primary || span.is_primary) { Some(line) => { [INFO] [stdout] 62 | return Some(line); [INFO] [stdout] 63 ~ } _ => if file_name != file { [INFO] [stdout] 64 | return if !primary && span.is_primary { [INFO] [stdout] ... [INFO] [stdout] 68 | }; [INFO] [stdout] 69 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/status_emitter.rs:1132:20 [INFO] [stdout] | [INFO] [stdout] 1132 | if let Some(mut file) = github_actions::summary() { [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/status_emitter.rs:1149:17 [INFO] [stdout] | [INFO] [stdout] 1149 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1132 ~ match github_actions::summary() { Some(mut file) => { [INFO] [stdout] 1133 | writeln!(file, "### {}", self.name).unwrap(); [INFO] [stdout] ... [INFO] [stdout] 1148 | .unwrap(); [INFO] [stdout] 1149 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] --> src/parser.rs:727:16 [INFO] [stdout] | [INFO] [stdout] 727 | ($($name:expr_2021 => ($this:ident, $args:ident, $span:ident)$block:block)*) => { [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 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ui_test` (lib) due to 2 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" "bae0ac8f882e2b941d7397209e42d178fca76a00b1c53f0d2743cd5f76623446", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bae0ac8f882e2b941d7397209e42d178fca76a00b1c53f0d2743cd5f76623446", kill_on_drop: false }` [INFO] [stdout] bae0ac8f882e2b941d7397209e42d178fca76a00b1c53f0d2743cd5f76623446