Add initial implementation of socket communications to the demo (phase 1) - Coordinator #171
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
main.yml
on: pull_request
Build with redpallas
53s
Clippy
58s
Rustfmt
20s
actionlint
9s
Annotations
16 errors and 11 warnings
Build with redpallas
Process completed with exit code 101.
|
functions in traits cannot be declared `async`:
coordinator/src/comms.rs#L45
error[E0706]: functions in traits cannot be declared `async`
--> coordinator/src/comms.rs:45:5
|
45 | async fn get_signature_shares(
| ^----
| |
| _____`async` because of this
| |
46 | | &mut self,
47 | | input: &mut dyn BufRead,
48 | | output: &mut dyn Write,
49 | | signing_package: &SigningPackage,
50 | | #[cfg(feature = "redpallas")] randomizer: frost::round2::Randomizer,
51 | | ) -> Result<BTreeMap<Identifier, SignatureShare>, Box<dyn Error>>;
| |______________________________________________________________________^
|
= note: `async` trait functions are not currently supported
= note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
= note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
|
functions in traits cannot be declared `async`:
coordinator/src/comms.rs#L37
error[E0706]: functions in traits cannot be declared `async`
--> coordinator/src/comms.rs:37:5
|
37 | async fn get_signing_commitments(
| ^----
| |
| _____`async` because of this
| |
38 | | &mut self,
39 | | input: &mut dyn BufRead,
40 | | output: &mut dyn Write,
41 | | pub_key_package: &PublicKeyPackage,
42 | | num_of_participants: u16,
43 | | ) -> Result<BTreeMap<Identifier, SigningCommitments>, Box<dyn Error>>;
| |__________________________________________________________________________^
|
= note: `async` trait functions are not currently supported
= note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
= note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
|
functions in traits cannot be declared `async`:
coordinator/src/comms/socket.rs#L104
error[E0706]: functions in traits cannot be declared `async`
--> coordinator/src/comms/socket.rs:104:5
|
104 | async fn get_signature_shares(
| ^----
| |
| _____`async` because of this
| |
105 | | &mut self,
106 | | _input: &mut dyn BufRead,
107 | | _output: &mut dyn Write,
108 | | signing_package: &SigningPackage,
109 | | #[cfg(feature = "redpallas")] _randomizer: frost::round2::Randomizer,
110 | | ) -> Result<BTreeMap<Identifier, SignatureShare>, Box<dyn Error>> {
| |_____________________________________________________________________^
|
= note: `async` trait functions are not currently supported
= note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
= note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
|
functions in traits cannot be declared `async`:
coordinator/src/comms/socket.rs#L74
error[E0706]: functions in traits cannot be declared `async`
--> coordinator/src/comms/socket.rs:74:5
|
74 | async fn get_signing_commitments(
| ^----
| |
| _____`async` because of this
| |
75 | | &mut self,
76 | | _input: &mut dyn BufRead,
77 | | _output: &mut dyn Write,
78 | | _pub_key_package: &PublicKeyPackage,
79 | | num_of_participants: u16,
80 | | ) -> Result<BTreeMap<Identifier, SigningCommitments>, Box<dyn Error>> {
| |_________________________________________________________________________^
|
= note: `async` trait functions are not currently supported
= note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
= note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
|
functions in traits cannot be declared `async`:
coordinator/src/comms/cli.rs#L56
error[E0706]: functions in traits cannot be declared `async`
--> coordinator/src/comms/cli.rs:56:5
|
56 | async fn get_signature_shares(
| ^----
| |
| _____`async` because of this
| |
57 | | &mut self,
58 | | input: &mut dyn BufRead,
59 | | output: &mut dyn Write,
60 | | signing_package: &SigningPackage,
61 | | #[cfg(feature = "redpallas")] _randomizer: frost::round2::Randomizer,
62 | | ) -> Result<BTreeMap<Identifier, SignatureShare>, Box<dyn Error>> {
| |_____________________________________________________________________^
|
= note: `async` trait functions are not currently supported
= note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
= note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
|
functions in traits cannot be declared `async`:
coordinator/src/comms/cli.rs#L26
error[E0706]: functions in traits cannot be declared `async`
--> coordinator/src/comms/cli.rs:26:5
|
26 | async fn get_signing_commitments(
| ^----
| |
| _____`async` because of this
| |
27 | | &mut self,
28 | | input: &mut dyn BufRead,
29 | | output: &mut dyn Write,
30 | | pub_key_package: &PublicKeyPackage,
31 | | num_of_participants: u16,
32 | | ) -> Result<BTreeMap<Identifier, SigningCommitments>, Box<dyn Error>> {
| |_________________________________________________________________________^
|
= note: `async` trait functions are not currently supported
= note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
= note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
|
unknown lint: `async_fn_in_trait`:
coordinator/src/comms.rs#L35
error: unknown lint: `async_fn_in_trait`
--> coordinator/src/comms.rs:35:9
|
35 | #[allow(async_fn_in_trait)]
| ^^^^^^^^^^^^^^^^^
|
= note: `-D unknown-lints` implied by `-D warnings`
|
functions in traits cannot be declared `async`:
coordinator/src/comms.rs#L45
error[E0706]: functions in traits cannot be declared `async`
--> coordinator/src/comms.rs:45:5
|
45 | async fn get_signature_shares(
| ^----
| |
| _____`async` because of this
| |
46 | | &mut self,
47 | | input: &mut dyn BufRead,
48 | | output: &mut dyn Write,
49 | | signing_package: &SigningPackage,
50 | | #[cfg(feature = "redpallas")] randomizer: frost::round2::Randomizer,
51 | | ) -> Result<BTreeMap<Identifier, SignatureShare>, Box<dyn Error>>;
| |______________________________________________________________________^
|
= note: `async` trait functions are not currently supported
= note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
= note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
|
functions in traits cannot be declared `async`:
coordinator/src/comms.rs#L37
error[E0706]: functions in traits cannot be declared `async`
--> coordinator/src/comms.rs:37:5
|
37 | async fn get_signing_commitments(
| ^----
| |
| _____`async` because of this
| |
38 | | &mut self,
39 | | input: &mut dyn BufRead,
40 | | output: &mut dyn Write,
41 | | pub_key_package: &PublicKeyPackage,
42 | | num_of_participants: u16,
43 | | ) -> Result<BTreeMap<Identifier, SigningCommitments>, Box<dyn Error>>;
| |__________________________________________________________________________^
|
= note: `async` trait functions are not currently supported
= note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
= note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
|
functions in traits cannot be declared `async`:
coordinator/src/comms/socket.rs#L104
error[E0706]: functions in traits cannot be declared `async`
--> coordinator/src/comms/socket.rs:104:5
|
104 | async fn get_signature_shares(
| ^----
| |
| _____`async` because of this
| |
105 | | &mut self,
106 | | _input: &mut dyn BufRead,
107 | | _output: &mut dyn Write,
108 | | signing_package: &SigningPackage,
109 | | #[cfg(feature = "redpallas")] _randomizer: frost::round2::Randomizer,
110 | | ) -> Result<BTreeMap<Identifier, SignatureShare>, Box<dyn Error>> {
| |_____________________________________________________________________^
|
= note: `async` trait functions are not currently supported
= note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
= note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
|
functions in traits cannot be declared `async`:
coordinator/src/comms/socket.rs#L74
error[E0706]: functions in traits cannot be declared `async`
--> coordinator/src/comms/socket.rs:74:5
|
74 | async fn get_signing_commitments(
| ^----
| |
| _____`async` because of this
| |
75 | | &mut self,
76 | | _input: &mut dyn BufRead,
77 | | _output: &mut dyn Write,
78 | | _pub_key_package: &PublicKeyPackage,
79 | | num_of_participants: u16,
80 | | ) -> Result<BTreeMap<Identifier, SigningCommitments>, Box<dyn Error>> {
| |_________________________________________________________________________^
|
= note: `async` trait functions are not currently supported
= note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
= note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
|
functions in traits cannot be declared `async`:
coordinator/src/comms/cli.rs#L56
error[E0706]: functions in traits cannot be declared `async`
--> coordinator/src/comms/cli.rs:56:5
|
56 | async fn get_signature_shares(
| ^----
| |
| _____`async` because of this
| |
57 | | &mut self,
58 | | input: &mut dyn BufRead,
59 | | output: &mut dyn Write,
60 | | signing_package: &SigningPackage,
61 | | #[cfg(feature = "redpallas")] _randomizer: frost::round2::Randomizer,
62 | | ) -> Result<BTreeMap<Identifier, SignatureShare>, Box<dyn Error>> {
| |_____________________________________________________________________^
|
= note: `async` trait functions are not currently supported
= note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
= note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
|
functions in traits cannot be declared `async`:
coordinator/src/comms/cli.rs#L26
error[E0706]: functions in traits cannot be declared `async`
--> coordinator/src/comms/cli.rs:26:5
|
26 | async fn get_signing_commitments(
| ^----
| |
| _____`async` because of this
| |
27 | | &mut self,
28 | | input: &mut dyn BufRead,
29 | | output: &mut dyn Write,
30 | | pub_key_package: &PublicKeyPackage,
31 | | num_of_participants: u16,
32 | | ) -> Result<BTreeMap<Identifier, SigningCommitments>, Box<dyn Error>> {
| |_________________________________________________________________________^
|
= note: `async` trait functions are not currently supported
= note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
= note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
|
unknown lint: `async_fn_in_trait`:
coordinator/src/comms.rs#L35
error: unknown lint: `async_fn_in_trait`
--> coordinator/src/comms.rs:35:9
|
35 | #[allow(async_fn_in_trait)]
| ^^^^^^^^^^^^^^^^^
|
= note: `-D unknown-lints` implied by `-D warnings`
|
Clippy
Clippy had exited with the 101 exit code
|
Rustfmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/[email protected], actions-rs/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/[email protected], scherermichael-oss/[email protected], actions-rs/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|