Skip to content
This repository has been archived by the owner on Feb 5, 2025. It is now read-only.

Update hotshot: 0.5.83 #470

Update hotshot: 0.5.83

Update hotshot: 0.5.83 #470

Triggered via pull request January 10, 2025 19:33
Status Failure
Total duration 2m 54s
Artifacts

coverage.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
coverage
Process completed with exit code 1.
the trait bound `hotshot_example_types::state_types::TestTypes: hotshot_types::traits::node_implementation::NodeType` is not satisfied because the trait comes from a different crate version: crates/shared/src/utils/event_serivce_wrapper.rs#L211
error[E0277]: the trait bound `hotshot_example_types::state_types::TestTypes: hotshot_types::traits::node_implementation::NodeType` is not satisfied because the trait comes from a different crate version --> crates/shared/src/utils/event_serivce_wrapper.rs:211:50 | 211 | let api = define_api::<MockEventsSource, _, MockVersion>(&Default::default()).unwrap(); | ^ the trait `hotshot_types::traits::node_implementation::NodeType` is not implemented for `hotshot_example_types::state_types::TestTypes` | help: trait impl with same name found --> /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/0cad927/crates/example-types/src/node_types.rs:54:1 | 54 | impl NodeType for TestTypes { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `hotshot_types` are being used? note: there are multiple different versions of crate `hotshot_types` in the dependency graph --> /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/9b28cba/crates/types/src/traits/node_implementation.rs:193:1 | 193 | / pub trait NodeType: 194 | | Clone 195 | | + Copy 196 | | + Debug ... | 206 | | + Sync 207 | | + 'static | |_____________^ this is the required trait | ::: crates/shared/src/block.rs:6:5 | 6 | use hotshot_types::data::{fake_commitment, Leaf2}; | ------------- one version of crate `hotshot_types` is used here, as a direct dependency of the current crate | ::: /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/0cad927/crates/example-types/src/node_types.rs:53:1 | 53 | pub struct TestTypes; | -------------------- this type doesn't implement the required trait | ::: /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/0cad927/crates/types/src/data.rs:801:1 | 801 | pub trait TestableLeaf { | ---------------------- this is the found trait | ::: crates/shared/src/utils/event_serivce_wrapper.rs:10:5 | 10 | use hotshot_events_service::events::Error as EventStreamError; | ---------------------- one version of crate `hotshot_types` is used here, as a dependency of crate `hotshot_events_service` = help: you can use `cargo tree` to explore your dependency tree
the trait bound `hotshot_example_types::state_types::TestTypes: hotshot_types::traits::node_implementation::NodeType` is not satisfied because the trait comes from a different crate version: crates/shared/src/utils/event_serivce_wrapper.rs#L187
error[E0277]: the trait bound `hotshot_example_types::state_types::TestTypes: hotshot_types::traits::node_implementation::NodeType` is not satisfied because the trait comes from a different crate version --> crates/shared/src/utils/event_serivce_wrapper.rs:187:68 | 187 | async fn get_startup_info(&self) -> StartupInfo<TestTypes> { | ____________________________________________________________________^ 188 | | StartupInfo { 189 | | known_node_with_stake: Vec::new(), 190 | | non_staked_node_count: 0, 191 | | } 192 | | } | |_________^ the trait `hotshot_types::traits::node_implementation::NodeType` is not implemented for `hotshot_example_types::state_types::TestTypes` | help: trait impl with same name found --> /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/0cad927/crates/example-types/src/node_types.rs:54:1 | 54 | impl NodeType for TestTypes { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `hotshot_types` are being used? note: there are multiple different versions of crate `hotshot_types` in the dependency graph --> /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/9b28cba/crates/types/src/traits/node_implementation.rs:193:1 | 193 | / pub trait NodeType: 194 | | Clone 195 | | + Copy 196 | | + Debug ... | 206 | | + Sync 207 | | + 'static | |_____________^ this is the required trait | ::: crates/shared/src/block.rs:6:5 | 6 | use hotshot_types::data::{fake_commitment, Leaf2}; | ------------- one version of crate `hotshot_types` is used here, as a direct dependency of the current crate | ::: /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/0cad927/crates/example-types/src/node_types.rs:53:1 | 53 | pub struct TestTypes; | -------------------- this type doesn't implement the required trait | ::: /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/0cad927/crates/types/src/data.rs:801:1 | 801 | pub trait TestableLeaf { | ---------------------- this is the found trait | ::: crates/shared/src/utils/event_serivce_wrapper.rs:10:5 | 10 | use hotshot_events_service::events::Error as EventStreamError; | ---------------------- one version of crate `hotshot_types` is used here, as a dependency of crate `hotshot_events_service` = help: you can use `cargo tree` to explore your dependency tree
the trait bound `hotshot_example_types::state_types::TestTypes: hotshot_types::traits::node_implementation::NodeType` is not satisfied because the trait comes from a different crate version: crates/shared/src/utils/event_serivce_wrapper.rs#L189
error[E0277]: the trait bound `hotshot_example_types::state_types::TestTypes: hotshot_types::traits::node_implementation::NodeType` is not satisfied because the trait comes from a different crate version --> crates/shared/src/utils/event_serivce_wrapper.rs:189:17 | 189 | known_node_with_stake: Vec::new(), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `hotshot_types::traits::node_implementation::NodeType` is not implemented for `hotshot_example_types::state_types::TestTypes` | help: trait impl with same name found --> /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/0cad927/crates/example-types/src/node_types.rs:54:1 | 54 | impl NodeType for TestTypes { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `hotshot_types` are being used? note: there are multiple different versions of crate `hotshot_types` in the dependency graph --> /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/9b28cba/crates/types/src/traits/node_implementation.rs:193:1 | 193 | / pub trait NodeType: 194 | | Clone 195 | | + Copy 196 | | + Debug ... | 206 | | + Sync 207 | | + 'static | |_____________^ this is the required trait | ::: crates/shared/src/block.rs:6:5 | 6 | use hotshot_types::data::{fake_commitment, Leaf2}; | ------------- one version of crate `hotshot_types` is used here, as a direct dependency of the current crate | ::: /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/0cad927/crates/example-types/src/node_types.rs:53:1 | 53 | pub struct TestTypes; | -------------------- this type doesn't implement the required trait | ::: /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/0cad927/crates/types/src/data.rs:801:1 | 801 | pub trait TestableLeaf { | ---------------------- this is the found trait | ::: crates/shared/src/utils/event_serivce_wrapper.rs:10:5 | 10 | use hotshot_events_service::events::Error as EventStreamError; | ---------------------- one version of crate `hotshot_types` is used here, as a dependency of crate `hotshot_events_service` = help: you can use `cargo tree` to explore your dependency tree
the trait bound `hotshot_example_types::state_types::TestTypes: hotshot_types::traits::node_implementation::NodeType` is not satisfied because the trait comes from a different crate version: crates/shared/src/utils/event_serivce_wrapper.rs#L188
error[E0277]: the trait bound `hotshot_example_types::state_types::TestTypes: hotshot_types::traits::node_implementation::NodeType` is not satisfied because the trait comes from a different crate version --> crates/shared/src/utils/event_serivce_wrapper.rs:188:13 | 188 | StartupInfo { | ^^^^^^^^^^^ the trait `hotshot_types::traits::node_implementation::NodeType` is not implemented for `hotshot_example_types::state_types::TestTypes` | help: trait impl with same name found --> /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/0cad927/crates/example-types/src/node_types.rs:54:1 | 54 | impl NodeType for TestTypes { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `hotshot_types` are being used? note: there are multiple different versions of crate `hotshot_types` in the dependency graph --> /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/9b28cba/crates/types/src/traits/node_implementation.rs:193:1 | 193 | / pub trait NodeType: 194 | | Clone 195 | | + Copy 196 | | + Debug ... | 206 | | + Sync 207 | | + 'static | |_____________^ this is the required trait | ::: crates/shared/src/block.rs:6:5 | 6 | use hotshot_types::data::{fake_commitment, Leaf2}; | ------------- one version of crate `hotshot_types` is used here, as a direct dependency of the current crate | ::: /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/0cad927/crates/example-types/src/node_types.rs:53:1 | 53 | pub struct TestTypes; | -------------------- this type doesn't implement the required trait | ::: /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/0cad927/crates/types/src/data.rs:801:1 | 801 | pub trait TestableLeaf { | ---------------------- this is the found trait | ::: crates/shared/src/utils/event_serivce_wrapper.rs:10:5 | 10 | use hotshot_events_service::events::Error as EventStreamError; | ---------------------- one version of crate `hotshot_types` is used here, as a dependency of crate `hotshot_events_service` = help: you can use `cargo tree` to explore your dependency tree
the trait bound `hotshot_example_types::state_types::TestTypes: hotshot_types::traits::node_implementation::NodeType` is not satisfied because the trait comes from a different crate version: crates/shared/src/utils/event_serivce_wrapper.rs#L177
error[E0277]: the trait bound `hotshot_example_types::state_types::TestTypes: hotshot_types::traits::node_implementation::NodeType` is not satisfied because the trait comes from a different crate version --> crates/shared/src/utils/event_serivce_wrapper.rs:177:14 | 177 | ) -> Self::EventStream { | ^^^^^^^^^^^^^^^^^ the trait `hotshot_types::traits::node_implementation::NodeType` is not implemented for `hotshot_example_types::state_types::TestTypes` | help: trait impl with same name found --> /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/0cad927/crates/example-types/src/node_types.rs:54:1 | 54 | impl NodeType for TestTypes { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `hotshot_types` are being used? note: there are multiple different versions of crate `hotshot_types` in the dependency graph --> /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/9b28cba/crates/types/src/traits/node_implementation.rs:193:1 | 193 | / pub trait NodeType: 194 | | Clone 195 | | + Copy 196 | | + Debug ... | 206 | | + Sync 207 | | + 'static | |_____________^ this is the required trait | ::: crates/shared/src/block.rs:6:5 | 6 | use hotshot_types::data::{fake_commitment, Leaf2}; | ------------- one version of crate `hotshot_types` is used here, as a direct dependency of the current crate | ::: /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/0cad927/crates/example-types/src/node_types.rs:53:1 | 53 | pub struct TestTypes; | -------------------- this type doesn't implement the required trait | ::: /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/0cad927/crates/types/src/data.rs:801:1 | 801 | pub trait TestableLeaf { | ---------------------- this is the found trait | ::: crates/shared/src/utils/event_serivce_wrapper.rs:10:5 | 10 | use hotshot_events_service::events::Error as EventStreamError; | ---------------------- one version of crate `hotshot_types` is used here, as a dependency of crate `hotshot_events_service` = help: you can use `cargo tree` to explore your dependency tree
the trait bound `hotshot_example_types::state_types::TestTypes: hotshot_types::traits::node_implementation::NodeType` is not satisfied because the trait comes from a different crate version: crates/shared/src/utils/event_serivce_wrapper.rs#L187
error[E0277]: the trait bound `hotshot_example_types::state_types::TestTypes: hotshot_types::traits::node_implementation::NodeType` is not satisfied because the trait comes from a different crate version --> crates/shared/src/utils/event_serivce_wrapper.rs:187:45 | 187 | async fn get_startup_info(&self) -> StartupInfo<TestTypes> { | ^^^^^^^^^^^^^^^^^^^^^^ the trait `hotshot_types::traits::node_implementation::NodeType` is not implemented for `hotshot_example_types::state_types::TestTypes` | help: trait impl with same name found --> /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/0cad927/crates/example-types/src/node_types.rs:54:1 | 54 | impl NodeType for TestTypes { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `hotshot_types` are being used? note: there are multiple different versions of crate `hotshot_types` in the dependency graph --> /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/9b28cba/crates/types/src/traits/node_implementation.rs:193:1 | 193 | / pub trait NodeType: 194 | | Clone 195 | | + Copy 196 | | + Debug ... | 206 | | + Sync 207 | | + 'static | |_____________^ this is the required trait | ::: crates/shared/src/block.rs:6:5 | 6 | use hotshot_types::data::{fake_commitment, Leaf2}; | ------------- one version of crate `hotshot_types` is used here, as a direct dependency of the current crate | ::: /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/0cad927/crates/example-types/src/node_types.rs:53:1 | 53 | pub struct TestTypes; | -------------------- this type doesn't implement the required trait | ::: /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/0cad927/crates/types/src/data.rs:801:1 | 801 | pub trait TestableLeaf { | ---------------------- this is the found trait | ::: crates/shared/src/utils/event_serivce_wrapper.rs:10:5 | 10 | use hotshot_events_service::events::Error as EventStreamError; | ---------------------- one version of crate `hotshot_types` is used here, as a dependency of crate `hotshot_events_service` = help: you can use `cargo tree` to explore your dependency tree
the trait bound `hotshot_example_types::state_types::TestTypes: hotshot_types::traits::node_implementation::NodeType` is not satisfied because the trait comes from a different crate version: crates/shared/src/utils/event_serivce_wrapper.rs#L176
error[E0277]: the trait bound `hotshot_example_types::state_types::TestTypes: hotshot_types::traits::node_implementation::NodeType` is not satisfied because the trait comes from a different crate version --> crates/shared/src/utils/event_serivce_wrapper.rs:176:29 | 176 | _filter: Option<EventFilterSet<TestTypes>>, | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `hotshot_types::traits::node_implementation::NodeType` is not implemented for `hotshot_example_types::state_types::TestTypes` | help: trait impl with same name found --> /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/0cad927/crates/example-types/src/node_types.rs:54:1 | 54 | impl NodeType for TestTypes { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `hotshot_types` are being used? note: there are multiple different versions of crate `hotshot_types` in the dependency graph --> /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/9b28cba/crates/types/src/traits/node_implementation.rs:193:1 | 193 | / pub trait NodeType: 194 | | Clone 195 | | + Copy 196 | | + Debug ... | 206 | | + Sync 207 | | + 'static | |_____________^ this is the required trait | ::: crates/shared/src/block.rs:6:5 | 6 | use hotshot_types::data::{fake_commitment, Leaf2}; | ------------- one version of crate `hotshot_types` is used here, as a direct dependency of the current crate | ::: /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/0cad927/crates/example-types/src/node_types.rs:53:1 | 53 | pub struct TestTypes; | -------------------- this type doesn't implement the required trait | ::: /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/0cad927/crates/types/src/data.rs:801:1 | 801 | pub trait TestableLeaf { | ---------------------- this is the found trait | ::: crates/shared/src/utils/event_serivce_wrapper.rs:10:5 | 10 | use hotshot_events_service::events::Error as EventStreamError; | ---------------------- one version of crate `hotshot_types` is used here, as a dependency of crate `hotshot_events_service` = help: you can use `cargo tree` to explore your dependency tree
type mismatch resolving `<Iter<IntoIter<Arc<Event<TestTypes>>>> as Stream>::Item == Arc<Event<TestTypes>>`: crates/shared/src/utils/event_serivce_wrapper.rs#L172
error[E0271]: type mismatch resolving `<Iter<IntoIter<Arc<Event<TestTypes>>>> as Stream>::Item == Arc<Event<TestTypes>>` --> crates/shared/src/utils/event_serivce_wrapper.rs:172:28 | 172 | type EventStream = futures::stream::Iter<std::vec::IntoIter<Arc<Event<TestTypes>>>>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Event<TestTypes>`, found a different `Event<TestTypes>` | = note: `Event<TestTypes>` and `Event<TestTypes>` have similar names, but are actually distinct types note: `Event<TestTypes>` is defined in crate `hotshot_types` --> /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/0cad927/crates/types/src/event.rs:27:1 | 27 | pub struct Event<TYPES: NodeType> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ note: `Event<TestTypes>` is defined in crate `hotshot_types` --> /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/9b28cba/crates/types/src/event.rs:27:1 | 27 | pub struct Event<TYPES: NodeType> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `hotshot_types` are being used? note: required by a bound in `hotshot_events_service::events_source::EventsSource::EventStream` --> /home/runner/.cargo/git/checkouts/hotshot-events-service-d9f56c6d190f3708/6c60698/src/events_source.rs:23:30 | 23 | type EventStream: Stream<Item = Arc<Event<Types>>> + Unpin + Send + 'static; | ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `EventsSource::EventStream`
the trait bound `hotshot_example_types::state_types::TestTypes: hotshot_types::traits::node_implementation::NodeType` is not satisfied because the trait comes from a different crate version: crates/shared/src/utils/event_serivce_wrapper.rs#L171
error[E0277]: the trait bound `hotshot_example_types::state_types::TestTypes: hotshot_types::traits::node_implementation::NodeType` is not satisfied because the trait comes from a different crate version --> crates/shared/src/utils/event_serivce_wrapper.rs:171:10 | 171 | impl EventsSource<TestTypes> for MockEventsSource { | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `hotshot_types::traits::node_implementation::NodeType` is not implemented for `hotshot_example_types::state_types::TestTypes` | help: trait impl with same name found --> /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/0cad927/crates/example-types/src/node_types.rs:54:1 | 54 | impl NodeType for TestTypes { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `hotshot_types` are being used? note: there are multiple different versions of crate `hotshot_types` in the dependency graph --> /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/9b28cba/crates/types/src/traits/node_implementation.rs:193:1 | 193 | / pub trait NodeType: 194 | | Clone 195 | | + Copy 196 | | + Debug ... | 206 | | + Sync 207 | | + 'static | |_____________^ this is the required trait | ::: crates/shared/src/block.rs:6:5 | 6 | use hotshot_types::data::{fake_commitment, Leaf2}; | ------------- one version of crate `hotshot_types` is used here, as a direct dependency of the current crate | ::: /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/0cad927/crates/example-types/src/node_types.rs:53:1 | 53 | pub struct TestTypes; | -------------------- this type doesn't implement the required trait | ::: /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/0cad927/crates/types/src/data.rs:801:1 | 801 | pub trait TestableLeaf { | ---------------------- this is the found trait | ::: crates/shared/src/utils/event_serivce_wrapper.rs:10:5 | 10 | use hotshot_events_service::events::Error as EventStreamError; | ---------------------- one version of crate `hotshot_types` is used here, as a dependency of crate `hotshot_events_service` = help: you can use `cargo tree` to explore your dependency tree
coverage
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636