[INFO] fetching crate kube-derive 0.96.0... [INFO] checking kube-derive-0.96.0 against try#da25749bf5e6ba5ed862ff361c19afff2a986b2d for pr-132712 [INFO] extracting crate kube-derive 0.96.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate kube-derive 0.96.0 on toolchain da25749bf5e6ba5ed862ff361c19afff2a986b2d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate kube-derive 0.96.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate kube-derive 0.96.0 [INFO] tweaked toml for crates.io crate kube-derive 0.96.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 162 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fdca7d2cd81b9fd805b31b8c591bcc94bf70a86fc9eca820782d598c352ba3f0 [INFO] running `Command { std: "docker" "start" "-a" "fdca7d2cd81b9fd805b31b8c591bcc94bf70a86fc9eca820782d598c352ba3f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fdca7d2cd81b9fd805b31b8c591bcc94bf70a86fc9eca820782d598c352ba3f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdca7d2cd81b9fd805b31b8c591bcc94bf70a86fc9eca820782d598c352ba3f0", kill_on_drop: false }` [INFO] [stdout] fdca7d2cd81b9fd805b31b8c591bcc94bf70a86fc9eca820782d598c352ba3f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b8a9d9bfa321d5101ba5229267fdd570c800c2fe85af5189d5ec9c7b2a9f1d5 [INFO] running `Command { std: "docker" "start" "-a" "8b8a9d9bfa321d5101ba5229267fdd570c800c2fe85af5189d5ec9c7b2a9f1d5", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking bytes v1.8.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking rustls-pki-types v1.10.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling cc v1.1.37 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking hashbrown v0.15.1 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking unicode-ident v1.0.13 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling rustls v0.23.16 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling k8s-openapi v0.23.0 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking rustls-native-certs v0.8.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling target-triple v0.1.3 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking secrecy v0.10.3 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking tokio v1.41.1 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking hyper v1.5.0 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking darling_core v0.20.10 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling thiserror-impl v1.0.68 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Compiling thiserror v1.0.68 [INFO] [stderr] Compiling pest v2.7.14 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking tower v0.5.1 [INFO] [stderr] Checking tower-http v0.6.1 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Checking hyper-timeout v0.5.2 [INFO] [stderr] Compiling pest_meta v2.7.14 [INFO] [stderr] Compiling pest_generator v2.7.14 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking hyper-rustls v0.27.3 [INFO] [stderr] Compiling pest_derive v2.7.14 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking jsonpath-rust v0.5.1 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking kube-derive v0.96.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 `kube_derive` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/custom_resource.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/custom_resource.rs:36:15 [INFO] [stderr] | [INFO] [stderr] 36 | #[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/custom_resource.rs:42:25 [INFO] [stderr] | [INFO] [stderr] 42 | #[darling(default = { "Self::default_kube_core" => match _ => )] [INFO] [stderr] | - ^ unclosed delimiter ^ mismatched closing delimiter [INFO] [stderr] | | [INFO] [stderr] | closing delimiter possibly meant for this [INFO] [stderr] [INFO] [stderr] error: mismatched closing delimiter: `)` [INFO] [stderr] --> src/custom_resource.rs:44:25 [INFO] [stderr] | [INFO] [stderr] 44 | #[darling(default = { "Self::default_k8s_openapi" => match _ => )] [INFO] [stderr] | - ^ unclosed delimiter ^ mismatched closing delimiter [INFO] [stderr] | | [INFO] [stderr] | closing delimiter possibly meant for this [INFO] [stderr] [INFO] [stderr] error: mismatched closing delimiter: `)` [INFO] [stderr] --> src/custom_resource.rs:46:25 [INFO] [stderr] | [INFO] [stderr] 46 | #[darling(default = { "Self::default_schemars" => match _ => )] [INFO] [stderr] | - ^ unclosed delimiter ^ mismatched closing delimiter [INFO] [stderr] | | [INFO] [stderr] | closing delimiter possibly meant for this [INFO] [stderr] [INFO] [stderr] error: mismatched closing delimiter: `)` [INFO] [stderr] --> src/custom_resource.rs:48:25 [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/custom_resource.rs:382:17 [INFO] [stdout] | [INFO] [stdout] 382 | let gen = #schemars::gen::SchemaSettings::openapi3() [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] 48 | #[darling(default = { "Self::default_serde" => match _ => )] [INFO] [stderr] | - ^ unclosed delimiter ^ mismatched closing delimiter [INFO] [stderr] | | [INFO] [stderr] | closing delimiter possibly meant for this [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/custom_resource.rs:382:34 [INFO] [stdout] | [INFO] [stdout] 382 | let gen = #schemars::gen::SchemaSettings::openapi3() [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] [stderr] error: mismatched closing delimiter: `)` [INFO] [stderr] --> src/custom_resource.rs:50:25 [INFO] [stderr] | [INFO] [stderr] 50 | #[darling(default = { "Self::default_serde_json" => match _ => )] [INFO] [stderr] | - ^ unclosed delimiter ^ mismatched closing delimiter [INFO] [stderr] | | [INFO] [stderr] | closing delimiter possibly meant for this [INFO] [stderr] [INFO] [stderr] error: mismatched closing delimiter: `)` [INFO] [stderr] --> src/custom_resource.rs:52:25 [INFO] [stderr] | [INFO] [stderr] 52 | #[darling(default = { "Self::default_std" => match _ => )] [INFO] [stderr] | - ^ unclosed delimiter ^ mismatched closing delimiter [INFO] [stderr] | | [INFO] [stderr] | closing delimiter possibly meant for this [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 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/custom_resource.rs:389:26 [INFO] [stdout] | [INFO] [stdout] 389 | let schema = gen.into_root_schema_for::(); [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/custom_resource.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 36 | #[darling(default)] [INFO] [stdout] | _______________^ [INFO] [stdout] 37 | | crates: Crates, [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/custom_resource.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | #[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] 36 | #[darling(match { default => _ => })] [INFO] [stdout] | +++++ ++++++++++++ ~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/custom_resource.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | #[darling(default = "Self::default_kube_core")] [INFO] [stdout] | _________________________^ [INFO] [stdout] 43 | | kube_core: Path, [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/custom_resource.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 42 | #[darling(default = "Self::default_kube_core")] [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 42 | #[darling(default = match { "Self::default_kube_core" => _ => })] [INFO] [stdout] | +++++ ++++++++++++++++++++++++++++++ ~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/custom_resource.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | #[darling(default = "Self::default_k8s_openapi")] [INFO] [stdout] | _________________________^ [INFO] [stdout] 45 | | k8s_openapi: Path, [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/custom_resource.rs:44:51 [INFO] [stdout] | [INFO] [stdout] 44 | #[darling(default = "Self::default_k8s_openapi")] [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 44 | #[darling(default = match { "Self::default_k8s_openapi" => _ => })] [INFO] [stdout] | +++++ ++++++++++++++++++++++++++++++++ ~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/custom_resource.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | #[darling(default = "Self::default_schemars")] [INFO] [stdout] | _________________________^ [INFO] [stdout] 47 | | schemars: Path, [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/custom_resource.rs:46:48 [INFO] [stdout] | [INFO] [stdout] 46 | #[darling(default = "Self::default_schemars")] [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 46 | #[darling(default = match { "Self::default_schemars" => _ => })] [INFO] [stdout] | +++++ +++++++++++++++++++++++++++++ ~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/custom_resource.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | #[darling(default = "Self::default_serde")] [INFO] [stdout] | _________________________^ [INFO] [stdout] 49 | | serde: Path, [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/custom_resource.rs:48:45 [INFO] [stdout] | [INFO] [stdout] 48 | #[darling(default = "Self::default_serde")] [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 48 | #[darling(default = match { "Self::default_serde" => _ => })] [INFO] [stdout] | +++++ ++++++++++++++++++++++++++ ~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/custom_resource.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | #[darling(default = "Self::default_serde_json")] [INFO] [stdout] | _________________________^ [INFO] [stdout] 51 | | serde_json: Path, [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/custom_resource.rs:50:50 [INFO] [stdout] | [INFO] [stdout] 50 | #[darling(default = "Self::default_serde_json")] [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 50 | #[darling(default = match { "Self::default_serde_json" => _ => })] [INFO] [stdout] | +++++ +++++++++++++++++++++++++++++++ ~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/custom_resource.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | #[darling(default = "Self::default_std")] [INFO] [stdout] | _________________________^ [INFO] [stdout] 53 | | std: Path, [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/custom_resource.rs:52:43 [INFO] [stdout] | [INFO] [stdout] 52 | #[darling(default = "Self::default_std")] [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 52 | #[darling(default = match { "Self::default_std" => _ => })] [INFO] [stdout] | +++++ ++++++++++++++++++++++++ ~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resource.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | #[darling(default)] [INFO] [stdout] | _______________^ [INFO] [stdout] 13 | | crates: Crates, [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/resource.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | #[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] 12 | #[darling(match { default => _ => })] [INFO] [stdout] | +++++ ++++++++++++ ~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resource.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | #[darling(default = "Self::default_kube_core")] [INFO] [stdout] | _________________________^ [INFO] [stdout] 19 | | kube_core: Path, [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/resource.rs:18:49 [INFO] [stdout] | [INFO] [stdout] 18 | #[darling(default = "Self::default_kube_core")] [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 18 | #[darling(default = match { "Self::default_kube_core" => _ => })] [INFO] [stdout] | +++++ ++++++++++++++++++++++++++++++ ~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resource.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | #[darling(default = "Self::default_k8s_openapi")] [INFO] [stdout] | _________________________^ [INFO] [stdout] 21 | | k8s_openapi: Path, [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/resource.rs:20:51 [INFO] [stdout] | [INFO] [stdout] 20 | #[darling(default = "Self::default_k8s_openapi")] [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 20 | #[darling(default = match { "Self::default_k8s_openapi" => _ => })] [INFO] [stdout] | +++++ ++++++++++++++++++++++++++++++++ ~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling kube-derive v0.96.0 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking trybuild v1.0.101 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `kube_derive` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/custom_resource.rs [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/custom_resource.rs:382:17 [INFO] [stdout] | [INFO] [stdout] 382 | let gen = #schemars::gen::SchemaSettings::openapi3() [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] 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/custom_resource.rs:36:15 [INFO] [stderr] | [INFO] [stderr] 36 | #[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/custom_resource.rs:42:25 [INFO] [stderr] | [INFO] [stderr] 42 | #[darling(default = { "Self::default_kube_core" => match _ => )] [INFO] [stderr] | - ^ unclosed delimiter ^ mismatched closing delimiter [INFO] [stderr] | | [INFO] [stderr] | closing delimiter possibly meant for this [INFO] [stderr] [INFO] [stderr] error: mismatched closing delimiter: `)` [INFO] [stderr] --> src/custom_resource.rs:44:25 [INFO] [stderr] | [INFO] [stderr] 44 | #[darling(default = { "Self::default_k8s_openapi" => match _ => )] [INFO] [stderr] | - ^ unclosed delimiter ^ mismatched closing delimiter [INFO] [stderr] | | [INFO] [stderr] | closing delimiter possibly meant for this [INFO] [stderr] [INFO] [stderr] error: mismatched closing delimiter: `)` [INFO] [stderr] --> src/custom_resource.rs:46:25 [INFO] [stderr] | [INFO] [stderr] 46 | #[darling(default = { "Self::default_schemars" => match _ => )] [INFO] [stderr] | - ^ unclosed delimiter ^ mismatched closing delimiter [INFO] [stderr] | | [INFO] [stderr] | closing delimiter possibly meant for this [INFO] [stderr] [INFO] [stderr] error: mismatched closing delimiter: `)` [INFO] [stderr] --> src/custom_resource.rs:48:25 [INFO] [stderr] | [INFO] [stderr] 48 | #[darling(default = { "Self::default_serde" => match _ => )] [INFO] [stderr] | - ^ unclosed delimiter ^ mismatched closing delimiter [INFO] [stderr] | | [INFO] [stderr] | closing delimiter possibly meant for this [INFO] [stderr] [INFO] [stderr] error: mismatched closing delimiter: `)` [INFO] [stderr] --> src/custom_resource.rs:50:25 [INFO] [stderr] | [INFO] [stderr] 50 | #[darling(default = { "Self::default_serde_json" => match _ => )] [INFO] [stderr] | - ^ unclosed delimiter ^ mismatched closing delimiter [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/custom_resource.rs:382:34 [INFO] [stdout] | [INFO] [stdout] 382 | let gen = #schemars::gen::SchemaSettings::openapi3() [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/custom_resource.rs:389:26 [INFO] [stdout] | [INFO] [stdout] 389 | let schema = gen.into_root_schema_for::(); [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] | closing delimiter possibly meant for this [INFO] [stderr] [INFO] [stderr] error: mismatched closing delimiter: `)` [INFO] [stderr] --> src/custom_resource.rs:52:25 [INFO] [stderr] | [INFO] [stderr] 52 | #[darling(default = { "Self::default_std" => match _ => )] [INFO] [stderr] | - ^ unclosed delimiter ^ mismatched closing delimiter [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/custom_resource.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 36 | #[darling(default)] [INFO] [stdout] | _______________^ [INFO] [stdout] 37 | | crates: Crates, [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/custom_resource.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | #[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] 36 | #[darling(match { default => _ => })] [INFO] [stdout] | +++++ ++++++++++++ ~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | | [INFO] [stderr] | closing delimiter possibly meant for this [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/custom_resource.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | #[darling(default = "Self::default_kube_core")] [INFO] [stdout] | _________________________^ [INFO] [stdout] 43 | | kube_core: Path, [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/custom_resource.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 42 | #[darling(default = "Self::default_kube_core")] [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 42 | #[darling(default = match { "Self::default_kube_core" => _ => })] [INFO] [stdout] | +++++ ++++++++++++++++++++++++++++++ ~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/custom_resource.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | #[darling(default = "Self::default_k8s_openapi")] [INFO] [stdout] | _________________________^ [INFO] [stdout] 45 | | k8s_openapi: Path, [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/custom_resource.rs:44:51 [INFO] [stdout] | [INFO] [stdout] 44 | #[darling(default = "Self::default_k8s_openapi")] [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 44 | #[darling(default = match { "Self::default_k8s_openapi" => _ => })] [INFO] [stdout] | +++++ ++++++++++++++++++++++++++++++++ ~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/custom_resource.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | #[darling(default = "Self::default_schemars")] [INFO] [stdout] | _________________________^ [INFO] [stdout] 47 | | schemars: Path, [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/custom_resource.rs:46:48 [INFO] [stdout] | [INFO] [stdout] 46 | #[darling(default = "Self::default_schemars")] [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 46 | #[darling(default = match { "Self::default_schemars" => _ => })] [INFO] [stdout] | +++++ +++++++++++++++++++++++++++++ ~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/custom_resource.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | #[darling(default = "Self::default_serde")] [INFO] [stdout] | _________________________^ [INFO] [stdout] 49 | | serde: Path, [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/custom_resource.rs:48:45 [INFO] [stdout] | [INFO] [stdout] 48 | #[darling(default = "Self::default_serde")] [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 48 | #[darling(default = match { "Self::default_serde" => _ => })] [INFO] [stdout] | +++++ ++++++++++++++++++++++++++ ~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/custom_resource.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | #[darling(default = "Self::default_serde_json")] [INFO] [stdout] | _________________________^ [INFO] [stdout] 51 | | serde_json: Path, [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/custom_resource.rs:50:50 [INFO] [stdout] | [INFO] [stdout] 50 | #[darling(default = "Self::default_serde_json")] [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 50 | #[darling(default = match { "Self::default_serde_json" => _ => })] [INFO] [stdout] | +++++ +++++++++++++++++++++++++++++++ ~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/custom_resource.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | #[darling(default = "Self::default_std")] [INFO] [stdout] | _________________________^ [INFO] [stdout] 53 | | std: Path, [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/custom_resource.rs:52:43 [INFO] [stdout] | [INFO] [stdout] 52 | #[darling(default = "Self::default_std")] [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 52 | #[darling(default = match { "Self::default_std" => _ => })] [INFO] [stdout] | +++++ ++++++++++++++++++++++++ ~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resource.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | #[darling(default)] [INFO] [stdout] | _______________^ [INFO] [stdout] 13 | | crates: Crates, [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/resource.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | #[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] 12 | #[darling(match { default => _ => })] [INFO] [stdout] | +++++ ++++++++++++ ~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resource.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | #[darling(default = "Self::default_kube_core")] [INFO] [stdout] | _________________________^ [INFO] [stdout] 19 | | kube_core: Path, [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/resource.rs:18:49 [INFO] [stdout] | [INFO] [stdout] 18 | #[darling(default = "Self::default_kube_core")] [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 18 | #[darling(default = match { "Self::default_kube_core" => _ => })] [INFO] [stdout] | +++++ ++++++++++++++++++++++++++++++ ~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/resource.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | #[darling(default = "Self::default_k8s_openapi")] [INFO] [stdout] | _________________________^ [INFO] [stdout] 21 | | k8s_openapi: Path, [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/resource.rs:20:51 [INFO] [stdout] | [INFO] [stdout] 20 | #[darling(default = "Self::default_k8s_openapi")] [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 20 | #[darling(default = match { "Self::default_k8s_openapi" => _ => })] [INFO] [stdout] | +++++ ++++++++++++++++++++++++++++++++ ~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking kube-core v0.96.0 [INFO] [stderr] Checking kube-client v0.96.0 [INFO] [stderr] Checking kube v0.96.0 [INFO] [stderr] Migrating tests/crd_schema_test.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/test_ui.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/resource.rs from 2021 edition to 2024 [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/custom_resource.rs:382:17 [INFO] [stdout] | [INFO] [stdout] 382 | let gen = #schemars::gen::SchemaSettings::openapi3() [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] Migrating tests/crd_enum_test.rs from 2021 edition to 2024 [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/custom_resource.rs:382:34 [INFO] [stdout] | [INFO] [stdout] 382 | let gen = #schemars::gen::SchemaSettings::openapi3() [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/custom_resource.rs:389:26 [INFO] [stdout] | [INFO] [stdout] 389 | let schema = gen.into_root_schema_for::(); [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] error[E0433]: failed to resolve: use of undeclared crate or module `runtime_macros` [INFO] [stdout] --> src/custom_resource.rs:628:9 [INFO] [stdout] | [INFO] [stdout] 628 | runtime_macros::emulate_derive_macro_expansion(file, &[("CustomResource", derive)]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `runtime_macros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `runtime_macros` [INFO] [stdout] --> src/custom_resource.rs:635:9 [INFO] [stdout] | [INFO] [stdout] 635 | runtime_macros::emulate_derive_macro_expansion(file, &[("CustomResource", derive)]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `runtime_macros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kube-derive` (lib test) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "8b8a9d9bfa321d5101ba5229267fdd570c800c2fe85af5189d5ec9c7b2a9f1d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b8a9d9bfa321d5101ba5229267fdd570c800c2fe85af5189d5ec9c7b2a9f1d5", kill_on_drop: false }` [INFO] [stdout] 8b8a9d9bfa321d5101ba5229267fdd570c800c2fe85af5189d5ec9c7b2a9f1d5