Skip to content
GitHub Actions / clippy failed Oct 23, 2024 in 1s

clippy

36 errors

Details

Results

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

Versions

  • rustc 1.82.0 (f6e511eec 2024-10-15)
  • cargo 1.82.0 (8f40fc59f 2024-08-21)
  • clippy 0.1.82 (f6e511e 2024-10-15)

Annotations

Check failure on line 90 in ibc-eureka-core/ics04-channel/src/handler/timeout.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

no method named `store_channel` found for mutable reference `&mut ExecCtx` in the current scope

error[E0599]: no method named `store_channel` found for mutable reference `&mut ExecCtx` in the current scope
  --> ibc-eureka-core/ics04-channel/src/handler/timeout.rs:90:19
   |
90 |             ctx_a.store_channel(&chan_end_path_on_a, chan_end_on_a.clone())?;
   |                   ^^^^^^^^^^^^^ method not found in `&mut ExecCtx`

Check failure on line 124 in ibc-eureka-core/ics04-channel/src/handler/send_packet.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

no method named `channel_end` found for mutable reference `&mut impl SendPacketExecutionContext` in the current scope

error[E0599]: no method named `channel_end` found for mutable reference `&mut impl SendPacketExecutionContext` in the current scope
   --> ibc-eureka-core/ics04-channel/src/handler/send_packet.rs:124:35
    |
124 |         let chan_end_on_a = ctx_a.channel_end(&chan_end_path_on_a)?;
    |                                   ^^^^^^^^^^^ method not found in `&mut impl SendPacketExecutionContext`

Check failure on line 10 in ibc-eureka-core/ics04-channel/src/handler/timeout_on_close.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `ibc_primitives::proto::Protobuf`

error: unused import: `ibc_primitives::proto::Protobuf`
  --> ibc-eureka-core/ics04-channel/src/handler/timeout_on_close.rs:10:5
   |
10 | use ibc_primitives::proto::Protobuf;
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
note: the lint level is defined here
  --> ibc-eureka-core/ics04-channel/src/lib.rs:9:5
   |
9  |     warnings,
   |     ^^^^^^^^
   = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]`

Check failure on line 106 in ibc-eureka-core/ics04-channel/src/handler/timeout_on_close.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

cannot find value `chan_end_on_a` in this scope

error[E0425]: cannot find value `chan_end_on_a` in this scope
   --> ibc-eureka-core/ics04-channel/src/handler/timeout_on_close.rs:106:29
    |
106 |                     actual: chan_end_on_a.ordering.to_string(),
    |                             ^^^^^^^^^^^^^ help: a local variable with a similar name exists: `channel_id_on_a`

Check failure on line 103 in ibc-eureka-core/ics04-channel/src/handler/timeout_on_close.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

failed to resolve: use of undeclared type `Order`

error[E0433]: failed to resolve: use of undeclared type `Order`
   --> ibc-eureka-core/ics04-channel/src/handler/timeout_on_close.rs:103:13
    |
103 |             Order::None => {
    |             ^^^^^ use of undeclared type `Order`
    |
help: consider importing one of these enums
    |
1   + use crate::types::proto::v1::Order;
    |
1   + use ibc_eureka_core_channel_types::proto::v1::Order;
    |

Check failure on line 93 in ibc-eureka-core/ics04-channel/src/handler/timeout_on_close.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

failed to resolve: use of undeclared type `Order`

error[E0433]: failed to resolve: use of undeclared type `Order`
  --> ibc-eureka-core/ics04-channel/src/handler/timeout_on_close.rs:93:13
   |
93 |             Order::Unordered => {
   |             ^^^^^ use of undeclared type `Order`
   |
help: consider importing one of these enums
   |
1  + use crate::types::proto::v1::Order;
   |
1  + use ibc_eureka_core_channel_types::proto::v1::Order;
   |

Check failure on line 76 in ibc-eureka-core/ics04-channel/src/handler/timeout_on_close.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

failed to resolve: use of undeclared type `Order`

error[E0433]: failed to resolve: use of undeclared type `Order`
  --> ibc-eureka-core/ics04-channel/src/handler/timeout_on_close.rs:76:13
   |
76 |             Order::Ordered => {
   |             ^^^^^ use of undeclared type `Order`
   |
help: consider importing one of these enums
   |
1  + use crate::types::proto::v1::Order;
   |
1  + use ibc_eureka_core_channel_types::proto::v1::Order;
   |

Check failure on line 75 in ibc-eureka-core/ics04-channel/src/handler/timeout_on_close.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

cannot find value `chan_end_on_a` in this scope

error[E0425]: cannot find value `chan_end_on_a` in this scope
  --> ibc-eureka-core/ics04-channel/src/handler/timeout_on_close.rs:75:55
   |
75 |         let next_seq_recv_verification_result = match chan_end_on_a.ordering {
   |                                                       ^^^^^^^^^^^^^ help: a local variable with a similar name exists: `channel_id_on_a`

Check failure on line 226 in ibc-eureka-core/ics04-channel/src/handler/timeout.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

cannot find value `chan_end_on_a` in this scope

error[E0425]: cannot find value `chan_end_on_a` in this scope
   --> ibc-eureka-core/ics04-channel/src/handler/timeout.rs:226:29
    |
226 |                     actual: chan_end_on_a.ordering.to_string(),
    |                             ^^^^^^^^^^^^^ help: a local variable with a similar name exists: `channel_id_on_a`

Check failure on line 223 in ibc-eureka-core/ics04-channel/src/handler/timeout.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

failed to resolve: use of undeclared type `Order`

error[E0433]: failed to resolve: use of undeclared type `Order`
   --> ibc-eureka-core/ics04-channel/src/handler/timeout.rs:223:13
    |
223 |             Order::None => {
    |             ^^^^^ use of undeclared type `Order`
    |
help: consider importing one of these enums
    |
1   + use crate::types::proto::v1::Order;
    |
1   + use ibc_eureka_core_channel_types::proto::v1::Order;
    |

Check failure on line 213 in ibc-eureka-core/ics04-channel/src/handler/timeout.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

failed to resolve: use of undeclared type `Order`

error[E0433]: failed to resolve: use of undeclared type `Order`
   --> ibc-eureka-core/ics04-channel/src/handler/timeout.rs:213:13
    |
213 |             Order::Unordered => {
    |             ^^^^^ use of undeclared type `Order`
    |
help: consider importing one of these enums
    |
1   + use crate::types::proto::v1::Order;
    |
1   + use ibc_eureka_core_channel_types::proto::v1::Order;
    |

Check failure on line 196 in ibc-eureka-core/ics04-channel/src/handler/timeout.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

failed to resolve: use of undeclared type `Order`

error[E0433]: failed to resolve: use of undeclared type `Order`
   --> ibc-eureka-core/ics04-channel/src/handler/timeout.rs:196:13
    |
196 |             Order::Ordered => {
    |             ^^^^^ use of undeclared type `Order`
    |
help: consider importing one of these enums
    |
1   + use crate::types::proto::v1::Order;
    |
1   + use ibc_eureka_core_channel_types::proto::v1::Order;
    |

Check failure on line 195 in ibc-eureka-core/ics04-channel/src/handler/timeout.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

cannot find value `chan_end_on_a` in this scope

error[E0425]: cannot find value `chan_end_on_a` in this scope
   --> ibc-eureka-core/ics04-channel/src/handler/timeout.rs:195:55
    |
195 |         let next_seq_recv_verification_result = match chan_end_on_a.ordering {
    |                                                       ^^^^^^^^^^^^^ help: a local variable with a similar name exists: `channel_id_on_a`

Check failure on line 102 in ibc-eureka-core/ics04-channel/src/handler/timeout.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

failed to resolve: use of undeclared type `Order`

error[E0433]: failed to resolve: use of undeclared type `Order`
   --> ibc-eureka-core/ics04-channel/src/handler/timeout.rs:102:16
    |
102 |         if let Order::Ordered = chan_end_on_a.ordering {
    |                ^^^^^ use of undeclared type `Order`
    |
help: consider importing one of these enums
    |
1   + use crate::types::proto::v1::Order;
    |
1   + use ibc_eureka_core_channel_types::proto::v1::Order;
    |

Check failure on line 94 in ibc-eureka-core/ics04-channel/src/handler/timeout.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

cannot find value `chan_end_on_a` in this scope

error[E0425]: cannot find value `chan_end_on_a` in this scope
  --> ibc-eureka-core/ics04-channel/src/handler/timeout.rs:94:13
   |
94 |             chan_end_on_a
   |             ^^^^^^^^^^^^^
   |
help: the binding `chan_end_on_a` is available in a different scope in the same function
  --> ibc-eureka-core/ics04-channel/src/handler/timeout.rs:88:21
   |
88 |             let mut chan_end_on_a = chan_end_on_a;
   |                     ^^^^^^^^^^^^^

Check failure on line 88 in ibc-eureka-core/ics04-channel/src/handler/timeout.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

cannot find value `chan_end_on_a` in this scope

error[E0425]: cannot find value `chan_end_on_a` in this scope
  --> ibc-eureka-core/ics04-channel/src/handler/timeout.rs:88:37
   |
88 |             let mut chan_end_on_a = chan_end_on_a;
   |                                     ^^^^^^^^^^^^^ help: a local variable with a similar name exists: `channel_id_on_a`

Check failure on line 87 in ibc-eureka-core/ics04-channel/src/handler/timeout.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

failed to resolve: use of undeclared type `Order`

error[E0433]: failed to resolve: use of undeclared type `Order`
  --> ibc-eureka-core/ics04-channel/src/handler/timeout.rs:87:16
   |
87 |         if let Order::Ordered = chan_end_on_a.ordering {
   |                ^^^^^ use of undeclared type `Order`
   |
help: consider importing one of these enums
   |
1  + use crate::types::proto::v1::Order;
   |
1  + use ibc_eureka_core_channel_types::proto::v1::Order;
   |

Check failure on line 87 in ibc-eureka-core/ics04-channel/src/handler/timeout.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

cannot find value `chan_end_on_a` in this scope

error[E0425]: cannot find value `chan_end_on_a` in this scope
  --> ibc-eureka-core/ics04-channel/src/handler/timeout.rs:87:33
   |
87 |         if let Order::Ordered = chan_end_on_a.ordering {
   |                                 ^^^^^^^^^^^^^ help: a local variable with a similar name exists: `channel_id_on_a`

Check failure on line 231 in ibc-eureka-core/ics04-channel/src/handler/recv_packet.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

cannot find value `chan_end_on_b` in this scope

error[E0425]: cannot find value `chan_end_on_b` in this scope
   --> ibc-eureka-core/ics04-channel/src/handler/recv_packet.rs:231:25
    |
231 |                 actual: chan_end_on_b.ordering.to_string(),
    |                         ^^^^^^^^^^^^^ help: a local variable with a similar name exists: `channel_id_on_b`

Check failure on line 228 in ibc-eureka-core/ics04-channel/src/handler/recv_packet.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

failed to resolve: use of undeclared type `Order`

error[E0433]: failed to resolve: use of undeclared type `Order`
   --> ibc-eureka-core/ics04-channel/src/handler/recv_packet.rs:228:9
    |
228 |         Order::None => {
    |         ^^^^^ use of undeclared type `Order`
    |
help: consider importing one of these enums
    |
1   + use crate::types::proto::v1::Order;
    |
1   + use ibc_eureka_core_channel_types::proto::v1::Order;
    |

Check failure on line 218 in ibc-eureka-core/ics04-channel/src/handler/recv_packet.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

failed to resolve: use of undeclared type `Order`

error[E0433]: failed to resolve: use of undeclared type `Order`
   --> ibc-eureka-core/ics04-channel/src/handler/recv_packet.rs:218:9
    |
218 |         Order::Unordered => {
    |         ^^^^^ use of undeclared type `Order`
    |
help: consider importing one of these enums
    |
1   + use crate::types::proto::v1::Order;
    |
1   + use ibc_eureka_core_channel_types::proto::v1::Order;
    |

Check failure on line 202 in ibc-eureka-core/ics04-channel/src/handler/recv_packet.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

failed to resolve: use of undeclared type `Order`

error[E0433]: failed to resolve: use of undeclared type `Order`
   --> ibc-eureka-core/ics04-channel/src/handler/recv_packet.rs:202:9
    |
202 |         Order::Ordered => {
    |         ^^^^^ use of undeclared type `Order`
    |
help: consider importing one of these enums
    |
1   + use crate::types::proto::v1::Order;
    |
1   + use ibc_eureka_core_channel_types::proto::v1::Order;
    |

Check failure on line 201 in ibc-eureka-core/ics04-channel/src/handler/recv_packet.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

cannot find value `chan_end_on_b` in this scope

error[E0425]: cannot find value `chan_end_on_b` in this scope
   --> ibc-eureka-core/ics04-channel/src/handler/recv_packet.rs:201:11
    |
201 |     match chan_end_on_b.ordering {
    |           ^^^^^^^^^^^^^ help: a local variable with a similar name exists: `channel_id_on_b`

Check failure on line 144 in ibc-eureka-core/ics04-channel/src/handler/recv_packet.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

failed to resolve: use of undeclared type `Counterparty`

error[E0433]: failed to resolve: use of undeclared type `Counterparty`
   --> ibc-eureka-core/ics04-channel/src/handler/recv_packet.rs:144:24
    |
144 |     let counterparty = Counterparty::new(port_id_on_a.clone(), Some(channel_id_on_a.clone()));
    |                        ^^^^^^^^^^^^ use of undeclared type `Counterparty`
    |
help: consider importing one of these structs
    |
1   + use crate::types::proto::v1::Counterparty;
    |
1   + use ibc_eureka_core_channel_types::proto::v1::Counterparty;
    |

Check failure on line 86 in ibc-eureka-core/ics04-channel/src/handler/recv_packet.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

failed to resolve: use of undeclared type `Order`

error[E0433]: failed to resolve: use of undeclared type `Order`
  --> ibc-eureka-core/ics04-channel/src/handler/recv_packet.rs:86:13
   |
86 |             Order::Ordered => {
   |             ^^^^^ use of undeclared type `Order`
   |
help: consider importing one of these enums
   |
1  + use crate::types::proto::v1::Order;
   |
1  + use ibc_eureka_core_channel_types::proto::v1::Order;
   |