Backport bug fixes from upstream. Wrong seq encoding #102
GitHub Actions / clippy
failed
Dec 17, 2023 in 0s
clippy
2 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 2 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.74.1 (a28077b28 2023-12-04)
- cargo 1.74.1 (ecb9851af 2023-10-18)
- clippy 0.1.74 (a28077b 2023-12-04)
Annotations
Check failure on line 396 in ibc-primitives/src/types/timestamp.rs
github-actions / clippy
no method named `try_to_vec` found for struct `types::timestamp::Timestamp` in the current scope
error[E0599]: no method named `try_to_vec` found for struct `types::timestamp::Timestamp` in the current scope
--> ibc-primitives/src/types/timestamp.rs:396:42
|
28 | pub struct Timestamp {
| -------------------- method `try_to_vec` not found for this struct
...
396 | let encode_timestamp = timestamp.try_to_vec().unwrap();
| ^^^^^^^^^^ method not found in `Timestamp`
Check failure on line 394 in ibc-primitives/src/types/timestamp.rs
github-actions / clippy
unused import: `BorshSerialize`
error: unused import: `BorshSerialize`
--> ibc-primitives/src/types/timestamp.rs:394:39
|
394 | use borsh::{BorshDeserialize, BorshSerialize};
| ^^^^^^^^^^^^^^
|
note: the lint level is defined here
--> ibc-primitives/src/lib.rs:7:5
|
7 | warnings,
| ^^^^^^^^
= note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]`
Loading