-
Notifications
You must be signed in to change notification settings - Fork 106
Closed
Description
cargo new examplepackage
cd examplepackage
Add yescrypt = "0.1.0-rc.5" to dependencies
# cargo test
Compiling typenum v1.19.0
Compiling libc v0.2.183
Compiling cmov v0.5.2
Compiling cfg-if v1.0.4
Compiling getrandom v0.4.2
Compiling base64ct v1.8.3
Compiling subtle v2.6.1
Compiling ctutils v0.4.0
Compiling mcf v0.6.0
Compiling cpufeatures v0.2.17
Compiling password-hash v0.6.0
Compiling hybrid-array v0.4.8
Compiling crypto-common v0.2.1
Compiling block-buffer v0.12.0
Compiling inout v0.2.2
Compiling digest v0.11.2
Compiling cipher v0.5.1
Compiling hmac v0.13.0-rc.5
Compiling sha2 v0.11.0-rc.5
Compiling salsa20 v0.11.0-rc.2
Compiling pbkdf2 v0.13.0-rc.9
error[E0277]: the trait bound `Hmac<D>: Clone` is not satisfied
--> /Users/william/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/pbkdf2-0.13.0-rc.9/src/lib.rs:222:14
|
222 | pbkdf2::<hmac::Hmac<D>>(password, salt, rounds, res)
| ^^^^^^^^^^^^^ the trait `Clone` is not implemented for `Hmac<D>`
|
note: required by a bound in `pbkdf2`
--> /Users/william/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/pbkdf2-0.13.0-rc.9/src/lib.rs:168:43
|
161 | pub fn pbkdf2<PRF>(
| ------ required by a bound in this function
...
168 | PRF: KeyInit + Update + FixedOutput + Clone + Sync,
| ^^^^^ required by this bound in `pbkdf2`
For more information about this error, try `rustc --explain E0277`.
error: could not compile `pbkdf2` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels