Lock cargo audit used in actions to v0.20.0 to workaround issue:
cargo audit
Fetching advisory database from `https://github.com/RustSec/advisory-db.git`
Loaded 664 security advisories (from /Users/sapinb/.cargo/advisory-db)
Updating crates.io index
Scanning Cargo.lock for vulnerabilities (1235 crate dependencies)
The application panicked (crashed).
Message: invalid Cargo.lock dependency tree: Resolution("failed to find dependency: substrate-bn 0.6.0 (git+https://github.com/sp1-patches/bn?tag=substrate_bn-v0.6.0-patch-v2)")
Location: /Users/sapinb/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-audit-0.21.0/src/presenter.rs:114
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
Description
Lock cargo audit used in actions to v0.20.0 to workaround issue:
https://github.com/rustsec/rustsec/issues/1249#issuecomment-2423257490
Type of Change
Checklist
Related Issues