[INFO] fetching crate inpt-macros 0.1.1... [INFO] checking inpt-macros-0.1.1 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate inpt-macros 0.1.1 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate inpt-macros 0.1.1 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 inpt-macros 0.1.1 [INFO] finished tweaking crates.io crate inpt-macros 0.1.1 [INFO] tweaked toml for crates.io crate inpt-macros 0.1.1 written to /workspace/builds/worker-7-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] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] [stderr] Adding darling v0.14.4 (available: v0.20.10) [INFO] [stderr] Adding darling_core v0.14.4 (available: v0.20.10) [INFO] [stderr] Adding darling_macro v0.14.4 (available: v0.20.10) [INFO] [stderr] Adding regex-syntax v0.6.29 (available: v0.8.4) [INFO] [stderr] Adding strsim v0.10.0 (available: v0.11.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af85deb3bfe099edd5183eaef466df5e647638df6158a52008906712206e6701 [INFO] running `Command { std: "docker" "start" "-a" "af85deb3bfe099edd5183eaef466df5e647638df6158a52008906712206e6701", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af85deb3bfe099edd5183eaef466df5e647638df6158a52008906712206e6701", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af85deb3bfe099edd5183eaef466df5e647638df6158a52008906712206e6701", kill_on_drop: false }` [INFO] [stdout] af85deb3bfe099edd5183eaef466df5e647638df6158a52008906712206e6701 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b175045c57c5fb45b881d377e41bf2d04439430e38af68a57da23bbdcb9191f7 [INFO] running `Command { std: "docker" "start" "-a" "b175045c57c5fb45b881d377e41bf2d04439430e38af68a57da23bbdcb9191f7", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking darling_core v0.14.4 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Checking darling v0.14.4 [INFO] [stderr] Checking inpt-macros v0.1.1 (/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 `inpt_macros` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/lib.rs [INFO] [stderr] [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: mismatched closing delimiter: `)` [INFO] [stderr] --> src/lib.rs:236:15 [INFO] [stderr] | [INFO] [stderr] 236 | #[darling({ default => match _ => )] [INFO] [stderr] | -^ ^ mismatched closing delimiter [INFO] [stderr] | || [INFO] [stderr] | |unclosed delimiter [INFO] [stderr] | closing delimiter possibly meant for this [INFO] [stderr] [INFO] [stderr] error: mismatched closing delimiter: `)` [INFO] [stderr] --> src/lib.rs:240:15 [INFO] [stderr] | [INFO] [stderr] 240 | #[darling({ default => match _ => )] [INFO] [stderr] | -^ ^ mismatched closing delimiter [INFO] [stderr] | || [INFO] [stderr] | |unclosed delimiter [INFO] [stderr] | closing delimiter possibly meant for this [INFO] [stderr] [INFO] [stderr] error: mismatched closing delimiter: `)` [INFO] [stderr] --> src/lib.rs:242:15 [INFO] [stderr] | [INFO] [stderr] 242 | #[darling({ default => match _ => )] [INFO] [stderr] | -^ ^ mismatched closing delimiter [INFO] [stderr] | || [INFO] [stderr] | |unclosed delimiter [INFO] [stderr] | closing delimiter possibly meant for this [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/lib.rs:838:9 [INFO] [stdout] | [INFO] [stdout] 838 | let gen = &item.sig.generics; [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] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/lib.rs:849:31 [INFO] [stdout] | [INFO] [stdout] 849 | struct Arguments #gen { [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] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:236:15 [INFO] [stdout] | [INFO] [stdout] 236 | #[darling(default)] [INFO] [stdout] | _______________^ [INFO] [stdout] 237 | | bounds: Option, [INFO] [stdout] | |__________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:236:21 [INFO] [stdout] | [INFO] [stdout] 236 | #[darling(default)] [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] 236 | #[darling(match { default => _ => })] [INFO] [stdout] | +++++ ++++++++++++ ~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:240:15 [INFO] [stdout] | [INFO] [stdout] 240 | #[darling(default)] [INFO] [stdout] | _______________^ [INFO] [stdout] 241 | | from: Option, [INFO] [stdout] | |________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:240:21 [INFO] [stdout] | [INFO] [stdout] 240 | #[darling(default)] [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 240 | #[darling(match { default => _ => })] [INFO] [stdout] | +++++ ++++++++++++ ~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:242:15 [INFO] [stdout] | [INFO] [stdout] 242 | #[darling(default)] [INFO] [stdout] | _______________^ [INFO] [stdout] 243 | | try_from: Option, [INFO] [stdout] | |____________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:242:21 [INFO] [stdout] | [INFO] [stdout] 242 | #[darling(default)] [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 242 | #[darling(match { default => _ => })] [INFO] [stdout] | +++++ ++++++++++++ ~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:614:12 [INFO] [stdout] | [INFO] [stdout] 614 | if let Some(ident) = &f.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/lib.rs:616:9 [INFO] [stdout] | [INFO] [stdout] 616 | } 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] 614 ~ match &f.ident { Some(ident) => { [INFO] [stdout] 615 | inst.extend(quote! { #ident: #name, }); [INFO] [stdout] 616 ~ } _ => { [INFO] [stdout] 617 | let idx = Index { [INFO] [stdout] ... [INFO] [stdout] 621 | inst.extend(quote! { #idx: #name, }); [INFO] [stdout] 622 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:659:15 [INFO] [stdout] | [INFO] [stdout] 659 | } else if let Some(from) = from.as_ref().or(try_from.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:666:5 [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] 659 ~ } else { match from.as_ref().or(try_from.as_ref()) { Some(from) => { [INFO] [stdout] 660 | let from = from.parse::()?; [INFO] [stdout] ... [INFO] [stdout] 665 | } [INFO] [stdout] 666 ~ } _ => { [INFO] [stdout] 667 | TokenStream::new() [INFO] [stdout] 668 ~ }}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `inpt_macros` [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/lib.rs:838:9 [INFO] [stdout] | [INFO] [stdout] 838 | let gen = &item.sig.generics; [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/lib.rs:849:31 [INFO] [stdout] | [INFO] [stdout] 849 | struct Arguments #gen { [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] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:236:15 [INFO] [stdout] | [INFO] [stdout] 236 | #[darling(default)] [INFO] [stdout] | _______________^ [INFO] [stdout] 237 | | bounds: Option, [INFO] [stdout] | |__________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:236:21 [INFO] [stdout] | [INFO] [stdout] 236 | #[darling(default)] [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] 236 | #[darling(match { default => _ => })] [INFO] [stdout] | +++++ ++++++++++++ ~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:240:15 [INFO] [stdout] | [INFO] [stdout] 240 | #[darling(default)] [INFO] [stdout] | _______________^ [INFO] [stdout] 241 | | from: Option, [INFO] [stdout] | |________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:240:21 [INFO] [stdout] | [INFO] [stdout] 240 | #[darling(default)] [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 240 | #[darling(match { default => _ => })] [INFO] [stdout] | +++++ ++++++++++++ ~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] * src/lib.rs [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:242:15 [INFO] [stdout] | [INFO] [stdout] 242 | #[darling(default)] [INFO] [stdout] | _______________^ [INFO] [stdout] 243 | | try_from: Option, [INFO] [stdout] | |____________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:242:21 [INFO] [stdout] | [INFO] [stdout] 242 | #[darling(default)] [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 242 | #[darling(match { default => _ => })] [INFO] [stdout] | +++++ ++++++++++++ ~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:614:12 [INFO] [stdout] | [INFO] [stdout] 614 | if let Some(ident) = &f.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/lib.rs:616:9 [INFO] [stdout] | [INFO] [stdout] 616 | } 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] 614 ~ match &f.ident { Some(ident) => { [INFO] [stdout] 615 | inst.extend(quote! { #ident: #name, }); [INFO] [stdout] 616 ~ } _ => { [INFO] [stdout] 617 | let idx = Index { [INFO] [stdout] ... [INFO] [stdout] 621 | inst.extend(quote! { #idx: #name, }); [INFO] [stdout] 622 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:659:15 [INFO] [stdout] | [INFO] [stdout] 659 | } else if let Some(from) = from.as_ref().or(try_from.as_ref()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:666:5 [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] 659 ~ } else { match from.as_ref().or(try_from.as_ref()) { Some(from) => { [INFO] [stdout] 660 | let from = from.parse::()?; [INFO] [stdout] ... [INFO] [stdout] 665 | } [INFO] [stdout] 666 ~ } _ => { [INFO] [stdout] 667 | TokenStream::new() [INFO] [stdout] 668 ~ }}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [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: mismatched closing delimiter: `)` [INFO] [stderr] --> src/lib.rs:236:15 [INFO] [stderr] | [INFO] [stderr] 236 | #[darling({ default => match _ => )] [INFO] [stderr] | -^ ^ mismatched closing delimiter [INFO] [stderr] | || [INFO] [stderr] | |unclosed delimiter [INFO] [stderr] | closing delimiter possibly meant for this [INFO] [stderr] [INFO] [stderr] error: mismatched closing delimiter: `)` [INFO] [stderr] --> src/lib.rs:240:15 [INFO] [stderr] | [INFO] [stderr] 240 | #[darling({ default => match _ => )] [INFO] [stderr] | -^ ^ mismatched closing delimiter [INFO] [stderr] | || [INFO] [stderr] | |unclosed delimiter [INFO] [stderr] | closing delimiter possibly meant for this [INFO] [stderr] [INFO] [stderr] error: mismatched closing delimiter: `)` [INFO] [stderr] --> src/lib.rs:242:15 [INFO] [stderr] | [INFO] [stderr] 242 | #[darling({ default => match _ => )] [INFO] [stderr] | -^ ^ mismatched closing delimiter [INFO] [stderr] | || [INFO] [stderr] | |unclosed delimiter [INFO] [stderr] | closing delimiter possibly meant for this [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.65s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking inpt-macros v0.1.1 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/lib.rs:838:9 [INFO] [stdout] | [INFO] [stdout] 838 | let gen = &item.sig.generics; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 838 | let r#gen = &item.sig.generics; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/lib.rs:838:9 [INFO] [stdout] | [INFO] [stdout] 838 | let gen = &item.sig.generics; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 838 | let r#gen = &item.sig.generics; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/lib.rs:844:8 [INFO] [stdout] | [INFO] [stdout] 844 | Ok(quote! { [INFO] [stdout] | ________^ [INFO] [stdout] 845 | | #(#attrs)* [INFO] [stdout] 846 | | #vis fn #id() #output { [INFO] [stdout] 847 | | #[derive(::inpt::Inpt)] [INFO] [stdout] ... | [INFO] [stdout] 855 | | } [INFO] [stdout] 856 | | }) [INFO] [stdout] | |_____^ expected expression [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::quote_token_with_context` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/lib.rs:844:8 [INFO] [stdout] | [INFO] [stdout] 844 | Ok(quote! { [INFO] [stdout] | ________^ [INFO] [stdout] 845 | | #(#attrs)* [INFO] [stdout] 846 | | #vis fn #id() #output { [INFO] [stdout] 847 | | #[derive(::inpt::Inpt)] [INFO] [stdout] ... | [INFO] [stdout] 855 | | } [INFO] [stdout] 856 | | }) [INFO] [stdout] | |_____^ expected expression [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::quote_token_with_context` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `inpt-macros` (lib test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `inpt-macros` (lib) due to 3 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" "b175045c57c5fb45b881d377e41bf2d04439430e38af68a57da23bbdcb9191f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b175045c57c5fb45b881d377e41bf2d04439430e38af68a57da23bbdcb9191f7", kill_on_drop: false }` [INFO] [stdout] b175045c57c5fb45b881d377e41bf2d04439430e38af68a57da23bbdcb9191f7