Skip to content

Conversation

sam-mccall
Copy link
Contributor

Previously " WARN ..." output on stderr would cause process wrapper to give up parsing the json and emit it verbatim.

 WARN rustc_errors::emitter Invalid span ./snip.rs:49:25: 49:25 (#7), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "./snip.rs" }) }
 WARN rustc_errors::emitter Invalid span ./snip.rs:49:31: 49:31 (#7), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "./snip.rs" }) }
{"$message_type":"diagnostic","message":"expected a literal (`1u8`, `1.0f32`, `\"string\"`, etc.) here, found `concat`","code":null,"level":"error","spans": ...

@krasimirgg krasimirgg self-requested a review October 14, 2025 12:29
Copy link
Collaborator

@krasimirgg krasimirgg left a comment

Choose a reason for hiding this comment

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

Thank you! Looks good, please take a look at the test failures.

Previously " WARN ..." output on stderr would cause process wrapper to give up parsing the json and emit it verbatim.

```
 WARN rustc_errors::emitter Invalid span ./snip.rs:49:25: 49:25 (bazelbuild#7), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "./snip.rs" }) }
 WARN rustc_errors::emitter Invalid span ./snip.rs:49:31: 49:31 (bazelbuild#7), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "./snip.rs" }) }
{"$message_type":"diagnostic","message":"expected a literal (`1u8`, `1.0f32`, `\"string\"`, etc.) here, found `concat`","code":null,"level":"error","spans": ...
```
@sam-mccall
Copy link
Contributor Author

@krasimirgg oops, fixed now. Remaining failures are unrelated.

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