tss crate structured logs #24
Annotations
10 errors
test-clippy:
tss/src/tests.rs#L67
error[E0277]: the trait bound `tests::Peer: tracing::Value` is not satisfied
--> tss/src/tests.rs:67:13
|
67 | tss.push(Tss::new(Peer(i as _), members.clone(), t as _, None));
| ^^^^^^^^ the trait `tracing::Value` is not implemented for `tests::Peer`
|
= help: the following other types implement trait `tracing::Value`:
&'a T
&'a mut T
(dyn std::error::Error + 'static)
(dyn std::error::Error + std::marker::Send + 'static)
(dyn std::error::Error + std::marker::Send + std::marker::Sync + 'static)
(dyn std::error::Error + std::marker::Sync + 'static)
bool
f32
and 34 others
note: required by a bound in `Tss::<I, P>::new`
--> 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
|
test-clippy:
tss/src/tests.rs#L78
error[E0599]: the method `on_start` exists for mutable reference `&mut Tss<u8, Peer>`, but its trait bounds were not satisfied
--> tss/src/tests.rs:78:8
|
9 | struct Peer(u8);
| ----------- doesn't satisfy `tests::Peer: tracing::Value`
...
78 | tss.on_start(id);
| ^^^^^^^^ method cannot be called on `&mut Tss<u8, Peer>` due to unsatisfied trait bounds
|
note: trait bound `tests::Peer: tracing::Value` was not satisfied
--> tss/src/lib.rs:110:59
|
107 | impl<I, P> Tss<I, P>
| ---------
...
110 | P: Clone + Ord + std::fmt::Display + ToFrostIdentifier + Value,
| ^^^^^ unsatisfied trait bound introduced here
note: the trait `tracing::Value` must be implemented
--> /home/runner-3/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-core-0.1.32/src/field.rs:336:1
|
336 | pub trait Value: crate::sealed::Sealed {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
test-clippy:
tss/src/tests.rs#L9
error[E0599]: the method `on_start` exists for mutable reference `&mut Tss<u8, Peer>`, but its trait bounds were not satisfied
--> tss/src/tests.rs:78:8
|
9 | struct Peer(u8);
| ----------- doesn't satisfy `tests::Peer: tracing::Value`
...
78 | tss.on_start(id);
| ^^^^^^^^ method cannot be called on `&mut Tss<u8, Peer>` due to unsatisfied trait bounds
|
note: trait bound `tests::Peer: tracing::Value` was not satisfied
--> tss/src/lib.rs:110:59
|
107 | impl<I, P> Tss<I, P>
| ---------
...
110 | P: Clone + Ord + std::fmt::Display + ToFrostIdentifier + Value,
| ^^^^^ unsatisfied trait bound introduced here
note: the trait `tracing::Value` must be implemented
--> /home/runner-3/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-core-0.1.32/src/field.rs:336:1
|
336 | pub trait Value: crate::sealed::Sealed {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
test-clippy:
tss/src/tests.rs#L81
error[E0599]: the method `on_sign` exists for mutable reference `&mut Tss<u8, Peer>`, but its trait bounds were not satisfied
--> tss/src/tests.rs:81:8
|
9 | struct Peer(u8);
| ----------- doesn't satisfy `tests::Peer: tracing::Value`
...
81 | tss.on_sign(id, data.to_vec());
| ^^^^^^^ method cannot be called on `&mut Tss<u8, Peer>` due to unsatisfied trait bounds
|
note: trait bound `tests::Peer: tracing::Value` was not satisfied
--> tss/src/lib.rs:110:59
|
107 | impl<I, P> Tss<I, P>
| ---------
...
110 | P: Clone + Ord + std::fmt::Display + ToFrostIdentifier + Value,
| ^^^^^ unsatisfied trait bound introduced here
note: the trait `tracing::Value` must be implemented
--> /home/runner-3/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-core-0.1.32/src/field.rs:336:1
|
336 | pub trait Value: crate::sealed::Sealed {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
test-clippy:
tss/src/tests.rs#L9
error[E0599]: the method `on_sign` exists for mutable reference `&mut Tss<u8, Peer>`, but its trait bounds were not satisfied
--> tss/src/tests.rs:81:8
|
9 | struct Peer(u8);
| ----------- doesn't satisfy `tests::Peer: tracing::Value`
...
81 | tss.on_sign(id, data.to_vec());
| ^^^^^^^ method cannot be called on `&mut Tss<u8, Peer>` due to unsatisfied trait bounds
|
note: trait bound `tests::Peer: tracing::Value` was not satisfied
--> tss/src/lib.rs:110:59
|
107 | impl<I, P> Tss<I, P>
| ---------
...
110 | P: Clone + Ord + std::fmt::Display + ToFrostIdentifier + Value,
| ^^^^^ unsatisfied trait bound introduced here
note: the trait `tracing::Value` must be implemented
--> /home/runner-3/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-core-0.1.32/src/field.rs:336:1
|
336 | pub trait Value: crate::sealed::Sealed {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
test-clippy:
tss/src/tests.rs#L90
error[E0599]: the method `peer_id` exists for struct `Tss<u8, Peer>`, but its trait bounds were not satisfied
--> tss/src/tests.rs:90:29
|
9 | struct Peer(u8);
| ----------- doesn't satisfy `tests::Peer: tracing::Value`
...
90 | let from = *self.tss[i].peer_id();
| ^^^^^^^-- help: remove the arguments
| |
| field, not a method
|
::: tss/src/lib.rs:97:1
|
97 | pub struct Tss<I, P> {
| -------------------- method `peer_id` not found for this struct
|
note: trait bound `tests::Peer: tracing::Value` was not satisfied
--> tss/src/lib.rs:110:59
|
107 | impl<I, P> Tss<I, P>
| ---------
...
110 | P: Clone + Ord + std::fmt::Display + ToFrostIdentifier + Value,
| ^^^^^ unsatisfied trait bound introduced here
note: the trait `tracing::Value` must be implemented
--> /home/runner-3/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-core-0.1.32/src/field.rs:336:1
|
336 | pub trait Value: crate::sealed::Sealed {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
test-clippy:
tss/src/tests.rs#L9
error[E0599]: the method `peer_id` exists for struct `Tss<u8, Peer>`, but its trait bounds were not satisfied
--> tss/src/tests.rs:90:29
|
9 | struct Peer(u8);
| ----------- doesn't satisfy `tests::Peer: tracing::Value`
...
90 | let from = *self.tss[i].peer_id();
| ^^^^^^^-- help: remove the arguments
| |
| field, not a method
|
::: tss/src/lib.rs:97:1
|
97 | pub struct Tss<I, P> {
| -------------------- method `peer_id` not found for this struct
|
note: trait bound `tests::Peer: tracing::Value` was not satisfied
--> tss/src/lib.rs:110:59
|
107 | impl<I, P> Tss<I, P>
| ---------
...
110 | P: Clone + Ord + std::fmt::Display + ToFrostIdentifier + Value,
| ^^^^^ unsatisfied trait bound introduced here
note: the trait `tracing::Value` must be implemented
--> /home/runner-3/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-core-0.1.32/src/field.rs:336:1
|
336 | pub trait Value: crate::sealed::Sealed {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
test-clippy:
tss/src/lib.rs#L97
error[E0599]: the method `peer_id` exists for struct `Tss<u8, Peer>`, but its trait bounds were not satisfied
--> tss/src/tests.rs:90:29
|
9 | struct Peer(u8);
| ----------- doesn't satisfy `tests::Peer: tracing::Value`
...
90 | let from = *self.tss[i].peer_id();
| ^^^^^^^-- help: remove the arguments
| |
| field, not a method
|
::: tss/src/lib.rs:97:1
|
97 | pub struct Tss<I, P> {
| -------------------- method `peer_id` not found for this struct
|
note: trait bound `tests::Peer: tracing::Value` was not satisfied
--> tss/src/lib.rs:110:59
|
107 | impl<I, P> Tss<I, P>
| ---------
...
110 | P: Clone + Ord + std::fmt::Display + ToFrostIdentifier + Value,
| ^^^^^ unsatisfied trait bound introduced here
note: the trait `tracing::Value` must be implemented
--> /home/runner-3/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-core-0.1.32/src/field.rs:336:1
|
336 | pub trait Value: crate::sealed::Sealed {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
test-clippy:
tss/src/tests.rs#L91
error[E0599]: the method `next_action` exists for struct `Tss<u8, Peer>`, but its trait bounds were not satisfied
--> tss/src/tests.rs:91:42
|
9 | struct Peer(u8);
| ----------- doesn't satisfy `tests::Peer: tracing::Value`
...
91 | while let Some(action) = self.tss[i].next_action() {
| ^^^^^^^^^^^ method cannot be called on `Tss<u8, Peer>` due to unsatisfied trait bounds
|
::: tss/src/lib.rs:97:1
|
97 | pub struct Tss<I, P> {
| -------------------- method `next_action` not found for this struct
|
note: trait bound `tests::Peer: tracing::Value` was not satisfied
--> tss/src/lib.rs:110:59
|
107 | impl<I, P> Tss<I, P>
| ---------
...
110 | P: Clone + Ord + std::fmt::Display + ToFrostIdentifier + Value,
| ^^^^^ unsatisfied trait bound introduced here
note: the trait `tracing::Value` must be implemented
--> /home/runner-3/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-core-0.1.32/src/field.rs:336:1
|
336 | pub trait Value: crate::sealed::Sealed {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
test-clippy:
tss/src/tests.rs#L9
error[E0599]: the method `next_action` exists for struct `Tss<u8, Peer>`, but its trait bounds were not satisfied
--> tss/src/tests.rs:91:42
|
9 | struct Peer(u8);
| ----------- doesn't satisfy `tests::Peer: tracing::Value`
...
91 | while let Some(action) = self.tss[i].next_action() {
| ^^^^^^^^^^^ method cannot be called on `Tss<u8, Peer>` due to unsatisfied trait bounds
|
::: tss/src/lib.rs:97:1
|
97 | pub struct Tss<I, P> {
| -------------------- method `next_action` not found for this struct
|
note: trait bound `tests::Peer: tracing::Value` was not satisfied
--> tss/src/lib.rs:110:59
|
107 | impl<I, P> Tss<I, P>
| ---------
...
110 | P: Clone + Ord + std::fmt::Display + ToFrostIdentifier + Value,
| ^^^^^ unsatisfied trait bound introduced here
note: the trait `tracing::Value` must be implemented
--> /home/runner-3/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-core-0.1.32/src/field.rs:336:1
|
336 | pub trait Value: crate::sealed::Sealed {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|