From a32f96e473f5974db5f338a302e52d79101db8b4 Mon Sep 17 00:00:00 2001 From: Zvonko Kaiser Date: Thu, 9 Jul 2026 21:18:34 +0000 Subject: [PATCH 1/2] build: Bump oci-spec to 0.10.0 cgroups-rs exposes oci-spec types in its public API (e.g. Manager::set() takes &LinuxResources), so the version pinned here dictates which oci-spec version every consumer must use: 0.x lines are semver-incompatible, and a consumer on a newer oci-spec gets "expected LinuxResources, found LinuxResources" type mismatches. Kata Containers is moving its workspace to oci-spec 0.10.0 and cannot call into cgroups-rs until this crate follows. The 0.8 to 0.10 changes are additive for everything cgroups-rs touches (no code changes needed): the crate builds warning-free with the oci feature and the unit tests pass (the only failures are the pre-existing fs manager tests that need root to write cgroupfs). Signed-off-by: Zvonko Kaiser Assisted-by: Claude Fable 5 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 0a5b69f..8ed8e6f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ nix = { version = "0.25.0", default-features = false, features = ["event", "fs", libc = "0.2" serde = { version = "1.0", features = ["derive"], optional = true } thiserror = "1" -oci-spec = { version = "0.8.1", optional = true } +oci-spec = { version = "0.10.0", optional = true } zbus = "5.8" bit-vec = "0.6" From 0d1029646cd1553b6ad140abfefcd8fe4df0e5c7 Mon Sep 17 00:00:00 2001 From: Tim Zhang Date: Fri, 10 Jul 2026 11:34:06 +0800 Subject: [PATCH 2/2] ci: bump Rust toolchain to 1.90.0 New zbus and zvariant releases require a newer Rust compiler. Use Rust 1.90.0 in CI so dependency resolution can complete. Signed-off-by: Tim Zhang --- .github/workflows/bvt.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/bvt.yaml b/.github/workflows/bvt.yaml index 3b97767..819ff6e 100644 --- a/.github/workflows/bvt.yaml +++ b/.github/workflows/bvt.yaml @@ -1,7 +1,7 @@ name: BVT on: [pull_request] env: - RUST_VERSION: 1.85.1 + RUST_VERSION: 1.90.0 jobs: build: name: Build @@ -35,4 +35,3 @@ jobs: - run: rustup install ${{ env.RUST_VERSION }} && rustup default ${{ env.RUST_VERSION }} - run: make test -