Skip to content
This repository has been archived by the owner on Dec 3, 2024. It is now read-only.

Fix dependency split #34

Fix dependency split

Fix dependency split #34

GitHub Actions / clippy failed Feb 19, 2024 in 0s

clippy

1 error

Details

Results

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

Versions

  • rustc 1.76.0 (07dca489a 2024-02-04)
  • cargo 1.76.0 (c84b36747 2024-01-18)
  • clippy 0.1.76 (07dca48 2024-02-04)

Annotations

Check failure on line 108 in /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/696de65/crates/types/src/traits/block_contents.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this function takes 4 arguments but 3 arguments were supplied

error[E0061]: this function takes 4 arguments but 3 arguments were supplied
   --> /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/696de65/crates/types/src/traits/block_contents.rs:108:15
    |
108 |     let vid = VidScheme::new(num_chunks, num_storage_nodes, srs).unwrap();
    |               ^^^^^^^^^^^^^^                                --- an argument of type `usize` is missing
    |
note: associated function defined here
   --> /home/runner/.cargo/git/checkouts/jellyfish-aebafe050ee5960c/34df5ce/primitives/src/vid/advz.rs:105:12
    |
105 |     pub fn new(
    |            ^^^
help: provide the argument
    |
108 |     let vid = VidScheme::new(num_chunks, num_storage_nodes, /* usize */, srs).unwrap();
    |                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~