Open anforowicz opened 7 months ago
I am not sure what changes can be made in cargo vet
to emit better diagnostics.
fn do_aggregate_audits
and call info!("{err}")
for each of them.miele
crate should somehow be used to handle displaying the aggregated errors?Also - I think that I agree with the decision to not display the (quite verbose) details from AggregateCriteriaDescriptionMismatchError
by default. OTOH, it would be nice if the short, default display had a some kind of summary of the problems that hints that description mismatches were the root problem.
Repro:
(The repro works because Chromium uses incompatible descriptions. I'll work on fixing this on Chromium side - at that point the repro steps above will not work anymore.)
Expected behavior: Details about
AggregateCriteriaDescriptionMismatchError
are displayed. (This class has a very nice auto-derivedDisplay
implementation that would be sufficient if only it was used/displayed.)Actual behavior: Only general, non-actionable/diagnosable info about
AggregateErrors
is displayed.