Skip to content

feat: cleanup migrations and add compression #321

feat: cleanup migrations and add compression

feat: cleanup migrations and add compression #321

GitHub Actions / Rust Clippy Report failed Mar 15, 2025 in 0s

Rust Clippy Report

4 errors

Details

Results

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

Versions

  • rustc 1.85.0 (4d91de4e4 2025-02-17)
  • cargo 1.85.0 (d73d2caf9 2024-12-31)
  • clippy 0.1.85 (4d91de4e48 2025-02-17)

Annotations

Check failure on line 25 in pragma-node/src/utils/sql.rs

See this annotation in the file changed.

@github-actions github-actions / Rust Clippy Report

this match arm has an identical body to another arm

error: this match arm has an identical body to another arm
  --> pragma-node/src/utils/sql.rs:25:9
   |
25 |         DataType::FutureEntry => Ok("_future"),
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: try changing either arm body
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_same_arms
   = note: `-D clippy::match-same-arms` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::match_same_arms)]`
help: or try merging the arm patterns and removing the obsolete arm
   |
25 ~         DataType::FutureEntry | DataType::PerpEntry => Ok("_future"),
26 ~         }
   |

Check failure on line 17 in pragma-node/src/utils/sql.rs

See this annotation in the file changed.

@github-actions github-actions / Rust Clippy Report

wildcard matches only a single variant and will also match any future added variants

error: wildcard matches only a single variant and will also match any future added variants
  --> pragma-node/src/utils/sql.rs:17:9
   |
17 |         _ => Err(InfraError::InternalServerError),
   |         ^ help: try: `DataType::FutureEntry`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_wildcard_for_single_variants
   = note: `-D clippy::match-wildcard-for-single-variants` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::match_wildcard_for_single_variants)]`

Check failure on line 25 in pragma-node/src/utils/sql.rs

See this annotation in the file changed.

@github-actions github-actions / Rust Clippy Report

this match arm has an identical body to another arm

error: this match arm has an identical body to another arm
  --> pragma-node/src/utils/sql.rs:25:9
   |
25 |         DataType::FutureEntry => Ok("_future"),
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: try changing either arm body
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_same_arms
   = note: `-D clippy::match-same-arms` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::match_same_arms)]`
help: or try merging the arm patterns and removing the obsolete arm
   |
25 ~         DataType::FutureEntry | DataType::PerpEntry => Ok("_future"),
26 ~         }
   |

Check failure on line 17 in pragma-node/src/utils/sql.rs

See this annotation in the file changed.

@github-actions github-actions / Rust Clippy Report

wildcard matches only a single variant and will also match any future added variants

error: wildcard matches only a single variant and will also match any future added variants
  --> pragma-node/src/utils/sql.rs:17:9
   |
17 |         _ => Err(InfraError::InternalServerError),
   |         ^ help: try: `DataType::FutureEntry`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_wildcard_for_single_variants
   = note: `-D clippy::match-wildcard-for-single-variants` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::match_wildcard_for_single_variants)]`