Skip to content

Dzejkop/refactor-db-code #818

Dzejkop/refactor-db-code

Dzejkop/refactor-db-code #818

GitHub Actions / clippy succeeded Oct 15, 2024 in 0s

clippy

6 warnings

Details

Results

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

Versions

  • rustc 1.81.0 (eeb90cda1 2024-09-04)
  • cargo 1.81.0 (2dbb1af80 2024-08-20)
  • clippy 0.1.81 (eeb90cd 2024-09-04)

Annotations

Check warning on line 22 in src/database/methods.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

trait `DbMethods` is never used

warning: trait `DbMethods` is never used
  --> src/database/methods.rs:22:11
   |
22 | pub trait DbMethods<'c>: Acquire<'c, Database = Postgres> + Sized {
   |           ^^^^^^^^^

Check warning on line 19 in src/database/methods.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

constant `MAX_UNPROCESSED_FETCH_COUNT` is never used

warning: constant `MAX_UNPROCESSED_FETCH_COUNT` is never used
  --> src/database/methods.rs:19:7
   |
19 | const MAX_UNPROCESSED_FETCH_COUNT: i64 = 10_000;
   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default

Check warning on line 22 in src/database/methods.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

trait `DbMethods` is never used

warning: trait `DbMethods` is never used
  --> src/database/methods.rs:22:11
   |
22 | pub trait DbMethods<'c>: Acquire<'c, Database = Postgres> + Sized {
   |           ^^^^^^^^^

Check warning on line 19 in src/database/methods.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

constant `MAX_UNPROCESSED_FETCH_COUNT` is never used

warning: constant `MAX_UNPROCESSED_FETCH_COUNT` is never used
  --> src/database/methods.rs:19:7
   |
19 | const MAX_UNPROCESSED_FETCH_COUNT: i64 = 10_000;
   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default

Check warning on line 22 in src/database/methods.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

trait `DbMethods` is never used

warning: trait `DbMethods` is never used
  --> src/database/methods.rs:22:11
   |
22 | pub trait DbMethods<'c>: Acquire<'c, Database = Postgres> + Sized {
   |           ^^^^^^^^^

Check warning on line 19 in src/database/methods.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

constant `MAX_UNPROCESSED_FETCH_COUNT` is never used

warning: constant `MAX_UNPROCESSED_FETCH_COUNT` is never used
  --> src/database/methods.rs:19:7
   |
19 | const MAX_UNPROCESSED_FETCH_COUNT: i64 = 10_000;
   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default