Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stricter cargo audit (deny warnings) #4322

Merged
merged 5 commits into from
Feb 1, 2023
Merged

Stricter cargo audit (deny warnings) #4322

merged 5 commits into from
Feb 1, 2023

Conversation

faern
Copy link
Member

@faern faern commented Jan 31, 2023

We do explicitly ignore RUSTSEC-2021-0145. But that CVE is only an info level warning, so just cargo audit did not trigger an error on it anyway. --deny warnings was needed for that. This PR makes our audit check stricter by denying all warnings.

This means that minor stuff such as unmaintained dependencies will trigger an error. That can be annoying. But I figure we can then explicitly add that CVE to this list when it happens. I think that's better than silently ignoring warnings. This way we will get flagged when something is unmaintained etc and we can act on it.

This PR fixes a warnings we had: Upgrade bumpalo to avoid RUSTSEC-2022-0078

I also upgrade env_logger. Since we were mentioning that as a blocker for not ignoring RUSTSEC-2021-0145 but env_logger has already fixed the issue, I figured we better upgrade. We are still pulling in atty against our will in a few places, but now they are at least fewer.


This change is Reviewable

@faern faern requested a review from pinkisemils January 31, 2023 12:45
@faern faern changed the title Stricter cargo audit Stricter cargo audit (deny warnings) Jan 31, 2023
@faern faern force-pushed the stricter-cargo-audit branch from e3e1181 to a2e2e42 Compare February 1, 2023 09:26
Copy link
Collaborator

@pinkisemils pinkisemils left a comment

Choose a reason for hiding this comment

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

Reviewed 5 of 7 files at r1, 2 of 2 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@faern faern force-pushed the stricter-cargo-audit branch from a2e2e42 to 1590d71 Compare February 1, 2023 10:41
@faern faern merged commit 5e86e08 into master Feb 1, 2023
@faern faern deleted the stricter-cargo-audit branch February 1, 2023 10:42
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