Skip to content

Update apdu-dispatch #63

Update apdu-dispatch

Update apdu-dispatch #63

Triggered via pull request November 8, 2023 11:03
Status Failure
Total duration 1m 54s
Artifacts

rust.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
mismatched types: src/lib/ctap_app.rs#L137
error[E0308]: mismatched types --> src/lib/ctap_app.rs:137:44 | 137 | .map(|s| Bytes::from_slice(s)) | ----------------- ^ expected `&[u8]`, found `&ByteArray<16>` | | | arguments to this function are incorrect | = note: expected reference `&[u8]` found reference `&serde_byte_array::bytearray::ByteArray<16>` note: associated function defined here --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/heapless-bytes-0.3.0/src/lib.rs:101:12 | 101 | pub fn from_slice(slice: &[u8]) -> core::result::Result<Self, ()> { | ^^^^^^^^^^
clippy_check
Clippy had exited with the 101 exit code
build
Process completed with exit code 2.
clippy_check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1.0.7. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/