solana-ibc: don’t enable std in ibc dependency #102
clippy
29 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 29 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.75.0-nightly (d627cf07c 2023-10-10)
- cargo 1.75.0-nightly (794d0a825 2023-10-03)
- clippy 0.1.75 (d627cf0 2023-10-10)
Annotations
github-actions / clippy
the trait bound `alloc::vec::Vec<_>: core::convert::From<AcknowledgementAttribute>` is not satisfied
error[E0277]: the trait bound `alloc::vec::Vec<_>: core::convert::From<AcknowledgementAttribute>` is not satisfied
--> /home/runner/.cargo/git/checkouts/ibc-rs-1bf3dffbb9af5374/d1ac9ad/crates/ibc/src/core/ics04_channel/events.rs:911:50
|
911 | attributes.append(&mut v.acknowledgement.try_into()?);
| ^^^^^^^^ the trait `core::convert::From<AcknowledgementAttribute>` is not implemented for `alloc::vec::Vec<_>`
|
= help: the following other types implement trait `core::convert::From<T>`:
<alloc::vec::Vec<u8> as core::convert::From<bytes::Bytes>>
<alloc::vec::Vec<u8> as core::convert::From<BytesMut>>
<alloc::vec::Vec<u8> as core::convert::From<ics04_channel::acknowledgement::Acknowledgement>>
<alloc::vec::Vec<u8> as core::convert::From<AcknowledgementStatus>>
<alloc::vec::Vec<u8> as core::convert::From<CommitmentProofBytes>>
<alloc::vec::Vec<u8> as core::convert::From<CString>>
<alloc::vec::Vec<u8> as core::convert::From<alloc::string::String>>
<alloc::vec::Vec<u8> as core::convert::From<tendermint::account::Id>>
and 14 others
= note: required for `AcknowledgementAttribute` to implement `core::convert::Into<alloc::vec::Vec<_>>`
= note: required for `alloc::vec::Vec<_>` to implement `TryFrom<AcknowledgementAttribute>`
= note: required for `AcknowledgementAttribute` to implement `TryInto<alloc::vec::Vec<_>>`
github-actions / clippy
the trait bound `alloc::vec::Vec<_>: core::convert::From<PacketDataAttribute>` is not satisfied
error[E0277]: the trait bound `alloc::vec::Vec<_>: core::convert::From<PacketDataAttribute>` is not satisfied
--> /home/runner/.cargo/git/checkouts/ibc-rs-1bf3dffbb9af5374/d1ac9ad/crates/ibc/src/core/ics04_channel/events.rs:903:46
|
903 | attributes.append(&mut v.packet_data.try_into()?);
| ^^^^^^^^ the trait `core::convert::From<PacketDataAttribute>` is not implemented for `alloc::vec::Vec<_>`
|
= help: the following other types implement trait `core::convert::From<T>`:
<alloc::vec::Vec<u8> as core::convert::From<bytes::Bytes>>
<alloc::vec::Vec<u8> as core::convert::From<BytesMut>>
<alloc::vec::Vec<u8> as core::convert::From<ics04_channel::acknowledgement::Acknowledgement>>
<alloc::vec::Vec<u8> as core::convert::From<AcknowledgementStatus>>
<alloc::vec::Vec<u8> as core::convert::From<CommitmentProofBytes>>
<alloc::vec::Vec<u8> as core::convert::From<CString>>
<alloc::vec::Vec<u8> as core::convert::From<alloc::string::String>>
<alloc::vec::Vec<u8> as core::convert::From<tendermint::account::Id>>
and 14 others
= note: required for `PacketDataAttribute` to implement `core::convert::Into<alloc::vec::Vec<_>>`
= note: required for `alloc::vec::Vec<_>` to implement `TryFrom<PacketDataAttribute>`
= note: required for `PacketDataAttribute` to implement `TryInto<alloc::vec::Vec<_>>`
github-actions / clippy
the trait bound `alloc::vec::Vec<_>: core::convert::From<PacketDataAttribute>` is not satisfied
error[E0277]: the trait bound `alloc::vec::Vec<_>: core::convert::From<PacketDataAttribute>` is not satisfied
--> /home/runner/.cargo/git/checkouts/ibc-rs-1bf3dffbb9af5374/d1ac9ad/crates/ibc/src/core/ics04_channel/events.rs:788:51
|
788 | attributes.append(&mut v.packet_data_attr.try_into()?);
| ^^^^^^^^ the trait `core::convert::From<PacketDataAttribute>` is not implemented for `alloc::vec::Vec<_>`
|
= help: the following other types implement trait `core::convert::From<T>`:
<alloc::vec::Vec<u8> as core::convert::From<bytes::Bytes>>
<alloc::vec::Vec<u8> as core::convert::From<BytesMut>>
<alloc::vec::Vec<u8> as core::convert::From<ics04_channel::acknowledgement::Acknowledgement>>
<alloc::vec::Vec<u8> as core::convert::From<AcknowledgementStatus>>
<alloc::vec::Vec<u8> as core::convert::From<CommitmentProofBytes>>
<alloc::vec::Vec<u8> as core::convert::From<CString>>
<alloc::vec::Vec<u8> as core::convert::From<alloc::string::String>>
<alloc::vec::Vec<u8> as core::convert::From<tendermint::account::Id>>
and 14 others
= note: required for `PacketDataAttribute` to implement `core::convert::Into<alloc::vec::Vec<_>>`
= note: required for `alloc::vec::Vec<_>` to implement `TryFrom<PacketDataAttribute>`
= note: required for `PacketDataAttribute` to implement `TryInto<alloc::vec::Vec<_>>`
github-actions / clippy
the trait bound `alloc::vec::Vec<_>: core::convert::From<PacketDataAttribute>` is not satisfied
error[E0277]: the trait bound `alloc::vec::Vec<_>: core::convert::From<PacketDataAttribute>` is not satisfied
--> /home/runner/.cargo/git/checkouts/ibc-rs-1bf3dffbb9af5374/d1ac9ad/crates/ibc/src/core/ics04_channel/events.rs:677:51
|
677 | attributes.append(&mut v.packet_data_attr.try_into()?);
| ^^^^^^^^ the trait `core::convert::From<PacketDataAttribute>` is not implemented for `alloc::vec::Vec<_>`
|
= help: the following other types implement trait `core::convert::From<T>`:
<alloc::vec::Vec<u8> as core::convert::From<bytes::Bytes>>
<alloc::vec::Vec<u8> as core::convert::From<BytesMut>>
<alloc::vec::Vec<u8> as core::convert::From<ics04_channel::acknowledgement::Acknowledgement>>
<alloc::vec::Vec<u8> as core::convert::From<AcknowledgementStatus>>
<alloc::vec::Vec<u8> as core::convert::From<CommitmentProofBytes>>
<alloc::vec::Vec<u8> as core::convert::From<CString>>
<alloc::vec::Vec<u8> as core::convert::From<alloc::string::String>>
<alloc::vec::Vec<u8> as core::convert::From<tendermint::account::Id>>
and 14 others
= note: required for `PacketDataAttribute` to implement `core::convert::Into<alloc::vec::Vec<_>>`
= note: required for `alloc::vec::Vec<_>` to implement `TryFrom<PacketDataAttribute>`
= note: required for `PacketDataAttribute` to implement `TryInto<alloc::vec::Vec<_>>`
github-actions / clippy
the trait bound `tendermint::trust_threshold::TrustThresholdFraction: core::convert::From<TrustThreshold>` is not satisfied
error[E0277]: the trait bound `tendermint::trust_threshold::TrustThresholdFraction: core::convert::From<TrustThreshold>` is not satisfied
--> /home/runner/.cargo/git/checkouts/ibc-rs-1bf3dffbb9af5374/d1ac9ad/crates/ibc/src/clients/ics07_tendermint/client_state.rs:235:47
|
235 | trust_threshold: self.trust_level.try_into().map_err(|e: ClientError| {
| ^^^^^^^^ the trait `core::convert::From<TrustThreshold>` is not implemented for `tendermint::trust_threshold::TrustThresholdFraction`
|
= note: required for `TrustThreshold` to implement `core::convert::Into<tendermint::trust_threshold::TrustThresholdFraction>`
= note: required for `tendermint::trust_threshold::TrustThresholdFraction` to implement `TryFrom<TrustThreshold>`
= note: required for `TrustThreshold` to implement `TryInto<tendermint::trust_threshold::TrustThresholdFraction>`
github-actions / clippy
type mismatch resolving `<TrustThresholdFraction as TryFrom<TrustThreshold>>::Error == ClientError`
error[E0271]: type mismatch resolving `<TrustThresholdFraction as TryFrom<TrustThreshold>>::Error == ClientError`
--> /home/runner/.cargo/git/checkouts/ibc-rs-1bf3dffbb9af5374/d1ac9ad/crates/ibc/src/clients/ics07_tendermint/client_state.rs:235:47
|
235 | trust_threshold: self.trust_level.try_into().map_err(|e: ClientError| {
| ^^^^^^^^ expected `Infallible`, found `ClientError`
github-actions / clippy
failed to resolve: use of undeclared crate or module `tendermint`
error[E0433]: failed to resolve: use of undeclared crate or module `tendermint`
--> /home/runner/.cargo/git/checkouts/ibc-rs-1bf3dffbb9af5374/d1ac9ad/crates/ibc/src/core/timestamp.rs:133:30
|
133 | .map_err(|e: tendermint::error::Error| {
| ^^^^^^^^^^ use of undeclared crate or module `tendermint`
|
help: consider importing one of these items
|
3 + use core::error;
|
3 + use crate::clients::ics07_tendermint::error;
|
3 + use time::error;
|
help: if you import `error`, refer to it directly
|
133 - .map_err(|e: tendermint::error::Error| {
133 + .map_err(|e: error::Error| {
|
github-actions / clippy
failed to resolve: use of undeclared crate or module `tendermint`
error[E0433]: failed to resolve: use of undeclared crate or module `tendermint`
--> /home/runner/.cargo/git/checkouts/ibc-rs-1bf3dffbb9af5374/d1ac9ad/crates/ibc/src/clients/ics07_tendermint/consensus_state.rs:135:21
|
135 | fn from(header: tendermint::block::Header) -> Self {
| ^^^^^^^^^^ use of undeclared crate or module `tendermint`
github-actions / clippy
failed to resolve: use of undeclared crate or module `tendermint`
error[E0433]: failed to resolve: use of undeclared crate or module `tendermint`
--> /home/runner/.cargo/git/checkouts/ibc-rs-1bf3dffbb9af5374/d1ac9ad/crates/ibc/src/clients/ics07_tendermint/consensus_state.rs:134:11
|
134 | impl From<tendermint::block::Header> for ConsensusState {
| ^^^^^^^^^^ use of undeclared crate or module `tendermint`
github-actions / clippy
unresolved import `tendermint`
error[E0432]: unresolved import `tendermint`
--> /home/runner/.cargo/git/checkouts/ibc-rs-1bf3dffbb9af5374/d1ac9ad/crates/ibc/src/hosts/tendermint/upgrade_proposal/events.rs:8:5
|
8 | use tendermint::abci;
| ^^^^^^^^^^ use of undeclared crate or module `tendermint`
github-actions / clippy
unresolved import `tendermint`
error[E0432]: unresolved import `tendermint`
--> /home/runner/.cargo/git/checkouts/ibc-rs-1bf3dffbb9af5374/d1ac9ad/crates/ibc/src/core/timestamp.rs:11:5
|
11 | use tendermint::Time;
| ^^^^^^^^^^ use of undeclared crate or module `tendermint`
github-actions / clippy
unresolved import `tendermint`
error[E0432]: unresolved import `tendermint`
--> /home/runner/.cargo/git/checkouts/ibc-rs-1bf3dffbb9af5374/d1ac9ad/crates/ibc/src/core/events.rs:6:5
|
6 | use tendermint::abci;
| ^^^^^^^^^^ use of undeclared crate or module `tendermint`
github-actions / clippy
unresolved import `tendermint`
error[E0432]: unresolved import `tendermint`
--> /home/runner/.cargo/git/checkouts/ibc-rs-1bf3dffbb9af5374/d1ac9ad/crates/ibc/src/core/ics04_channel/events.rs:6:5
|
6 | use tendermint::abci;
| ^^^^^^^^^^ use of undeclared crate or module `tendermint`
github-actions / clippy
unresolved import `tendermint`
error[E0432]: unresolved import `tendermint`
--> /home/runner/.cargo/git/checkouts/ibc-rs-1bf3dffbb9af5374/d1ac9ad/crates/ibc/src/core/ics04_channel/events/packet_attributes.rs:8:5
|
8 | use tendermint::abci;
| ^^^^^^^^^^ use of undeclared crate or module `tendermint`
github-actions / clippy
unresolved import `tendermint`
error[E0432]: unresolved import `tendermint`
--> /home/runner/.cargo/git/checkouts/ibc-rs-1bf3dffbb9af5374/d1ac9ad/crates/ibc/src/core/ics04_channel/events/channel_attributes.rs:4:5
|
4 | use tendermint::abci;
| ^^^^^^^^^^ use of undeclared crate or module `tendermint`
github-actions / clippy
unresolved import `tendermint`
error[E0432]: unresolved import `tendermint`
--> /home/runner/.cargo/git/checkouts/ibc-rs-1bf3dffbb9af5374/d1ac9ad/crates/ibc/src/core/ics03_connection/events.rs:3:5
|
3 | use tendermint::abci;
| ^^^^^^^^^^ use of undeclared crate or module `tendermint`
github-actions / clippy
unresolved import `tendermint`
error[E0432]: unresolved import `tendermint`
--> /home/runner/.cargo/git/checkouts/ibc-rs-1bf3dffbb9af5374/d1ac9ad/crates/ibc/src/core/ics02_client/events.rs:4:5
|
4 | use tendermint::abci;
| ^^^^^^^^^^ use of undeclared crate or module `tendermint`
github-actions / clippy
unresolved import `tendermint`
error[E0432]: unresolved import `tendermint`
--> /home/runner/.cargo/git/checkouts/ibc-rs-1bf3dffbb9af5374/d1ac9ad/crates/ibc/src/clients/ics07_tendermint/error.rs:6:5
|
6 | use tendermint::{Error as TendermintError, Hash};
| ^^^^^^^^^^ use of undeclared crate or module `tendermint`
github-actions / clippy
failed to resolve: use of undeclared crate or module `tendermint`
error[E0433]: failed to resolve: use of undeclared crate or module `tendermint`
--> /home/runner/.cargo/git/checkouts/ibc-rs-1bf3dffbb9af5374/d1ac9ad/crates/ibc/src/clients/ics07_tendermint/trust_threshold.rs:10:5
|
10 | use tendermint::trust_threshold::TrustThresholdFraction;
| ^^^^^^^^^^ use of undeclared crate or module `tendermint`
github-actions / clippy
failed to resolve: use of undeclared crate or module `tendermint`
error[E0433]: failed to resolve: use of undeclared crate or module `tendermint`
--> /home/runner/.cargo/git/checkouts/ibc-rs-1bf3dffbb9af5374/d1ac9ad/crates/ibc/src/clients/ics07_tendermint/header.rs:15:5
|
15 | use tendermint::validator::Set as ValidatorSet;
| ^^^^^^^^^^ use of undeclared crate or module `tendermint`
github-actions / clippy
failed to resolve: use of undeclared crate or module `tendermint`
error[E0433]: failed to resolve: use of undeclared crate or module `tendermint`
--> /home/runner/.cargo/git/checkouts/ibc-rs-1bf3dffbb9af5374/d1ac9ad/crates/ibc/src/clients/ics07_tendermint/header.rs:14:5
|
14 | use tendermint::chain::Id as TmChainId;
| ^^^^^^^^^^ use of undeclared crate or module `tendermint`
github-actions / clippy
failed to resolve: use of undeclared crate or module `tendermint`
error[E0433]: failed to resolve: use of undeclared crate or module `tendermint`
--> /home/runner/.cargo/git/checkouts/ibc-rs-1bf3dffbb9af5374/d1ac9ad/crates/ibc/src/clients/ics07_tendermint/header.rs:13:5
|
13 | use tendermint::block::signed_header::SignedHeader;
| ^^^^^^^^^^ use of undeclared crate or module `tendermint`
github-actions / clippy
unresolved import `tendermint`
error[E0432]: unresolved import `tendermint`
--> /home/runner/.cargo/git/checkouts/ibc-rs-1bf3dffbb9af5374/d1ac9ad/crates/ibc/src/clients/ics07_tendermint/consensus_state.rs:8:5
|
8 | use tendermint::Hash;
| ^^^^^^^^^^ use of undeclared crate or module `tendermint`
github-actions / clippy
failed to resolve: use of undeclared crate or module `tendermint`
error[E0433]: failed to resolve: use of undeclared crate or module `tendermint`
--> /home/runner/.cargo/git/checkouts/ibc-rs-1bf3dffbb9af5374/d1ac9ad/crates/ibc/src/clients/ics07_tendermint/consensus_state.rs:7:5
|
7 | use tendermint::time::Time;
| ^^^^^^^^^^ use of undeclared crate or module `tendermint`
github-actions / clippy
failed to resolve: use of undeclared crate or module `tendermint`
error[E0433]: failed to resolve: use of undeclared crate or module `tendermint`
--> /home/runner/.cargo/git/checkouts/ibc-rs-1bf3dffbb9af5374/d1ac9ad/crates/ibc/src/clients/ics07_tendermint/consensus_state.rs:6:5
|
6 | use tendermint::hash::Algorithm;
| ^^^^^^^^^^ use of undeclared crate or module `tendermint`