rust-lang / rust-lang/rust-clippy

Json Output format not working - nightly Regression

Open
#4,283 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
13.5k
Forks
2.2k
Avg merge
2d 10h
Merged PRs (30d)
32

Description

Version: clippy 0.0.212 (b029042 2019-07-12)

cargo clippy -- --error-format=json is broken on current nightly.

It produces the default output format, only without colors.
Works fine on stable.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the regression with cargo clippy -- --error-format=json on the reported nightly and compare it with stable, using the version details in the issue. Trace the Clippy diagnostic-output path to determine why JSON formatting is lost; done means the command emits JSON diagnostics on nightly as it does on stable, with tests covering the behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.