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
Annotations
9 warnings
use of `expect` followed by a function call:
src/hunter.rs#L176
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)))
|
|
use of `expect` followed by a function call:
src/hunter.rs#L176
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)))
|
|
unused import: `tx::*`:
src/hunter.rs#L16
warning: unused import: `tx::*`
--> src/hunter.rs:16:9
|
16 | pub use tx::*;
| ^^^^^
|
unused import: `node::*`:
src/hunter.rs#L10
warning: unused import: `node::*`
--> src/hunter.rs:10:9
|
10 | pub use node::*;
| ^^^^^^^
|
unused import: `graphql::*`:
src/hunter.rs#L7
warning: unused import: `graphql::*`
--> src/hunter.rs:7:9
|
7 | pub use graphql::*;
| ^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
unused import: `tx::*`:
src/hunter.rs#L16
warning: unused import: `tx::*`
--> src/hunter.rs:16:9
|
16 | pub use tx::*;
| ^^^^^
|
unused import: `node::*`:
src/hunter.rs#L10
warning: unused import: `node::*`
--> src/hunter.rs:10:9
|
10 | pub use node::*;
| ^^^^^^^
|
unused import: `graphql::*`:
src/hunter.rs#L7
warning: unused import: `graphql::*`
--> src/hunter.rs:7:9
|
7 | pub use graphql::*;
| ^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
Task cargo clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|