Skip to content

chore(deps): update ibc-proto and tendermint dependencies #301

chore(deps): update ibc-proto and tendermint dependencies

chore(deps): update ibc-proto and tendermint dependencies #301

GitHub Actions / clippy failed Apr 24, 2024 in 0s

clippy

8 errors

Details

Results

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

Versions

  • rustc 1.77.2 (25ef9e3d8 2024-04-09)
  • cargo 1.77.2 (e52e36006 2024-03-26)
  • clippy 0.1.77 (25ef9e3 2024-04-09)

Annotations

Check failure on line 47 in ibc-clients/ics07-tendermint/types/src/misbehaviour.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the `Err`-variant returned from this function is very large

error: the `Err`-variant returned from this function is very large
  --> ibc-clients/ics07-tendermint/types/src/misbehaviour.rs:47:71
   |
47 |     pub fn validate_basic<H: MerkleHash + Sha256 + Default>(&self) -> Result<(), Error> {
   |                                                                       ^^^^^^^^^^^^^^^^^
   |
  ::: ibc-clients/ics07-tendermint/types/src/error.rs:79:5
   |
79 |     VerificationError { detail: LightClientErrorDetail },
   |     ---------------------------------------------------- the largest variant contains at least 152 bytes
   |
   = help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err

Check failure on line 122 in ibc-clients/ics07-tendermint/types/src/header.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the `Err`-variant returned from this function is very large

error: the `Err`-variant returned from this function is very large
   --> ibc-clients/ics07-tendermint/types/src/header.rs:122:71
    |
122 |     pub fn validate_basic<H: MerkleHash + Sha256 + Default>(&self) -> Result<(), Error> {
    |                                                                       ^^^^^^^^^^^^^^^^^
    |
   ::: ibc-clients/ics07-tendermint/types/src/error.rs:79:5
    |
79  |     VerificationError { detail: LightClientErrorDetail },
    |     ---------------------------------------------------- the largest variant contains at least 152 bytes
    |
    = help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err

Check failure on line 93 in ibc-clients/ics07-tendermint/types/src/header.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the `Err`-variant returned from this function is very large

error: the `Err`-variant returned from this function is very large
  --> ibc-clients/ics07-tendermint/types/src/header.rs:93:81
   |
93 |     pub fn verify_chain_id_version_matches_height(&self, chain_id: &ChainId) -> Result<(), Error> {
   |                                                                                 ^^^^^^^^^^^^^^^^^
   |
  ::: ibc-clients/ics07-tendermint/types/src/error.rs:79:5
   |
79 |     VerificationError { detail: LightClientErrorDetail },
   |     ---------------------------------------------------- the largest variant contains at least 152 bytes
   |
   = help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err

Check failure on line 77 in ibc-clients/ics07-tendermint/types/src/header.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the `Err`-variant returned from this function is very large

error: the `Err`-variant returned from this function is very large
  --> ibc-clients/ics07-tendermint/types/src/header.rs:77:10
   |
77 |     ) -> Result<TrustedBlockState<'a>, Error> {
   |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
  ::: ibc-clients/ics07-tendermint/types/src/error.rs:79:5
   |
79 |     VerificationError { detail: LightClientErrorDetail },
   |     ---------------------------------------------------- the largest variant contains at least 152 bytes
   |
   = help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err

Check failure on line 203 in ibc-clients/ics07-tendermint/types/src/client_state.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the `Err`-variant returned from this function is very large

error: the `Err`-variant returned from this function is very large
   --> ibc-clients/ics07-tendermint/types/src/client_state.rs:203:46
    |
203 |     pub fn as_light_client_options(&self) -> Result<Options, Error> {
    |                                              ^^^^^^^^^^^^^^^^^^^^^^
    |
   ::: ibc-clients/ics07-tendermint/types/src/error.rs:79:5
    |
79  |     VerificationError { detail: LightClientErrorDetail },
    |     ---------------------------------------------------- the largest variant contains at least 152 bytes
    |
    = help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err

Check failure on line 122 in ibc-clients/ics07-tendermint/types/src/client_state.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the `Err`-variant returned from this function is very large

error: the `Err`-variant returned from this function is very large
   --> ibc-clients/ics07-tendermint/types/src/client_state.rs:122:31
    |
122 |     pub fn validate(&self) -> Result<(), Error> {
    |                               ^^^^^^^^^^^^^^^^^
    |
   ::: ibc-clients/ics07-tendermint/types/src/error.rs:79:5
    |
79  |     VerificationError { detail: LightClientErrorDetail },
    |     ---------------------------------------------------- the largest variant contains at least 152 bytes
    |
    = help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err

Check failure on line 108 in ibc-clients/ics07-tendermint/types/src/client_state.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the `Err`-variant returned from this function is very large

error: the `Err`-variant returned from this function is very large
   --> ibc-clients/ics07-tendermint/types/src/client_state.rs:108:51
    |
108 |     pub fn with_header(self, header: TmHeader) -> Result<Self, Error> {
    |                                                   ^^^^^^^^^^^^^^^^^^^
    |
   ::: ibc-clients/ics07-tendermint/types/src/error.rs:79:5
    |
79  |     VerificationError { detail: LightClientErrorDetail },
    |     ---------------------------------------------------- the largest variant contains at least 152 bytes
    |
    = help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err

Check failure on line 91 in ibc-clients/ics07-tendermint/types/src/client_state.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the `Err`-variant returned from this function is very large

error: the `Err`-variant returned from this function is very large
  --> ibc-clients/ics07-tendermint/types/src/client_state.rs:91:10
   |
91 |     ) -> Result<Self, Error> {
   |          ^^^^^^^^^^^^^^^^^^^
   |
  ::: ibc-clients/ics07-tendermint/types/src/error.rs:79:5
   |
79 |     VerificationError { detail: LightClientErrorDetail },
   |     ---------------------------------------------------- the largest variant contains at least 152 bytes
   |
   = help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
note: the lint level is defined here
  --> ibc-clients/ics07-tendermint/types/src/lib.rs:8:5
   |
8  |     warnings,
   |     ^^^^^^^^
   = note: `#[deny(clippy::result_large_err)]` implied by `#[deny(warnings)]`