Due to #132 the output format changed but the version was kept at 1.0.x, causing many trybuild tests to fail when upgraded to the latest version. Since libraries don't normally check in Cargo.lock, this caused my UI tests to fail in CI. This isn't a big deal, but it's unexpected and seems to be unintended based on the comment I reference below.
This is related to #140, though different because the only change in the output is the switch from $DIR to relative path.
According to this comment, it sounds like trybuild should not raise a mismatch in this case:
The normalizations that trybuild applies are always changing to smooth over differences in rustc's diagnostic output across rustc versions, and in general we do normalization in a way that makes an old captured *.stderr file succeed if it matches the normalization logic of any previous trybuild release.
#140 (comment)
Link to CI where the mismatch occurs:
https://app.circleci.com/pipelines/github/AzureMarker/shaku/8/workflows/0db93ae3-9ee0-4b77-ac18-94008f9aa5b3/jobs/17
Due to #132 the output format changed but the version was kept at 1.0.x, causing many trybuild tests to fail when upgraded to the latest version. Since libraries don't normally check in
Cargo.lock, this caused my UI tests to fail in CI. This isn't a big deal, but it's unexpected and seems to be unintended based on the comment I reference below.This is related to #140, though different because the only change in the output is the switch from
$DIRto relative path.According to this comment, it sounds like trybuild should not raise a mismatch in this case:
#140 (comment)
Link to CI where the mismatch occurs:
https://app.circleci.com/pipelines/github/AzureMarker/shaku/8/workflows/0db93ae3-9ee0-4b77-ac18-94008f9aa5b3/jobs/17