Catch more rust errors in logs
Categories
(Release Engineering :: Applications: MozharnessCore, task)
Tracking
(firefox124 fixed)
Tracking | Status | |
---|---|---|
firefox124 | --- | fixed |
People
(Reporter: glandium, Assigned: glandium)
Details
Attachments
(1 file)
Assignee | ||
Comment 1•8 months ago
|
||
Not all rust errors start with "error[Exxx]:", as shown by the two other
types of errors we catch that start with error:, but simplifying to
"error:" would be too broad, catching messages about std::error::Error.
"error: " might work, but feels risky (and it would be redundant with
the matchers for other compiler errors).
All the errors from the rust compiler appear at the beginning of the
line, though, so it feels a little safer to match on "error: " being at
the beginning (+ the optional [Exxx]), and it feels rather safe to
assume that if a line begins with error:, it's an error. This obviously
would catch other messages that start with error:, and maybe it should
be used more generally, but I want to see if this causes unexpected
problems first. (which is why I also went with fixing bug 1877891
separately of this)
Comment 3•8 months ago
|
||
bugherder |
Comment 4•8 months ago
|
||
bugherder |
Description
•