[INFO] fetching crate concordium-contracts-common-derive 4.1.0... [INFO] checking concordium-contracts-common-derive-4.1.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate concordium-contracts-common-derive 4.1.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate concordium-contracts-common-derive 4.1.0 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate concordium-contracts-common-derive 4.1.0 [INFO] finished tweaking crates.io crate concordium-contracts-common-derive 4.1.0 [INFO] tweaked toml for crates.io crate concordium-contracts-common-derive 4.1.0 written to /workspace/builds/worker-2-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] Updating crates.io index [INFO] [stderr] Locking 4 packages to latest compatible versions [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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] c917886ef55309053db99bbadae3efd9e9aa37b1cb8684efd196d686dca1b640 [INFO] running `Command { std: "docker" "start" "-a" "c917886ef55309053db99bbadae3efd9e9aa37b1cb8684efd196d686dca1b640", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c917886ef55309053db99bbadae3efd9e9aa37b1cb8684efd196d686dca1b640", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c917886ef55309053db99bbadae3efd9e9aa37b1cb8684efd196d686dca1b640", kill_on_drop: false }` [INFO] [stdout] c917886ef55309053db99bbadae3efd9e9aa37b1cb8684efd196d686dca1b640 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 813304bec16612bd961a14ff1500ad6b3a59549ac39dbbd2642a80da5154ea59 [INFO] running `Command { std: "docker" "start" "-a" "813304bec16612bd961a14ff1500ad6b3a59549ac39dbbd2642a80da5154ea59", 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] Checking syn v2.0.77 [INFO] [stderr] Checking concordium-contracts-common-derive v4.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `concordium_contracts_common_derive` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/derive.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/derive.rs:12:6 [INFO] [stderr] | [INFO] [stderr] 12 | ($condition: expr_2021, $span: expr_2021, $message: 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/derive.rs:12:29 [INFO] [stderr] | [INFO] [stderr] 12 | ($condition: expr_2021, $span: expr_2021, $message: 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/derive.rs:12:47 [INFO] [stderr] | [INFO] [stderr] 12 | ($condition: expr_2021, $span: expr_2021, $message: 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/derive.rs:17:6 [INFO] [stderr] | [INFO] [stderr] 17 | ($condition: expr_2021, $span: expr_2021, $message: expr_2021, $($arg:tt)*) => { [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] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/derive.rs:1336:9 [INFO] [stdout] | [INFO] [stdout] 1336 | let gen = quote! { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/derive.rs:17:29 [INFO] [stderr] | [INFO] [stderr] 17 | ($condition: expr_2021, $span: expr_2021, $message: expr_2021, $($arg:tt)*) => { [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] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/derive.rs:1344:8 [INFO] [stdout] | [INFO] [stdout] 1344 | Ok(gen.into()) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/derive.rs:1571:9 [INFO] [stdout] | [INFO] [stdout] 1571 | let gen = quote! { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/derive.rs:17:47 [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/derive.rs:1579:8 [INFO] [stdout] | [INFO] [stdout] 1579 | Ok(gen.into()) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/derive.rs:1848:9 [INFO] [stdout] | [INFO] [stdout] 1848 | let gen = quote! { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 17 | ($condition: expr_2021, $span: expr_2021, $message: expr_2021, $($arg:tt)*) => { [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/derive.rs:1856:8 [INFO] [stdout] | [INFO] [stdout] 1856 | Ok(gen.into()) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/derive.rs:1890:9 [INFO] [stdout] | [INFO] [stdout] 1890 | let gen = quote! { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/derive.rs:1908:8 [INFO] [stdout] | [INFO] [stdout] 1908 | Ok(gen.into()) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [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/derive.rs:27:6 [INFO] [stderr] | [INFO] [stderr] 27 | ($span: expr_2021, $message: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/derive.rs:2144:9 [INFO] [stdout] | [INFO] [stdout] 2144 | let gen = quote! { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [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/derive.rs:27:24 [INFO] [stderr] | [INFO] [stderr] 27 | ($span: expr_2021, $message: 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] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/derive.rs:2154:8 [INFO] [stdout] | [INFO] [stdout] 2154 | Ok(gen.into()) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/derive.rs:33:6 [INFO] [stderr] | [INFO] [stderr] 33 | ($span: expr_2021, $message: expr_2021, $($arg:tt)*) => { [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/derive.rs:33:24 [INFO] [stderr] | [INFO] [stderr] 33 | ($span: expr_2021, $message: expr_2021, $($arg:tt)*) => { [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 10 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/derive.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | ($condition: expr, $span: expr, $message: 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] 12 | ($condition: expr_2021, $span: expr, $message: 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/derive.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | ($condition: expr, $span: expr, $message: 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] 12 | ($condition: expr, $span: expr_2021, $message: 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/derive.rs:12:47 [INFO] [stdout] | [INFO] [stdout] 12 | ($condition: expr, $span: expr, $message: 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] 12 | ($condition: expr, $span: expr, $message: 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/derive.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | ($condition: expr, $span: expr, $message: expr, $($arg:tt)*) => { [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] 17 | ($condition: expr_2021, $span: expr, $message: expr, $($arg:tt)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/derive.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | ($condition: expr, $span: expr, $message: expr, $($arg:tt)*) => { [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] 17 | ($condition: expr, $span: expr_2021, $message: expr, $($arg:tt)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/derive.rs:17:47 [INFO] [stdout] | [INFO] [stdout] 17 | ($condition: expr, $span: expr, $message: expr, $($arg:tt)*) => { [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] 17 | ($condition: expr, $span: expr, $message: expr_2021, $($arg:tt)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/derive.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | ($span: expr, $message: 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] 27 | ($span: expr_2021, $message: 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/derive.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | ($span: expr, $message: 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] 27 | ($span: expr, $message: 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/derive.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | ($span: expr, $message: expr, $($arg:tt)*) => { [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] 33 | ($span: expr_2021, $message: expr, $($arg:tt)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/derive.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | ($span: expr, $message: expr, $($arg:tt)*) => { [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] 33 | ($span: expr, $message: expr_2021, $($arg:tt)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/attribute.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | if let Some(ident) = iter.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/attribute.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 106 ~ match iter.next() { Some(ident) => { [INFO] [stdout] 107 | let mut err = [INFO] [stdout] ... [INFO] [stdout] 115 | Err(err) [INFO] [stdout] 116 ~ } _ => { [INFO] [stdout] 117 | Ok(()) [INFO] [stdout] 118 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/attribute.rs:131:20 [INFO] [stdout] | [INFO] [stdout] 131 | if let Some(ident) = mnv.path.get_ident() { [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/attribute.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | } 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] 131 ~ match mnv.path.get_ident() { Some(ident) => { [INFO] [stdout] 132 | if let syn::Expr::Lit(syn::ExprLit { [INFO] [stdout] ... [INFO] [stdout] 160 | } [INFO] [stdout] 161 ~ } _ => { [INFO] [stdout] 162 | errors.push(syn::Error::new( [INFO] [stdout] ... [INFO] [stdout] 166 | )) [INFO] [stdout] 167 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/attribute.rs:132:24 [INFO] [stdout] | [INFO] [stdout] 132 | if let syn::Expr::Lit(syn::ExprLit { [INFO] [stdout] | ________________________^ [INFO] [stdout] 133 | | lit: syn::Lit::Str(ls), [INFO] [stdout] 134 | | .. [INFO] [stdout] 135 | | }) = &mnv.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/attribute.rs:151:21 [INFO] [stdout] | [INFO] [stdout] 151 | } 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] 132 ~ match &mnv.value [INFO] [stdout] 133 ~ { syn::Expr::Lit(syn::ExprLit { [INFO] [stdout] 134 + lit: syn::Lit::Str(ls), [INFO] [stdout] 135 + .. [INFO] [stdout] 136 ~ }) => { [INFO] [stdout] 137 | if let Some((existing_ident, _)) = ret.values.get_key_value(ident) { [INFO] [stdout] ... [INFO] [stdout] 150 | } [INFO] [stdout] 151 ~ } _ => { [INFO] [stdout] 152 | errors.push(syn::Error::new( [INFO] [stdout] ... [INFO] [stdout] 159 | )); [INFO] [stdout] 160 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/attribute.rs:137:28 [INFO] [stdout] | [INFO] [stdout] 137 | if let Some((existing_ident, _)) = ret.values.get_key_value(ident) { [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/attribute.rs:148:25 [INFO] [stdout] | [INFO] [stdout] 148 | } 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] 137 ~ match ret.values.get_key_value(ident) { Some((existing_ident, _)) => { [INFO] [stdout] 138 | let v = duplicate_values.entry(ident).or_insert_with(|| { [INFO] [stdout] ... [INFO] [stdout] 147 | )); [INFO] [stdout] 148 ~ } _ => { [INFO] [stdout] 149 | ret.values.insert(ident.clone(), ls.clone()); [INFO] [stdout] 150 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/attribute.rs:171:24 [INFO] [stdout] | [INFO] [stdout] 171 | if let Some(existing_ident) = ret.flags.get(ident) { [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/attribute.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | } 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] 171 ~ match ret.flags.get(ident) { Some(existing_ident) => { [INFO] [stdout] 172 | let v = duplicate_flags.entry(ident).or_insert_with(|| { [INFO] [stdout] ... [INFO] [stdout] 181 | )); [INFO] [stdout] 182 ~ } _ => { [INFO] [stdout] 183 | ret.flags.insert(ident.clone()); [INFO] [stdout] 184 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/attribute.rs:353:16 [INFO] [stdout] | [INFO] [stdout] 353 | if let Some(ident) = fallback { [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/attribute.rs:371:13 [INFO] [stdout] | [INFO] [stdout] 371 | } 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] 353 ~ match fallback { Some(ident) => { [INFO] [stdout] 354 | Ok(ReceiveAttributes { [INFO] [stdout] ... [INFO] [stdout] 370 | }) [INFO] [stdout] 371 ~ } _ => { [INFO] [stdout] 372 | Err(syn::Error::new( [INFO] [stdout] ... [INFO] [stdout] 377 | )) [INFO] [stdout] 378 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/derive.rs:93:20 [INFO] [stdout] | [INFO] [stdout] 93 | if let syn::Expr::Lit(expr_lit) = name_value.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/derive.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | } 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] 93 ~ match name_value.value { syn::Expr::Lit(expr_lit) => { [INFO] [stdout] 94 | Some(expr_lit.lit) [INFO] [stdout] 95 ~ } _ => { [INFO] [stdout] 96 | None [INFO] [stdout] 97 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/derive.rs:638:20 [INFO] [stdout] | [INFO] [stdout] 638 | if let Some(serial_value) = serial.as_mut() { [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/derive.rs:640:17 [INFO] [stdout] | [INFO] [stdout] 640 | } 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] 638 ~ match serial.as_mut() { Some(serial_value) => { [INFO] [stdout] 639 | serial_value.extend(value) [INFO] [stdout] 640 ~ } _ => { [INFO] [stdout] 641 | serial = Some(value); [INFO] [stdout] 642 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/derive.rs:651:20 [INFO] [stdout] | [INFO] [stdout] 651 | if let Some(deserial_value) = deserial.as_mut() { [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/derive.rs:653:17 [INFO] [stdout] | [INFO] [stdout] 653 | } 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] 651 ~ match deserial.as_mut() { Some(deserial_value) => { [INFO] [stdout] 652 | deserial_value.extend(value) [INFO] [stdout] 653 ~ } _ => { [INFO] [stdout] 654 | deserial = Some(value); [INFO] [stdout] 655 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/derive.rs:664:20 [INFO] [stdout] | [INFO] [stdout] 664 | if let Some(schema_type_value) = schema_type.as_mut() { [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/derive.rs:666:17 [INFO] [stdout] | [INFO] [stdout] 666 | } 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] 664 ~ match schema_type.as_mut() { Some(schema_type_value) => { [INFO] [stdout] 665 | schema_type_value.extend(value) [INFO] [stdout] 666 ~ } _ => { [INFO] [stdout] 667 | schema_type = Some(value); [INFO] [stdout] 668 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/derive.rs:852:20 [INFO] [stdout] | [INFO] [stdout] 852 | if let Some(tag_attribute) = &tag_option { [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] 864 | } else if let Some(forward_attribute) = forwards.first() { [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/derive.rs:864:17 [INFO] [stdout] | [INFO] [stdout] 864 | } else if let Some(forward_attribute) = forwards.first() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/derive.rs:878:17 [INFO] [stdout] | [INFO] [stdout] 878 | } 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] 852 ~ match &tag_option { Some(tag_attribute) => { [INFO] [stdout] 853 | let new_error = syn::Error::new( [INFO] [stdout] ... [INFO] [stdout] 863 | push_error(&mut error_option, new_error) [INFO] [stdout] 864 ~ } _ => { match forwards.first() { Some(forward_attribute) => { [INFO] [stdout] 865 | let new_error = syn::Error::new( [INFO] [stdout] ... [INFO] [stdout] 877 | push_error(&mut error_option, new_error) [INFO] [stdout] 878 ~ } _ => { [INFO] [stdout] 879 | match TagAttribute::try_from(meta) { [INFO] [stdout] ... [INFO] [stdout] 882 | } [INFO] [stdout] 883 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/derive.rs:904:20 [INFO] [stdout] | [INFO] [stdout] 904 | if let Some(tag_attribute) = &tag_option { [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/derive.rs:918:17 [INFO] [stdout] | [INFO] [stdout] 918 | } 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] 904 ~ match &tag_option { Some(tag_attribute) => { [INFO] [stdout] 905 | let new_error = syn::Error::new( [INFO] [stdout] ... [INFO] [stdout] 917 | push_error(&mut error_option, new_error) [INFO] [stdout] 918 ~ } _ => { [INFO] [stdout] 919 | match ForwardAttribute::try_from(meta) { [INFO] [stdout] ... [INFO] [stdout] 922 | } [INFO] [stdout] 923 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/derive.rs:1009:20 [INFO] [stdout] | [INFO] [stdout] 1009 | if let syn::Lit::Int(value) = &expr_lit.lit { [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/derive.rs:1011:17 [INFO] [stdout] | [INFO] [stdout] 1011 | } 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] 1009 ~ match &expr_lit.lit { syn::Lit::Int(value) => { [INFO] [stdout] 1010 | values.push(ForwardAttributeValue::Literal(value.clone())); [INFO] [stdout] 1011 ~ } _ => { [INFO] [stdout] 1012 | abort!( [INFO] [stdout] ... [INFO] [stdout] 1015 | ); [INFO] [stdout] 1016 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/derive.rs:1105:12 [INFO] [stdout] | [INFO] [stdout] 1105 | if let Some((clasing_tag_span, clasing_variant_ident)) = [INFO] [stdout] | ____________^ [INFO] [stdout] 1106 | | self.tags_in_use.insert(tag_lit, (tag_span, variant_ident)) [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/derive.rs:1123:9 [INFO] [stdout] | [INFO] [stdout] 1123 | } 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] 1105 ~ match self.tags_in_use.insert(tag_lit, (tag_span, variant_ident)) [INFO] [stdout] 1106 ~ { Some((clasing_tag_span, clasing_variant_ident)) => { [INFO] [stdout] 1107 | let mut err = syn::Error::new( [INFO] [stdout] ... [INFO] [stdout] 1121 | Err(err) [INFO] [stdout] 1122 ~ } _ => { [INFO] [stdout] 1123 | Ok(()) [INFO] [stdout] 1124 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/derive.rs:1315:12 [INFO] [stdout] | [INFO] [stdout] 1315 | if let Some(attribute_bounds) = container_attributes.deserial_bounds() { [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/derive.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | } 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] 1315 ~ match container_attributes.deserial_bounds() { Some(attribute_bounds) => { [INFO] [stdout] 1316 | attribute_bounds.into_token_stream() [INFO] [stdout] 1317 ~ } _ => { [INFO] [stdout] 1318 | // Extend where clauses with Deserial predicate of each generic. [INFO] [stdout] ... [INFO] [stdout] 1333 | } [INFO] [stdout] 1334 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/derive.rs:1380:8 [INFO] [stdout] | [INFO] [stdout] 1380 | if let Some(size_length) = find_length_attribute(&field.attrs)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----------^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/derive.rs:1385:5 [INFO] [stdout] | [INFO] [stdout] 1385 | } 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] 1380 ~ match find_length_attribute(&field.attrs)? { Some(size_length) => { [INFO] [stdout] 1381 | let l = format_ident!("U{}", 8 * size_length); [INFO] [stdout] ... [INFO] [stdout] 1384 | })) [INFO] [stdout] 1385 ~ } _ => { [INFO] [stdout] 1386 | Ok(quote! { [INFO] [stdout] 1387 | #root::Serial::serial(#ident, #out)?; [INFO] [stdout] 1388 | }) [INFO] [stdout] 1389 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/derive.rs:1539:35 [INFO] [stdout] | [INFO] [stdout] 1539 | let where_clauses_tokens = if let Some(attribute_bounds) = container_attributes.serial_bounds() [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/derive.rs:1542:5 [INFO] [stdout] | [INFO] [stdout] 1542 | } 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] 1539 ~ let where_clauses_tokens = match container_attributes.serial_bounds() [INFO] [stdout] 1540 ~ { Some(attribute_bounds) => { [INFO] [stdout] 1541 | attribute_bounds.into_token_stream() [INFO] [stdout] 1542 ~ } _ => { [INFO] [stdout] 1543 | let state_parameter_ident = container_attributes [INFO] [stdout] ... [INFO] [stdout] 1568 | } [INFO] [stdout] 1569 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/derive.rs:1818:35 [INFO] [stdout] | [INFO] [stdout] 1818 | let where_clauses_tokens = if let Some(attribute_bounds) = [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 1819 | | container_attributes.deserial_bounds() [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/derive.rs:1822:5 [INFO] [stdout] | [INFO] [stdout] 1822 | } 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] 1818 ~ let where_clauses_tokens = match container_attributes.deserial_bounds() [INFO] [stdout] 1819 ~ { Some(attribute_bounds) => { [INFO] [stdout] 1820 | attribute_bounds.into_token_stream() [INFO] [stdout] 1821 ~ } _ => { [INFO] [stdout] 1822 | let state_parameter_ident = state_parameter.path.segments.first(); [INFO] [stdout] ... [INFO] [stdout] 1844 | } [INFO] [stdout] 1845 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/derive.rs:2335:12 [INFO] [stdout] | [INFO] [stdout] 2335 | if let Some(attribute_bounds) = container_attributes.schema_type_bounds() { [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/derive.rs:2337:9 [INFO] [stdout] | [INFO] [stdout] 2337 | } 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] 2335 ~ match container_attributes.schema_type_bounds() { Some(attribute_bounds) => { [INFO] [stdout] 2336 | attribute_bounds.into_token_stream() [INFO] [stdout] 2337 ~ } _ => { [INFO] [stdout] 2338 | // Extend where clauses bounding generics to implement SchemaType. [INFO] [stdout] ... [INFO] [stdout] 2353 | } [INFO] [stdout] 2354 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/derive.rs:2422:8 [INFO] [stdout] | [INFO] [stdout] 2422 | if let Some(l) = find_length_attribute(&field.attrs)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----------^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/derive.rs:2427:5 [INFO] [stdout] | [INFO] [stdout] 2427 | } 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] 2422 ~ match find_length_attribute(&field.attrs)? { Some(l) => { [INFO] [stdout] 2423 | let size = format_ident!("U{}", 8 * l); [INFO] [stdout] ... [INFO] [stdout] 2426 | }) [INFO] [stdout] 2427 ~ } _ => { [INFO] [stdout] 2428 | Ok(quote! { [INFO] [stdout] 2429 | <#field_type as concordium_std::schema::SchemaType>::get_type() [INFO] [stdout] 2430 | }) [INFO] [stdout] 2431 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `concordium_contracts_common_derive` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/derive.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/derive.rs:12:6 [INFO] [stderr] | [INFO] [stderr] 12 | ($condition: expr_2021, $span: expr_2021, $message: 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/derive.rs:12:29 [INFO] [stderr] | [INFO] [stderr] 12 | ($condition: expr_2021, $span: expr_2021, $message: 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/derive.rs:12:47 [INFO] [stderr] | [INFO] [stderr] 12 | ($condition: expr_2021, $span: expr_2021, $message: 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/derive.rs:17:6 [INFO] [stderr] | [INFO] [stderr] 17 | ($condition: expr_2021, $span: expr_2021, $message: expr_2021, $($arg:tt)*) => { [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/derive.rs:17:29 [INFO] [stderr] | [INFO] [stderr] 17 | ($condition: expr_2021, $span: expr_2021, $message: expr_2021, $($arg:tt)*) => { [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/derive.rs:17:47 [INFO] [stderr] | [INFO] [stderr] 17 | ($condition: expr_2021, $span: expr_2021, $message: expr_2021, $($arg:tt)*) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/derive.rs:1336:9 [INFO] [stdout] | [INFO] [stdout] 1336 | let gen = quote! { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/derive.rs:1344:8 [INFO] [stdout] | [INFO] [stdout] 1344 | Ok(gen.into()) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/derive.rs:1571:9 [INFO] [stdout] | [INFO] [stdout] 1571 | let gen = quote! { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/derive.rs:1579:8 [INFO] [stdout] | [INFO] [stdout] 1579 | Ok(gen.into()) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [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/derive.rs:27:6 [INFO] [stderr] | [INFO] [stderr] 27 | ($span: expr_2021, $message: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/derive.rs:1848:9 [INFO] [stdout] | [INFO] [stdout] 1848 | let gen = quote! { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/derive.rs:1856:8 [INFO] [stdout] | [INFO] [stdout] 1856 | Ok(gen.into()) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [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/derive.rs:27:24 [INFO] [stderr] | [INFO] [stderr] 27 | ($span: expr_2021, $message: 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] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/derive.rs:1890:9 [INFO] [stdout] | [INFO] [stdout] 1890 | let gen = quote! { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/derive.rs:1908:8 [INFO] [stdout] | [INFO] [stdout] 1908 | Ok(gen.into()) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/derive.rs:33:6 [INFO] [stderr] | [INFO] [stderr] 33 | ($span: expr_2021, $message: expr_2021, $($arg:tt)*) => { [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] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/derive.rs:2144:9 [INFO] [stdout] | [INFO] [stdout] 2144 | let gen = quote! { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/derive.rs:2154:8 [INFO] [stdout] | [INFO] [stdout] 2154 | Ok(gen.into()) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/derive.rs:33:24 [INFO] [stderr] | [INFO] [stderr] 33 | ($span: expr_2021, $message: expr_2021, $($arg:tt)*) => { [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 10 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/derive.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | ($condition: expr, $span: expr, $message: 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] 12 | ($condition: expr_2021, $span: expr, $message: 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/derive.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | ($condition: expr, $span: expr, $message: 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] 12 | ($condition: expr, $span: expr_2021, $message: 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/derive.rs:12:47 [INFO] [stdout] | [INFO] [stdout] 12 | ($condition: expr, $span: expr, $message: 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] 12 | ($condition: expr, $span: expr, $message: 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/derive.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | ($condition: expr, $span: expr, $message: expr, $($arg:tt)*) => { [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] 17 | ($condition: expr_2021, $span: expr, $message: expr, $($arg:tt)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/derive.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | ($condition: expr, $span: expr, $message: expr, $($arg:tt)*) => { [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] 17 | ($condition: expr, $span: expr_2021, $message: expr, $($arg:tt)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/derive.rs:17:47 [INFO] [stdout] | [INFO] [stdout] 17 | ($condition: expr, $span: expr, $message: expr, $($arg:tt)*) => { [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] 17 | ($condition: expr, $span: expr, $message: expr_2021, $($arg:tt)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/derive.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | ($span: expr, $message: 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] 27 | ($span: expr_2021, $message: 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/derive.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | ($span: expr, $message: 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] 27 | ($span: expr, $message: 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/derive.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | ($span: expr, $message: expr, $($arg:tt)*) => { [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] 33 | ($span: expr_2021, $message: expr, $($arg:tt)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/derive.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | ($span: expr, $message: expr, $($arg:tt)*) => { [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] 33 | ($span: expr, $message: expr_2021, $($arg:tt)*) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/attribute.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | if let Some(ident) = iter.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/attribute.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 106 ~ match iter.next() { Some(ident) => { [INFO] [stdout] 107 | let mut err = [INFO] [stdout] ... [INFO] [stdout] 115 | Err(err) [INFO] [stdout] 116 ~ } _ => { [INFO] [stdout] 117 | Ok(()) [INFO] [stdout] 118 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/attribute.rs:131:20 [INFO] [stdout] | [INFO] [stdout] 131 | if let Some(ident) = mnv.path.get_ident() { [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/attribute.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | } 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] 131 ~ match mnv.path.get_ident() { Some(ident) => { [INFO] [stdout] 132 | if let syn::Expr::Lit(syn::ExprLit { [INFO] [stdout] ... [INFO] [stdout] 160 | } [INFO] [stdout] 161 ~ } _ => { [INFO] [stdout] 162 | errors.push(syn::Error::new( [INFO] [stdout] ... [INFO] [stdout] 166 | )) [INFO] [stdout] 167 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/attribute.rs:132:24 [INFO] [stdout] | [INFO] [stdout] 132 | if let syn::Expr::Lit(syn::ExprLit { [INFO] [stdout] | ________________________^ [INFO] [stdout] 133 | | lit: syn::Lit::Str(ls), [INFO] [stdout] 134 | | .. [INFO] [stdout] 135 | | }) = &mnv.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/attribute.rs:151:21 [INFO] [stdout] | [INFO] [stdout] 151 | } 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] 132 ~ match &mnv.value [INFO] [stdout] 133 ~ { syn::Expr::Lit(syn::ExprLit { [INFO] [stdout] 134 + lit: syn::Lit::Str(ls), [INFO] [stdout] 135 + .. [INFO] [stdout] 136 ~ }) => { [INFO] [stdout] 137 | if let Some((existing_ident, _)) = ret.values.get_key_value(ident) { [INFO] [stdout] ... [INFO] [stdout] 150 | } [INFO] [stdout] 151 ~ } _ => { [INFO] [stdout] 152 | errors.push(syn::Error::new( [INFO] [stdout] ... [INFO] [stdout] 159 | )); [INFO] [stdout] 160 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/attribute.rs:137:28 [INFO] [stdout] | [INFO] [stdout] 137 | if let Some((existing_ident, _)) = ret.values.get_key_value(ident) { [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/attribute.rs:148:25 [INFO] [stdout] | [INFO] [stdout] 148 | } 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] 137 ~ match ret.values.get_key_value(ident) { Some((existing_ident, _)) => { [INFO] [stdout] 138 | let v = duplicate_values.entry(ident).or_insert_with(|| { [INFO] [stdout] ... [INFO] [stdout] 147 | )); [INFO] [stdout] 148 ~ } _ => { [INFO] [stdout] 149 | ret.values.insert(ident.clone(), ls.clone()); [INFO] [stdout] 150 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/attribute.rs:171:24 [INFO] [stdout] | [INFO] [stdout] 171 | if let Some(existing_ident) = ret.flags.get(ident) { [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/attribute.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | } 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] 171 ~ match ret.flags.get(ident) { Some(existing_ident) => { [INFO] [stdout] 172 | let v = duplicate_flags.entry(ident).or_insert_with(|| { [INFO] [stdout] ... [INFO] [stdout] 181 | )); [INFO] [stdout] 182 ~ } _ => { [INFO] [stdout] 183 | ret.flags.insert(ident.clone()); [INFO] [stdout] 184 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/attribute.rs:353:16 [INFO] [stdout] | [INFO] [stdout] 353 | if let Some(ident) = fallback { [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/attribute.rs:371:13 [INFO] [stdout] | [INFO] [stdout] 371 | } 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] 353 ~ match fallback { Some(ident) => { [INFO] [stdout] 354 | Ok(ReceiveAttributes { [INFO] [stdout] ... [INFO] [stdout] 370 | }) [INFO] [stdout] 371 ~ } _ => { [INFO] [stdout] 372 | Err(syn::Error::new( [INFO] [stdout] ... [INFO] [stdout] 377 | )) [INFO] [stdout] 378 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/derive.rs:93:20 [INFO] [stdout] | [INFO] [stdout] 93 | if let syn::Expr::Lit(expr_lit) = name_value.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/derive.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | } 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] 93 ~ match name_value.value { syn::Expr::Lit(expr_lit) => { [INFO] [stdout] 94 | Some(expr_lit.lit) [INFO] [stdout] 95 ~ } _ => { [INFO] [stdout] 96 | None [INFO] [stdout] 97 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/derive.rs:638:20 [INFO] [stdout] | [INFO] [stdout] 638 | if let Some(serial_value) = serial.as_mut() { [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/derive.rs:640:17 [INFO] [stdout] | [INFO] [stdout] 640 | } 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] 638 ~ match serial.as_mut() { Some(serial_value) => { [INFO] [stdout] 639 | serial_value.extend(value) [INFO] [stdout] 640 ~ } _ => { [INFO] [stdout] 641 | serial = Some(value); [INFO] [stdout] 642 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/derive.rs:651:20 [INFO] [stdout] | [INFO] [stdout] 651 | if let Some(deserial_value) = deserial.as_mut() { [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/derive.rs:653:17 [INFO] [stdout] | [INFO] [stdout] 653 | } 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] 651 ~ match deserial.as_mut() { Some(deserial_value) => { [INFO] [stdout] 652 | deserial_value.extend(value) [INFO] [stdout] 653 ~ } _ => { [INFO] [stdout] 654 | deserial = Some(value); [INFO] [stdout] 655 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/derive.rs:664:20 [INFO] [stdout] | [INFO] [stdout] 664 | if let Some(schema_type_value) = schema_type.as_mut() { [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/derive.rs:666:17 [INFO] [stdout] | [INFO] [stdout] 666 | } 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] 664 ~ match schema_type.as_mut() { Some(schema_type_value) => { [INFO] [stdout] 665 | schema_type_value.extend(value) [INFO] [stdout] 666 ~ } _ => { [INFO] [stdout] 667 | schema_type = Some(value); [INFO] [stdout] 668 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/derive.rs:852:20 [INFO] [stdout] | [INFO] [stdout] 852 | if let Some(tag_attribute) = &tag_option { [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] 864 | } else if let Some(forward_attribute) = forwards.first() { [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/derive.rs:864:17 [INFO] [stdout] | [INFO] [stdout] 864 | } else if let Some(forward_attribute) = forwards.first() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/derive.rs:878:17 [INFO] [stdout] | [INFO] [stdout] 878 | } 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] 852 ~ match &tag_option { Some(tag_attribute) => { [INFO] [stdout] 853 | let new_error = syn::Error::new( [INFO] [stdout] ... [INFO] [stdout] 863 | push_error(&mut error_option, new_error) [INFO] [stdout] 864 ~ } _ => { match forwards.first() { Some(forward_attribute) => { [INFO] [stdout] 865 | let new_error = syn::Error::new( [INFO] [stdout] ... [INFO] [stdout] 877 | push_error(&mut error_option, new_error) [INFO] [stdout] 878 ~ } _ => { [INFO] [stdout] 879 | match TagAttribute::try_from(meta) { [INFO] [stdout] ... [INFO] [stdout] 882 | } [INFO] [stdout] 883 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/derive.rs:904:20 [INFO] [stdout] | [INFO] [stdout] 904 | if let Some(tag_attribute) = &tag_option { [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/derive.rs:918:17 [INFO] [stdout] | [INFO] [stdout] 918 | } 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] 904 ~ match &tag_option { Some(tag_attribute) => { [INFO] [stdout] 905 | let new_error = syn::Error::new( [INFO] [stdout] ... [INFO] [stdout] 917 | push_error(&mut error_option, new_error) [INFO] [stdout] 918 ~ } _ => { [INFO] [stdout] 919 | match ForwardAttribute::try_from(meta) { [INFO] [stdout] ... [INFO] [stdout] 922 | } [INFO] [stdout] 923 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/derive.rs:1009:20 [INFO] [stdout] | [INFO] [stdout] 1009 | if let syn::Lit::Int(value) = &expr_lit.lit { [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/derive.rs:1011:17 [INFO] [stdout] | [INFO] [stdout] 1011 | } 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] 1009 ~ match &expr_lit.lit { syn::Lit::Int(value) => { [INFO] [stdout] 1010 | values.push(ForwardAttributeValue::Literal(value.clone())); [INFO] [stdout] 1011 ~ } _ => { [INFO] [stdout] 1012 | abort!( [INFO] [stdout] ... [INFO] [stdout] 1015 | ); [INFO] [stdout] 1016 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/derive.rs:1105:12 [INFO] [stdout] | [INFO] [stdout] 1105 | if let Some((clasing_tag_span, clasing_variant_ident)) = [INFO] [stdout] | ____________^ [INFO] [stdout] 1106 | | self.tags_in_use.insert(tag_lit, (tag_span, variant_ident)) [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/derive.rs:1123:9 [INFO] [stdout] | [INFO] [stdout] 1123 | } 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] 1105 ~ match self.tags_in_use.insert(tag_lit, (tag_span, variant_ident)) [INFO] [stdout] 1106 ~ { Some((clasing_tag_span, clasing_variant_ident)) => { [INFO] [stdout] 1107 | let mut err = syn::Error::new( [INFO] [stdout] ... [INFO] [stdout] 1121 | Err(err) [INFO] [stdout] 1122 ~ } _ => { [INFO] [stdout] 1123 | Ok(()) [INFO] [stdout] 1124 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/derive.rs:1315:12 [INFO] [stdout] | [INFO] [stdout] 1315 | if let Some(attribute_bounds) = container_attributes.deserial_bounds() { [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/derive.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | } 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] 1315 ~ match container_attributes.deserial_bounds() { Some(attribute_bounds) => { [INFO] [stdout] 1316 | attribute_bounds.into_token_stream() [INFO] [stdout] 1317 ~ } _ => { [INFO] [stdout] 1318 | // Extend where clauses with Deserial predicate of each generic. [INFO] [stdout] ... [INFO] [stdout] 1333 | } [INFO] [stdout] 1334 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/derive.rs:1380:8 [INFO] [stdout] | [INFO] [stdout] 1380 | if let Some(size_length) = find_length_attribute(&field.attrs)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----------^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/derive.rs:1385:5 [INFO] [stdout] | [INFO] [stdout] 1385 | } 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] 1380 ~ match find_length_attribute(&field.attrs)? { Some(size_length) => { [INFO] [stdout] 1381 | let l = format_ident!("U{}", 8 * size_length); [INFO] [stdout] ... [INFO] [stdout] 1384 | })) [INFO] [stdout] 1385 ~ } _ => { [INFO] [stdout] 1386 | Ok(quote! { [INFO] [stdout] 1387 | #root::Serial::serial(#ident, #out)?; [INFO] [stdout] 1388 | }) [INFO] [stdout] 1389 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/derive.rs:1539:35 [INFO] [stdout] | [INFO] [stdout] 1539 | let where_clauses_tokens = if let Some(attribute_bounds) = container_attributes.serial_bounds() [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/derive.rs:1542:5 [INFO] [stdout] | [INFO] [stdout] 1542 | } 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] 1539 ~ let where_clauses_tokens = match container_attributes.serial_bounds() [INFO] [stdout] 1540 ~ { Some(attribute_bounds) => { [INFO] [stdout] 1541 | attribute_bounds.into_token_stream() [INFO] [stdout] 1542 ~ } _ => { [INFO] [stdout] 1543 | let state_parameter_ident = container_attributes [INFO] [stdout] ... [INFO] [stdout] 1568 | } [INFO] [stdout] 1569 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/derive.rs:1818:35 [INFO] [stdout] | [INFO] [stdout] 1818 | let where_clauses_tokens = if let Some(attribute_bounds) = [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 1819 | | container_attributes.deserial_bounds() [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/derive.rs:1822:5 [INFO] [stdout] | [INFO] [stdout] 1822 | } 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] 1818 ~ let where_clauses_tokens = match container_attributes.deserial_bounds() [INFO] [stdout] 1819 ~ { Some(attribute_bounds) => { [INFO] [stdout] 1820 | attribute_bounds.into_token_stream() [INFO] [stdout] 1821 ~ } _ => { [INFO] [stdout] 1822 | let state_parameter_ident = state_parameter.path.segments.first(); [INFO] [stdout] ... [INFO] [stdout] 1844 | } [INFO] [stdout] 1845 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/derive.rs:2335:12 [INFO] [stdout] | [INFO] [stdout] 2335 | if let Some(attribute_bounds) = container_attributes.schema_type_bounds() { [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/derive.rs:2337:9 [INFO] [stdout] | [INFO] [stdout] 2337 | } 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] 2335 ~ match container_attributes.schema_type_bounds() { Some(attribute_bounds) => { [INFO] [stdout] 2336 | attribute_bounds.into_token_stream() [INFO] [stdout] 2337 ~ } _ => { [INFO] [stdout] 2338 | // Extend where clauses bounding generics to implement SchemaType. [INFO] [stdout] ... [INFO] [stdout] 2353 | } [INFO] [stdout] 2354 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/derive.rs:2422:8 [INFO] [stdout] | [INFO] [stdout] 2422 | if let Some(l) = find_length_attribute(&field.attrs)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----------^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/derive.rs:2427:5 [INFO] [stdout] | [INFO] [stdout] 2427 | } 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] 2422 ~ match find_length_attribute(&field.attrs)? { Some(l) => { [INFO] [stdout] 2423 | let size = format_ident!("U{}", 8 * l); [INFO] [stdout] ... [INFO] [stdout] 2426 | }) [INFO] [stdout] 2427 ~ } _ => { [INFO] [stdout] 2428 | Ok(quote! { [INFO] [stdout] 2429 | <#field_type as concordium_std::schema::SchemaType>::get_type() [INFO] [stdout] 2430 | }) [INFO] [stdout] 2431 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.42s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking concordium-contracts-common-derive v4.1.0 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/derive.rs:1336:9 [INFO] [stdout] | [INFO] [stdout] 1336 | let gen = quote! { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 1336 | let r#gen = quote! { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/derive.rs:1344:8 [INFO] [stdout] | [INFO] [stdout] 1344 | Ok(gen.into()) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/derive.rs:1571:9 [INFO] [stdout] | [INFO] [stdout] 1571 | let gen = quote! { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 1571 | let r#gen = quote! { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/derive.rs:1336:9 [INFO] [stdout] | [INFO] [stdout] 1336 | let gen = quote! { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 1336 | let r#gen = quote! { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/derive.rs:1579:8 [INFO] [stdout] | [INFO] [stdout] 1579 | Ok(gen.into()) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/derive.rs:1344:8 [INFO] [stdout] | [INFO] [stdout] 1344 | Ok(gen.into()) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/derive.rs:1848:9 [INFO] [stdout] | [INFO] [stdout] 1848 | let gen = quote! { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 1848 | let r#gen = quote! { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/derive.rs:1856:8 [INFO] [stdout] | [INFO] [stdout] 1856 | Ok(gen.into()) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/derive.rs:1890:9 [INFO] [stdout] | [INFO] [stdout] 1890 | let gen = quote! { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 1890 | let r#gen = quote! { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/derive.rs:1571:9 [INFO] [stdout] | [INFO] [stdout] 1571 | let gen = quote! { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 1571 | let r#gen = quote! { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/derive.rs:1908:8 [INFO] [stdout] | [INFO] [stdout] 1908 | Ok(gen.into()) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/derive.rs:1579:8 [INFO] [stdout] | [INFO] [stdout] 1579 | Ok(gen.into()) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/derive.rs:2144:9 [INFO] [stdout] | [INFO] [stdout] 2144 | let gen = quote! { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 2144 | let r#gen = quote! { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/derive.rs:2154:8 [INFO] [stdout] | [INFO] [stdout] 2154 | Ok(gen.into()) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/derive.rs:1848:9 [INFO] [stdout] | [INFO] [stdout] 1848 | let gen = quote! { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 1848 | let r#gen = quote! { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/derive.rs:1856:8 [INFO] [stdout] | [INFO] [stdout] 1856 | Ok(gen.into()) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/derive.rs:1890:9 [INFO] [stdout] | [INFO] [stdout] 1890 | let gen = quote! { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 1890 | let r#gen = quote! { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/derive.rs:1908:8 [INFO] [stdout] | [INFO] [stdout] 1908 | Ok(gen.into()) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/derive.rs:2144:9 [INFO] [stdout] | [INFO] [stdout] 2144 | let gen = quote! { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 2144 | let r#gen = quote! { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/derive.rs:2154:8 [INFO] [stdout] | [INFO] [stdout] 2154 | Ok(gen.into()) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `concordium-contracts-common-derive` (lib) due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `concordium-contracts-common-derive` (lib test) due to 11 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "813304bec16612bd961a14ff1500ad6b3a59549ac39dbbd2642a80da5154ea59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "813304bec16612bd961a14ff1500ad6b3a59549ac39dbbd2642a80da5154ea59", kill_on_drop: false }` [INFO] [stdout] 813304bec16612bd961a14ff1500ad6b3a59549ac39dbbd2642a80da5154ea59