risc0
risc0 copied to clipboard
fix(xtask): semver output error context to include crate name
Previously SemverOutput::parse used a literal "{k} missing version" as anyhow context, so the crate name was never interpolated into the error message. This made it harder to see which crate was missing current or baseline versions when parsing cargo-semver-checks output failed. Switch to with_context + format! so the crate name is included in the error context while preserving the existing inner error messages.
@kurahin is attempting to deploy a commit to the RISC Zero Team on Vercel.
A member of the Team first needs to authorize it.