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
rtk cargo build --message-format=short reports a clean build and drops the warnings #5064
--message-format=short prints src/main.rs:1:4: warning: function unused_fn is never used. The build filter only counts lines starting with warning:, so:
Raw cargo shows the warning and warning: ok (bin "ok") generated 1 warning. Same for check. Reproduced on develop 08a261a, unchanged since v1.2.0. Expected: short-format diagnostics are counted and shown, or the short format passes through.
--message-format=short output filter only matches lines starting with warning:, so short-format warnings are silently dropped and build reported clean.
This looks like a simple fix that could be auto-resolved. Repo maintainers can use /wshm fix to attempt it.
📁 Relevant files
src/filter/cargo.rs
Suggested Actions
Update cargo short-format parser to match indented/short-style warning lines, not just lines starting with warning:
Add a regression test using --message-format=short output with a dead-code warning
Check same filter path for rtk cargo check since issue reports it's also affected
Triaged automatically by wshm · This is an automated analysis, not a human review.
Activity
rtk-wshm-sync-bot commentedon Nov 10, 2026
🔍 Automated Triage
bugmediumSummary
--message-format=shortoutput filter only matches lines starting withwarning:, so short-format warnings are silently dropped and build reported clean.📁 Relevant files
src/filter/cargo.rsSuggested Actions
warning:--message-format=shortoutput with a dead-code warningrtk cargo checksince issue reports it's also affectedTriaged automatically by wshm · This is an automated analysis, not a human review.
fix(cargo): pass short-format build, check, clippy and test output th…
fix(cargo): pass short-format build, check, clippy and test output th…
fix(cargo): pass short-format build, check, clippy and test output th…
fix(cargo): pass short-format build, check, clippy and test output th…