Skip to content

Load Testing

Load Testing #112

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

clippy

10 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 10
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 211 in bin/load_test/goose_functions/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

function `get_random_historical_root` is never used

warning: function `get_random_historical_root` is never used
   --> bin/load_test/goose_functions/mod.rs:211:14
    |
211 | pub async fn get_random_historical_root(
    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: `#[warn(dead_code)]` on by default

Check warning on line 211 in bin/load_test/goose_functions/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

function `get_random_historical_root` is never used

warning: function `get_random_historical_root` is never used
   --> bin/load_test/goose_functions/mod.rs:211:14
    |
211 | pub async fn get_random_historical_root(
    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: `#[warn(dead_code)]` on by default

Check warning on line 10 in bin/load_test/main.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused imports: `invalid_identity_historical_root`, `invalid_identity_latest_root`, `validate_inclusion_proof_against_signup_sequencer`

warning: unused imports: `invalid_identity_historical_root`, `invalid_identity_latest_root`, `validate_inclusion_proof_against_signup_sequencer`
  --> bin/load_test/main.rs:10:5
   |
10 |     invalid_identity_historical_root, invalid_identity_latest_root,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
11 |     valid_random_identity_historical_root, valid_random_identity_latest_root,
12 |     validate_inclusion_proof_against_signup_sequencer,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 4 in bin/load_test/main.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `std::time::Duration`

warning: unused import: `std::time::Duration`
 --> bin/load_test/main.rs:4:5
  |
4 | use std::time::Duration;
  |     ^^^^^^^^^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

Check warning on line 10 in bin/load_test/main.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused imports: `invalid_identity_historical_root`, `invalid_identity_latest_root`, `validate_inclusion_proof_against_signup_sequencer`

warning: unused imports: `invalid_identity_historical_root`, `invalid_identity_latest_root`, `validate_inclusion_proof_against_signup_sequencer`
  --> bin/load_test/main.rs:10:5
   |
10 |     invalid_identity_historical_root, invalid_identity_latest_root,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
11 |     valid_random_identity_historical_root, valid_random_identity_latest_root,
12 |     validate_inclusion_proof_against_signup_sequencer,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 4 in bin/load_test/main.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `std::time::Duration`

warning: unused import: `std::time::Duration`
 --> bin/load_test/main.rs:4:5
  |
4 | use std::time::Duration;
  |     ^^^^^^^^^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` 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

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 8 in src/tree/tree_updater.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `FuturesOrdered`

warning: unused import: `FuturesOrdered`
 --> src/tree/tree_updater.rs:8:23
  |
8 | use futures::stream::{FuturesOrdered, FuturesUnordered};
  |                       ^^^^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

Check warning on line 8 in src/tree/tree_updater.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `FuturesOrdered`

warning: unused import: `FuturesOrdered`
 --> src/tree/tree_updater.rs:8:23
  |
8 | use futures::stream::{FuturesOrdered, FuturesUnordered};
  |                       ^^^^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default