Use of unstable library feature 'build_hasher_simple_hash_one'
seanses opened this issue · 2 comments
seanses commented
We hit the below error when running cargo clippy -r --verbose -- -D warnings
in our repo:
Checking hashring v0.3.3
Running `rustc --crate-name hashring /home/circleci/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hashring-0.3.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata -C opt-level=3 -C embed-bitcode=no -C metadata=4370dc182bbebf37 -C extra-filename=-4370dc182bbebf37 --out-dir /home/circleci/project/rust/target/release/deps -L dependency=/home/circleci/project/rust/target/release/deps --extern siphasher=/home/circleci/project/rust/target/release/deps/libsiphasher-58015936f2a4dc1e.rmeta --cap-lints allow`
...
error[E0658]: use of unstable library feature 'build_hasher_simple_hash_one'
--> /home/circleci/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hashring-0.3.3/src/lib.rs:294:18
|
294 | hash_builder.hash_one(input)
| ^^^^^^^^
|
= note: see issue #86161 <https://github.com/rust-lang/rust/issues/86161> for more information
For more information about this error, try `rustc --explain E0658`.
error: could not compile `hashring` (lib) due to previous error
jeromefroe commented
@seanses is it possible to upgrade the version of Rust you're using? It looks like the hash_one
feature was stabilized in the 1.71.0 release. Sorry for the annoying breakage 🤦
seanses commented
@jeromefroe Upgrading to 1.73.0 fixed it. Thank you for the prompt reply!