Skip to content

AT: Rust Library Implementation #239

AT: Rust Library Implementation

AT: Rust Library Implementation #239

Triggered via pull request February 9, 2026 10:59
Status Failure
Total duration 4m 53s
Artifacts

clippy.yml

on: pull_request
Matrix: clippy
Fit to window
Zoom out
Zoom in

Annotations

10 errors
clippy (ubuntu-latest)
Clippy had exited with the 101 exit code
method `tag` is never used: audit-trail-rs/src/core/types/record.rs#L55
error: method `tag` is never used --> audit-trail-rs/src/core/types/record.rs:55:19 | 53 | impl Data { | --------- method in this implementation 54 | /// Returns the Move type tag for this data type. 55 | pub(crate) fn tag(&self) -> TypeTag { | ^^^
associated function `migrate` is never used: audit-trail-rs/src/core/operations/migrate.rs#L14
error: associated function `migrate` is never used --> audit-trail-rs/src/core/operations/migrate.rs:14:25 | 13 | impl AuditTrailImpl { | ------------------- associated function in this implementation 14 | pub(crate) async fn migrate<C>( | ^^^^^^^
associated function `update_metadata` is never used: audit-trail-rs/src/core/operations/metadata.rs#L14
error: associated function `update_metadata` is never used --> audit-trail-rs/src/core/operations/metadata.rs:14:25 | 13 | impl AuditTrailImpl { | ------------------- associated function in this implementation 14 | pub(crate) async fn update_metadata<C>( | ^^^^^^^^^^^^^^^
associated functions `update_locking_config` and `update_locking_config_for_delete_record` are never used: audit-trail-rs/src/core/operations/locking.rs#L15
error: associated functions `update_locking_config` and `update_locking_config_for_delete_record` are never used --> audit-trail-rs/src/core/operations/locking.rs:15:25 | 14 | impl AuditTrailImpl { | ------------------- associated functions in this implementation 15 | pub(crate) async fn update_locking_config<C>( | ^^^^^^^^^^^^^^^^^^^^^ ... 32 | pub(crate) async fn update_locking_config_for_delete_record<C>( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
associated function `build_trail_transaction` is never used: audit-trail-rs/src/core/operations/mod.rs#L28
error: associated function `build_trail_transaction` is never used --> audit-trail-rs/src/core/operations/mod.rs:28:14 | 27 | impl AuditTrailImpl { | ------------------- associated function in this implementation 28 | async fn build_trail_transaction<C, F>( | ^^^^^^^^^^^^^^^^^^^^^^^
fields `client` and `trail_id` are never read: audit-trail-rs/src/core/handler/roles.rs#L53
error: fields `client` and `trail_id` are never read --> audit-trail-rs/src/core/handler/roles.rs:53:16 | 52 | pub struct RoleHandle<'a, C> { | ---------- fields in this struct 53 | pub(crate) client: &'a C, | ^^^^^^ 54 | pub(crate) trail_id: ObjectID, | ^^^^^^^^ | = note: `RoleHandle` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
fields `client` and `trail_id` are never read: audit-trail-rs/src/core/handler/metadata.rs#L11
error: fields `client` and `trail_id` are never read --> audit-trail-rs/src/core/handler/metadata.rs:11:16 | 10 | pub struct TrailMetadata<'a, C> { | ------------- fields in this struct 11 | pub(crate) client: &'a C, | ^^^^^^ 12 | pub(crate) trail_id: ObjectID, | ^^^^^^^^ | = note: `TrailMetadata` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
fields `client` and `trail_id` are never read: audit-trail-rs/src/core/handler/locking.rs#L12
error: fields `client` and `trail_id` are never read --> audit-trail-rs/src/core/handler/locking.rs:12:16 | 11 | pub struct TrailLocking<'a, C> { | ------------ fields in this struct 12 | pub(crate) client: &'a C, | ^^^^^^ 13 | pub(crate) trail_id: ObjectID, | ^^^^^^^^ | = note: `TrailLocking` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
fields `client` and `trail_id` are never read: audit-trail-rs/src/core/handler/capabilities.rs#L11
error: fields `client` and `trail_id` are never read --> audit-trail-rs/src/core/handler/capabilities.rs:11:16 | 10 | pub struct TrailCapabilities<'a, C> { | ----------------- fields in this struct 11 | pub(crate) client: &'a C, | ^^^^^^ 12 | pub(crate) trail_id: ObjectID, | ^^^^^^^^ | = note: `TrailCapabilities` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis = note: `-D dead-code` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(dead_code)]`