You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Output filtering hides actual Clippy error messages, only shows summary #602
Describe the bug
When running cargo clippy through rtk, actual error messages are filtered/hidden. The output only shows a summary like "cargo clippy: 1 errors, 0 warnings" but doesn't show the actual error details, making it impossible to debug. To Reproduce
Steps to reproduce the behavior:
Run rtk cargo clippy -p <package> -- -D warnings
Observe output shows only cargo clippy: 1 errors, 0 warnings
Actual error details are not visible Expected behavior
Error messages should be shown in full so developers can see what the actual error is and fix it. Environment
OS: Linux
rtk version: installed system-wide at /usr/bin/rtk Additional context
Running the same command without rtk shows the full error output. This makes rtk unusable for development workflows where seeing the actual error is critical. Suggested fix
Either:
Provide a --verbose or --full-output flag to show unfiltered output
Always show full error messages (errors should never be truncated/summarized)
Print the full error to stderr while keeping summary on stdout
I’m taking this issue. I’ll update clippy filtering to preserve actionable error details (not summary-only), with tests, in a focused PR against develop.
Cargo clippy filter suppresses actual error details, showing only summary counts — likely duplicate of #1156 (--raw/--no-filter flag) and related to #1163 (document filtering data loss); fix the cargo clippy filter to pass through error content.
This looks like a simple fix. Only repo maintainers can trigger auto-fix.
Triaged automatically by wshm · This is an automated analysis, not a human review.
Tested on develop (v0.35.0) — cannot reproduce. RTK now shows all error details:
cargo clippy: 4 errors, 0 warnings
═══════════════════════════════════════
Error details:
1. error: function `unused_function` is never used
2. error: unneeded `return` statement
3. error: it looks like you're manually copying between slices
4. error: useless use of `vec!`
useless use of `vec!` (1x)
src/main.rs:2:13
Tested with cargo clippy, cargo clippy -- -D warnings, and cargo clippy -p <pkg>. Error messages and locations are shown. Full raw output is also available via the tee log.
Can you retest on v0.35.0 (brew upgrade rtk or cargo install rtk)? If you still see the issue, please share the exact command and output.
Activity
TechWizard9999 commentedon Mar 18, 2026
I’m taking this issue. I’ll update clippy filtering to preserve actionable error details (not summary-only), with tests, in a focused PR against develop.
TechWizard9999 commentedon Mar 18, 2026
I’ve submitted a PR to address this issue: #677
Changes include:
Error detailssection so users can see concrete failuresValidation run:
cargo fmt --all --checkrtk cargo clippy --all-targetsrtk cargo testPlease review when you get a chance.
pszymkowiak commentedon Mar 20, 2026
🔍 Automated Triage
bughighSummary
Cargo clippy filter suppresses actual error details, showing only summary counts — likely duplicate of #1156 (--raw/--no-filter flag) and related to #1163 (document filtering data loss); fix the cargo clippy filter to pass through error content.
Triaged automatically by wshm · This is an automated analysis, not a human review.
pszymkowiak commentedon Mar 24, 2026
This should be fixed in the latest release. Clippy output now shows error details with file and line:
Can you verify with
rtk --version(should be >= 0.31.0) andrtk cargo clippy?Thanks!
pszymkowiak commentedon Apr 7, 2026
Tested on develop (v0.35.0) — cannot reproduce. RTK now shows all error details:
Tested with
cargo clippy,cargo clippy -- -D warnings, andcargo clippy -p <pkg>. Error messages and locations are shown. Full raw output is also available via the tee log.Can you retest on v0.35.0 (
brew upgrade rtkorcargo install rtk)? If you still see the issue, please share the exact command and output.fix(cargo): show Finished line in build output; preserve full clippy …
fix(clippy): show full error blocks instead of truncated headline
fix(clippy): show full error blocks instead of truncated headline