Skip to content

funds-manager: fee-indexer: Fix misc bugs with fee indexing + redemption

Sign in for the full log view
GitHub Actions / clippy failed Jul 25, 2024 in 0s

clippy

2 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 2
Warning 0
Note 0
Help 0

Versions

  • rustc 1.78.0-nightly (3cbb93223 2024-03-13)
  • cargo 1.78.0-nightly (7065f0ef4 2024-03-12)
  • clippy 0.1.78 (3cbb932 2024-03-13)

Annotations

Check failure on line 35 in funds-manager/funds-manager-server/src/custody_client/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

variant `FeeRedemption` is never constructed

error: variant `FeeRedemption` is never constructed
  --> funds-manager/funds-manager-server/src/custody_client/mod.rs:35:5
   |
31 | pub(crate) enum DepositWithdrawSource {
   |                 --------------------- variant in this enum
...
35 |     FeeRedemption,
   |     ^^^^^^^^^^^^^
   |
   = note: `DepositWithdrawSource` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
   = note: `-D dead-code` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(dead_code)]`

Check failure on line 7 in funds-manager/funds-manager-server/src/fee_indexer/redeem_fees.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `diesel::IntoSql`

error: unused import: `diesel::IntoSql`
 --> funds-manager/funds-manager-server/src/fee_indexer/redeem_fees.rs:7:5
  |
7 | use diesel::IntoSql;
  |     ^^^^^^^^^^^^^^^
  |
  = note: `-D unused-imports` implied by `-D warnings`
  = help: to override `-D warnings` add `#[allow(unused_imports)]`