Skip to content

Load Testing

Load Testing #111

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

clippy

4 warnings

Details

Results

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

Versions

  • rustc 1.74.0-nightly (4e78abb43 2023-08-28)
  • cargo 1.74.0-nightly (925280f02 2023-08-25)
  • clippy 0.1.73 (4e78abb 2023-08-28)

Annotations

Check warning on line 30 in bin/load_test/utils.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused `std::result::Result` that must be used

warning: unused `std::result::Result` that must be used
  --> bin/load_test/utils.rs:30:5
   |
30 |     SEQUENCER_INCLUSION_PROOF_ENDPOINT.set(endpoint.to_string());
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this `Result` may be an `Err` variant, which should be handled
   = note: `#[warn(unused_must_use)]` on by default
help: use `let _ = ...` to ignore the resulting value
   |
30 |     let _ = SEQUENCER_INCLUSION_PROOF_ENDPOINT.set(endpoint.to_string());
   |     +++++++

Check warning on line 30 in bin/load_test/utils.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused `std::result::Result` that must be used

warning: unused `std::result::Result` that must be used
  --> bin/load_test/utils.rs:30:5
   |
30 |     SEQUENCER_INCLUSION_PROOF_ENDPOINT.set(endpoint.to_string());
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this `Result` may be an `Err` variant, which should be handled
   = note: `#[warn(unused_must_use)]` on by default
help: use `let _ = ...` to ignore the resulting value
   |
30 |     let _ = SEQUENCER_INCLUSION_PROOF_ENDPOINT.set(endpoint.to_string());
   |     +++++++

Check warning on line 99 in src/state_bridge/service.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

very complex type used. Consider factoring parts into `type` definitions

warning: very complex type used. Consider factoring parts into `type` definitions
  --> src/state_bridge/service.rs:96:10
   |
96 |       ) -> Result<
   |  __________^
97 | |         Vec<JoinHandle<Result<(), StateBridgeError<L1M, L2M>>>>,
98 | |         StateBridgeError<L1M, L2M>,
99 | |     > {
   | |_____^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
   = note: `#[warn(clippy::type_complexity)]` on by default

Check warning on line 99 in src/state_bridge/service.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

very complex type used. Consider factoring parts into `type` definitions

warning: very complex type used. Consider factoring parts into `type` definitions
  --> src/state_bridge/service.rs:96:10
   |
96 |       ) -> Result<
   |  __________^
97 | |         Vec<JoinHandle<Result<(), StateBridgeError<L1M, L2M>>>>,
98 | |         StateBridgeError<L1M, L2M>,
99 | |     > {
   | |_____^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
   = note: `#[warn(clippy::type_complexity)]` on by default