Skip to content

Add support for StatusList2021 #4181

Add support for StatusList2021

Add support for StatusList2021 #4181

Triggered via pull request January 8, 2024 08:53
Status Failure
Total duration 1m 50s
Artifacts

clippy.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
accessing first element with `document.methods(None).get(0)`: identity_document/src/document/core_document.rs#L1156
error: accessing first element with `document.methods(None).get(0)` --> identity_document/src/document/core_document.rs:1156:16 | 1156 | assert_eq!(document.methods(None).get(0).unwrap().id().to_string(), "did:example:1234#key-1"); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `document.methods(None).first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `-D clippy::get-first` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::get_first)]`
accessing first element with `verification_methods.get(0)`: identity_document/src/document/core_document.rs#L1167
error: accessing first element with `verification_methods.get(0)` --> identity_document/src/document/core_document.rs:1167:7 | 1167 | verification_methods.get(0).unwrap().id().to_string(), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `verification_methods.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
accessing first element with `authentication.get(0)`: identity_document/src/document/core_document.rs#L1183
error: accessing first element with `authentication.get(0)` --> identity_document/src/document/core_document.rs:1183:7 | 1183 | authentication.get(0).unwrap().id().to_string(), | ^^^^^^^^^^^^^^^^^^^^^ help: try: `authentication.first()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
clippy
Clippy had exited with the 101 exit code
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/