Skip to content

deps: refresh Rust dependencies and repair compatibility checks - #172

Merged
FunKite merged 2 commits into
mainfrom
dependabot/cargo/rust-dependencies-41c8f5ffad
Sep 4, 2026
Merged

FunKite merged 2 commits into
mainfrom
dependabot/cargo/rust-dependencies-41c8f5ffad

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 31, 2026 •

Copy link
Copy Markdown
Contributor

Refresh nine Rust dependencies and their locked transitive packages. This also repairs the issues exposed while reviewing the update:

  • Replace yanked chacha20 0.10.0 with RustCrypto's 0.10.2 patch so Cargo Deny passes.
  • Declare Rust 1.90, required by ordered-float 5.5.0, and update installation documentation. The previous 1.77 claim was already incompatible with the dependency graph; its CI job silently ran Rust 1.92 from rust-toolchain.toml.
  • Make MSRV and stable/beta CI jobs explicitly select their compilers, report the active compiler, and use the lockfile. Align the book's development toolchain with the root's 1.92.0 pin.
  • Adapt two divisibility expressions for Clippy while preserving the alignment helper's zero-alignment panic. Disable Cargo Deny matrix fail-fast so both policy results are reported.

No feature flags changed. Added Unreleased changelog entries targeting 0.5.8; this PR does not publish a release.

Dependency Previous Updated
zerocopy 0.8.55 0.8.56
rkyv 0.8.17 0.8.18
thiserror 2.0.19 2.0.20
ordered-float 5.3.0 5.5.0
glam 0.33.2 0.33.6
crc32fast 1.5.0 1.5.1
clap 4.6.5 4.6.6
wgpu 30.0.0 30.0.1
cudarc 0.19.8 0.19.9
chacha20 (transitive) 0.10.0 (yanked) 0.10.2

Validation: safer local test wrapper (149 tests and 22 doctests; known slow ESDF test excluded), actual Rust 1.90 all-features check, CI-equivalent Clippy, rustfmt, book-quality checks, and Cargo Deny bans/licenses/sources. A fresh cargo audit found no vulnerabilities, with only the existing acknowledged paste unmaintained warning. Local cargo-deny 0.18.5 cannot parse current CVSS 4.0 advisories; the advisory gate must pass with CI's maintained cargo-deny version before merge.

Sources: RustCrypto fix, ordered-float 5.5.0 release, rustup override precedence.

…9 updates

Bumps the rust-dependencies group with 9 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [zerocopy](https://github.com/google/zerocopy) | `0.8.55` | `0.8.56` |
| [rkyv](https://github.com/rkyv/rkyv) | `0.8.17` | `0.8.18` |
| [thiserror](https://github.com/dtolnay/thiserror) | `2.0.19` | `2.0.20` |
| [ordered-float](https://github.com/reem/rust-ordered-float) | `5.3.0` | `5.5.0` |
| [glam](https://github.com/bitshifter/glam-rs) | `0.33.2` | `0.33.6` |
| [crc32fast](https://github.com/srijs/rust-crc32fast) | `1.5.0` | `1.5.1` |
| [clap](https://github.com/clap-rs/clap) | `4.6.5` | `4.6.6` |
| [wgpu](https://github.com/gfx-rs/wgpu) | `30.0.0` | `30.0.1` |
| [cudarc](https://github.com/chelsea0x3b/cudarc) | `0.19.8` | `0.19.9` |



Updates `zerocopy` from 0.8.55 to 0.8.56
- [Release notes](https://github.com/google/zerocopy/releases)
- [Commits](google/zerocopy@v0.8.55...v0.8.56)

Updates `rkyv` from 0.8.17 to 0.8.18
- [Release notes](https://github.com/rkyv/rkyv/releases)
- [Commits](rkyv/rkyv@0.8.17...0.8.18)

Updates `thiserror` from 2.0.19 to 2.0.20
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](dtolnay/thiserror@2.0.19...2.0.20)

Updates `ordered-float` from 5.3.0 to 5.5.0
- [Release notes](https://github.com/reem/rust-ordered-float/releases)
- [Commits](reem/rust-ordered-float@v5.3.0...v5.5.0)

Updates `glam` from 0.33.2 to 0.33.6
- [Changelog](https://github.com/bitshifter/glam-rs/blob/main/CHANGELOG.md)
- [Commits](bitshifter/glam-rs@0.33.2...0.33.6)

Updates `crc32fast` from 1.5.0 to 1.5.1
- [Commits](srijs/rust-crc32fast@v1.5.0...v1.5.1)

Updates `clap` from 4.6.5 to 4.6.6
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](clap-rs/clap@clap_complete-v4.6.5...clap_complete-v4.6.6)

Updates `wgpu` from 30.0.0 to 30.0.1
- [Release notes](https://github.com/gfx-rs/wgpu/releases)
- [Changelog](https://github.com/gfx-rs/wgpu/blob/trunk/CHANGELOG.md)
- [Commits](gfx-rs/wgpu@v30.0.0...v30.0.1)

Updates `cudarc` from 0.19.8 to 0.19.9
- [Release notes](https://github.com/chelsea0x3b/cudarc/releases)
- [Commits](chelsea0x3b/cudarc@v0.19.8...v0.19.9)

---
updated-dependencies:
- dependency-name: zerocopy
  dependency-version: 0.8.56
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-dependencies
- dependency-name: rkyv
  dependency-version: 0.8.18
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-dependencies
- dependency-name: thiserror
  dependency-version: 2.0.20
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-dependencies
- dependency-name: ordered-float
  dependency-version: 5.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rust-dependencies
- dependency-name: glam
  dependency-version: 0.33.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-dependencies
- dependency-name: crc32fast
  dependency-version: 1.5.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-dependencies
- dependency-name: clap
  dependency-version: 4.6.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-dependencies
- dependency-name: wgpu
  dependency-version: 30.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-dependencies
- dependency-name: cudarc
  dependency-version: 0.19.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Dependency updates rust Rust dependency updates labels Aug 31, 2026
@dependabot
dependabot Bot requested a review from FunKite as a code owner August 31, 2026 20:55
@dependabot dependabot Bot added dependencies Dependency updates rust Rust dependency updates labels Aug 31, 2026
@FunKite

FunKite commented Sep 4, 2026

Copy link
Copy Markdown
Owner

Reviewed PR #172 at db6bbea0f695262c3ac3f444fe99627f55177129, including the full diff, release notes, reviews, comments, and review threads (none outstanding).

Found and am fixing three issues in this PR:

  • Cargo Deny rejects the existing yanked chacha20 0.10.0 pulled in by rand. Updated precisely to 0.10.2, the RustCrypto patch correcting SSE4.1 instructions in the SSE2 RNG backend. No new dependency names or registries were introduced.
  • ordered-float 5.5.0 requires Rust 1.90. The existing Rust 1.77 claim was already incompatible with dependencies such as wgpu, and the old MSRV job actually ran the repository-pinned Rust 1.92. Updated the declared MSRV and installation guidance to 1.90 and made the MSRV and stable/beta jobs explicitly select their compilers and use the lockfile.
  • The bans/licenses/sources check completed successfully but was marked cancelled when the advisory matrix job failed. Disabled matrix fail-fast so both security results remain visible. Existing deny policies and advisory exceptions are unchanged.

Added the required Unreleased changelog entries for the next maintenance release, 0.5.8. Local safe validation passed 149 tests and 22 doctests (the wrapper excludes the known slow ESDF test); formatting and book-quality checks passed. Testing the actual Rust 1.90 all-features build and refreshing the security audit now. I will push these fixes and wait for checks on the new head before approval and merge.

Maintenance lesson: installing a compiler does not prove the subsequent Cargo command uses it; rust-toolchain.toml can override the default. The explicit CI toolchain selection and compiler-version output now make this verifiable.

@FunKite FunKite changed the title deps(deps): bump the rust-dependencies group across 1 directory with 9 updates deps: refresh Rust dependencies and repair compatibility checks Sep 4, 2026
@FunKite

FunKite commented Sep 4, 2026

Copy link
Copy Markdown
Owner

Pushed fixes in 3a2b5fdf7d9e604aa808f858f69448fdacd5a135:

  • Yanked chacha20: fixed by the precise 0.10.2 lockfile update.
  • Incorrect MSRV / overridden compiler checks: fixed in the manifest, CI, and installation docs; the actual Rust 1.90 all-features check passes locally.
  • Cancelled security-matrix result: fixed with fail-fast: false.
  • Clippy warnings exposed by the corrected MSRV: fixed using is_multiple_of, preserving the existing zero-alignment panic.
  • Required changelog: added all dependency, compatibility, and workflow changes under Unreleased.

Final local validation passed: 149 tests, 22 doctests, Rust 1.90 all-features check, CI-equivalent Clippy, formatting, book quality, and Cargo Deny bans/licenses/sources. A fresh cargo-audit scan loaded 1,239 advisories and found no vulnerabilities; only the already-acknowledged paste warning remains. Local cargo-deny 0.18.5 cannot parse CVSS 4.0, so the current CI Cargo Deny advisory job is still required.

GitHub is running the new head's Rust CI, Security, Book Quality, and CodeQL checks. Merge is waiting for those results and final review; no branch protection bypass is being used.

@FunKite FunKite left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed final head 3a2b5fdf7d9e604aa808f858f69448fdacd5a135 and the full PR conversation; no unresolved findings or review threads remain. All 26 GitHub checks pass, including all 14 required checks, both Cargo Deny gates, both security audits, GPU backends, the cross-platform tests, and CodeQL.

Verified the repaired CI jobs actually ran Rust 1.90.0 (MSRV), 1.98.1 (stable), and 1.99.0-beta.3. Local tests, doctests, MSRV all-features build, Clippy, formatting, and book checks passed. The yanked chacha20 dependency is fixed at 0.10.2; no new dependencies or registry sources were added. Current Dependabot and code-scanning alert lists are empty. The existing paste maintenance warning remains documented.

The manifest and docs now accurately require Rust 1.90. Approved for squash merge.

@FunKite
FunKite merged commit d3f45ab into main Sep 4, 2026
26 checks passed
@dependabot
dependabot Bot deleted the dependabot/cargo/rust-dependencies-41c8f5ffad branch September 4, 2026 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency updates rust Rust dependency updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant