You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems to come from the fact that cargo build fails with that RUSTFLAGS set, regardless of anything in cargo-mutants:
; env RUSTFLAGS="--error-format=json" cargo build
Compiling unix_mode v0.1.4-pre (/home/mbp/src/unix_mode)
error: Option 'error-format' given more than once
error: could not compile `unix_mode` (lib)
This looks a bit like rust-lang/cargo#6375 or rust-lang/cargo#11452 but I'm not sure it's exactly the same. It seems more like a cargo bug than a cargo-mutants bug.
It would be possible for cargo-mutants to parse RUSTFLAGS and strip out things that we might think won't work with cargo build, but I don't know if that really fits here. Maybe it's better to just not pass it.
I filed rust-lang/cargo#12486 and unless some new information emerges I don't think there's anything to do in cargo-mutants.
That error is repeated many times till termination with:
The text was updated successfully, but these errors were encountered: