From d29526fe8ea8d9d55c39ae81f57b60eaed419ffa Mon Sep 17 00:00:00 2001 From: Lars Francke Date: Tue, 25 Aug 2026 09:38:01 +0200 Subject: [PATCH 1/3] chore: Bump the Rust toolchain to 1.97.1 --- .github/workflows/build_interu.yml | 2 +- rust-toolchain.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_interu.yml b/.github/workflows/build_interu.yml index a7afdd7..5347567 100644 --- a/.github/workflows/build_interu.yml +++ b/.github/workflows/build_interu.yml @@ -15,7 +15,7 @@ on: type: boolean env: - RUST_VERSION: 1.83.0 + RUST_VERSION: 1.97.1 jobs: build: diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 068e7d2..fec59e7 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1 +1 @@ -toolchain.channel = "1.95.0" +toolchain.channel = "1.97.1" From 3de9022bb4e3bc11272df6b8d061078688614168 Mon Sep 17 00:00:00 2001 From: Lars Francke Date: Tue, 25 Aug 2026 09:38:07 +0200 Subject: [PATCH 2/3] fix: Resolve lints introduced by Rust 1.97 --- tools/interu/src/config/mod.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tools/interu/src/config/mod.rs b/tools/interu/src/config/mod.rs index 775f604..3d2f715 100644 --- a/tools/interu/src/config/mod.rs +++ b/tools/interu/src/config/mod.rs @@ -110,7 +110,7 @@ impl Config { P: AsRef, { self.get_profile(profile_name)? - .validate_test_options(&profile_name, path) + .validate_test_options(profile_name, path) .context(ValidateTestOptionsSnafu) } @@ -269,21 +269,21 @@ impl<'a> Display for Parameters<'a> { let mut test_set = String::new(); #[rustfmt::skip] // Skip formatting because otherwise the next line would be split into three lines. - write!(f, "INTERU_KUBERNETES_DISTRIBUTION={kubernetes_distribution}\n")?; - write!(f, "INTERU_KUBERNETES_VERSION={kubernetes_version}\n")?; - write!(f, "BEKU_TEST_PARALLELISM={test_parallelism}\n")?; - write!(f, "INTERU_CLUSTER_TTL={cluster_ttl}\n")?; + writeln!(f, "INTERU_KUBERNETES_DISTRIBUTION={kubernetes_distribution}")?; + writeln!(f, "INTERU_KUBERNETES_VERSION={kubernetes_version}")?; + writeln!(f, "BEKU_TEST_PARALLELISM={test_parallelism}")?; + writeln!(f, "INTERU_CLUSTER_TTL={cluster_ttl}")?; if test_suite.is_none() && test.is_none() { test_set.push_str("all"); } if let Some(test_suite_name) = test_suite { - write!(f, "BEKU_TEST_SUITE={test_suite_name}\n")?; + writeln!(f, "BEKU_TEST_SUITE={test_suite_name}")?; } if let Some(test_name) = test { - write!(f, "BEKU_TEST={test_name}\n")?; + writeln!(f, "BEKU_TEST={test_name}")?; } // See: https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#multiline-strings From f5291e4c3fd6f845cee3d69ac0b008a4fedce08f Mon Sep 17 00:00:00 2001 From: Lars Francke Date: Tue, 25 Aug 2026 10:01:57 +0200 Subject: [PATCH 3/3] chore: Update dependencies a RustSec advisory affects --- Cargo.lock | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7a3230a..0eb9540 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -211,9 +211,9 @@ dependencies = [ [[package]] name = "deranged" -version = "0.4.0" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c9e6a11ca8224451684bc0d7d5a7adbf8f2fd6887261a1cfc3c0432f9d4068e" +checksum = "d630bccd429a5bb5a64b5e94f693bfc48c9f8566418fda4c494cc94f911f87cc" dependencies = [ "powerfmt", "serde", @@ -563,9 +563,9 @@ dependencies = [ [[package]] name = "rand" -version = "0.8.5" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" +checksum = "e058c7de0b26af77780c769414d6257830bb240f3c38477dbc2c16e5f54d6d4c" dependencies = [ "libc", "rand_chacha", @@ -812,9 +812,9 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" [[package]] name = "slab" -version = "0.4.10" +version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04dc19736151f35336d325007ac991178d504a119863a2fcb3758cdb5e52c50d" +checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5" [[package]] name = "snafu" @@ -878,9 +878,9 @@ dependencies = [ [[package]] name = "time" -version = "0.3.41" +version = "0.3.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a7619e19bc266e0f9c5e6686659d394bc57973859340060a69221e57dbc0c40" +checksum = "91e7d9e3bb61134e77bde20dd4825b97c010155709965fedf0f49bb138e52a9d" dependencies = [ "deranged", "itoa", @@ -893,15 +893,15 @@ dependencies = [ [[package]] name = "time-core" -version = "0.1.4" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9e9a38711f559d9e3ce1cdb06dd7c5b8ea546bc90052da6d06bb76da74bb07c" +checksum = "40868e7c1d2f0b8d73e4a8c7f0ff63af4f6d19be117e90bd73eb1d62cf831c6b" [[package]] name = "time-macros" -version = "0.2.22" +version = "0.2.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3526739392ec93fd8b359c8e98514cb3e8e021beb4e5f597b00a0221f8ed8a49" +checksum = "30cfb0125f12d9c277f35663a0a33f8c30190f4e4574868a330595412d34ebf3" dependencies = [ "num-conv", "time-core",