criterion.rs icon indicating copy to clipboard operation
criterion.rs copied to clipboard

Criterion 0.4 --bench --compare error

Open tower120 opened this issue 3 years ago • 1 comments

Whenever I run --bench -- --compare --baselines, I get this error:

 C:\github\any_vec> cargo bench --bench=iter -- --compare --baselines criterion_0_4,criterion_0_4
    Finished bench [optimized] target(s) in 0.26s
     Running benches\iter.rs (target\release\deps\iter-ad9f3b5828e8624c.exe)
thread 'main' panicked at 'Must use `Arg::allow_invalid_utf8` with `_os` lookups at `[hash: 570E2D9D9139F734]`', C:\Users\Andy\.cargo\registry\src\github.com-1ecc6299db9ec823\clap-3.2.8\src\parser\matches\arg_matches.rs:1732:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: bench failed

I assume this is something clap -related.

branch = "version-0.4", Rust 1.62(msvc), Windows 10

tower120 avatar Jul 08 '22 11:07 tower120

Hello, and thanks for the bug report.

I'm afraid I don't know anything about the --compare option. @lemmih, does this make sense to you?

bheisler avatar Jul 15 '22 00:07 bheisler