From 909779929c9a4f3906377d432435066c4b551001 Mon Sep 17 00:00:00 2001 From: Wu Sheng Date: Tue, 17 Nov 2026 08:04:35 +0800 Subject: [PATCH] fix(deps): bump rustix to fix a security alert - rustix 1.1.4 -> 1.1.6 (RUSTSEC-2026-0486) in Cargo.lock (cargo update -p rustix --precise 1.1.6). It is a build-time dependency through tempfile, prost-build and tonic-build. rustix 1.1.6 needs Rust 1.65, within the 1.85 toolchain. - Regenerate dist-material/LICENSE with the license-eye revision the CI license job uses (d299844); only the rustix line changes. - CI: move the macOS runner from macos-14 to macos-15. GitHub retired the macos-14 image on 2026-11-02, so the PECL macOS jobs now fail with "The configuration 'macos-14-arm64-us-default' is not supported". The matching `if: matrix.os == ...` conditions and the commented-out Rust matrix entry move with it. Generated-by: Kiro Crew (claude-opus-5.5) --- .github/workflows/pecl.yml | 4 ++-- .github/workflows/rust.yml | 6 +++--- Cargo.lock | 22 +++++++++++----------- dist-material/LICENSE | 2 +- 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/pecl.yml b/.github/workflows/pecl.yml index 27fc44c..6ca966a 100644 --- a/.github/workflows/pecl.yml +++ b/.github/workflows/pecl.yml @@ -48,7 +48,7 @@ jobs: matrix: os: - ubuntu-24.04 - - macos-14 + - macos-15 version: - php: "8.2" swoole: "5.1.1" @@ -68,7 +68,7 @@ jobs: run: sudo apt-get update && sudo apt-get install -y llvm-18-dev libclang-18-dev protobuf-compiler libsasl2-dev - name: Install protobuf for Macos - if: matrix.os == 'macos-14' + if: matrix.os == 'macos-15' run: brew install protobuf - name: Setup PHP diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 90fe80d..4aac9f6 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -52,7 +52,7 @@ jobs: os: - ubuntu-24.04 # TODO Temporarily remove macos and wait for the docker container's connection refused problem to be resolved. - # - macos-14 + # - macos-15 flag: # Many composer dependencies need PHP 7.2+ - php_version: "7.2" @@ -98,7 +98,7 @@ jobs: run: sudo apt-get update && sudo apt-get install -y llvm-18-dev libclang-18-dev protobuf-compiler libsasl2-dev librabbitmq-dev librdkafka-dev - name: Install protobuf for Macos - if: matrix.os == 'macos-14' + if: matrix.os == 'macos-15' run: brew install protobuf - name: Setup PHP @@ -155,7 +155,7 @@ jobs: run: composer install --working-dir=tests/php - name: Setup docker (missing on MacOS) - if: matrix.os == 'macos-14' + if: matrix.os == 'macos-15' run: | brew install docker brew install docker-compose diff --git a/Cargo.lock b/Cargo.lock index f180051..acffdf1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -56,7 +56,7 @@ version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc" dependencies = [ - "windows-sys 0.60.2", + "windows-sys 0.61.2", ] [[package]] @@ -67,7 +67,7 @@ checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d" dependencies = [ "anstyle", "once_cell_polyfill", - "windows-sys 0.60.2", + "windows-sys 0.61.2", ] [[package]] @@ -567,7 +567,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.60.2", + "windows-sys 0.52.0", ] [[package]] @@ -1321,7 +1321,7 @@ version = "0.50.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5" dependencies = [ - "windows-sys 0.60.2", + "windows-sys 0.61.2", ] [[package]] @@ -1432,7 +1432,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7d8fae84b431384b68627d0f9b3b1245fcf9f46f6c0e3dc902e9dce64edd1967" dependencies = [ "libc", - "windows-sys 0.60.2", + "windows-sys 0.52.0", ] [[package]] @@ -1975,15 +1975,15 @@ dependencies = [ [[package]] name = "rustix" -version = "1.1.4" +version = "1.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6fe4565b9518b83ef4f91bb47ce29620ca828bd32cb7e408f0062e9930ba190" +checksum = "e5e76742e5294153d4dde1207dbec5bdd81eef6fabdc0d2118babadabfd858aa" dependencies = [ "bitflags", "errno", "libc", "linux-raw-sys", - "windows-sys 0.60.2", + "windows-sys 0.52.0", ] [[package]] @@ -2397,7 +2397,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c3d1e2c7f27f8d4cb10542a02c49005dbd6e93095799d6f3be745fae9f8fedd4" dependencies = [ "libc", - "windows-sys 0.60.2", + "windows-sys 0.61.2", ] [[package]] @@ -2507,7 +2507,7 @@ dependencies = [ "getrandom 0.4.3", "once_cell", "rustix", - "windows-sys 0.60.2", + "windows-sys 0.52.0", ] [[package]] @@ -3118,7 +3118,7 @@ version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" dependencies = [ - "windows-sys 0.60.2", + "windows-sys 0.52.0", ] [[package]] diff --git a/dist-material/LICENSE b/dist-material/LICENSE index d31ba17..3caf093 100644 --- a/dist-material/LICENSE +++ b/dist-material/LICENSE @@ -235,7 +235,7 @@ The following components are provided under the Apache-2.0 OR Apache-2.0 WITH LL The text of each license is also included in licenses/LICENSE-[project].txt. https://crates.io/crates/linux-raw-sys/0.12.1 0.12.1 Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT - https://crates.io/crates/rustix/1.1.4 1.1.4 Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT + https://crates.io/crates/rustix/1.1.6 1.1.6 Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT https://crates.io/crates/wasi/0.11.1+wasi-snapshot-preview1 0.11.1+wasi-snapshot-preview1 Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT ========================================================================