Skip to content

Merge branch 'main' into open-db-for-read-only-access

Sign in for the full log view
GitHub Actions / Clippy (stable) Results failed Dec 12, 2023 in 0s

Clippy (stable) Results

1 error

Details

Results

Message level Amount
Internal compiler error 0
Error 1
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 23 in zebra-scan/src/storage/db/tests.rs

See this annotation in the file changed.

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

this function takes 3 arguments but 2 arguments were supplied

error[E0061]: this function takes 3 arguments but 2 arguments were supplied
  --> zebra-scan/src/storage/db/tests.rs:23:5
   |
23 |     Storage::new(&Config::ephemeral(), network)
   |     ^^^^^^^^^^^^------------------------------- an argument of type `bool` is missing
   |
note: associated function defined here
  --> zebra-scan/src/storage.rs:58:12
   |
58 |     pub fn new(config: &Config, network: Network, read_only: bool) -> Self {
   |            ^^^ ---------------  ----------------  ---------------
help: provide the argument
   |
23 |     Storage::new(&Config::ephemeral(), network, /* bool */)
   |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~