Skip to content

Conversation

@wenjing
Copy link
Contributor

@wenjing wenjing commented Dec 19, 2025

Summary

  • Update EmbarkStudios/cargo-deny-action from v1 to v2
  • Remove deprecated rust-version parameter

Problem

The RustSec advisory database now includes advisories with CVSS 4.0 scores (e.g., RUSTSEC-2024-0445 for the idna crate). The v1 cargo-deny-action uses cargo-deny 0.14.x which cannot parse CVSS 4.0, causing all PRs to fail with:

unsupported CVSS version: 4.0

This is blocking PR #241 and will block all future PRs until fixed.

Solution

Updating to v2 uses cargo-deny 0.16+ which supports CVSS 4.0 format.

Test plan

🤖 Generated with Claude Code

@wenjing wenjing force-pushed the fix/update-cargo-deny-action branch from 1fcacb5 to d96c17a Compare December 19, 2025 22:31
The RustSec advisory database now includes advisories with CVSS 4.0
scores (e.g., RUSTSEC-2024-0445). The v1 cargo-deny-action uses
cargo-deny 0.14.x which cannot parse CVSS 4.0, causing CI failures
with "unsupported CVSS version: 4.0" errors.

Updating to v2 uses cargo-deny 0.16+ which supports CVSS 4.0.

Also removed the deprecated rust-version parameter which is no longer
needed in v2.

Signed-off-by: Wenjing Chu <[email protected]>

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@wenjing wenjing force-pushed the fix/update-cargo-deny-action branch from d96c17a to 3110554 Compare December 19, 2025 22:35
@wenjing wenjing merged commit 8bf669b into main Dec 19, 2025
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants