[INFO] fetching crate spirt 0.3.0... [INFO] checking spirt-0.3.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate spirt 0.3.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate spirt 0.3.0 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 spirt 0.3.0 [INFO] finished tweaking crates.io crate spirt 0.3.0 [INFO] tweaked toml for crates.io crate spirt 0.3.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate spirt 0.3.0 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 7c45ef385975969180fc3d20970d0060a70729ab148f82343420ed78161cfd2e [INFO] running `Command { std: "docker" "start" "-a" "7c45ef385975969180fc3d20970d0060a70729ab148f82343420ed78161cfd2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c45ef385975969180fc3d20970d0060a70729ab148f82343420ed78161cfd2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c45ef385975969180fc3d20970d0060a70729ab148f82343420ed78161cfd2e", kill_on_drop: false }` [INFO] [stdout] 7c45ef385975969180fc3d20970d0060a70729ab148f82343420ed78161cfd2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] afa6e2d33d635a0490aa75a0e0ac8cf71186d814780e494b07478d29416aaa4f [INFO] running `Command { std: "docker" "start" "-a" "afa6e2d33d635a0490aa75a0e0ac8cf71186d814780e494b07478d29416aaa4f", 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.60 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Compiling spirt v0.3.0 (/tmp/fixit) [INFO] [stderr] Checking itoa v1.0.4 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking internal-iterator v0.2.0 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking longest-increasing-subsequence v0.1.0 [INFO] [stderr] Checking bytemuck v1.12.3 [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking elsa v1.7.0 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `spirt` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/context.rs [INFO] [stderr] * src/lib.rs [INFO] [stderr] * src/transform.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/context.rs:835:33 [INFO] [stderr] | [INFO] [stderr] 835 | $($name:ident $(default($default:expr_2021))? => $ty:ty),+ $(,)? [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/transform.rs:124:26 [INFO] [stderr] | [INFO] [stderr] 124 | ({ $($input:ident -> $input_transformed:expr_2021),+ $(,)? } => $output: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/transform.rs:124:69 [INFO] [stderr] | [INFO] [stderr] 124 | ({ $($input:ident -> $input_transformed:expr_2021),+ $(,)? } => $output: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] warning: unexpected `cfg` condition name: `git_main_docs` [INFO] [stderr] --> src/lib.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | git_main_docs, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(git_main_docs)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(git_main_docs)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `git_main_docs` [INFO] [stderr] --> src/lib.rs:36:17 [INFO] [stderr] | [INFO] [stderr] 36 | any(docsrs, git_main_docs), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(git_main_docs)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(git_main_docs)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `git_main_docs` [INFO] [stderr] --> src/lib.rs:41:21 [INFO] [stderr] | [INFO] [stderr] 41 | not(any(docsrs, git_main_docs)), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(git_main_docs)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(git_main_docs)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 3 warnings emitted [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: unexpected `cfg` condition name: `git_main_docs` [INFO] [stdout] --> src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | git_main_docs, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(git_main_docs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(git_main_docs)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `git_main_docs` [INFO] [stdout] --> src/lib.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | any(docsrs, git_main_docs), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(git_main_docs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(git_main_docs)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `git_main_docs` [INFO] [stdout] --> src/lib.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | not(any(docsrs, git_main_docs)), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(git_main_docs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(git_main_docs)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/context.rs:835:42 [INFO] [stdout] | [INFO] [stdout] 835 | $($name:ident $(default($default:expr))? => $ty:ty),+ $(,)? [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] 835 | $($name:ident $(default($default:expr_2021))? => $ty:ty),+ $(,)? [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/transform.rs:124:45 [INFO] [stdout] | [INFO] [stdout] 124 | ({ $($input:ident -> $input_transformed:expr),+ $(,)? } => $output: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] 124 | ({ $($input:ident -> $input_transformed:expr_2021),+ $(,)? } => $output: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/transform.rs:124:72 [INFO] [stdout] | [INFO] [stdout] 124 | ({ $($input:ident -> $input_transformed:expr),+ $(,)? } => $output: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] 124 | ({ $($input:ident -> $input_transformed:expr),+ $(,)? } => $output: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:300:27 [INFO] [stdout] | [INFO] [stdout] 300 | let mut attr = if let Some(Attr::Diagnostics(_)) = self.attrs.last() { [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:302:9 [INFO] [stdout] | [INFO] [stdout] 302 | } else { [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] 300 ~ let mut attr = match self.attrs.last() { Some(Attr::Diagnostics(_)) => { [INFO] [stdout] 301 | self.attrs.pop_last().unwrap() [INFO] [stdout] 302 ~ } _ => { [INFO] [stdout] 303 | Attr::Diagnostics(OrdAssertEq(vec![])) [INFO] [stdout] 304 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl DoubleEndedIterator + Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/cfg.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | ) -> impl DoubleEndedIterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/cfg.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | &self, [INFO] [stdout] | ^ [INFO] [stdout] 78 | func_def_body: &FuncDefBody, [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] 79 | ) -> impl DoubleEndedIterator + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cfg.rs:431:16 [INFO] [stdout] | [INFO] [stdout] 431 | if let Some(return_values) = body_region.deferred_return { [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/cfg.rs:439:13 [INFO] [stdout] | [INFO] [stdout] 439 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 431 ~ match body_region.deferred_return { Some(return_values) => { [INFO] [stdout] 432 | let body_def = self.func_def_body.at_mut_body().def(); [INFO] [stdout] ... [INFO] [stdout] 438 | return; [INFO] [stdout] 439 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cfg.rs:449:16 [INFO] [stdout] | [INFO] [stdout] 449 | if let StructurizeRegionState::Ready { mut region, backedge } = state { [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/cfg.rs:462:13 [INFO] [stdout] | [INFO] [stdout] 462 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 449 ~ match state { StructurizeRegionState::Ready { mut region, backedge } => { [INFO] [stdout] 450 | // Undo `backedge` extraction from deferred edges, if needed. [INFO] [stdout] ... [INFO] [stdout] 461 | self.repair_unclaimed_region(target, region); [INFO] [stdout] 462 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cfg.rs:637:16 [INFO] [stdout] | [INFO] [stdout] 637 | if let Some(old_state) = old_state { [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/cfg.rs:647:13 [INFO] [stdout] | [INFO] [stdout] 647 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 637 ~ match old_state { Some(old_state) => { [INFO] [stdout] 638 | unreachable!( [INFO] [stdout] ... [INFO] [stdout] 646 | ); [INFO] [stdout] 647 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cfg.rs:826:15 [INFO] [stdout] | [INFO] [stdout] 826 | while let Some((condition, then_region)) = [INFO] [stdout] | _______________^ [INFO] [stdout] 827 | | try_claim_any_deferred_edge(self, &mut region.deferred_edges) [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/cfg.rs:849:9 [INFO] [stdout] | [INFO] [stdout] 849 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cfg.rs:905:16 [INFO] [stdout] | [INFO] [stdout] 905 | if let Some(return_values) = &case.deferred_return { [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/cfg.rs:910:13 [INFO] [stdout] | [INFO] [stdout] 910 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 905 ~ match &case.deferred_return { Some(return_values) => { [INFO] [stdout] 906 | // HACK(eddyb) because there's no `FuncDecl` available, take the [INFO] [stdout] ... [INFO] [stdout] 909 | Some(return_values.iter().map(|&v| self.func_def_body.at(v).type_of(self.cx))); [INFO] [stdout] 910 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cfg.rs:1123:15 [INFO] [stdout] | [INFO] [stdout] 1123 | while let Some((condition, then_target_and_inputs)) = deferred_edge_targets.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/cfg.rs:1175:9 [INFO] [stdout] | [INFO] [stdout] 1175 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/print/mod.rs:528:12 [INFO] [stdout] | [INFO] [stdout] 528 | if let ConstCtor::PtrToGlobalVar(gv) = ct_def.ctor { [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/print/mod.rs:531:9 [INFO] [stdout] | [INFO] [stdout] 531 | } 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] 528 ~ match ct_def.ctor { ConstCtor::PtrToGlobalVar(gv) => { [INFO] [stdout] 529 | self.visit_attr_set_use(ct_def.attrs); [INFO] [stdout] 530 | self.visit_global_var_use(gv); [INFO] [stdout] 531 ~ } _ => { [INFO] [stdout] 532 | ct_def.inner_visit_with(self); [INFO] [stdout] 533 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/print/mod.rs:581:16 [INFO] [stdout] | [INFO] [stdout] 581 | if let Some(cfg) = &func_def_body.unstructured_cfg { [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/print/mod.rs:590:13 [INFO] [stdout] | [INFO] [stdout] 590 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 581 ~ match &func_def_body.unstructured_cfg { Some(cfg) => { [INFO] [stdout] 582 | for region in cfg.rev_post_order(func_def_body) { [INFO] [stdout] ... [INFO] [stdout] 589 | } [INFO] [stdout] 590 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/print/mod.rs:583:24 [INFO] [stdout] | [INFO] [stdout] 583 | if let Some(control_inst) = cfg.control_inst_on_exit_from.get(region) { [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/print/mod.rs:588:21 [INFO] [stdout] | [INFO] [stdout] 588 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 583 ~ match cfg.control_inst_on_exit_from.get(region) { Some(control_inst) => { [INFO] [stdout] 584 | for &target in &control_inst.targets { [INFO] [stdout] ... [INFO] [stdout] 587 | } [INFO] [stdout] 588 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/print/mod.rs:698:32 [INFO] [stdout] | [INFO] [stdout] 698 | ... if let Err(err) = xs.try_push(x) { [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/print/mod.rs:702:29 [INFO] [stdout] | [INFO] [stdout] 702 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 698 ~ match xs.try_push(x) { Err(err) => { [INFO] [stdout] 699 | *self = Self::Hashed(Box::new( [INFO] [stdout] 700 | xs.drain(..).chain([err.element()]).collect(), [INFO] [stdout] 701 | )); [INFO] [stdout] 702 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/print/mod.rs:2411:34 [INFO] [stdout] | [INFO] [stdout] 2411 | def_without_name: if let Some(def) = compact_def { [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/print/mod.rs:2413:13 [INFO] [stdout] | [INFO] [stdout] 2413 | } 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] 2411 ~ def_without_name: match compact_def { Some(def) => { [INFO] [stdout] 2412 | def [INFO] [stdout] 2413 ~ } _ => { [INFO] [stdout] 2414 | match *ctor { [INFO] [stdout] ... [INFO] [stdout] 2433 | } [INFO] [stdout] 2434 ~ }}, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/print/mod.rs:2472:20 [INFO] [stdout] | [INFO] [stdout] 2472 | if let ( [INFO] [stdout] | ____________________^ [INFO] [stdout] 2473 | | Some(raw_bits), [INFO] [stdout] 2474 | | &TypeCtor::SpvInst(spv::Inst { opcode: ty_opcode, imms: ref ty_imms }), [INFO] [stdout] 2475 | | ) = (raw_bits, &printer.cx[*ty].ctor) [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/print/mod.rs:2547:17 [INFO] [stdout] | [INFO] [stdout] 2547 | } 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] 2472 ~ match (raw_bits, &printer.cx[*ty].ctor) [INFO] [stdout] 2473 ~ { ( [INFO] [stdout] 2474 + Some(raw_bits), [INFO] [stdout] 2475 + &TypeCtor::SpvInst(spv::Inst { opcode: ty_opcode, imms: ref ty_imms }), [INFO] [stdout] 2476 ~ ) => { [INFO] [stdout] 2477 | if ty_opcode == wk.OpTypeInt { [INFO] [stdout] ... [INFO] [stdout] 2546 | } [INFO] [stdout] 2547 ~ } _ => { [INFO] [stdout] 2548 | None [INFO] [stdout] 2549 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/print/mod.rs:3353:24 [INFO] [stdout] | [INFO] [stdout] 3353 | if let Some(inputs) = debuginfo_with_pseudo_imm_inputs { [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/print/mod.rs:3378:21 [INFO] [stdout] | [INFO] [stdout] 3378 | } 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] 3353 ~ match debuginfo_with_pseudo_imm_inputs { Some(inputs) => { [INFO] [stdout] 3354 | let style = printer.comment_style(); [INFO] [stdout] ... [INFO] [stdout] 3377 | ) [INFO] [stdout] 3378 ~ } _ => { [INFO] [stdout] 3379 | pretty::join_comma_sep( [INFO] [stdout] ... [INFO] [stdout] 3406 | ) [INFO] [stdout] 3407 ~ }}, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/print/multiversion.rs:204:31 [INFO] [stdout] | [INFO] [stdout] 204 | while let Some(column) = merged_columns.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/print/multiversion.rs:281:25 [INFO] [stdout] | [INFO] [stdout] 281 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transform.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | if let Transformed::Changed(new_elem_i) = transform_elem(elem_i) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/transform.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 57 ~ match transform_elem(elem_i) { Transformed::Changed(new_elem_i) => { [INFO] [stdout] 58 | let mut new_elem_i = Some(new_elem_i); [INFO] [stdout] ... [INFO] [stdout] 76 | })); [INFO] [stdout] 77 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/transform.rs:558:24 [INFO] [stdout] | [INFO] [stdout] 558 | if let Some(control_inst) = cfg.control_inst_on_exit_from.get_mut(region) { [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/transform.rs:560:21 [INFO] [stdout] | [INFO] [stdout] 560 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 558 ~ match cfg.control_inst_on_exit_from.get_mut(region) { Some(control_inst) => { [INFO] [stdout] 559 | control_inst.inner_in_place_transform_with(transformer); [INFO] [stdout] 560 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/visit.rs:414:24 [INFO] [stdout] | [INFO] [stdout] 414 | if let Some(control_inst) = cfg.control_inst_on_exit_from.get(region) { [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/visit.rs:416:21 [INFO] [stdout] | [INFO] [stdout] 416 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 414 ~ match cfg.control_inst_on_exit_from.get(region) { Some(control_inst) => { [INFO] [stdout] 415 | control_inst.inner_visit_with(visitor); [INFO] [stdout] 416 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/passes/legalize.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | if let DeclDef::Present(func_def_body) = &mut module.funcs[func].def { [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/passes/legalize.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 27 ~ match &mut module.funcs[func].def { DeclDef::Present(func_def_body) => { [INFO] [stdout] 28 | cfg::Structurizer::new(cx, func_def_body).structurize_func(); [INFO] [stdout] 29 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/passes/link.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | if let Some(&exportee) = self.module.exports.get(&export_key) { [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/passes/link.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 105 ~ match self.module.exports.get(&export_key) { Some(&exportee) => { [INFO] [stdout] 106 | if self.live_exports.insert(export_key) { [INFO] [stdout] 107 | exportee.inner_visit_with(self); [INFO] [stdout] 108 | } [INFO] [stdout] 109 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/passes/link.rs:217:20 [INFO] [stdout] | [INFO] [stdout] 217 | if let Some(&Exportee::GlobalVar(def_gv)) = [INFO] [stdout] | ____________________^ [INFO] [stdout] 218 | | self.module.exports.get(&ExportKey::LinkName(name)) [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/passes/link.rs:221:17 [INFO] [stdout] | [INFO] [stdout] 221 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 217 ~ match self.module.exports.get(&ExportKey::LinkName(name)) [INFO] [stdout] 218 ~ { Some(&Exportee::GlobalVar(def_gv)) => { [INFO] [stdout] 219 | self.resolved_global_vars.insert(gv, def_gv); [INFO] [stdout] 220 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/passes/link.rs:233:16 [INFO] [stdout] | [INFO] [stdout] 233 | if let DeclDef::Imported(Import::LinkName(name)) = func_decl.def { [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/passes/link.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 233 ~ match func_decl.def { DeclDef::Imported(Import::LinkName(name)) => { [INFO] [stdout] 234 | if let Some(&Exportee::Func(def_func)) = [INFO] [stdout] ... [INFO] [stdout] 238 | } [INFO] [stdout] 239 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/passes/link.rs:234:20 [INFO] [stdout] | [INFO] [stdout] 234 | if let Some(&Exportee::Func(def_func)) = [INFO] [stdout] | ____________________^ [INFO] [stdout] 235 | | self.module.exports.get(&ExportKey::LinkName(name)) [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/passes/link.rs:238:17 [INFO] [stdout] | [INFO] [stdout] 238 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 234 ~ match self.module.exports.get(&ExportKey::LinkName(name)) [INFO] [stdout] 235 ~ { Some(&Exportee::Func(def_func)) => { [INFO] [stdout] 236 | self.resolved_funcs.insert(func, def_func); [INFO] [stdout] 237 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/qptr/lift.rs:428:20 [INFO] [stdout] | [INFO] [stdout] 428 | if let Some(ptr_noop) = self.deferred_ptr_noops.get(&v_data_inst) { [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/qptr/lift.rs:433:17 [INFO] [stdout] | [INFO] [stdout] 433 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 428 ~ match self.deferred_ptr_noops.get(&v_data_inst) { Some(ptr_noop) => { [INFO] [stdout] 429 | return Ok(( [INFO] [stdout] ... [INFO] [stdout] 432 | )); [INFO] [stdout] 433 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/qptr/lift.rs:851:32 [INFO] [stdout] | [INFO] [stdout] 851 | ... if let Some(access_chain_data_inst_def) = self [INFO] [stdout] | __________________________^ - [INFO] [stdout] | |_________________________________________________________________| [INFO] [stdout] 852 | || ... .maybe_adjust_pointer_for_access( [INFO] [stdout] 853 | || ... input_ptr, [INFO] [stdout] 854 | || ... input_ptr_addr_space, [INFO] [stdout] 855 | || ... input_pointee_layout, [INFO] [stdout] 856 | || ... expected_pointee_type, [INFO] [stdout] 857 | || ... )? [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] | [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/qptr/lift.rs:861:29 [INFO] [stdout] | [INFO] [stdout] 861 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 851 ~ match self [INFO] [stdout] 852 | .maybe_adjust_pointer_for_access( [INFO] [stdout] ... [INFO] [stdout] 857 | )? [INFO] [stdout] 858 ~ { Some(access_chain_data_inst_def) => { [INFO] [stdout] 859 | to_spv_ptr_input_adjustments [INFO] [stdout] 860 | .push((input_idx, access_chain_data_inst_def)); [INFO] [stdout] 861 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/qptr/lift.rs:1084:12 [INFO] [stdout] | [INFO] [stdout] 1084 | if let ConstCtor::PtrToGlobalVar(gv) = ct_def.ctor { [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/qptr/lift.rs:1091:9 [INFO] [stdout] | [INFO] [stdout] 1091 | } 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] 1084 ~ match ct_def.ctor { ConstCtor::PtrToGlobalVar(gv) => { [INFO] [stdout] 1085 | Transformed::Changed(self.lifter.cx.intern(ConstDef { [INFO] [stdout] ... [INFO] [stdout] 1090 | })) [INFO] [stdout] 1091 ~ } _ => { [INFO] [stdout] 1092 | Transformed::Unchanged [INFO] [stdout] 1093 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/qptr/lift.rs:1117:12 [INFO] [stdout] | [INFO] [stdout] 1117 | if let ControlNodeKind::Block { insts } = func_at_control_node.reborrow().def().kind { [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/qptr/lift.rs:1173:9 [INFO] [stdout] | [INFO] [stdout] 1173 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1117 ~ match func_at_control_node.reborrow().def().kind { ControlNodeKind::Block { insts } => { [INFO] [stdout] 1118 | let mut func_at_inst_iter = func_at_control_node.reborrow().at(insts).into_iter(); [INFO] [stdout] ... [INFO] [stdout] 1172 | } [INFO] [stdout] 1173 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/qptr/lift.rs:1124:24 [INFO] [stdout] | [INFO] [stdout] 1124 | if let DataInstKind::QPtr(_) = data_inst_form_def.kind { [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/qptr/lift.rs:1127:21 [INFO] [stdout] | [INFO] [stdout] 1127 | } else if let Some(ty) = data_inst_form_def.output_type { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1124 ~ match data_inst_form_def.kind { DataInstKind::QPtr(_) => { [INFO] [stdout] 1125 | lifted = [INFO] [stdout] 1126 | Err(LiftError(Diag::bug(["unimplemented qptr instruction".into()]))); [INFO] [stdout] 1127 ~ } _ => if let Some(ty) = data_inst_form_def.output_type { [INFO] [stdout] 1128 | if matches!(self.lifter.cx[ty].ctor, TypeCtor::QPtr) { [INFO] [stdout] ... [INFO] [stdout] 1132 | } [INFO] [stdout] 1133 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/qptr/lift.rs:1180:12 [INFO] [stdout] | [INFO] [stdout] 1180 | if let DeclDef::Present(func_def_body) = &mut func_decl.def { [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/qptr/lift.rs:1202:9 [INFO] [stdout] | [INFO] [stdout] 1202 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1180 ~ match &mut func_decl.def { DeclDef::Present(func_def_body) => { [INFO] [stdout] 1181 | let deferred_ptr_noops = mem::take(&mut self.deferred_ptr_noops); [INFO] [stdout] ... [INFO] [stdout] 1201 | } [INFO] [stdout] 1202 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/qptr/lower.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 229 | if let ConstCtor::PtrToGlobalVar(_) = ct_def.ctor { [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/qptr/lower.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | } 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] 229 ~ match ct_def.ctor { ConstCtor::PtrToGlobalVar(_) => { [INFO] [stdout] 230 | Transformed::Changed(self.lowerer.cx.intern(ConstDef { [INFO] [stdout] ... [INFO] [stdout] 235 | })) [INFO] [stdout] 236 ~ } _ => { [INFO] [stdout] 237 | Transformed::Unchanged [INFO] [stdout] 238 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/qptr/lower.rs:667:12 [INFO] [stdout] | [INFO] [stdout] 667 | if let Some(attrs) = old_and_new_attrs { [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/qptr/lower.rs:669:9 [INFO] [stdout] | [INFO] [stdout] 669 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 667 ~ match old_and_new_attrs { Some(attrs) => { [INFO] [stdout] 668 | func_at_data_inst.def().attrs = cx.intern(attrs); [INFO] [stdout] 669 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/qptr/lower.rs:689:12 [INFO] [stdout] | [INFO] [stdout] 689 | if let ControlNodeKind::Block { insts } = func_at_control_node.reborrow().def().kind { [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/qptr/lower.rs:701:9 [INFO] [stdout] | [INFO] [stdout] 701 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 689 ~ match func_at_control_node.reborrow().def().kind { ControlNodeKind::Block { insts } => { [INFO] [stdout] 690 | let mut func_at_inst_iter = func_at_control_node.reborrow().at(insts).into_iter(); [INFO] [stdout] ... [INFO] [stdout] 700 | } [INFO] [stdout] 701 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/spv/lower.rs:195:15 [INFO] [stdout] | [INFO] [stdout] 195 | while let Some(mut inst) = spv_insts.next().transpose()? { [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/spv/lower.rs:817:9 [INFO] [stdout] | [INFO] [stdout] 817 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/spv/lower.rs:402:31 [INFO] [stdout] | [INFO] [stdout] 402 | while let Some(Ok(cont_inst)) = spv_insts.peek() { [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/spv/lower.rs:416:25 [INFO] [stdout] | [INFO] [stdout] 416 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/spv/print.rs:117:15 [INFO] [stdout] | [INFO] [stdout] 117 | while let Some(&spv::Imm::LongCont(cont_kind, word)) = self.imms.peek() { [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/spv/print.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/spv/spec.rs:1394:16 [INFO] [stdout] | [INFO] [stdout] 1394 | if let Some(prev) = slot.take() { [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/spv/spec.rs:1396:13 [INFO] [stdout] | [INFO] [stdout] 1396 | } 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] 1394 ~ match slot.take() { Some(prev) => { [INFO] [stdout] 1395 | *slot = Some(merge_duplicates(prev, value)); [INFO] [stdout] 1396 ~ } _ => { [INFO] [stdout] 1397 | *slot = Some(value); [INFO] [stdout] 1398 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] --> src/context.rs:835:33 [INFO] [stdout] | [INFO] [stdout] 835 | $($name:ident $(default($default:expr_2021))? => $ty:ty),+ $(,)? [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] [stderr] Migrating examples/spv-lower-link-lift.rs from 2021 edition to 2024 [INFO] [stdout] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] --> src/transform.rs:124:26 [INFO] [stdout] | [INFO] [stdout] 124 | ({ $($input:ident -> $input_transformed:expr_2021),+ $(,)? } => $output:expr_2021) => {{ [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/transform.rs:124:69 [INFO] [stdout] | [INFO] [stdout] 124 | ({ $($input:ident -> $input_transformed:expr_2021),+ $(,)? } => $output:expr_2021) => {{ [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] warning: unexpected `cfg` condition name: `git_main_docs` [INFO] [stdout] --> src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | git_main_docs, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(git_main_docs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(git_main_docs)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `git_main_docs` [INFO] [stdout] --> src/lib.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | any(docsrs, git_main_docs), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(git_main_docs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(git_main_docs)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `git_main_docs` [INFO] [stdout] --> src/lib.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | not(any(docsrs, git_main_docs)), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(git_main_docs)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(git_main_docs)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `spirt` (lib test) due to 4 previous errors; 3 warnings emitted [INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] [INFO] [stderr] Migrating examples/spv-read-write-roundtrip.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/spv-lower-lift-roundtrip.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/spv-lower-link-qptr-lift.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/spv-lower-print.rs from 2021 edition to 2024 [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" "afa6e2d33d635a0490aa75a0e0ac8cf71186d814780e494b07478d29416aaa4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afa6e2d33d635a0490aa75a0e0ac8cf71186d814780e494b07478d29416aaa4f", kill_on_drop: false }` [INFO] [stdout] afa6e2d33d635a0490aa75a0e0ac8cf71186d814780e494b07478d29416aaa4f