Skip to content
GitHub Actions / Clippy (stable) Results failed Dec 12, 2023 in 0s

Clippy (stable) Results

2 errors

Details

Results

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

Versions

  • rustc 1.74.1 (a28077b28 2023-12-04)
  • cargo 1.74.1 (ecb9851af 2023-10-18)
  • clippy 0.1.74 (a28077b 2023-12-04)

Annotations

Check failure on line 25 in zebra-scan/src/tests/vectors.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy (stable) Results

unused import: `config::Config`

error: unused import: `config::Config`
  --> zebra-scan/src/tests/vectors.rs:25:5
   |
25 |     config::Config,
   |     ^^^^^^^^^^^^^^
   |
   = note: `-D unused-imports` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(unused_imports)]`

Check failure on line 160 in zebra-scan/src/tests/vectors.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy (stable) Results

failed to resolve: could not find `tests` in `storage`

error[E0433]: failed to resolve: could not find `tests` in `storage`
   --> zebra-scan/src/tests/vectors.rs:160:33
    |
160 |     let mut s = crate::storage::tests::new_test_storage(Network::Mainnet);
    |                                 ^^^^^ could not find `tests` in `storage`
    |
help: consider importing this module
    |
3   + use crate::storage::db::tests;
    |
help: if you import `tests`, refer to it directly
    |
160 -     let mut s = crate::storage::tests::new_test_storage(Network::Mainnet);
160 +     let mut s = tests::new_test_storage(Network::Mainnet);
    |