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

Merge latest VID changes to builder #371

Merge latest VID changes to builder

Merge latest VID changes to builder #371

Triggered via push January 31, 2025 18:25
Status Failure
Total duration 9m 14s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 errors
the trait bound `hotshot_example_types::state_types::TestTypes: hotshot_types::traits::node_implementation::NodeType` is not satisfied: 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 --> 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/ee33cdb/crates/example-types/src/node_types.rs:56:1 | 56 | 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 | ::: 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` | ::: crates/shared/src/lib.rs:4:5 | 4 | use hotshot_types::traits::node_implementation::Versions; | ------------- one version of crate `hotshot_types` is used here, as a direct dependency of the current crate | ::: /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/ee33cdb/crates/example-types/src/node_types.rs:55:1 | 55 | pub struct TestTypes; | -------------------- this type doesn't implement the required trait | ::: /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/ee33cdb/crates/types/src/data.rs:794:1 | 794 | pub trait TestableLeaf { | ---------------------- this is the found trait --> /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/310553b/crates/types/src/traits/node_implementation.rs:197:1 | 197 | / pub trait NodeType: 198 | | Clone 199 | | + Copy 200 | | + Debug ... | 210 | | + Sync 211 | | + 'static | |_____________^ this is the required trait = help: you can use `cargo tree` to explore your dependency tree note: required by a bound in `hotshot_events_service::events::define_api` --> /home/runner/.cargo/git/checkouts/hotshot-events-service-d9f56c6d190f3708/f1aedb9/src/events.rs:87:12 | 83 | pub fn define_api<State, Types, Ver>(options: &Options) -> Result<Api<State, Error, Ver>, ApiError> | ---------- required by a bound in this function ... 87 | Types: NodeType, | ^^^^^^^^ required by this bound in `define_api`
the trait bound `hotshot_example_types::state_types::TestTypes: hotshot_types::traits::node_implementation::NodeType` is not satisfied: 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 --> 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/ee33cdb/crates/example-types/src/node_types.rs:56:1 | 56 | 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 | ::: 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` | ::: crates/shared/src/lib.rs:4:5 | 4 | use hotshot_types::traits::node_implementation::Versions; | ------------- one version of crate `hotshot_types` is used here, as a direct dependency of the current crate | ::: /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/ee33cdb/crates/example-types/src/node_types.rs:55:1 | 55 | pub struct TestTypes; | -------------------- this type doesn't implement the required trait | ::: /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/ee33cdb/crates/types/src/data.rs:794:1 | 794 | pub trait TestableLeaf { | ---------------------- this is the found trait --> /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/310553b/crates/types/src/traits/node_implementation.rs:197:1 | 197 | / pub trait NodeType: 198 | | Clone 199 | | + Copy 200 | | + Debug ... | 210 | | + Sync 211 | | + 'static | |_____________^ this is the required trait = help: you can use `cargo tree` to explore your dependency tree note: required by a bound in `hotshot_events_service::events_source::StartupInfo` --> /home/runner/.cargo/git/checkouts/hotshot-events-service-d9f56c6d190f3708/f1aedb9/src/events_source.rs:29:31 | 29 | pub struct StartupInfo<Types: NodeType> { | ^^^^^^^^ required by this bound in `StartupInfo`
the trait bound `hotshot_example_types::state_types::TestTypes: hotshot_types::traits::node_implementation::NodeType` is not satisfied: 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 --> 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/ee33cdb/crates/example-types/src/node_types.rs:56:1 | 56 | 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 | ::: 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` | ::: crates/shared/src/lib.rs:4:5 | 4 | use hotshot_types::traits::node_implementation::Versions; | ------------- one version of crate `hotshot_types` is used here, as a direct dependency of the current crate | ::: /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/ee33cdb/crates/example-types/src/node_types.rs:55:1 | 55 | pub struct TestTypes; | -------------------- this type doesn't implement the required trait | ::: /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/ee33cdb/crates/types/src/data.rs:794:1 | 794 | pub trait TestableLeaf { | ---------------------- this is the found trait --> /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/310553b/crates/types/src/traits/node_implementation.rs:197:1 | 197 | / pub trait NodeType: 198 | | Clone 199 | | + Copy 200 | | + Debug ... | 210 | | + Sync 211 | | + 'static | |_____________^ this is the required trait = 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: 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 --> 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/ee33cdb/crates/example-types/src/node_types.rs:56:1 | 56 | 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 | ::: 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` | ::: crates/shared/src/lib.rs:4:5 | 4 | use hotshot_types::traits::node_implementation::Versions; | ------------- one version of crate `hotshot_types` is used here, as a direct dependency of the current crate | ::: /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/ee33cdb/crates/example-types/src/node_types.rs:55:1 | 55 | pub struct TestTypes; | -------------------- this type doesn't implement the required trait | ::: /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/ee33cdb/crates/types/src/data.rs:794:1 | 794 | pub trait TestableLeaf { | ---------------------- this is the found trait --> /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/310553b/crates/types/src/traits/node_implementation.rs:197:1 | 197 | / pub trait NodeType: 198 | | Clone 199 | | + Copy 200 | | + Debug ... | 210 | | + Sync 211 | | + 'static | |_____________^ this is the required trait = help: you can use `cargo tree` to explore your dependency tree note: required by a bound in `hotshot_events_service::events_source::StartupInfo` --> /home/runner/.cargo/git/checkouts/hotshot-events-service-d9f56c6d190f3708/f1aedb9/src/events_source.rs:29:31 | 29 | pub struct StartupInfo<Types: NodeType> { | ^^^^^^^^ required by this bound in `StartupInfo`
the trait bound `hotshot_example_types::state_types::TestTypes: hotshot_types::traits::node_implementation::NodeType` is not satisfied: 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 --> 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/ee33cdb/crates/example-types/src/node_types.rs:56:1 | 56 | 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 | ::: 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` | ::: crates/shared/src/lib.rs:4:5 | 4 | use hotshot_types::traits::node_implementation::Versions; | ------------- one version of crate `hotshot_types` is used here, as a direct dependency of the current crate | ::: /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/ee33cdb/crates/example-types/src/node_types.rs:55:1 | 55 | pub struct TestTypes; | -------------------- this type doesn't implement the required trait | ::: /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/ee33cdb/crates/types/src/data.rs:794:1 | 794 | pub trait TestableLeaf { | ---------------------- this is the found trait --> /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/310553b/crates/types/src/traits/node_implementation.rs:197:1 | 197 | / pub trait NodeType: 198 | | Clone 199 | | + Copy 200 | | + Debug ... | 210 | | + Sync 211 | | + 'static | |_____________^ this is the required trait = help: you can use `cargo tree` to explore your dependency tree note: required by a bound in `hotshot_events_service::events_source::EventsSource::EventStream` --> /home/runner/.cargo/git/checkouts/hotshot-events-service-d9f56c6d190f3708/f1aedb9/src/events_source.rs:21:12 | 21 | Types: NodeType, | ^^^^^^^^ required by this bound in `EventsSource::EventStream` 22 | { 23 | type EventStream: Stream<Item = Arc<Event<Types>>> + Unpin + Send + 'static; | ----------- required by a bound in this associated type
the trait bound `hotshot_example_types::state_types::TestTypes: hotshot_types::traits::node_implementation::NodeType` is not satisfied: 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 --> 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/ee33cdb/crates/example-types/src/node_types.rs:56:1 | 56 | 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 | ::: 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` | ::: crates/shared/src/lib.rs:4:5 | 4 | use hotshot_types::traits::node_implementation::Versions; | ------------- one version of crate `hotshot_types` is used here, as a direct dependency of the current crate | ::: /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/ee33cdb/crates/example-types/src/node_types.rs:55:1 | 55 | pub struct TestTypes; | -------------------- this type doesn't implement the required trait | ::: /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/ee33cdb/crates/types/src/data.rs:794:1 | 794 | pub trait TestableLeaf { | ---------------------- this is the found trait --> /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/310553b/crates/types/src/traits/node_implementation.rs:197:1 | 197 | / pub trait NodeType: 198 | | Clone 199 | | + Copy 200 | | + Debug ... | 210 | | + Sync 211 | | + 'static | |_____________^ this is the required trait = help: you can use `cargo tree` to explore your dependency tree note: required by a bound in `hotshot_events_service::events_source::StartupInfo` --> /home/runner/.cargo/git/checkouts/hotshot-events-service-d9f56c6d190f3708/f1aedb9/src/events_source.rs:29:31 | 29 | pub struct StartupInfo<Types: NodeType> { | ^^^^^^^^ required by this bound in `StartupInfo`
the trait bound `hotshot_example_types::state_types::TestTypes: hotshot_types::traits::node_implementation::NodeType` is not satisfied: 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 --> 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/ee33cdb/crates/example-types/src/node_types.rs:56:1 | 56 | 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 | ::: 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` | ::: crates/shared/src/lib.rs:4:5 | 4 | use hotshot_types::traits::node_implementation::Versions; | ------------- one version of crate `hotshot_types` is used here, as a direct dependency of the current crate | ::: /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/ee33cdb/crates/example-types/src/node_types.rs:55:1 | 55 | pub struct TestTypes; | -------------------- this type doesn't implement the required trait | ::: /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/ee33cdb/crates/types/src/data.rs:794:1 | 794 | pub trait TestableLeaf { | ---------------------- this is the found trait --> /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/310553b/crates/types/src/traits/node_implementation.rs:197:1 | 197 | / pub trait NodeType: 198 | | Clone 199 | | + Copy 200 | | + Debug ... | 210 | | + Sync 211 | | + 'static | |_____________^ this is the required trait = help: you can use `cargo tree` to explore your dependency tree note: required by a bound in `hotshot_events_service::events_source::EventFilterSet` --> /home/runner/.cargo/git/checkouts/hotshot-events-service-d9f56c6d190f3708/f1aedb9/src/events_source.rs:74:34 | 74 | pub struct EventFilterSet<Types: NodeType>(pub(crate) Vec<EventFilter<Types>>); | ^^^^^^^^ required by this bound in `EventFilterSet`
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/ee33cdb/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/310553b/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/f1aedb9/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: 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 --> 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/ee33cdb/crates/example-types/src/node_types.rs:56:1 | 56 | 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 | ::: 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` | ::: crates/shared/src/lib.rs:4:5 | 4 | use hotshot_types::traits::node_implementation::Versions; | ------------- one version of crate `hotshot_types` is used here, as a direct dependency of the current crate | ::: /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/ee33cdb/crates/example-types/src/node_types.rs:55:1 | 55 | pub struct TestTypes; | -------------------- this type doesn't implement the required trait | ::: /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/ee33cdb/crates/types/src/data.rs:794:1 | 794 | pub trait TestableLeaf { | ---------------------- this is the found trait --> /home/runner/.cargo/git/checkouts/hotshot-0ac703037ea89b98/310553b/crates/types/src/traits/node_implementation.rs:197:1 | 197 | / pub trait NodeType: 198 | | Clone 199 | | + Copy 200 | | + Debug ... | 210 | | + Sync 211 | | + 'static | |_____________^ this is the required trait = help: you can use `cargo tree` to explore your dependency tree note: required by a bound in `hotshot_events_service::events_source::EventsSource` --> /home/runner/.cargo/git/checkouts/hotshot-events-service-d9f56c6d190f3708/f1aedb9/src/events_source.rs:21:12 | 19 | pub trait EventsSource<Types> | ------------ required by a bound in this trait 20 | where 21 | Types: NodeType, | ^^^^^^^^ required by this bound in `EventsSource` = note: `EventsSource` is a "sealed trait", because to implement it you also need to implement `hotshot_types::traits::node_implementation::NodeType`, which is not accessible; this is usually done to force you to use one of the provided types that already implement it
test-ignored
Process completed with exit code 101.
test
Process completed with exit code 101.