https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114348
--- Comment #2 from Tobias Specht <specht.tobias at gmx dot de> --- >From my understanding, the idea of the `-fdiagnostics-format=sarif-stderr` option is, that the SARIF file will be printed to stderr and only the SARIF file, so that one can take the stderr output and parse it as json for further processing. Due to the additional plain text output, the output on stderr is corrupted and cannot be parsed as json. A workaround could be, to only parse the first line as json, but this also seems racy.