[INFO] fetching crate aiken-lang 1.1.2... [INFO] checking aiken-lang-1.1.2 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate aiken-lang 1.1.2 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate aiken-lang 1.1.2 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 aiken-lang 1.1.2 [INFO] finished tweaking crates.io crate aiken-lang 1.1.2 [INFO] tweaked toml for crates.io crate aiken-lang 1.1.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 162 packages to latest compatible versions [INFO] [stderr] Adding arrayvec v0.5.2 (available: v0.7.6) [INFO] [stderr] Adding bech32 v0.9.1 (available: v0.11.0) [INFO] [stderr] Adding encode_unicode v0.3.6 (available: v1.0.0) [INFO] [stderr] Adding fixedbitset v0.4.2 (available: v0.5.7) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding half v1.8.3 (available: v2.4.1) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding heck v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.1.19 (available: v0.4.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding idna v0.5.0 (available: v1.0.2) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.5.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding miette v5.10.0 (available: v7.2.0) [INFO] [stderr] Adding miette-derive v5.10.0 (available: v7.2.0) [INFO] [stderr] Adding minicbor v0.20.0 (available: v0.25.1) [INFO] [stderr] Adding minicbor-derive v0.13.0 (available: v0.15.3) [INFO] [stderr] Adding owo-colors v3.5.0 (available: v4.1.0) [INFO] [stderr] Adding pretty v0.11.3 (available: v0.12.3) [INFO] [stderr] Adding secp256k1 v0.26.0 (available: v0.29.1) [INFO] [stderr] Adding secp256k1-sys v0.8.1 (available: v0.10.1) [INFO] [stderr] Adding strum v0.24.1 (available: v0.26.3) [INFO] [stderr] Adding strum_macros v0.24.3 (available: v0.26.4) [INFO] [stderr] Adding supports-color v1.3.1 (available: v3.0.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 9182406bdb0b0e2dd49df6463f362bb6d979ac41411e77bd6572735bfa3555d8 [INFO] running `Command { std: "docker" "start" "-a" "9182406bdb0b0e2dd49df6463f362bb6d979ac41411e77bd6572735bfa3555d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9182406bdb0b0e2dd49df6463f362bb6d979ac41411e77bd6572735bfa3555d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9182406bdb0b0e2dd49df6463f362bb6d979ac41411e77bd6572735bfa3555d8", kill_on_drop: false }` [INFO] [stdout] 9182406bdb0b0e2dd49df6463f362bb6d979ac41411e77bd6572735bfa3555d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 5d7d41002f4f63b47a13435ee33633225180b169d4177e428f28cfd6a1dad5c2 [INFO] running `Command { std: "docker" "start" "-a" "5d7d41002f4f63b47a13435ee33633225180b169d4177e428f28cfd6a1dad5c2", 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 syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling minicbor v0.20.0 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking cryptoxide v0.4.4 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Checking base58 v0.2.0 [INFO] [stderr] Checking crc v3.2.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling peg-runtime v0.8.3 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking is_ci v1.2.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling peg-macros v0.8.4 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking supports-color v1.3.1 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking pretty v0.11.3 [INFO] [stderr] Checking patricia_tree v0.8.0 [INFO] [stderr] Checking similar v2.6.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking ordinal v0.3.2 [INFO] [stderr] Checking vec1 v1.12.1 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling libz-sys v1.1.20 [INFO] [stderr] Compiling libgit2-sys v0.17.0+1.8.1 [INFO] [stderr] Compiling secp256k1-sys v0.8.1 [INFO] [stderr] Compiling psm v0.1.23 [INFO] [stderr] Compiling blst v0.3.13 [INFO] [stderr] Compiling stacker v0.1.17 [INFO] [stderr] Checking peg v0.8.4 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking chumsky v0.9.3 [INFO] [stderr] Compiling minicbor-derive v0.13.0 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Checking secp256k1 v0.26.0 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling miette-derive v5.10.0 [INFO] [stderr] Compiling miette-derive v7.2.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Compiling pest v2.7.13 [INFO] [stderr] Checking miette v5.10.0 [INFO] [stderr] Checking miette v7.2.0 [INFO] [stderr] Compiling pest_meta v2.7.13 [INFO] [stderr] Compiling git2 v0.19.0 [INFO] [stderr] Compiling pest_generator v2.7.13 [INFO] [stderr] Compiling pest_derive v2.7.13 [INFO] [stderr] Checking pallas-codec v0.30.2 [INFO] [stderr] Checking insta v1.40.0 [INFO] [stderr] Checking pallas-crypto v0.30.2 [INFO] [stderr] Checking pallas-addresses v0.30.2 [INFO] [stderr] Checking pallas-primitives v0.30.2 [INFO] [stderr] Compiling built v0.7.4 [INFO] [stderr] Compiling aiken-lang v1.1.2 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking pallas-traverse v0.30.2 [INFO] [stderr] Checking uplc v1.1.3 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `aiken_lang` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/lib.rs [INFO] [stderr] * src/parser/utils.rs [INFO] [stderr] * src/pretty.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/utils.rs:23:6 [INFO] [stderr] | [INFO] [stderr] 23 | ($code: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/utils.rs:57:6 [INFO] [stderr] | [INFO] [stderr] 57 | ($code: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/utils.rs:78:6 [INFO] [stderr] | [INFO] [stderr] 78 | ($code: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/utils.rs:99:6 [INFO] [stderr] | [INFO] [stderr] 99 | ($code: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/utils.rs:115:6 [INFO] [stderr] | [INFO] [stderr] 115 | ($code: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/utils.rs:136:6 [INFO] [stderr] | [INFO] [stderr] 136 | ($code: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/utils.rs:157:6 [INFO] [stderr] | [INFO] [stderr] 157 | ($code: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/pretty.rs:24:8 [INFO] [stderr] | [INFO] [stderr] 24 | ($($x: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/lib.rs:39:6 [INFO] [stderr] | [INFO] [stderr] 39 | ($module_types:expr_2021, $id_gen:expr_2021, $src: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/lib.rs:39:31 [INFO] [stderr] | [INFO] [stderr] 39 | ($module_types:expr_2021, $id_gen:expr_2021, $src: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/lib.rs:39:50 [INFO] [stderr] | [INFO] [stderr] 39 | ($module_types:expr_2021, $id_gen:expr_2021, $src: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 11 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/utils.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | ($code: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] 23 | ($code: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/utils.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | ($code: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] 57 | ($code: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/utils.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | ($code: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] 78 | ($code: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/utils.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | ($code: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] 99 | ($code: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/utils.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | ($code: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] 115 | ($code: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/utils.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | ($code: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] 136 | ($code: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/utils.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | ($code: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] 157 | ($code: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/pretty.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | ($($x: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] 24 | ($($x: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/lib.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | ($module_types:expr, $id_gen:expr, $src: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] 39 | ($module_types:expr_2021, $id_gen:expr, $src: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/lib.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | ($module_types:expr, $id_gen:expr, $src: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] 39 | ($module_types:expr, $id_gen:expr_2021, $src: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/lib.rs:39:45 [INFO] [stdout] | [INFO] [stdout] 39 | ($module_types:expr, $id_gen:expr, $src: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] 39 | ($module_types:expr, $id_gen:expr, $src: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:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | if let Some($crate::ast::Definition::Fn(typed_fn)) = [INFO] [stdout] | ____________^ [INFO] [stdout] 60 | | typed_module.definitions.into_iter().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] ::: src/builtins.rs:1254:9 [INFO] [stdout] | [INFO] [stdout] 1254 | / aiken_fn!( [INFO] [stdout] 1255 | | &module_types, [INFO] [stdout] 1256 | | &id_gen, [INFO] [stdout] 1257 | | r#" [INFO] [stdout] ... | [INFO] [stdout] 1270 | | "# [INFO] [stdout] 1271 | | ), [INFO] [stdout] | |_________- in this macro invocation [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:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/builtins.rs:1254:9 [INFO] [stdout] | [INFO] [stdout] 1254 | / aiken_fn!( [INFO] [stdout] 1255 | | &module_types, [INFO] [stdout] 1256 | | &id_gen, [INFO] [stdout] 1257 | | r#" [INFO] [stdout] ... | [INFO] [stdout] 1270 | | "# [INFO] [stdout] 1271 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `aiken_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | if let Some($crate::ast::Definition::Fn(typed_fn)) = [INFO] [stdout] | ____________^ [INFO] [stdout] 60 | | typed_module.definitions.into_iter().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] ::: src/builtins.rs:1279:9 [INFO] [stdout] | [INFO] [stdout] 1279 | / aiken_fn!( [INFO] [stdout] 1280 | | &module_types, [INFO] [stdout] 1281 | | &id_gen, [INFO] [stdout] 1282 | | r#" [INFO] [stdout] ... | [INFO] [stdout] 1311 | | "# [INFO] [stdout] 1312 | | ), [INFO] [stdout] | |_________- in this macro invocation [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:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/builtins.rs:1279:9 [INFO] [stdout] | [INFO] [stdout] 1279 | / aiken_fn!( [INFO] [stdout] 1280 | | &module_types, [INFO] [stdout] 1281 | | &id_gen, [INFO] [stdout] 1282 | | r#" [INFO] [stdout] ... | [INFO] [stdout] 1311 | | "# [INFO] [stdout] 1312 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `aiken_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | if let Some($crate::ast::Definition::Fn(typed_fn)) = [INFO] [stdout] | ____________^ [INFO] [stdout] 60 | | typed_module.definitions.into_iter().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] ::: src/builtins.rs:1320:9 [INFO] [stdout] | [INFO] [stdout] 1320 | / aiken_fn!( [INFO] [stdout] 1321 | | &module_types, [INFO] [stdout] 1322 | | &id_gen, [INFO] [stdout] 1323 | | r#" [INFO] [stdout] ... | [INFO] [stdout] 1336 | | "# [INFO] [stdout] 1337 | | ), [INFO] [stdout] | |_________- in this macro invocation [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:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/builtins.rs:1320:9 [INFO] [stdout] | [INFO] [stdout] 1320 | / aiken_fn!( [INFO] [stdout] 1321 | | &module_types, [INFO] [stdout] 1322 | | &id_gen, [INFO] [stdout] 1323 | | r#" [INFO] [stdout] ... | [INFO] [stdout] 1336 | | "# [INFO] [stdout] 1337 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `aiken_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | if let Some($crate::ast::Definition::Fn(typed_fn)) = [INFO] [stdout] | ____________^ [INFO] [stdout] 60 | | typed_module.definitions.into_iter().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] ::: src/builtins.rs:1345:9 [INFO] [stdout] | [INFO] [stdout] 1345 | / aiken_fn!( [INFO] [stdout] 1346 | | &module_types, [INFO] [stdout] 1347 | | &id_gen, [INFO] [stdout] 1348 | | r#" [INFO] [stdout] ... | [INFO] [stdout] 1364 | | "# [INFO] [stdout] 1365 | | ), [INFO] [stdout] | |_________- in this macro invocation [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:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/builtins.rs:1345:9 [INFO] [stdout] | [INFO] [stdout] 1345 | / aiken_fn!( [INFO] [stdout] 1346 | | &module_types, [INFO] [stdout] 1347 | | &id_gen, [INFO] [stdout] 1348 | | r#" [INFO] [stdout] ... | [INFO] [stdout] 1364 | | "# [INFO] [stdout] 1365 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `aiken_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | if let Some($crate::ast::Definition::Fn(typed_fn)) = [INFO] [stdout] | ____________^ [INFO] [stdout] 60 | | typed_module.definitions.into_iter().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] ::: src/builtins.rs:1373:9 [INFO] [stdout] | [INFO] [stdout] 1373 | / aiken_fn!( [INFO] [stdout] 1374 | | &module_types, [INFO] [stdout] 1375 | | &id_gen, [INFO] [stdout] 1376 | | r#" [INFO] [stdout] ... | [INFO] [stdout] 1469 | | "# [INFO] [stdout] 1470 | | ), [INFO] [stdout] | |_________- in this macro invocation [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:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | } else { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/builtins.rs:1373:9 [INFO] [stdout] | [INFO] [stdout] 1373 | / aiken_fn!( [INFO] [stdout] 1374 | | &module_types, [INFO] [stdout] 1375 | | &id_gen, [INFO] [stdout] 1376 | | r#" [INFO] [stdout] ... | [INFO] [stdout] 1469 | | "# [INFO] [stdout] 1470 | | ), [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `aiken_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/expr.rs:836:28 [INFO] [stdout] | [INFO] [stdout] 836 | if let [inner] = &type_args[..] { [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/expr.rs:849:25 [INFO] [stdout] | [INFO] [stdout] 849 | } 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] 836 ~ match &type_args[..] { [inner] => { [INFO] [stdout] 837 | Ok(UntypedExpr::List { [INFO] [stdout] ... [INFO] [stdout] 848 | }) [INFO] [stdout] 849 ~ } _ => { [INFO] [stdout] 850 | Err( [INFO] [stdout] ... [INFO] [stdout] 853 | ) [INFO] [stdout] 854 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/expr.rs:1088:28 [INFO] [stdout] | [INFO] [stdout] 1088 | if let [inner] = &type_args[..] { [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/expr.rs:1099:25 [INFO] [stdout] | [INFO] [stdout] 1099 | } 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] 1088 ~ match &type_args[..] { [inner] => { [INFO] [stdout] 1089 | Ok(UntypedExpr::List { [INFO] [stdout] ... [INFO] [stdout] 1098 | }) [INFO] [stdout] 1099 ~ } _ => { [INFO] [stdout] 1100 | Err( [INFO] [stdout] ... [INFO] [stdout] 1103 | ) [INFO] [stdout] 1104 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/expr.rs:1144:28 [INFO] [stdout] | [INFO] [stdout] 1144 | if let Some(DataType { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 1145 | | constructors, [INFO] [stdout] 1146 | | typed_parameters, [INFO] [stdout] 1147 | | .. [INFO] [stdout] 1148 | | }) = lookup_data_type_by_tipo(data_types, tipo) [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/expr.rs:1210:25 [INFO] [stdout] | [INFO] [stdout] 1210 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1144 ~ match lookup_data_type_by_tipo(data_types, tipo) [INFO] [stdout] 1145 ~ { Some(DataType { [INFO] [stdout] 1146 + constructors, [INFO] [stdout] 1147 + typed_parameters, [INFO] [stdout] 1148 + .. [INFO] [stdout] 1149 ~ }) => { [INFO] [stdout] 1150 | if constructors.is_empty() { [INFO] [stdout] ... [INFO] [stdout] 1209 | }; [INFO] [stdout] 1210 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/expr.rs:1253:12 [INFO] [stdout] | [INFO] [stdout] 1253 | if let Some(reason) = reason { [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/expr.rs:1261:9 [INFO] [stdout] | [INFO] [stdout] 1261 | } 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] 1253 ~ match reason { Some(reason) => { [INFO] [stdout] 1254 | UntypedExpr::Trace { [INFO] [stdout] ... [INFO] [stdout] 1260 | } [INFO] [stdout] 1261 ~ } _ => { [INFO] [stdout] 1262 | UntypedExpr::ErrorTerm { location } [INFO] [stdout] 1263 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/format.rs:89:49 [INFO] [stdout] | [INFO] [stdout] 89 | fn pop_comments(&mut self, limit: usize) -> 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/format.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | fn pop_comments(&mut self, limit: usize) -> impl Iterator> { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 89 | fn pop_comments(&mut self, limit: usize) -> impl Iterator> + use<'comments> { [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/format.rs:102:53 [INFO] [stdout] | [INFO] [stdout] 102 | fn pop_doc_comments(&mut self, limit: usize) -> 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/format.rs:102:25 [INFO] [stdout] | [INFO] [stdout] 102 | fn pop_doc_comments(&mut self, limit: usize) -> impl Iterator> { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 102 | fn pop_doc_comments(&mut self, limit: usize) -> impl Iterator> + use<'comments> { [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/format.rs:2115:20 [INFO] [stdout] | [INFO] [stdout] 2115 | let curly = if let Some((_, uses_curly)) = args.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/format.rs:2117:5 [INFO] [stdout] | [INFO] [stdout] 2117 | } 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] 2115 ~ let curly = match args.peek() { Some((_, uses_curly)) => { [INFO] [stdout] 2116 | *uses_curly [INFO] [stdout] 2117 ~ } _ => { [INFO] [stdout] 2118 | return "()".to_doc(); [INFO] [stdout] 2119 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/format.rs:2202:11 [INFO] [stdout] | [INFO] [stdout] 2202 | while let Some(c) = comments.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/format.rs:2233:5 [INFO] [stdout] | [INFO] [stdout] 2233 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/gen_uplc.rs:2361:28 [INFO] [stdout] | [INFO] [stdout] 2361 | if let Some(prev_count) = current_defined.get(inner_data_type) { [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/gen_uplc.rs:2365:25 [INFO] [stdout] | [INFO] [stdout] 2365 | } 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] 2361 ~ match current_defined.get(inner_data_type) { Some(prev_count) => { [INFO] [stdout] 2362 | if inner_count - prev_count > 0 { [INFO] [stdout] 2363 | diff_defined_types.push(inner_data_type.to_string()); [INFO] [stdout] 2364 | } [INFO] [stdout] 2365 ~ } _ => { [INFO] [stdout] 2366 | diff_defined_types.push(inner_data_type.to_string()); [INFO] [stdout] 2367 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/gen_uplc.rs:2391:31 [INFO] [stdout] | [INFO] [stdout] 2391 | let args = if let Some(otherwise) = otherwise { [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/gen_uplc.rs:2393:17 [INFO] [stdout] | [INFO] [stdout] 2393 | } 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] 2391 ~ let args = match otherwise { Some(otherwise) => { [INFO] [stdout] 2392 | vec![value, AirTree::anon_func(vec![], then, true), otherwise] [INFO] [stdout] 2393 ~ } _ => { [INFO] [stdout] 2394 | vec![value, AirTree::anon_func(vec![], then, true)] [INFO] [stdout] 2395 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/gen_uplc.rs:2465:31 [INFO] [stdout] | [INFO] [stdout] 2465 | } else if let Some(data_type) = data_type { [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/gen_uplc.rs:2493:21 [INFO] [stdout] | [INFO] [stdout] 2493 | } 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] 2465 ~ } else { match data_type { Some(data_type) => { [INFO] [stdout] 2466 | if data_type.constructors.len() > 1 && !data_type.is_never() { [INFO] [stdout] ... [INFO] [stdout] 2492 | } [INFO] [stdout] 2493 ~ } _ => { [INFO] [stdout] 2494 | // Case of ByteArray or Int or Bool matches [INFO] [stdout] ... [INFO] [stdout] 2510 | ) [INFO] [stdout] 2511 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/gen_uplc.rs:3222:24 [INFO] [stdout] | [INFO] [stdout] 3222 | if let Some((index, prev_name)) = defined_indices [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] 3223 | | .iter() [INFO] [stdout] 3224 | | .find(|(defined_index, _nm)| defined_index == index) [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/gen_uplc.rs:3227:21 [INFO] [stdout] | [INFO] [stdout] 3227 | } else if name != DISCARDED { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3222 ~ match defined_indices [INFO] [stdout] 3223 | .iter() [INFO] [stdout] 3224 | .find(|(defined_index, _nm)| defined_index == index) [INFO] [stdout] 3225 ~ { Some((index, prev_name)) => { [INFO] [stdout] 3226 | previous_defined_names.push((*index, prev_name.clone(), name.clone())); [INFO] [stdout] 3227 ~ } _ => if name != DISCARDED { [INFO] [stdout] 3228 | assert!(defined_indices.insert((*index, name.clone()))); [INFO] [stdout] ... [INFO] [stdout] 3231 | names_to_define.push((*index, name.clone())); [INFO] [stdout] 3232 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/gen_uplc.rs:4406:15 [INFO] [stdout] | [INFO] [stdout] 4406 | while let Some(air_element) = ir_stack.pop() { [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/gen_uplc.rs:4411:9 [INFO] [stdout] | [INFO] [stdout] 4411 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/gen_uplc.rs:4408:16 [INFO] [stdout] | [INFO] [stdout] 4408 | if let Some(arg) = arg { [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/gen_uplc.rs:4410:13 [INFO] [stdout] | [INFO] [stdout] 4410 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 4408 ~ match arg { Some(arg) => { [INFO] [stdout] 4409 | arg_stack.push(arg); [INFO] [stdout] 4410 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/gen_uplc.rs:4499:24 [INFO] [stdout] | [INFO] [stdout] 4499 | if let Some((names, index, cyclic_name)) = self.cyclic_functions.get(&( [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] 4500 | | FunctionAccessKey { [INFO] [stdout] 4501 | | module_name: module.clone(), [INFO] [stdout] 4502 | | function_name: func_name.clone(), [INFO] [stdout] 4503 | | }, [INFO] [stdout] 4504 | | variant_name.clone(), [INFO] [stdout] 4505 | | )) { [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/gen_uplc.rs:4523:21 [INFO] [stdout] | [INFO] [stdout] 4523 | } 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] 4499 ~ match self.cyclic_functions.get(&( [INFO] [stdout] 4500 | FunctionAccessKey { [INFO] [stdout] ... [INFO] [stdout] 4504 | variant_name.clone(), [INFO] [stdout] 4505 ~ )) { Some((names, index, cyclic_name)) => { [INFO] [stdout] 4506 | let cyclic_var_name = if cyclic_name.module_name.is_empty() { [INFO] [stdout] ... [INFO] [stdout] 4522 | Some(term) [INFO] [stdout] 4523 ~ } _ => { [INFO] [stdout] 4524 | let name = if !module.is_empty() { [INFO] [stdout] ... [INFO] [stdout] 4536 | )) [INFO] [stdout] 4537 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/gen_uplc.rs:4629:24 [INFO] [stdout] | [INFO] [stdout] 4629 | if let Some(c) = maybe_const { [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/gen_uplc.rs:4631:21 [INFO] [stdout] | [INFO] [stdout] 4631 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 4629 ~ match maybe_const { Some(c) => { [INFO] [stdout] 4630 | constants.push(c); [INFO] [stdout] 4631 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/gen_uplc.rs:5715:24 [INFO] [stdout] | [INFO] [stdout] 5715 | if let Some(c) = maybe_const { [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/gen_uplc.rs:5717:21 [INFO] [stdout] | [INFO] [stdout] 5717 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 5715 ~ match maybe_const { Some(c) => { [INFO] [stdout] 5716 | constants.push(c); [INFO] [stdout] 5717 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/gen_uplc.rs:5821:24 [INFO] [stdout] | [INFO] [stdout] 5821 | if let Some((tipo, arg)) = args.get(¤t_index) { [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/gen_uplc.rs:5825:21 [INFO] [stdout] | [INFO] [stdout] 5825 | } 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] 5821 ~ match args.get(¤t_index) { Some((tipo, arg)) => { [INFO] [stdout] 5822 | term = Term::mk_cons() [INFO] [stdout] 5823 | .apply(builder::convert_type_to_data(arg.clone(), tipo)) [INFO] [stdout] 5824 | .apply(term); [INFO] [stdout] 5825 ~ } _ => { [INFO] [stdout] 5826 | term = Term::mk_cons() [INFO] [stdout] 5827 | .apply(Term::head_list().apply(Term::var(tail_name))) [INFO] [stdout] 5828 | .apply(term); [INFO] [stdout] 5829 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/gen_uplc.rs:5879:28 [INFO] [stdout] | [INFO] [stdout] 5879 | if let Term::Constant(c) = &value { [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/gen_uplc.rs:5887:25 [INFO] [stdout] | [INFO] [stdout] 5887 | } 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] 5879 ~ match &value { Term::Constant(c) => { [INFO] [stdout] 5880 | if let UplcConstant::Integer(i) = c.as_ref() { [INFO] [stdout] ... [INFO] [stdout] 5886 | } [INFO] [stdout] 5887 ~ } _ => { [INFO] [stdout] 5888 | Term::subtract_integer() [INFO] [stdout] 5889 | .apply(Term::integer(0.into())) [INFO] [stdout] 5890 | .apply(value) [INFO] [stdout] 5891 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/gen_uplc/builder.rs:765:34 [INFO] [stdout] | [INFO] [stdout] 765 | let assign_plug_in_name = if let Pattern::Var { name, .. } = &last_clause.pattern { [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/gen_uplc/builder.rs:767:5 [INFO] [stdout] | [INFO] [stdout] 767 | } 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] 765 ~ let assign_plug_in_name = match &last_clause.pattern { Pattern::Var { name, .. } => { [INFO] [stdout] 766 | Some(name) [INFO] [stdout] 767 ~ } _ => { [INFO] [stdout] 768 | None [INFO] [stdout] 769 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/gen_uplc/builder.rs:848:19 [INFO] [stdout] | [INFO] [stdout] 848 | } else if let Pattern::Var { .. } | Pattern::Discard { .. } = &clause.pattern { [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/gen_uplc/builder.rs:851:9 [INFO] [stdout] | [INFO] [stdout] 851 | } 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] 848 ~ } else { match &clause.pattern { Pattern::Var { .. } | Pattern::Discard { .. } => { [INFO] [stdout] 849 | last_clause_set = true; [INFO] [stdout] 850 | last_clause_index = index; [INFO] [stdout] 851 ~ } _ => { [INFO] [stdout] 852 | unreachable!("Found a clause that is not a list or var or discard"); [INFO] [stdout] 853 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/gen_uplc/builder.rs:857:16 [INFO] [stdout] | [INFO] [stdout] 857 | if let Pattern::List { tail: None, .. } = &clause.pattern { [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/gen_uplc/builder.rs:866:13 [INFO] [stdout] | [INFO] [stdout] 866 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 857 ~ match &clause.pattern { Pattern::List { tail: None, .. } => { [INFO] [stdout] 858 | final_clauses.push(TypedClause { [INFO] [stdout] ... [INFO] [stdout] 865 | }); [INFO] [stdout] 866 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/gen_uplc/builder.rs:1473:16 [INFO] [stdout] | [INFO] [stdout] 1473 | if let [head, tail] = &args[..] { [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/gen_uplc/builder.rs:1481:13 [INFO] [stdout] | [INFO] [stdout] 1481 | } 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] 1473 ~ match &args[..] { [head, tail] => { [INFO] [stdout] 1474 | Term::mk_cons() [INFO] [stdout] ... [INFO] [stdout] 1480 | .apply(tail.clone()) [INFO] [stdout] 1481 ~ } _ => { [INFO] [stdout] 1482 | unreachable!("mk_cons has two arguments."); [INFO] [stdout] 1483 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/gen_uplc/tree.rs:451:12 [INFO] [stdout] | [INFO] [stdout] 451 | if let Some(tail) = tail { [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/gen_uplc/tree.rs:459:9 [INFO] [stdout] | [INFO] [stdout] 459 | } 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] 451 ~ match tail { Some(tail) => { [INFO] [stdout] 452 | items.push(tail); [INFO] [stdout] ... [INFO] [stdout] 458 | } [INFO] [stdout] 459 ~ } _ => { [INFO] [stdout] 460 | AirTree::List { [INFO] [stdout] ... [INFO] [stdout] 464 | } [INFO] [stdout] 465 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser/annotation.rs:104:24 [INFO] [stdout] | [INFO] [stdout] 104 | if let Some((name, arguments)) = opt_dot { [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/annotation.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | } 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] 104 ~ match opt_dot { Some((name, arguments)) => { [INFO] [stdout] 105 | ast::Annotation::Constructor { [INFO] [stdout] ... [INFO] [stdout] 110 | } [INFO] [stdout] 111 ~ } _ => { [INFO] [stdout] 112 | // TODO: parse_error(ParseErrorType::NotConstType, SrcSpan { start, end }) [INFO] [stdout] ... [INFO] [stdout] 116 | } [INFO] [stdout] 117 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser/pattern/var.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | if let Some((c_name, (arguments, spread_location, is_record))) = opt_pattern { [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/pattern/var.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | } 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] 21 ~ match opt_pattern { Some((c_name, (arguments, spread_location, is_record))) => { [INFO] [stdout] 22 | UntypedPattern::Constructor { [INFO] [stdout] ... [INFO] [stdout] 31 | } [INFO] [stdout] 32 ~ } _ => { [INFO] [stdout] 33 | UntypedPattern::Var { [INFO] [stdout] ... [INFO] [stdout] 36 | } [INFO] [stdout] 37 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/test_framework.rs:1106:20 [INFO] [stdout] | [INFO] [stdout] 1106 | if let Ok(Assertion { [INFO] [stdout] | ____________________^ [INFO] [stdout] 1107 | | bin_op, [INFO] [stdout] 1108 | | head: Ok(head), [INFO] [stdout] 1109 | | tail: Ok(tail), [INFO] [stdout] 1110 | | }) = expressions.last().unwrap().to_owned().try_into() [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/test_framework.rs:1127:17 [INFO] [stdout] | [INFO] [stdout] 1127 | } 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] 1106 ~ match expressions.last().unwrap().to_owned().try_into() [INFO] [stdout] 1107 ~ { Ok(Assertion { [INFO] [stdout] 1108 + bin_op, [INFO] [stdout] 1109 + head: Ok(head), [INFO] [stdout] 1110 + tail: Ok(tail), [INFO] [stdout] 1111 ~ }) => { [INFO] [stdout] 1112 | let replace = |expr| { [INFO] [stdout] ... [INFO] [stdout] 1126 | }) [INFO] [stdout] 1127 ~ } _ => { [INFO] [stdout] 1128 | Err(()) [INFO] [stdout] 1129 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tipo.rs:627:20 [INFO] [stdout] | [INFO] [stdout] 627 | if let Some(private_type) = fst.find_private_type() { [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/tipo.rs:629:17 [INFO] [stdout] | [INFO] [stdout] 629 | } 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] 627 ~ match fst.find_private_type() { Some(private_type) => { [INFO] [stdout] 628 | Some(private_type) [INFO] [stdout] 629 ~ } _ => { [INFO] [stdout] 630 | snd.find_private_type() [INFO] [stdout] 631 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tipo.rs:680:16 [INFO] [stdout] | [INFO] [stdout] 680 | if let TypeVar::Link { tipo } = &*tipo.borrow() { [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/tipo.rs:682:13 [INFO] [stdout] | [INFO] [stdout] 682 | } 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] 680 ~ match &*tipo.borrow() { TypeVar::Link { tipo } => { [INFO] [stdout] 681 | lookup_data_type_by_tipo(data_types, tipo) [INFO] [stdout] 682 ~ } _ => { [INFO] [stdout] 683 | None [INFO] [stdout] 684 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tipo.rs:794:20 [INFO] [stdout] | [INFO] [stdout] 794 | if let TypeVar::Link { tipo } = &var_tipo.borrow().clone() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [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/tipo.rs:796:17 [INFO] [stdout] | [INFO] [stdout] 796 | } 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] 794 ~ match &var_tipo.borrow().clone() { TypeVar::Link { tipo } => { [INFO] [stdout] 795 | convert_opaque_type(tipo, data_types, deep) [INFO] [stdout] 796 ~ } _ => { [INFO] [stdout] 797 | t.clone() [INFO] [stdout] 798 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tipo.rs:833:12 [INFO] [stdout] | [INFO] [stdout] 833 | if let [constructor] = &data_type.constructors[..] { [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/tipo.rs:835:9 [INFO] [stdout] | [INFO] [stdout] 835 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 833 ~ match &data_type.constructors[..] { [constructor] => { [INFO] [stdout] 834 | return constructor.arguments.len() == 1 && data_type.opaque; [INFO] [stdout] 835 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tipo/environment.rs:186:16 [INFO] [stdout] | [INFO] [stdout] 186 | if let Some((args, ret)) = new_value { [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/tipo/environment.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 186 ~ match new_value { Some((args, ret)) => { [INFO] [stdout] 187 | *tipo.borrow_mut() = TypeVar::Link { [INFO] [stdout] ... [INFO] [stdout] 191 | return Ok((args, Type::with_alias(ret, alias.clone()))); [INFO] [stdout] 192 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tipo/environment.rs:1542:16 [INFO] [stdout] | [INFO] [stdout] 1542 | if let TypeVar::Link { tipo } = tipo.borrow().deref() { [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/tipo/environment.rs:1549:13 [INFO] [stdout] | [INFO] [stdout] 1549 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1542 ~ match tipo.borrow().deref() { TypeVar::Link { tipo } => { [INFO] [stdout] 1543 | return self.unify( [INFO] [stdout] ... [INFO] [stdout] 1548 | ); [INFO] [stdout] 1549 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tipo/environment.rs:2019:12 [INFO] [stdout] | [INFO] [stdout] 2019 | if let TypeVar::Link { tipo } = tipo.borrow().deref() { [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/tipo/environment.rs:2021:9 [INFO] [stdout] | [INFO] [stdout] 2021 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2019 ~ match tipo.borrow().deref() { TypeVar::Link { tipo } => { [INFO] [stdout] 2020 | return Type::with_alias(tipo.clone(), alias.clone()); [INFO] [stdout] 2021 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tipo/expr.rs:368:19 [INFO] [stdout] | [INFO] [stdout] 368 | } else if let UntypedExpr::Sequence { [INFO] [stdout] | ___________________^ [INFO] [stdout] 369 | | location, [INFO] [stdout] 370 | | expressions, [INFO] [stdout] 371 | | } = body [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/tipo/expr.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 378 | } 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] 368 ~ } else { match body [INFO] [stdout] 369 ~ { UntypedExpr::Sequence { [INFO] [stdout] 370 + location, [INFO] [stdout] 371 + expressions, [INFO] [stdout] 372 ~ } => { [INFO] [stdout] 373 | extra_let_assignments.extend(expressions); [INFO] [stdout] ... [INFO] [stdout] 377 | } [INFO] [stdout] 378 ~ } _ => { [INFO] [stdout] 379 | extra_let_assignments.extend([body]); [INFO] [stdout] ... [INFO] [stdout] 383 | } [INFO] [stdout] 384 ~ }}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tipo/expr.rs:1536:27 [INFO] [stdout] | [INFO] [stdout] 1536 | let then = if let Some(filler) = [INFO] [stdout] | ___________________________^ [INFO] [stdout] 1537 | | recover_from_no_assignment(assert_no_assignment(&then), then.location())? [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/tipo/expr.rs:1543:13 [INFO] [stdout] | [INFO] [stdout] 1543 | } 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] 1536 ~ let then = match recover_from_no_assignment(assert_no_assignment(&then), then.location())? [INFO] [stdout] 1537 ~ { Some(filler) => { [INFO] [stdout] 1538 | TypedExpr::Sequence { [INFO] [stdout] ... [INFO] [stdout] 1541 | } [INFO] [stdout] 1542 ~ } _ => { [INFO] [stdout] 1543 | scope.infer(then)? [INFO] [stdout] 1544 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tipo/expr.rs:1609:35 [INFO] [stdout] | [INFO] [stdout] 1609 | let typed_final_else = if let Some(filler) = [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 1610 | | recover_from_no_assignment(assert_no_assignment(&final_else), final_else.location())? [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/tipo/expr.rs:1616:9 [INFO] [stdout] | [INFO] [stdout] 1616 | } 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] 1609 ~ let typed_final_else = match recover_from_no_assignment(assert_no_assignment(&final_else), final_else.location())? [INFO] [stdout] 1610 ~ { Some(filler) => { [INFO] [stdout] 1611 | TypedExpr::Sequence { [INFO] [stdout] ... [INFO] [stdout] 1614 | } [INFO] [stdout] 1615 ~ } _ => { [INFO] [stdout] 1616 | self.infer(final_else)? [INFO] [stdout] 1617 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tipo/expr.rs:1666:31 [INFO] [stdout] | [INFO] [stdout] 1666 | let body = if let Some(filler) = recover_from_no_assignment( [INFO] [stdout] | _______________________________^ - [INFO] [stdout] | |__________________________________________________| [INFO] [stdout] 1667 | || assert_no_assignment(&branch.body), [INFO] [stdout] 1668 | || branch.body.location(), [INFO] [stdout] 1669 | || )? { [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/tipo/expr.rs:1674:17 [INFO] [stdout] | [INFO] [stdout] 1674 | } 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] 1666 ~ let body = match recover_from_no_assignment( [INFO] [stdout] 1667 | assert_no_assignment(&branch.body), [INFO] [stdout] 1668 | branch.body.location(), [INFO] [stdout] 1669 ~ )? { Some(filler) => { [INFO] [stdout] 1670 | TypedExpr::Sequence { [INFO] [stdout] ... [INFO] [stdout] 1673 | } [INFO] [stdout] 1674 ~ } _ => { [INFO] [stdout] 1675 | typer.infer(branch.body.clone())? [INFO] [stdout] 1676 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tipo/expr.rs:1690:31 [INFO] [stdout] | [INFO] [stdout] 1690 | let body = if let Some(filler) = recover_from_no_assignment( [INFO] [stdout] | _______________________________^ - [INFO] [stdout] | |__________________________________________________| [INFO] [stdout] 1691 | || assert_no_assignment(&branch.body), [INFO] [stdout] 1692 | || branch.body.location(), [INFO] [stdout] 1693 | || )? { [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/tipo/expr.rs:1698:17 [INFO] [stdout] | [INFO] [stdout] 1698 | } 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] 1690 ~ let body = match recover_from_no_assignment( [INFO] [stdout] 1691 | assert_no_assignment(&branch.body), [INFO] [stdout] 1692 | branch.body.location(), [INFO] [stdout] 1693 ~ )? { Some(filler) => { [INFO] [stdout] 1694 | TypedExpr::Sequence { [INFO] [stdout] ... [INFO] [stdout] 1697 | } [INFO] [stdout] 1698 ~ } _ => { [INFO] [stdout] 1699 | self.infer(branch.body.clone())? [INFO] [stdout] 1700 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tipo/expr.rs:1788:23 [INFO] [stdout] | [INFO] [stdout] 1788 | let body = if let Some(filler) = recover_from_no_assignment(no_assignment, location)? { [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/tipo/expr.rs:1793:9 [INFO] [stdout] | [INFO] [stdout] 1793 | } 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] 1788 ~ let body = match recover_from_no_assignment(no_assignment, location)? { Some(filler) => { [INFO] [stdout] 1789 | TypedExpr::Sequence { [INFO] [stdout] ... [INFO] [stdout] 1792 | } [INFO] [stdout] 1793 ~ } _ => { [INFO] [stdout] 1794 | inferred_body? [INFO] [stdout] 1795 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tipo/expr.rs:2177:28 [INFO] [stdout] | [INFO] [stdout] 2177 | if let Some(filler) = [INFO] [stdout] | ____________________________^ [INFO] [stdout] 2178 | | recover_from_no_assignment(no_assignment, typed_expression.location())? [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/tipo/expr.rs:2182:25 [INFO] [stdout] | [INFO] [stdout] 2182 | } 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] 2177 ~ match recover_from_no_assignment(no_assignment, typed_expression.location())? [INFO] [stdout] 2178 ~ { Some(filler) => { [INFO] [stdout] 2179 | expressions.push(typed_expression); [INFO] [stdout] 2180 | expressions.push(filler); [INFO] [stdout] 2181 ~ } _ => { [INFO] [stdout] 2182 | expressions.push(typed_expression); [INFO] [stdout] 2183 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tipo/infer.rs:118:16 [INFO] [stdout] | [INFO] [stdout] 118 | if let Some(leaked) = value.tipo.find_private_type() { [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/tipo/infer.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 118 ~ match value.tipo.find_private_type() { Some(leaked) => { [INFO] [stdout] 119 | return Err(Error::PrivateTypeLeak { [INFO] [stdout] ... [INFO] [stdout] 122 | }); [INFO] [stdout] 123 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tipo/pipe.rs:261:20 [INFO] [stdout] | [INFO] [stdout] 261 | if let Type::Fn { args, .. } = func.tipo().deref() { [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/tipo/pipe.rs:267:17 [INFO] [stdout] | [INFO] [stdout] 267 | } 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] 261 ~ match func.tipo().deref() { Type::Fn { args, .. } => { [INFO] [stdout] 262 | if let Some(typ) = args.first() { [INFO] [stdout] ... [INFO] [stdout] 266 | } [INFO] [stdout] 267 ~ } _ => { [INFO] [stdout] 268 | false [INFO] [stdout] 269 ~ }}, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tipo/pretty.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | if let Some(resolved_parameters) = resolve_alias(parameters, annotation, typ) { [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/tipo/pretty.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 56 ~ match resolve_alias(parameters, annotation, typ) { Some(resolved_parameters) => { [INFO] [stdout] 57 | return self.type_alias_doc(typ, alias.to_string(), resolved_parameters); [INFO] [stdout] 58 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 60 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] --> src/parser/utils.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 23 | ($code: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/parser/utils.rs:57:6 [INFO] [stdout] | [INFO] [stdout] 57 | ($code: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/parser/utils.rs:78:6 [INFO] [stdout] | [INFO] [stdout] 78 | ($code: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/parser/utils.rs:99:6 [INFO] [stdout] | [INFO] [stdout] 99 | ($code: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/parser/utils.rs:115:6 [INFO] [stdout] | [INFO] [stdout] 115 | ($code: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/parser/utils.rs:136:6 [INFO] [stdout] | [INFO] [stdout] 136 | ($code: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/parser/utils.rs:157:6 [INFO] [stdout] | [INFO] [stdout] 157 | ($code: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/pretty.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | ($($x: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/lib.rs:39:6 [INFO] [stdout] | [INFO] [stdout] 39 | ($module_types:expr_2021, $id_gen:expr_2021, $src: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/lib.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | ($module_types:expr_2021, $id_gen:expr_2021, $src: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/lib.rs:39:50 [INFO] [stdout] | [INFO] [stdout] 39 | ($module_types:expr_2021, $id_gen:expr_2021, $src: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: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tipo/pretty.rs:389:19 [INFO] [stdout] | [INFO] [stdout] 389 | ($src:expr, $typ: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] 389 | ($src:expr_2021, $typ: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/tipo/pretty.rs:389:30 [INFO] [stdout] | [INFO] [stdout] 389 | ($src:expr, $typ: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] 389 | ($src:expr, $typ:expr_2021 $(,)?) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aiken-lang` (lib test) due to 12 previous errors; 2 warnings emitted [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" "5d7d41002f4f63b47a13435ee33633225180b169d4177e428f28cfd6a1dad5c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d7d41002f4f63b47a13435ee33633225180b169d4177e428f28cfd6a1dad5c2", kill_on_drop: false }` [INFO] [stdout] 5d7d41002f4f63b47a13435ee33633225180b169d4177e428f28cfd6a1dad5c2