Skip to content

tss crate structured logs #16

tss crate structured logs

tss crate structured logs #16

Triggered via pull request July 10, 2024 15:58
Status Failure
Total duration 8m 42s
Artifacts

pr-test-docs.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
build-docs: chronicle/src/shards/tss.rs#L97
error[E0277]: the trait bound `TssPeerId: tracing::Value` is not satisfied --> chronicle/src/shards/tss.rs:97:20 | 97 | Ok(Tss::Enabled(tss::Tss::new(peer_id, members, threshold, recover))) | ^^^^^^^^^^^^^ the trait `tracing::Value` is not implemented for `TssPeerId` | = help: the following other types implement trait `tracing::Value`: &'a T &'a mut T (dyn StdError + 'static) (dyn StdError + std::marker::Send + 'static) (dyn StdError + std::marker::Send + std::marker::Sync + 'static) (dyn StdError + std::marker::Sync + 'static) Arguments<'a> Box<T> and 34 others note: required by a bound in `tss::Tss::<I, P>::new` --> /home/runner-2/runner/_work/timechain/timechain/tss/src/lib.rs:110:59 | 110 | P: Clone + Ord + std::fmt::Display + ToFrostIdentifier + Value, | ^^^^^ required by this bound in `Tss::<I, P>::new` 111 | { 112 | pub fn new( | --- required by a bound in this associated function
build-docs: chronicle/src/shards/tss.rs#L97
error[E0277]: the trait bound `TaskExecution: tracing::Value` is not satisfied --> chronicle/src/shards/tss.rs:97:20 | 97 | Ok(Tss::Enabled(tss::Tss::new(peer_id, members, threshold, recover))) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `tracing::Value` is not implemented for `TaskExecution` | = help: the following other types implement trait `tracing::Value`: &'a T &'a mut T (dyn StdError + 'static) (dyn StdError + std::marker::Send + 'static) (dyn StdError + std::marker::Send + std::marker::Sync + 'static) (dyn StdError + std::marker::Sync + 'static) Arguments<'a> Box<T> and 34 others note: required by a bound in `tss::Tss::<I, P>::new` --> /home/runner-2/runner/_work/timechain/timechain/tss/src/lib.rs:109:39 | 109 | I: Clone + Ord + std::fmt::Display + Value, | ^^^^^ required by this bound in `Tss::<I, P>::new` ... 112 | pub fn new( | --- required by a bound in this associated function
build-docs: chronicle/src/shards/tss.rs#L103
error[E0599]: the method `committed` exists for reference `&Tss<TaskExecution, TssPeerId>`, but its trait bounds were not satisfied --> chronicle/src/shards/tss.rs:103:30 | 28 | pub struct TssPeerId(PeerId); | -------------------- doesn't satisfy `TssPeerId: tracing::Value` ... 103 | Self::Enabled(tss) => tss.committed(), | ^^^^^^^^^ private field, not a method | ::: /home/runner-2/runner/_work/timechain/timechain/primitives/src/task.rs:181:1 | 181 | pub struct TaskExecution { | ------------------------ doesn't satisfy `TaskExecution: tracing::Value` | = note: the following trait bounds were not satisfied: `TaskExecution: tracing::Value` `TssPeerId: tracing::Value` note: the trait `tracing::Value` must be implemented --> /home/runner-2/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-core-0.1.32/src/field.rs:336:1 | 336 | pub trait Value: crate::sealed::Sealed { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
build-docs: chronicle/src/shards/tss.rs#L28
error[E0599]: the method `committed` exists for reference `&Tss<TaskExecution, TssPeerId>`, but its trait bounds were not satisfied --> chronicle/src/shards/tss.rs:103:30 | 28 | pub struct TssPeerId(PeerId); | -------------------- doesn't satisfy `TssPeerId: tracing::Value` ... 103 | Self::Enabled(tss) => tss.committed(), | ^^^^^^^^^ private field, not a method | ::: /home/runner-2/runner/_work/timechain/timechain/primitives/src/task.rs:181:1 | 181 | pub struct TaskExecution { | ------------------------ doesn't satisfy `TaskExecution: tracing::Value` | = note: the following trait bounds were not satisfied: `TaskExecution: tracing::Value` `TssPeerId: tracing::Value` note: the trait `tracing::Value` must be implemented --> /home/runner-2/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-core-0.1.32/src/field.rs:336:1 | 336 | pub trait Value: crate::sealed::Sealed { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
build-docs: primitives/src/task.rs#L181
error[E0599]: the method `committed` exists for reference `&Tss<TaskExecution, TssPeerId>`, but its trait bounds were not satisfied --> chronicle/src/shards/tss.rs:103:30 | 28 | pub struct TssPeerId(PeerId); | -------------------- doesn't satisfy `TssPeerId: tracing::Value` ... 103 | Self::Enabled(tss) => tss.committed(), | ^^^^^^^^^ private field, not a method | ::: /home/runner-2/runner/_work/timechain/timechain/primitives/src/task.rs:181:1 | 181 | pub struct TaskExecution { | ------------------------ doesn't satisfy `TaskExecution: tracing::Value` | = note: the following trait bounds were not satisfied: `TaskExecution: tracing::Value` `TssPeerId: tracing::Value` note: the trait `tracing::Value` must be implemented --> /home/runner-2/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-core-0.1.32/src/field.rs:336:1 | 336 | pub trait Value: crate::sealed::Sealed { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
build-docs: chronicle/src/shards/tss.rs#L110
error[E0599]: the method `on_commit` exists for mutable reference `&mut Tss<TaskExecution, TssPeerId>`, but its trait bounds were not satisfied --> chronicle/src/shards/tss.rs:110:30 | 28 | pub struct TssPeerId(PeerId); | -------------------- doesn't satisfy `TssPeerId: tracing::Value` ... 110 | Self::Enabled(tss) => tss.on_commit(commitment), | ^^^^^^^^^ method cannot be called on `&mut Tss<TaskExecution, TssPeerId>` due to unsatisfied trait bounds | ::: /home/runner-2/runner/_work/timechain/timechain/primitives/src/task.rs:181:1 | 181 | pub struct TaskExecution { | ------------------------ doesn't satisfy `TaskExecution: tracing::Value` | = note: the following trait bounds were not satisfied: `TaskExecution: tracing::Value` `TssPeerId: tracing::Value` note: the trait `tracing::Value` must be implemented --> /home/runner-2/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-core-0.1.32/src/field.rs:336:1 | 336 | pub trait Value: crate::sealed::Sealed { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
build-docs: chronicle/src/shards/tss.rs#L28
error[E0599]: the method `on_commit` exists for mutable reference `&mut Tss<TaskExecution, TssPeerId>`, but its trait bounds were not satisfied --> chronicle/src/shards/tss.rs:110:30 | 28 | pub struct TssPeerId(PeerId); | -------------------- doesn't satisfy `TssPeerId: tracing::Value` ... 110 | Self::Enabled(tss) => tss.on_commit(commitment), | ^^^^^^^^^ method cannot be called on `&mut Tss<TaskExecution, TssPeerId>` due to unsatisfied trait bounds | ::: /home/runner-2/runner/_work/timechain/timechain/primitives/src/task.rs:181:1 | 181 | pub struct TaskExecution { | ------------------------ doesn't satisfy `TaskExecution: tracing::Value` | = note: the following trait bounds were not satisfied: `TaskExecution: tracing::Value` `TssPeerId: tracing::Value` note: the trait `tracing::Value` must be implemented --> /home/runner-2/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-core-0.1.32/src/field.rs:336:1 | 336 | pub trait Value: crate::sealed::Sealed { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
build-docs: primitives/src/task.rs#L181
error[E0599]: the method `on_commit` exists for mutable reference `&mut Tss<TaskExecution, TssPeerId>`, but its trait bounds were not satisfied --> chronicle/src/shards/tss.rs:110:30 | 28 | pub struct TssPeerId(PeerId); | -------------------- doesn't satisfy `TssPeerId: tracing::Value` ... 110 | Self::Enabled(tss) => tss.on_commit(commitment), | ^^^^^^^^^ method cannot be called on `&mut Tss<TaskExecution, TssPeerId>` due to unsatisfied trait bounds | ::: /home/runner-2/runner/_work/timechain/timechain/primitives/src/task.rs:181:1 | 181 | pub struct TaskExecution { | ------------------------ doesn't satisfy `TaskExecution: tracing::Value` | = note: the following trait bounds were not satisfied: `TaskExecution: tracing::Value` `TssPeerId: tracing::Value` note: the trait `tracing::Value` must be implemented --> /home/runner-2/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-core-0.1.32/src/field.rs:336:1 | 336 | pub trait Value: crate::sealed::Sealed { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
build-docs: chronicle/src/shards/tss.rs#L120
error[E0599]: the method `on_start` exists for mutable reference `&mut Tss<TaskExecution, TssPeerId>`, but its trait bounds were not satisfied --> chronicle/src/shards/tss.rs:120:30 | 28 | pub struct TssPeerId(PeerId); | -------------------- doesn't satisfy `TssPeerId: tracing::Value` ... 120 | Self::Enabled(tss) => tss.on_start(request_id), | ^^^^^^^^ method cannot be called on `&mut Tss<TaskExecution, TssPeerId>` due to unsatisfied trait bounds | ::: /home/runner-2/runner/_work/timechain/timechain/primitives/src/task.rs:181:1 | 181 | pub struct TaskExecution { | ------------------------ doesn't satisfy `TaskExecution: tracing::Value` | = note: the following trait bounds were not satisfied: `TaskExecution: tracing::Value` `TssPeerId: tracing::Value` note: the trait `tracing::Value` must be implemented --> /home/runner-2/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-core-0.1.32/src/field.rs:336:1 | 336 | pub trait Value: crate::sealed::Sealed { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
build-docs: chronicle/src/shards/tss.rs#L28
error[E0599]: the method `on_start` exists for mutable reference `&mut Tss<TaskExecution, TssPeerId>`, but its trait bounds were not satisfied --> chronicle/src/shards/tss.rs:120:30 | 28 | pub struct TssPeerId(PeerId); | -------------------- doesn't satisfy `TssPeerId: tracing::Value` ... 120 | Self::Enabled(tss) => tss.on_start(request_id), | ^^^^^^^^ method cannot be called on `&mut Tss<TaskExecution, TssPeerId>` due to unsatisfied trait bounds | ::: /home/runner-2/runner/_work/timechain/timechain/primitives/src/task.rs:181:1 | 181 | pub struct TaskExecution { | ------------------------ doesn't satisfy `TaskExecution: tracing::Value` | = note: the following trait bounds were not satisfied: `TaskExecution: tracing::Value` `TssPeerId: tracing::Value` note: the trait `tracing::Value` must be implemented --> /home/runner-2/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-core-0.1.32/src/field.rs:336:1 | 336 | pub trait Value: crate::sealed::Sealed { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^