Repository navigation
fix: clippy lints 1.99.1 - #3013
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3013 +/- ##
==========================================
- Coverage 78.80% 76.20% -2.61%
==========================================
Files 75 75
Lines 45355 45314 -41
==========================================
- Hits 35743 34530 -1213
- Misses 9612 10784 +1172 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
🟢 Approval recommended
The lint cleanups and benchmark workflow update have no active review issues blocking approval.
No open issues 🎉
What changed in this PR
Updates sccache’s distributed compilation code and test helpers to address Clippy warnings, and upgrades the benchmark workflow to CodSpeed v5.
Changes:
- Applies lint-driven syntax and API cleanups across distributed compilation code and tests.
- Removes the
from_iter_instead_of_collectlint setting. - Upgrades the CodSpeed action to v5 and stops suppressing benchmark stdout.
| File | Description |
|---|---|
tests/harness/mod.rs |
Cleans up server startup handling, lint annotations, and semicolons. |
src/test/utils.rs |
Uses bracket syntax for vector macros. |
src/dist/http.rs |
Simplifies certificate checks and adds semicolons. |
src/config.rs |
Adds a semicolon in a configuration test. |
src/bin/sccache-dist/token_check.rs |
Combines nested authentication-cache checks. |
src/bin/sccache-dist/main.rs |
Cleans up scheduler statement syntax. |
src/bin/sccache-dist/cmdline/parse.rs |
Uses explicit string cloning and adds a test semicolon. |
src/bin/sccache-dist/build.rs |
Simplifies sorting, formatting, conditionals, and statement syntax. |
Cargo.toml |
Removes the from_iter_instead_of_collect lint setting. |
.github/workflows/benchmarks.yml |
Upgrades CodSpeed to v5 and preserves benchmark stdout. |
Review effort: Balanced
Hooray! CodSpeed harness just leveled up!The base and head of this comparison were measured with different runner settings, so their benchmark values are not directly comparable. What changed between base and head:
Re-run the base with the same settings to get a valid performance comparison. Comparing |
This reverts commit 8723014.
This reverts commit 6a668d8.
Fix clippy findings, and bump codspeed. This resolves the issues observed in #1742
Prequel to #3009 and #2995 and #3012