Skip to content

solana-ibc: don’t enable std in ibc dependency #102

solana-ibc: don’t enable std in ibc dependency

solana-ibc: don’t enable std in ibc dependency #102

Triggered via pull request October 11, 2023 16:55
@mina86mina86
opened #20
mpn/a
Status Failure
Total duration 10m 20s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

master.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

30 errors and 1 warning
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#L911
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<_>>`
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#L903
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<_>>`
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#L788
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<_>>`
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#L677
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<_>>`
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#L235
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>`
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#L235
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`
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#L133
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| { |
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#L135
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`
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#L134
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`
unresolved import `tendermint`: /home/runner/.cargo/git/checkouts/ibc-rs-1bf3dffbb9af5374/d1ac9ad/crates/ibc/src/hosts/tendermint/upgrade_proposal/events.rs#L8
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`
unresolved import `tendermint`: /home/runner/.cargo/git/checkouts/ibc-rs-1bf3dffbb9af5374/d1ac9ad/crates/ibc/src/core/timestamp.rs#L11
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`
unresolved import `tendermint`: /home/runner/.cargo/git/checkouts/ibc-rs-1bf3dffbb9af5374/d1ac9ad/crates/ibc/src/core/events.rs#L6
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`
unresolved import `tendermint`: /home/runner/.cargo/git/checkouts/ibc-rs-1bf3dffbb9af5374/d1ac9ad/crates/ibc/src/core/ics04_channel/events.rs#L6
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`
unresolved import `tendermint`: /home/runner/.cargo/git/checkouts/ibc-rs-1bf3dffbb9af5374/d1ac9ad/crates/ibc/src/core/ics04_channel/events/packet_attributes.rs#L8
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`
unresolved import `tendermint`: /home/runner/.cargo/git/checkouts/ibc-rs-1bf3dffbb9af5374/d1ac9ad/crates/ibc/src/core/ics04_channel/events/channel_attributes.rs#L4
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`
unresolved import `tendermint`: /home/runner/.cargo/git/checkouts/ibc-rs-1bf3dffbb9af5374/d1ac9ad/crates/ibc/src/core/ics03_connection/events.rs#L3
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`
unresolved import `tendermint`: /home/runner/.cargo/git/checkouts/ibc-rs-1bf3dffbb9af5374/d1ac9ad/crates/ibc/src/core/ics02_client/events.rs#L4
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`
unresolved import `tendermint`: /home/runner/.cargo/git/checkouts/ibc-rs-1bf3dffbb9af5374/d1ac9ad/crates/ibc/src/clients/ics07_tendermint/error.rs#L6
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`
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#L10
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`
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#L15
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`
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#L14
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`
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#L13
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`
unresolved import `tendermint`: /home/runner/.cargo/git/checkouts/ibc-rs-1bf3dffbb9af5374/d1ac9ad/crates/ibc/src/clients/ics07_tendermint/consensus_state.rs#L8
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`
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#L7
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`
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#L6
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`
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/client_state.rs#L19
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/client_state.rs:19:5 | 19 | use tendermint::trust_threshold::TrustThresholdFraction as TendermintTrustThresholdFraction; | ^^^^^^^^^^ use of undeclared crate or module `tendermint`
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/client_state.rs#L18
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/client_state.rs:18:5 | 18 | use tendermint::chain::id::MAX_LENGTH as MaxChainIdLen; | ^^^^^^^^^^ use of undeclared crate or module `tendermint`
failed to resolve: use of undeclared crate or module `tendermint`: /home/runner/.cargo/git/checkouts/ibc-rs-1bf3dffbb9af5374/d1ac9ad/crates/ibc/src/hosts/tendermint/validate_self_client.rs#L6
error[E0433]: failed to resolve: use of undeclared crate or module `tendermint` --> /home/runner/.cargo/git/checkouts/ibc-rs-1bf3dffbb9af5374/d1ac9ad/crates/ibc/src/hosts/tendermint/validate_self_client.rs:6:5 | 6 | use tendermint::trust_threshold::TrustThresholdFraction as TendermintTrustThresholdFraction; | ^^^^^^^^^^ use of undeclared crate or module `tendermint`
failed to resolve: use of undeclared crate or module `tendermint`: /home/runner/.cargo/git/checkouts/ibc-rs-1bf3dffbb9af5374/d1ac9ad/crates/ibc/src/hosts/tendermint/upgrade_proposal/handler.rs#L3
error[E0433]: failed to resolve: use of undeclared crate or module `tendermint` --> /home/runner/.cargo/git/checkouts/ibc-rs-1bf3dffbb9af5374/d1ac9ad/crates/ibc/src/hosts/tendermint/upgrade_proposal/handler.rs:3:5 | 3 | use tendermint::abci::Event as TmEvent; | ^^^^^^^^^^ use of undeclared crate or module `tendermint`
Miscellaneous checks
Clippy had exited with the 101 exit code
Miscellaneous checks
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/