Skip to content

Redesigned crate architecture #4670

Redesigned crate architecture

Redesigned crate architecture #4670

Triggered via pull request January 16, 2025 12:15
Status Failure
Total duration 3m 31s
Artifacts

clippy.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 2 warnings
needless call to `as_bytes()`: identity_document/benches/deserialize_document.rs#L223
error: needless call to `as_bytes()` --> identity_document/benches/deserialize_document.rs:223:40 | 223 | group.throughput(Throughput::Bytes(json.as_bytes().len() as u64)); | ^^^^^^^^^^^^^^^^^^^^^ help: `len()` can be called directly on strings: `json.len()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_as_bytes = note: `-D clippy::needless-as-bytes` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::needless_as_bytes)]`
needless call to `as_bytes()`: identity_document/benches/deserialize_document.rs#L225
error: needless call to `as_bytes()` --> identity_document/benches/deserialize_document.rs:225:78 | 225 | BenchmarkId::from_parameter(format!("{name}, document size: {} bytes", json.as_bytes().len())), | ^^^^^^^^^^^^^^^^^^^^^ help: `len()` can be called directly on strings: `json.len()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_as_bytes
clippy
Clippy had exited with the 101 exit code
clippy
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/[email protected]. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
clippy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636