Skip to content

Update Rust crate hmac to 0.12 #32

Update Rust crate hmac to 0.12

Update Rust crate hmac to 0.12 #32

Triggered via pull request April 29, 2025 04:07
Status Failure
Total duration 23s
Artifacts

ci-nightly.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 4 warnings
the trait bound `sha2::Sha512: hmac::digest::core_api::CoreProxy` is not satisfied: src/lib.rs#L277
error[E0277]: the trait bound `sha2::Sha512: hmac::digest::core_api::CoreProxy` is not satisfied --> src/lib.rs:277:24 | 277 | if (*key).verify::<HmacSha512>(&*sig, slice) { | ^^^^^^^^^^ the trait `hmac::digest::core_api::CoreProxy` is not implemented for `sha2::Sha512` | note: there are multiple different versions of crate `digest` in the dependency graph --> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/digest-0.10.7/src/core_api/wrapper.rs:266:1 | 266 | pub trait CoreProxy: sealed::Sealed { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait | ::: src/lib.rs:2:1 | 2 | extern crate challenge_bypass_ristretto; | ---------------------------------------- one version of crate `digest` used here, as a dependency of crate `curve25519_dalek` 3 | extern crate core; 4 | extern crate hmac; | ------------------ one version of crate `digest` used here, as a dependency of crate `hmac` | ::: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sha2-0.9.9/src/sha512.rs:50:1 | 50 | pub struct Sha512 { | ----------------- this type doesn't implement the required trait | ::: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/digest-0.9.0/src/digest.rs:9:1 | 9 | pub trait Digest { | ---------------- this is the found trait = help: you can use `cargo tree` to explore your dependency tree = note: required for `hmac::HmacCore<sha2::Sha512>` to implement `hmac::digest::core_api::BlockSizeUser`
the trait bound `hmac::digest::core_api::CoreWrapper<hmac::HmacCore<sha2::Sha512>>: crypto_mac::NewMac` is not satisfied: src/lib.rs#L277
error[E0277]: the trait bound `hmac::digest::core_api::CoreWrapper<hmac::HmacCore<sha2::Sha512>>: crypto_mac::NewMac` is not satisfied --> src/lib.rs:277:24 | 277 | if (*key).verify::<HmacSha512>(&*sig, slice) { | ------ ^^^^^^^^^^ the trait `crypto_mac::NewMac` is not implemented for `hmac::digest::core_api::CoreWrapper<hmac::HmacCore<sha2::Sha512>>` | | | required by a bound introduced by this call | = help: the trait `crypto_mac::NewMac` is implemented for `hmac::Hmac<D>` note: required by a bound in `challenge_bypass_ristretto::voprf::VerificationKey::verify` --> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/challenge-bypass-ristretto-1.0.1/src/oprf.rs:524:36 | 522 | pub fn verify<D>(&self, sig: &VerificationSignature, message: &[u8]) -> bool | ------ required by a bound in this associated function 523 | where 524 | D: Mac<OutputSize = U64> + NewMac, | ^^^^^^ required by this bound in `VerificationKey::verify`
the trait bound `hmac::digest::core_api::CoreWrapper<hmac::HmacCore<sha2::Sha512>>: crypto_mac::Mac` is not satisfied: src/lib.rs#L277
error[E0277]: the trait bound `hmac::digest::core_api::CoreWrapper<hmac::HmacCore<sha2::Sha512>>: crypto_mac::Mac` is not satisfied --> src/lib.rs:277:24 | 277 | if (*key).verify::<HmacSha512>(&*sig, slice) { | ------ ^^^^^^^^^^ the trait `crypto_mac::Mac` is not implemented for `hmac::digest::core_api::CoreWrapper<hmac::HmacCore<sha2::Sha512>>` | | | required by a bound introduced by this call | = help: the trait `crypto_mac::Mac` is implemented for `hmac::Hmac<D>` note: required by a bound in `challenge_bypass_ristretto::voprf::VerificationKey::verify` --> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/challenge-bypass-ristretto-1.0.1/src/oprf.rs:524:12 | 522 | pub fn verify<D>(&self, sig: &VerificationSignature, message: &[u8]) -> bool | ------ required by a bound in this associated function 523 | where 524 | D: Mac<OutputSize = U64> + NewMac, | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `VerificationKey::verify`
the trait bound `sha2::Sha512: hmac::digest::core_api::CoreProxy` is not satisfied: src/lib.rs#L253
error[E0277]: the trait bound `sha2::Sha512: hmac::digest::core_api::CoreProxy` is not satisfied --> src/lib.rs:253:42 | 253 | Box::into_raw(Box::new((*key).sign::<HmacSha512>(slice))) | ^^^^^^^^^^ the trait `hmac::digest::core_api::CoreProxy` is not implemented for `sha2::Sha512` | note: there are multiple different versions of crate `digest` in the dependency graph --> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/digest-0.10.7/src/core_api/wrapper.rs:266:1 | 266 | pub trait CoreProxy: sealed::Sealed { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait | ::: src/lib.rs:2:1 | 2 | extern crate challenge_bypass_ristretto; | ---------------------------------------- one version of crate `digest` used here, as a dependency of crate `curve25519_dalek` 3 | extern crate core; 4 | extern crate hmac; | ------------------ one version of crate `digest` used here, as a dependency of crate `hmac` | ::: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sha2-0.9.9/src/sha512.rs:50:1 | 50 | pub struct Sha512 { | ----------------- this type doesn't implement the required trait | ::: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/digest-0.9.0/src/digest.rs:9:1 | 9 | pub trait Digest { | ---------------- this is the found trait = help: you can use `cargo tree` to explore your dependency tree = note: required for `hmac::HmacCore<sha2::Sha512>` to implement `hmac::digest::core_api::BlockSizeUser`
the trait bound `hmac::digest::core_api::CoreWrapper<hmac::HmacCore<sha2::Sha512>>: crypto_mac::NewMac` is not satisfied: src/lib.rs#L253
error[E0277]: the trait bound `hmac::digest::core_api::CoreWrapper<hmac::HmacCore<sha2::Sha512>>: crypto_mac::NewMac` is not satisfied --> src/lib.rs:253:42 | 253 | Box::into_raw(Box::new((*key).sign::<HmacSha512>(slice))) | ---- ^^^^^^^^^^ the trait `crypto_mac::NewMac` is not implemented for `hmac::digest::core_api::CoreWrapper<hmac::HmacCore<sha2::Sha512>>` | | | required by a bound introduced by this call | = help: the trait `crypto_mac::NewMac` is implemented for `hmac::Hmac<D>` note: required by a bound in `challenge_bypass_ristretto::voprf::VerificationKey::sign` --> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/challenge-bypass-ristretto-1.0.1/src/oprf.rs:512:36 | 510 | pub fn sign<D>(&self, message: &[u8]) -> VerificationSignature | ---- required by a bound in this associated function 511 | where 512 | D: Mac<OutputSize = U64> + NewMac, | ^^^^^^ required by this bound in `VerificationKey::sign`
the trait bound `hmac::digest::core_api::CoreWrapper<hmac::HmacCore<sha2::Sha512>>: crypto_mac::Mac` is not satisfied: src/lib.rs#L253
error[E0277]: the trait bound `hmac::digest::core_api::CoreWrapper<hmac::HmacCore<sha2::Sha512>>: crypto_mac::Mac` is not satisfied --> src/lib.rs:253:42 | 253 | Box::into_raw(Box::new((*key).sign::<HmacSha512>(slice))) | ---- ^^^^^^^^^^ the trait `crypto_mac::Mac` is not implemented for `hmac::digest::core_api::CoreWrapper<hmac::HmacCore<sha2::Sha512>>` | | | required by a bound introduced by this call | = help: the trait `crypto_mac::Mac` is implemented for `hmac::Hmac<D>` note: required by a bound in `challenge_bypass_ristretto::voprf::VerificationKey::sign` --> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/challenge-bypass-ristretto-1.0.1/src/oprf.rs:512:12 | 510 | pub fn sign<D>(&self, message: &[u8]) -> VerificationSignature | ---- required by a bound in this associated function 511 | where 512 | D: Mac<OutputSize = U64> + NewMac, | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `VerificationKey::sign`
ci
Process completed with exit code 101.
ci
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
ci
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/