I noticed in findutils that the update to uucore 0.11.0 breaks a test (see https://github.com/uutils/findutils/actions/runs/34085599515/job/101628921985?pr=858):
thread 'find::matchers::tests::build_top_level_matcher_perm_bad' (4939) panicked at src/find/matchers/mod.rs:1743:13:
assertion failed: e.to_string().contains("invalid operator")
And when running the corresponding command from the test:
$ cargo run -q --bin=find find -perm foo
find: mode-error-invalid-operator
The key mode-error-invalid-operator is used in src/uucore/src/lib/features/mode.rs.
It looks like the translations of uucore are not found in findutils, even though they are in the crate: https://crates.io/crates/uucore/0.11.0/code/locales/en-US.ftl
I noticed in
findutilsthat the update touucore 0.11.0breaks a test (see https://github.com/uutils/findutils/actions/runs/34085599515/job/101628921985?pr=858):And when running the corresponding command from the test:
The key
mode-error-invalid-operatoris used insrc/uucore/src/lib/features/mode.rs.It looks like the translations of
uucoreare not found infindutils, even though they are in the crate: https://crates.io/crates/uucore/0.11.0/code/locales/en-US.ftl