Update ibc-proto and ibc-rs #413
clippy
13 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 13 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.78.0 (9b00956e5 2024-04-29)
- cargo 1.78.0 (54d8815d0 2024-03-26)
- clippy 0.1.78 (9b00956 2024-04-29)
Annotations
Check failure on line 2 in clients/sov-celestia/src/client_state/common.rs
github-actions / clippy
unused import: `borsh::BorshSerialize`
error: unused import: `borsh::BorshSerialize`
--> clients/sov-celestia/src/client_state/common.rs:2:5
|
2 | use borsh::BorshSerialize;
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]`
Check failure on line 222 in clients/sov-celestia/src/client_state/common.rs
github-actions / clippy
no method named `try_to_vec` found for enum `ibc_core::host::types::path::UpgradeClientPath` in the current scope
error[E0599]: no method named `try_to_vec` found for enum `ibc_core::host::types::path::UpgradeClientPath` in the current scope
--> clients/sov-celestia/src/client_state/common.rs:222:52
|
222 | ("upgraded_consensus_state_map", p.try_to_vec())
| ^^^^^^^^^^ method not found in `UpgradeClientPath`
Check failure on line 219 in clients/sov-celestia/src/client_state/common.rs
github-actions / clippy
no method named `try_to_vec` found for enum `ibc_core::host::types::path::UpgradeClientPath` in the current scope
error[E0599]: no method named `try_to_vec` found for enum `ibc_core::host::types::path::UpgradeClientPath` in the current scope
--> clients/sov-celestia/src/client_state/common.rs:219:49
|
219 | ("upgraded_client_state_map", p.try_to_vec())
| ^^^^^^^^^^ method not found in `UpgradeClientPath`
Check failure on line 216 in clients/sov-celestia/src/client_state/common.rs
github-actions / clippy
no method named `try_to_vec` found for struct `ibc_core::host::types::path::ReceiptPath` in the current scope
error[E0599]: no method named `try_to_vec` found for struct `ibc_core::host::types::path::ReceiptPath` in the current scope
--> clients/sov-celestia/src/client_state/common.rs:216:54
|
216 | Path::Receipt(p) => ("packet_receipt_map", p.try_to_vec()),
| ^^^^^^^^^^ method not found in `ReceiptPath`
Check failure on line 215 in clients/sov-celestia/src/client_state/common.rs
github-actions / clippy
no method named `try_to_vec` found for struct `ibc_core::host::types::path::AckPath` in the current scope
error[E0599]: no method named `try_to_vec` found for struct `ibc_core::host::types::path::AckPath` in the current scope
--> clients/sov-celestia/src/client_state/common.rs:215:46
|
215 | Path::Ack(p) => ("packet_ack_map", p.try_to_vec()),
| ^^^^^^^^^^ method not found in `AckPath`
Check failure on line 214 in clients/sov-celestia/src/client_state/common.rs
github-actions / clippy
no method named `try_to_vec` found for struct `ibc_core::host::types::path::CommitmentPath` in the current scope
error[E0599]: no method named `try_to_vec` found for struct `ibc_core::host::types::path::CommitmentPath` in the current scope
--> clients/sov-celestia/src/client_state/common.rs:214:60
|
214 | Path::Commitment(p) => ("packet_commitment_map", p.try_to_vec()),
| ^^^^^^^^^^ method not found in `CommitmentPath`
Check failure on line 213 in clients/sov-celestia/src/client_state/common.rs
github-actions / clippy
no method named `try_to_vec` found for struct `ibc_core::host::types::path::SeqAckPath` in the current scope
error[E0599]: no method named `try_to_vec` found for struct `ibc_core::host::types::path::SeqAckPath` in the current scope
--> clients/sov-celestia/src/client_state/common.rs:213:51
|
213 | Path::SeqAck(p) => ("ack_sequence_map", p.try_to_vec()),
| ^^^^^^^^^^ method not found in `SeqAckPath`
Check failure on line 212 in clients/sov-celestia/src/client_state/common.rs
github-actions / clippy
no method named `try_to_vec` found for struct `ibc_core::host::types::path::SeqRecvPath` in the current scope
error[E0599]: no method named `try_to_vec` found for struct `ibc_core::host::types::path::SeqRecvPath` in the current scope
--> clients/sov-celestia/src/client_state/common.rs:212:53
|
212 | Path::SeqRecv(p) => ("recv_sequence_map", p.try_to_vec()),
| ^^^^^^^^^^ method not found in `SeqRecvPath`
Check failure on line 211 in clients/sov-celestia/src/client_state/common.rs
github-actions / clippy
no method named `try_to_vec` found for struct `ibc_core::host::types::path::SeqSendPath` in the current scope
error[E0599]: no method named `try_to_vec` found for struct `ibc_core::host::types::path::SeqSendPath` in the current scope
--> clients/sov-celestia/src/client_state/common.rs:211:53
|
211 | Path::SeqSend(p) => ("send_sequence_map", p.try_to_vec()),
| ^^^^^^^^^^ method not found in `SeqSendPath`
Check failure on line 210 in clients/sov-celestia/src/client_state/common.rs
github-actions / clippy
no method named `try_to_vec` found for struct `ibc_core::host::types::path::ChannelEndPath` in the current scope
error[E0599]: no method named `try_to_vec` found for struct `ibc_core::host::types::path::ChannelEndPath` in the current scope
--> clients/sov-celestia/src/client_state/common.rs:210:54
|
210 | Path::ChannelEnd(p) => ("channel_end_map", p.try_to_vec()),
| ^^^^^^^^^^ method not found in `ChannelEndPath`
Check failure on line 209 in clients/sov-celestia/src/client_state/common.rs
github-actions / clippy
no method named `try_to_vec` found for struct `ibc_core::host::types::path::ConnectionPath` in the current scope
error[E0599]: no method named `try_to_vec` found for struct `ibc_core::host::types::path::ConnectionPath` in the current scope
--> clients/sov-celestia/src/client_state/common.rs:209:57
|
209 | Path::Connection(p) => ("connection_end_map", p.try_to_vec()),
| ^^^^^^^^^^ method not found in `ConnectionPath`
Check failure on line 208 in clients/sov-celestia/src/client_state/common.rs
github-actions / clippy
no method named `try_to_vec` found for struct `ibc_core::host::types::path::ClientConsensusStatePath` in the current scope
error[E0599]: no method named `try_to_vec` found for struct `ibc_core::host::types::path::ClientConsensusStatePath` in the current scope
--> clients/sov-celestia/src/client_state/common.rs:208:68
|
208 | Path::ClientConsensusState(p) => ("consensus_state_map", p.try_to_vec()),
| ^^^^^^^^^^ method not found in `ClientConsensusStatePath`
|
help: some of the expressions' fields have a method of the same name
|
208 | Path::ClientConsensusState(p) => ("consensus_state_map", p.revision_height.try_to_vec()),
| ++++++++++++++++
208 | Path::ClientConsensusState(p) => ("consensus_state_map", p.revision_number.try_to_vec()),
| ++++++++++++++++
Check failure on line 207 in clients/sov-celestia/src/client_state/common.rs
github-actions / clippy
no method named `try_to_vec` found for struct `ibc_core::host::types::path::ClientStatePath` in the current scope
error[E0599]: no method named `try_to_vec` found for struct `ibc_core::host::types::path::ClientStatePath` in the current scope
--> clients/sov-celestia/src/client_state/common.rs:207:56
|
207 | Path::ClientState(p) => ("client_state_map", p.try_to_vec()),
| ^^^^^^^^^^ method not found in `ClientStatePath`