chore(deps): update dependencies #433
GitHub Actions / clippy
failed
Jun 19, 2024 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.79.0 (129f3b996 2024-06-10)
- cargo 1.79.0 (ffa9cf99a 2024-06-03)
- clippy 0.1.79 (129f3b9 2024-06-10)
Annotations
Check failure on line 79 in basecoin/src/tx/key_pair.rs
github-actions / clippy
mismatched types
error[E0308]: mismatched types
--> basecoin/src/tx/key_pair.rs:79:53
|
79 | let hashed_message: GenericArray<u8, U32> = Sha256::digest(message);
| --------------------- ^^^^^^^^^^^^^^^^^^^^^^^ expected `GenericArray<u8, UInt<..., ...>>`, found a different `GenericArray<u8, UInt<..., ...>>`
| |
| expected due to this
|
= note: `GenericArray<u8, UInt<..., ...>>` and `GenericArray<u8, UInt<..., ...>>` have similar names, but are actually distinct types
note: `GenericArray<u8, UInt<..., ...>>` is defined in crate `generic_array`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-0.14.7/src/lib.rs:179:1
|
179 | pub struct GenericArray<T, U: ArrayLength<T>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `GenericArray<u8, UInt<..., ...>>` is defined in crate `generic_array`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-1.0.0/src/lib.rs:434:1
|
434 | pub struct GenericArray<T, N: ArrayLength> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `generic_array` are being used?
Check failure on line 79 in basecoin/src/tx/key_pair.rs
github-actions / clippy
mismatched types
error[E0308]: mismatched types
--> basecoin/src/tx/key_pair.rs:79:53
|
79 | let hashed_message: GenericArray<u8, U32> = Sha256::digest(message);
| --------------------- ^^^^^^^^^^^^^^^^^^^^^^^ expected `GenericArray<u8, UInt<..., ...>>`, found a different `GenericArray<u8, UInt<..., ...>>`
| |
| expected due to this
|
= note: `GenericArray<u8, UInt<..., ...>>` and `GenericArray<u8, UInt<..., ...>>` have similar names, but are actually distinct types
note: `GenericArray<u8, UInt<..., ...>>` is defined in crate `generic_array`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-0.14.7/src/lib.rs:179:1
|
179 | pub struct GenericArray<T, U: ArrayLength<T>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `GenericArray<u8, UInt<..., ...>>` is defined in crate `generic_array`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/generic-array-1.0.0/src/lib.rs:434:1
|
434 | pub struct GenericArray<T, N: ArrayLength> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `generic_array` are being used?
Loading