Skip to content

Hotfix v1.0.1

Hotfix v1.0.1 #4287

Triggered via pull request February 19, 2024 12:49
Status Failure
Total duration 1m 42s
Artifacts

clippy.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 2 warnings
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
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/