Skip to content

Add ZK BBS+-based selectively disclosable credentials (JPT) #4370

Add ZK BBS+-based selectively disclosable credentials (JPT)

Add ZK BBS+-based selectively disclosable credentials (JPT) #4370

Triggered via pull request April 25, 2024 10:11
Status Failure
Total duration 2m 0s
Artifacts

clippy.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 2 warnings
this expression creates a reference which is immediately dereferenced by the compiler: identity_storage/src/key_storage/bls.rs#L114
error: this expression creates a reference which is immediately dereferenced by the compiler --> identity_storage/src/key_storage/bls.rs:114:45 | 114 | Signature::<BBSplus<S>>::sign(Some(data), &sk, &pk, Some(header)).map(|s| s.to_bytes().to_vec()) | ^^^ help: change this to: `sk` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `-D clippy::needless-borrow` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::needless_borrow)]`
this expression creates a reference which is immediately dereferenced by the compiler: identity_storage/src/key_storage/bls.rs#L114
error: this expression creates a reference which is immediately dereferenced by the compiler --> identity_storage/src/key_storage/bls.rs:114:50 | 114 | Signature::<BBSplus<S>>::sign(Some(data), &sk, &pk, Some(header)).map(|s| s.to_bytes().to_vec()) | ^^^ help: change this to: `pk` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
clippy
Clippy had exited with the 101 exit code
clippy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, jetli/wasm-bindgen-action@24ba6f9fff570246106ac3f80f35185600c3f6c9, actions-rs-plus/clippy-check@b09a9c37c9df7db8b1a5d52e8fe8e0b6e3d574c4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: jetli/wasm-bindgen-action@24ba6f9fff570246106ac3f80f35185600c3f6c9. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/