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

Suppress useless warnings #1308

Merged
merged 6 commits into from
Jan 12, 2025
Merged

Conversation

Shnatsel
Copy link
Member

Unblocks development.

These are problematic both due to deny(warnings) and the sheer amount of times they're emitted, drowning out all the actually useful warnings.

@@ -1,4 +1,4 @@
#![deny(warnings, missing_docs, trivial_casts, unused_qualifications)]
#![deny(rivial_casts, unused_qualifications)]
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
#![deny(rivial_casts, unused_qualifications)]
#![deny(trivial_casts, unused_qualifications)]

We can probably also relax these to warn, but do -D warnings in CI

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, I agree we should get rid of deny(warnings) everywhere and use RUSTFLAGS='-D warnings' on CI. That's orthogonal to this PR though - here I'm just relaxing the rules for rustsec-admin acceptance tests.

@Shnatsel Shnatsel merged commit 2f41c2e into rustsec:main Jan 12, 2025
9 of 10 checks passed
@Shnatsel
Copy link
Member Author

Well, now that I've merged it, CI started failing. How come did it work on this branch but not after merging?

I'm done with this for today. Ugh.

@tarcieri
Copy link
Member

It looks like CI never actually passed? We need a dependency upgrade PR like #1307 to clear the self-audit

@Shnatsel
Copy link
Member Author

Self-audit never passed but all the tests did. And then the tests failed on main somehow.

@tarcieri
Copy link
Member

The “happy path” test includes a self-audit

@Shnatsel
Copy link
Member Author

🤦

Okay, that explains it. Thank you.

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