[INFO] fetching crate macroconf 0.3.6... [INFO] checking macroconf-0.3.6 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate macroconf 0.3.6 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate macroconf 0.3.6 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 macroconf 0.3.6 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate macroconf 0.3.6 [INFO] tweaked toml for crates.io crate macroconf 0.3.6 written to /workspace/builds/worker-5-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 61 packages to latest compatible versions [INFO] [stderr] Adding hash32 v0.2.1 (available: v0.3.1) [INFO] [stderr] Adding heapless v0.7.17 (available: v0.8.0) [INFO] [stderr] Adding miniconf v0.13.0 (available: v0.14.0) [INFO] [stderr] Adding miniconf_derive v0.13.0 (available: v0.14.0) [INFO] [stderr] Adding serde-json-core v0.5.1 (available: v0.6.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 7490c0729275568f99bbd967e0cd6eafc65aa9585928ae87381b8b75bfaf1587 [INFO] running `Command { std: "docker" "start" "-a" "7490c0729275568f99bbd967e0cd6eafc65aa9585928ae87381b8b75bfaf1587", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7490c0729275568f99bbd967e0cd6eafc65aa9585928ae87381b8b75bfaf1587", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7490c0729275568f99bbd967e0cd6eafc65aa9585928ae87381b8b75bfaf1587", kill_on_drop: false }` [INFO] [stdout] 7490c0729275568f99bbd967e0cd6eafc65aa9585928ae87381b8b75bfaf1587 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 2473a29a9798447e3015df252dd47a0237e26ef453b9d66c36a3eea254bbbd7c [INFO] running `Command { std: "docker" "start" "-a" "2473a29a9798447e3015df252dd47a0237e26ef453b9d66c36a3eea254bbbd7c", 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 semver v1.0.23 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking ident_case v1.0.1 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking syn v2.0.77 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling rstest_macros v0.22.0 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking darling_core v0.20.10 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Checking macroconf v0.3.6 (/tmp/fixit) [INFO] [stderr] Compiling miniconf_derive v0.13.0 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `macroconf` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/parser.rs [INFO] [stderr] [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/parser.rs:30:15 [INFO] [stderr] | [INFO] [stderr] 30 | #[darling({ skip => 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/parser.rs:32:15 [INFO] [stderr] | [INFO] [stderr] 32 | #[darling({ skip => 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 2 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:69:48 [INFO] [stdout] | [INFO] [stdout] 69 | let newtype_types = newtypes.clone().map(|(gen, ty)| (ty, gen.is_none())); [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:69:63 [INFO] [stdout] | [INFO] [stdout] 69 | let newtype_types = newtypes.clone().map(|(gen, ty)| (ty, gen.is_none())); [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: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/lib.rs:70:35 [INFO] [stdout] | [INFO] [stdout] 70 | let newtypes = newtypes.map(|(gen, _)| 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: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/lib.rs:70:44 [INFO] [stdout] | [INFO] [stdout] 70 | let newtypes = newtypes.map(|(gen, _)| 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: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/parser.rs:224:39 [INFO] [stdout] | [INFO] [stdout] 224 | ($field: ident, $default: 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] 224 | ($field: ident, $default: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | if let Some(derive) = input [INFO] [stdout] | _________^ - [INFO] [stdout] | | ___________________________| [INFO] [stdout] 92 | || .attrs [INFO] [stdout] | ||______________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 93 | | .iter_mut() [INFO] [stdout] 94 | | .find(|attr| attr.path().is_ident("derive")) [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | } 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] 91 ~ match input [INFO] [stdout] 92 | .attrs [INFO] [stdout] 93 | .iter_mut() [INFO] [stdout] 94 | .find(|attr| attr.path().is_ident("derive")) [INFO] [stdout] 95 ~ { Some(derive) => { [INFO] [stdout] 96 | match PathList::from_meta(&derive.meta) { [INFO] [stdout] ... [INFO] [stdout] 108 | } [INFO] [stdout] 109 ~ } _ => { [INFO] [stdout] 110 | input.attrs.push(parse_quote!(#[derive(::miniconf::Tree)])); [INFO] [stdout] 111 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | #[darling(skip)] [INFO] [stdout] | _______________^ [INFO] [stdout] 31 | | description: 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/parser.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | #[darling(skip)] [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 30 | #[darling(match { skip => _ => })] [INFO] [stdout] | +++++ +++++++++ ~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | #[darling(skip)] [INFO] [stdout] | _______________^ [INFO] [stdout] 33 | | parent_ident: 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/parser.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | #[darling(skip)] [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 32 | #[darling(match { skip => _ => })] [INFO] [stdout] | +++++ +++++++++ ~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:723:20 [INFO] [stdout] | [INFO] [stdout] 723 | if let syn::Expr::Lit(syn::ExprLit { [INFO] [stdout] | ____________________^ [INFO] [stdout] 724 | | attrs: _, [INFO] [stdout] 725 | | lit: syn::Lit::Str(ref lit), [INFO] [stdout] 726 | | }) = meta.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/parser.rs:729:17 [INFO] [stdout] | [INFO] [stdout] 729 | } 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] 723 ~ match meta.value [INFO] [stdout] 724 ~ { syn::Expr::Lit(syn::ExprLit { [INFO] [stdout] 725 + attrs: _, [INFO] [stdout] 726 + lit: syn::Lit::Str(ref lit), [INFO] [stdout] 727 ~ }) => { [INFO] [stdout] 728 | Ok(lit.value().trim().to_owned()) [INFO] [stdout] 729 ~ } _ => { [INFO] [stdout] 730 | Err(syn::Error::new_spanned( [INFO] [stdout] ... [INFO] [stdout] 733 | )) [INFO] [stdout] 734 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `macroconf` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/parser.rs [INFO] [stderr] [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/parser.rs:30:15 [INFO] [stderr] | [INFO] [stderr] 30 | #[darling({ skip => 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/parser.rs:32:15 [INFO] [stderr] | [INFO] [stderr] 32 | #[darling({ skip => 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 2 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:69:48 [INFO] [stdout] | [INFO] [stdout] 69 | let newtype_types = newtypes.clone().map(|(gen, ty)| (ty, gen.is_none())); [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:69:63 [INFO] [stdout] | [INFO] [stdout] 69 | let newtype_types = newtypes.clone().map(|(gen, ty)| (ty, gen.is_none())); [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: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/lib.rs:70:35 [INFO] [stdout] | [INFO] [stdout] 70 | let newtypes = newtypes.map(|(gen, _)| 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: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/lib.rs:70:44 [INFO] [stdout] | [INFO] [stdout] 70 | let newtypes = newtypes.map(|(gen, _)| 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: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/parser.rs:224:39 [INFO] [stdout] | [INFO] [stdout] 224 | ($field: ident, $default: 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] 224 | ($field: ident, $default: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | if let Some(derive) = input [INFO] [stdout] | _________^ - [INFO] [stdout] | | ___________________________| [INFO] [stdout] 92 | || .attrs [INFO] [stdout] | ||______________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 93 | | .iter_mut() [INFO] [stdout] 94 | | .find(|attr| attr.path().is_ident("derive")) [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | } 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] 91 ~ match input [INFO] [stdout] 92 | .attrs [INFO] [stdout] 93 | .iter_mut() [INFO] [stdout] 94 | .find(|attr| attr.path().is_ident("derive")) [INFO] [stdout] 95 ~ { Some(derive) => { [INFO] [stdout] 96 | match PathList::from_meta(&derive.meta) { [INFO] [stdout] ... [INFO] [stdout] 108 | } [INFO] [stdout] 109 ~ } _ => { [INFO] [stdout] 110 | input.attrs.push(parse_quote!(#[derive(::miniconf::Tree)])); [INFO] [stdout] 111 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | #[darling(skip)] [INFO] [stdout] | _______________^ [INFO] [stdout] 31 | | description: 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/parser.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | #[darling(skip)] [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 30 | #[darling(match { skip => _ => })] [INFO] [stdout] | +++++ +++++++++ ~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | #[darling(skip)] [INFO] [stdout] | _______________^ [INFO] [stdout] 33 | | parent_ident: 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/parser.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | #[darling(skip)] [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 32 | #[darling(match { skip => _ => })] [INFO] [stdout] | +++++ +++++++++ ~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:723:20 [INFO] [stdout] | [INFO] [stdout] 723 | if let syn::Expr::Lit(syn::ExprLit { [INFO] [stdout] | ____________________^ [INFO] [stdout] 724 | | attrs: _, [INFO] [stdout] 725 | | lit: syn::Lit::Str(ref lit), [INFO] [stdout] 726 | | }) = meta.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/parser.rs:729:17 [INFO] [stdout] | [INFO] [stdout] 729 | } 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] 723 ~ match meta.value [INFO] [stdout] 724 ~ { syn::Expr::Lit(syn::ExprLit { [INFO] [stdout] 725 + attrs: _, [INFO] [stdout] 726 + lit: syn::Lit::Str(ref lit), [INFO] [stdout] 727 ~ }) => { [INFO] [stdout] 728 | Ok(lit.value().trim().to_owned()) [INFO] [stdout] 729 ~ } _ => { [INFO] [stdout] 730 | Err(syn::Error::new_spanned( [INFO] [stdout] ... [INFO] [stdout] 733 | )) [INFO] [stdout] 734 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking rstest v0.22.0 [INFO] [stderr] Checking serde-json-core v0.5.1 [INFO] [stderr] Checking miniconf v0.13.0 [INFO] [stderr] Migrating tests/enum.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/simple.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/get_set.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `macroconf` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/parser.rs [INFO] [stderr] [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] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/lib.rs:69:48 [INFO] [stdout] | [INFO] [stdout] 69 | let newtype_types = newtypes.clone().map(|(gen, ty)| (ty, gen.is_none())); [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] [stderr] The following errors were reported: [INFO] [stderr] error: mismatched closing delimiter: `)` [INFO] [stderr] --> src/parser.rs:30:15 [INFO] [stderr] | [INFO] [stderr] 30 | #[darling({ skip => 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/parser.rs:32:15 [INFO] [stderr] | [INFO] [stderr] 32 | #[darling({ skip => 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 2 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:69:63 [INFO] [stdout] | [INFO] [stdout] 69 | let newtype_types = newtypes.clone().map(|(gen, ty)| (ty, gen.is_none())); [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: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/lib.rs:70:35 [INFO] [stdout] | [INFO] [stdout] 70 | let newtypes = newtypes.map(|(gen, _)| 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: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/lib.rs:70:44 [INFO] [stdout] | [INFO] [stdout] 70 | let newtypes = newtypes.map(|(gen, _)| 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: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/parser.rs:224:39 [INFO] [stdout] | [INFO] [stdout] 224 | ($field: ident, $default: 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] 224 | ($field: ident, $default: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | if let Some(derive) = input [INFO] [stdout] | _________^ - [INFO] [stdout] | | ___________________________| [INFO] [stdout] 92 | || .attrs [INFO] [stdout] | ||______________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 93 | | .iter_mut() [INFO] [stdout] 94 | | .find(|attr| attr.path().is_ident("derive")) [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | } 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] 91 ~ match input [INFO] [stdout] 92 | .attrs [INFO] [stdout] 93 | .iter_mut() [INFO] [stdout] 94 | .find(|attr| attr.path().is_ident("derive")) [INFO] [stdout] 95 ~ { Some(derive) => { [INFO] [stdout] 96 | match PathList::from_meta(&derive.meta) { [INFO] [stdout] ... [INFO] [stdout] 108 | } [INFO] [stdout] 109 ~ } _ => { [INFO] [stdout] 110 | input.attrs.push(parse_quote!(#[derive(::miniconf::Tree)])); [INFO] [stdout] 111 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | #[darling(skip)] [INFO] [stdout] | _______________^ [INFO] [stdout] 31 | | description: 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/parser.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | #[darling(skip)] [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 30 | #[darling(match { skip => _ => })] [INFO] [stdout] | +++++ +++++++++ ~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | #[darling(skip)] [INFO] [stdout] | _______________^ [INFO] [stdout] 33 | | parent_ident: 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/parser.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | #[darling(skip)] [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 32 | #[darling(match { skip => _ => })] [INFO] [stdout] | +++++ +++++++++ ~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/parser.rs:723:20 [INFO] [stdout] | [INFO] [stdout] 723 | if let syn::Expr::Lit(syn::ExprLit { [INFO] [stdout] | ____________________^ [INFO] [stdout] 724 | | attrs: _, [INFO] [stdout] 725 | | lit: syn::Lit::Str(ref lit), [INFO] [stdout] 726 | | }) = meta.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/parser.rs:729:17 [INFO] [stdout] | [INFO] [stdout] 729 | } 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] 723 ~ match meta.value [INFO] [stdout] 724 ~ { syn::Expr::Lit(syn::ExprLit { [INFO] [stdout] 725 + attrs: _, [INFO] [stdout] 726 + lit: syn::Lit::Str(ref lit), [INFO] [stdout] 727 ~ }) => { [INFO] [stdout] 728 | Ok(lit.value().trim().to_owned()) [INFO] [stdout] 729 ~ } _ => { [INFO] [stdout] 730 | Err(syn::Error::new_spanned( [INFO] [stdout] ... [INFO] [stdout] 733 | )) [INFO] [stdout] 734 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.05s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling macroconf v0.3.6 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/lib.rs:69:48 [INFO] [stdout] | [INFO] [stdout] 69 | let newtype_types = newtypes.clone().map(|(gen, ty)| (ty, gen.is_none())); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 69 | let newtype_types = newtypes.clone().map(|(r#gen, ty)| (ty, gen.is_none())); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/lib.rs:69:63 [INFO] [stdout] | [INFO] [stdout] 69 | let newtype_types = newtypes.clone().map(|(gen, ty)| (ty, gen.is_none())); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/lib.rs:70:35 [INFO] [stdout] | [INFO] [stdout] 70 | let newtypes = newtypes.map(|(gen, _)| gen); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 70 | let newtypes = newtypes.map(|(r#gen, _)| gen); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/lib.rs:69:48 [INFO] [stdout] | [INFO] [stdout] 69 | let newtype_types = newtypes.clone().map(|(gen, ty)| (ty, gen.is_none())); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 69 | let newtype_types = newtypes.clone().map(|(r#gen, ty)| (ty, gen.is_none())); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/lib.rs:70:44 [INFO] [stdout] | [INFO] [stdout] 70 | let newtypes = newtypes.map(|(gen, _)| gen); [INFO] [stdout] | ---------- ^^^ expected expression [INFO] [stdout] | | [INFO] [stdout] | while parsing the body of this closure [INFO] [stdout] | [INFO] [stdout] help: you might have meant to open the body of the closure [INFO] [stdout] | [INFO] [stdout] 70 | let newtypes = newtypes.map(|(gen, _)| { gen}); [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/lib.rs:69:63 [INFO] [stdout] | [INFO] [stdout] 69 | let newtype_types = newtypes.clone().map(|(gen, ty)| (ty, gen.is_none())); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/lib.rs:70:35 [INFO] [stdout] | [INFO] [stdout] 70 | let newtypes = newtypes.map(|(gen, _)| gen); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 70 | let newtypes = newtypes.map(|(r#gen, _)| gen); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/lib.rs:70:44 [INFO] [stdout] | [INFO] [stdout] 70 | let newtypes = newtypes.map(|(gen, _)| gen); [INFO] [stdout] | ---------- ^^^ expected expression [INFO] [stdout] | | [INFO] [stdout] | while parsing the body of this closure [INFO] [stdout] | [INFO] [stdout] help: you might have meant to open the body of the closure [INFO] [stdout] | [INFO] [stdout] 70 | let newtypes = newtypes.map(|(gen, _)| { gen}); [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/lib.rs:69:48 [INFO] [stdout] | [INFO] [stdout] 69 | let newtype_types = newtypes.clone().map(|(gen, ty)| (ty, gen.is_none())); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 69 | let newtype_types = newtypes.clone().map(|(r#gen, ty)| (ty, gen.is_none())); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/lib.rs:69:63 [INFO] [stdout] | [INFO] [stdout] 69 | let newtype_types = newtypes.clone().map(|(gen, ty)| (ty, gen.is_none())); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/lib.rs:70:35 [INFO] [stdout] | [INFO] [stdout] 70 | let newtypes = newtypes.map(|(gen, _)| gen); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 70 | let newtypes = newtypes.map(|(r#gen, _)| gen); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/lib.rs:70:44 [INFO] [stdout] | [INFO] [stdout] 70 | let newtypes = newtypes.map(|(gen, _)| gen); [INFO] [stdout] | ---------- ^^^ expected expression [INFO] [stdout] | | [INFO] [stdout] | while parsing the body of this closure [INFO] [stdout] | [INFO] [stdout] help: you might have meant to open the body of the closure [INFO] [stdout] | [INFO] [stdout] 70 | let newtypes = newtypes.map(|(gen, _)| { gen}); [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `macroconf` (lib test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `macroconf` (lib) due to 5 previous errors [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `macroconf` (lib) due to 5 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" "2473a29a9798447e3015df252dd47a0237e26ef453b9d66c36a3eea254bbbd7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2473a29a9798447e3015df252dd47a0237e26ef453b9d66c36a3eea254bbbd7c", kill_on_drop: false }` [INFO] [stdout] 2473a29a9798447e3015df252dd47a0237e26ef453b9d66c36a3eea254bbbd7c