Skip to content

fix ios build

fix ios build #3907

GitHub Actions / clippy succeeded Sep 2, 2024 in 0s

clippy

9 warnings

Details

Results

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

Versions

  • rustc 1.80.1 (3f5fd8dd4 2024-08-06)
  • cargo 1.80.1 (376290515 2024-07-16)
  • clippy 0.1.80 (3f5fd8d 2024-08-06)

Annotations

Check warning on line 61 in store/src/local/mutation_index/results.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

field `remaining` is never read

warning: field `remaining` is never read
  --> store/src/local/mutation_index/results.rs:61:9
   |
58 | pub struct MutationResults {
   |            --------------- field in this struct
...
61 |     pub remaining: usize,
   |         ^^^^^^^^^

Check warning on line 285 in store/src/local/entity_index/searcher.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

field `matched_mutation` is never read

warning: field `matched_mutation` is never read
   --> store/src/local/entity_index/searcher.rs:285:9
    |
284 | pub struct SearchResult {
    |            ------------ field in this struct
285 |     pub matched_mutation: MutationMetadata,
    |         ^^^^^^^^^^^^^^^^

Check warning on line 59 in store/src/local/entity_index/aggregator.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

field `last_block_offset` is never read

warning: field `last_block_offset` is never read
  --> store/src/local/entity_index/aggregator.rs:59:9
   |
28 | pub struct EntityAggregator {
   |            ---------------- field in this struct
...
59 |     pub last_block_offset: Option<BlockOffset>,
   |         ^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default

Check warning on line 50 in chain/src/engine/chain_sync/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item missing indentation

warning: doc list item missing indentation
  --> chain/src/engine/chain_sync/mod.rs:50:5
   |
50 | /// sure we progress and    leadership hasn't changed.
   |     ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
   |
50 | ///    sure we progress and    leadership hasn't changed.
   |     +++

Check warning on line 46 in chain/src/engine/chain_sync/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item missing indentation

warning: doc list item missing indentation
  --> chain/src/engine/chain_sync/mod.rs:46:5
   |
46 | /// common block, which    is our common ancestor.
   |     ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
   |
46 | ///    common block, which    is our common ancestor.
   |     +++

Check warning on line 43 in chain/src/engine/chain_sync/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item missing indentation

warning: doc list item missing indentation
  --> chain/src/engine/chain_sync/mod.rs:43:5
   |
43 | /// latest blocks.
   |     ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
   |
43 | ///    latest blocks.
   |     +++

Check warning on line 42 in chain/src/engine/chain_sync/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item missing indentation

warning: doc list item missing indentation
  --> chain/src/engine/chain_sync/mod.rs:42:5
   |
42 | /// node could not have made progress without a majority    of nodes signing the
   |     ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
   |
42 | ///    node could not have made progress without a majority    of nodes signing the
   |     +++

Check warning on line 41 in chain/src/engine/chain_sync/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item missing indentation

warning: doc list item missing indentation
  --> chain/src/engine/chain_sync/mod.rs:41:5
   |
41 | /// with the longest chain.    Taking the longest chain is valid, since this
   |     ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
   |
41 | ///    with the longest chain.    Taking the longest chain is valid, since this
   |     +++

Check warning on line 38 in chain/src/engine/chain_sync/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

doc list item missing indentation

warning: doc list item missing indentation
  --> chain/src/engine/chain_sync/mod.rs:38:5
   |
38 | /// common block).    During this stage, the status is 'Unknown'
   |     ^
   |
   = help: if this is supposed to be its own paragraph, add a blank line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
   = note: `#[warn(clippy::doc_lazy_continuation)]` on by default
help: indent this line
   |
38 | ///    common block).    During this stage, the status is 'Unknown'
   |     +++