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

Bump regex from 1.10.0 to 1.10.2 (#127) #377

Bump regex from 1.10.0 to 1.10.2 (#127)

Bump regex from 1.10.0 to 1.10.2 (#127) #377

GitHub Actions / clippy succeeded Nov 8, 2023 in 0s

clippy

8 warnings

Details

Results

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

Versions

  • rustc 1.75.0-nightly (7adc89b69 2023-11-07)
  • cargo 1.75.0-nightly (65e297d1e 2023-11-03)
  • clippy 0.1.75 (7adc89b 2023-11-07)

Annotations

Check warning on line 179 in src/hunter.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of `expect` followed by a function call

warning: use of `expect` followed by a function call
   --> src/hunter.rs:176:65
    |
176 |               util::crowdloan_id_of(self.fund_index_at(&block_hash).await?.expect(&format!(
    |  __________________________________________________________________________^
177 | |                 "no existing crowdloan found for parachain({})",
178 | |                 self.configuration.bid.para_id,
179 | |             )))
    | |______________^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call
    = note: `#[warn(clippy::expect_fun_call)]` on by default
help: try
    |
176 ~             util::crowdloan_id_of(self.fund_index_at(&block_hash).await?.unwrap_or_else(|| panic!("no existing crowdloan found for parachain({})",
177 ~                 self.configuration.bid.para_id)))
    |

Check warning on line 179 in src/hunter.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of `expect` followed by a function call

warning: use of `expect` followed by a function call
   --> src/hunter.rs:176:65
    |
176 |               util::crowdloan_id_of(self.fund_index_at(&block_hash).await?.expect(&format!(
    |  __________________________________________________________________________^
177 | |                 "no existing crowdloan found for parachain({})",
178 | |                 self.configuration.bid.para_id,
179 | |             )))
    | |______________^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call
    = note: `#[warn(clippy::expect_fun_call)]` on by default
help: try
    |
176 ~             util::crowdloan_id_of(self.fund_index_at(&block_hash).await?.unwrap_or_else(|| panic!("no existing crowdloan found for parachain({})",
177 ~                 self.configuration.bid.para_id)))
    |

Check warning on line 16 in src/hunter.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `tx::*`

warning: unused import: `tx::*`
  --> src/hunter.rs:16:9
   |
16 | pub use tx::*;
   |         ^^^^^

Check warning on line 10 in src/hunter.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `node::*`

warning: unused import: `node::*`
  --> src/hunter.rs:10:9
   |
10 | pub use node::*;
   |         ^^^^^^^

Check warning on line 7 in src/hunter.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `graphql::*`

warning: unused import: `graphql::*`
 --> src/hunter.rs:7:9
  |
7 | pub use graphql::*;
  |         ^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

Check warning on line 16 in src/hunter.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `tx::*`

warning: unused import: `tx::*`
  --> src/hunter.rs:16:9
   |
16 | pub use tx::*;
   |         ^^^^^

Check warning on line 10 in src/hunter.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `node::*`

warning: unused import: `node::*`
  --> src/hunter.rs:10:9
   |
10 | pub use node::*;
   |         ^^^^^^^

Check warning on line 7 in src/hunter.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `graphql::*`

warning: unused import: `graphql::*`
 --> src/hunter.rs:7:9
  |
7 | pub use graphql::*;
  |         ^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default