fluent-rs
fluent-rs copied to clipboard
Panic in `resolver_iai` benchmark
I just tried running all test using cargo test --workspace --all-targets and ran into a panic of the resolver_iai benchmark from the fluent-bundle crate. It can be run individually using cargo test -p fluent-bundle --bench resolver_iai. The panic message is
thread 'main' (173030) panicked at /home/drainer/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/iai-0.1.1/src/lib.rs:162:46:
no entry found for key
I tried adding a custom panic!() as the first line of fluent-bundle/benches/resolver_iai.rs:iai_resolve_preferences which did not affect the result, suggesting that the issue is in the iai crate. That crate looks abandoned, so it might make sense to look for alternatives, and maybe disable the benchmark until it is fixed.