Skip to content

Fix panics on failed initialization #369

Fix panics on failed initialization

Fix panics on failed initialization #369

Triggered via pull request January 5, 2024 10:41
Status Failure
Total duration 1m 51s
Artifacts

rust-tests.yml

on: pull_request
check-formatting-linting
23s
check-formatting-linting
tests
1m 41s
tests
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 10 warnings
useless conversion to the same type: `u64`: pkcs11/src/api/mod.rs#L106
error: useless conversion to the same type: `u64` --> pkcs11/src/api/mod.rs:106:21 | 106 | Err(err) => err.into(), | ^^^^^^^^^^ help: consider removing `.into()`: `err` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
useless conversion to the same type: `u64`: pkcs11/src/api/token.rs#L410
error: useless conversion to the same type: `u64` --> pkcs11/src/api/token.rs:410:36 | 410 | Err(err) => return err.into(), | ^^^^^^^^^^ help: consider removing `.into()`: `err` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
useless conversion to the same type: `u64`: pkcs11/src/api/token.rs#L379
error: useless conversion to the same type: `u64` --> pkcs11/src/api/token.rs:379:28 | 379 | Err(err) => return err.into(), | ^^^^^^^^^^ help: consider removing `.into()`: `err` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion = note: `-D clippy::useless-conversion` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::useless_conversion)]`
useless conversion to the same type: `u64`: pkcs11/src/api/mod.rs#L106
error: useless conversion to the same type: `u64` --> pkcs11/src/api/mod.rs:106:21 | 106 | Err(err) => err.into(), | ^^^^^^^^^^ help: consider removing `.into()`: `err` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
useless conversion to the same type: `u64`: pkcs11/src/api/token.rs#L410
error: useless conversion to the same type: `u64` --> pkcs11/src/api/token.rs:410:36 | 410 | Err(err) => return err.into(), | ^^^^^^^^^^ help: consider removing `.into()`: `err` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
useless conversion to the same type: `u64`: pkcs11/src/api/token.rs#L379
error: useless conversion to the same type: `u64` --> pkcs11/src/api/token.rs:379:28 | 379 | Err(err) => return err.into(), | ^^^^^^^^^^ help: consider removing `.into()`: `err` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion = note: `-D clippy::useless-conversion` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::useless_conversion)]`
check-formatting-linting
Clippy had exited with the 101 exit code
check-formatting-linting
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
check-formatting-linting
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/
check-formatting-linting
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/
check-formatting-linting
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/
check-formatting-linting
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/
tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
tests
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/
tests
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/
tests
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/
tests
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/