CI #1
ci.yml
on: push
Matrix: build
publish-tests-results
8s
Matrix: docker-mithril
deploy-nightly
0s
Annotations
42 errors and 211 warnings
incorrect implementation of `partial_cmp` on an `Ord` type:
mithril-core/src/multi_sig_zcash.rs#L426
error: incorrect implementation of `partial_cmp` on an `Ord` type
--> mithril-core/src/multi_sig_zcash.rs:426:1
|
426 | / impl PartialOrd for Signature {
427 | | fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
| | _____________________________________________________________-
428 | || Some(self.cmp_msp_sig(other))
429 | || }
| ||_____- help: change this to: `{ Some(std::cmp::Ord::cmp(self, other)) }`
430 | | }
| |__^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incorrect_partial_ord_impl_on_ord_type
|
incorrect implementation of `partial_cmp` on an `Ord` type:
mithril-core/src/multi_sig_zcash.rs#L162
error: incorrect implementation of `partial_cmp` on an `Ord` type
--> mithril-core/src/multi_sig_zcash.rs:162:1
|
162 | / impl PartialOrd for VerificationKey {
163 | | fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
| | _____________________________________________________________-
164 | || Some(self.cmp_msp_mvk(other))
165 | || }
| ||_____- help: change this to: `{ Some(std::cmp::Ord::cmp(self, other)) }`
166 | | }
| |__^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incorrect_partial_ord_impl_on_ord_type
|
incorrect implementation of `partial_cmp` on an `Ord` type:
mithril-core/src/merkle_tree.rs#L66
error: incorrect implementation of `partial_cmp` on an `Ord` type
--> mithril-core/src/merkle_tree.rs:66:1
|
66 | / impl PartialOrd for MTLeaf {
67 | | /// Ordering of MT Values.
68 | | ///
69 | | /// First we order by stake, then by key. By having this ordering,
... |
73 | | fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
| | _____________________________________________________________-
74 | || Some(self.1.cmp(&other.1).then(self.0.cmp(&other.0)))
75 | || }
| ||_____- help: change this to: `{ Some(std::cmp::Ord::cmp(self, other)) }`
76 | | }
| |__^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incorrect_partial_ord_impl_on_ord_type
= note: `#[deny(clippy::incorrect_partial_ord_impl_on_ord_type)]` on by default
|
build (demo/protocol-demo, mithrildemo, mithrildemo, mithrildemo, true)
could not compile `mithril` (lib) due to 4 previous errors; 20 warnings emitted
|
build (demo/protocol-demo, mithrildemo, mithrildemo, mithrildemo, true)
Clippy had exited with the 101 exit code
|
incorrect implementation of `partial_cmp` on an `Ord` type:
mithril-core/src/multi_sig_zcash.rs#L426
error: incorrect implementation of `partial_cmp` on an `Ord` type
--> mithril-core/src/multi_sig_zcash.rs:426:1
|
426 | / impl PartialOrd for Signature {
427 | | fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
| | _____________________________________________________________-
428 | || Some(self.cmp_msp_sig(other))
429 | || }
| ||_____- help: change this to: `{ Some(std::cmp::Ord::cmp(self, other)) }`
430 | | }
| |__^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incorrect_partial_ord_impl_on_ord_type
|
incorrect implementation of `partial_cmp` on an `Ord` type:
mithril-core/src/multi_sig_zcash.rs#L162
error: incorrect implementation of `partial_cmp` on an `Ord` type
--> mithril-core/src/multi_sig_zcash.rs:162:1
|
162 | / impl PartialOrd for VerificationKey {
163 | | fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
| | _____________________________________________________________-
164 | || Some(self.cmp_msp_mvk(other))
165 | || }
| ||_____- help: change this to: `{ Some(std::cmp::Ord::cmp(self, other)) }`
166 | | }
| |__^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incorrect_partial_ord_impl_on_ord_type
|
incorrect implementation of `partial_cmp` on an `Ord` type:
mithril-core/src/merkle_tree.rs#L66
error: incorrect implementation of `partial_cmp` on an `Ord` type
--> mithril-core/src/merkle_tree.rs:66:1
|
66 | / impl PartialOrd for MTLeaf {
67 | | /// Ordering of MT Values.
68 | | ///
69 | | /// First we order by stake, then by key. By having this ordering,
... |
73 | | fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
| | _____________________________________________________________-
74 | || Some(self.1.cmp(&other.1).then(self.0.cmp(&other.0)))
75 | || }
| ||_____- help: change this to: `{ Some(std::cmp::Ord::cmp(self, other)) }`
76 | | }
| |__^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incorrect_partial_ord_impl_on_ord_type
= note: `#[deny(clippy::incorrect_partial_ord_impl_on_ord_type)]` on by default
|
build (mithril-test-lab/mithril-end-to-end, mithril-end-to-end, mithril-end-to-end, mithril-end-t...
could not compile `mithril` (lib) due to 4 previous errors; 20 warnings emitted
|
build (mithril-test-lab/mithril-end-to-end, mithril-end-to-end, mithril-end-to-end, mithril-end-t...
Clippy had exited with the 101 exit code
|
incorrect implementation of `partial_cmp` on an `Ord` type:
mithril-core/src/multi_sig_zcash.rs#L426
error: incorrect implementation of `partial_cmp` on an `Ord` type
--> mithril-core/src/multi_sig_zcash.rs:426:1
|
426 | / impl PartialOrd for Signature {
427 | | fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
| | _____________________________________________________________-
428 | || Some(self.cmp_msp_sig(other))
429 | || }
| ||_____- help: change this to: `{ Some(std::cmp::Ord::cmp(self, other)) }`
430 | | }
| |__^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incorrect_partial_ord_impl_on_ord_type
|
incorrect implementation of `partial_cmp` on an `Ord` type:
mithril-core/src/multi_sig_zcash.rs#L162
error: incorrect implementation of `partial_cmp` on an `Ord` type
--> mithril-core/src/multi_sig_zcash.rs:162:1
|
162 | / impl PartialOrd for VerificationKey {
163 | | fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
| | _____________________________________________________________-
164 | || Some(self.cmp_msp_mvk(other))
165 | || }
| ||_____- help: change this to: `{ Some(std::cmp::Ord::cmp(self, other)) }`
166 | | }
| |__^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incorrect_partial_ord_impl_on_ord_type
|
incorrect implementation of `partial_cmp` on an `Ord` type:
mithril-core/src/merkle_tree.rs#L66
error: incorrect implementation of `partial_cmp` on an `Ord` type
--> mithril-core/src/merkle_tree.rs:66:1
|
66 | / impl PartialOrd for MTLeaf {
67 | | /// Ordering of MT Values.
68 | | ///
69 | | /// First we order by stake, then by key. By having this ordering,
... |
73 | | fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
| | _____________________________________________________________-
74 | || Some(self.1.cmp(&other.1).then(self.0.cmp(&other.0)))
75 | || }
| ||_____- help: change this to: `{ Some(std::cmp::Ord::cmp(self, other)) }`
76 | | }
| |__^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incorrect_partial_ord_impl_on_ord_type
= note: `#[deny(clippy::incorrect_partial_ord_impl_on_ord_type)]` on by default
|
build (mithril-common, libmithril_common)
could not compile `mithril` (lib) due to 4 previous errors; 20 warnings emitted
|
build (mithril-common, libmithril_common)
Clippy had exited with the 101 exit code
|
incorrect implementation of `partial_cmp` on an `Ord` type:
mithril-core/src/multi_sig_zcash.rs#L426
error: incorrect implementation of `partial_cmp` on an `Ord` type
--> mithril-core/src/multi_sig_zcash.rs:426:1
|
426 | / impl PartialOrd for Signature {
427 | | fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
| | _____________________________________________________________-
428 | || Some(self.cmp_msp_sig(other))
429 | || }
| ||_____- help: change this to: `{ Some(std::cmp::Ord::cmp(self, other)) }`
430 | | }
| |__^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incorrect_partial_ord_impl_on_ord_type
|
incorrect implementation of `partial_cmp` on an `Ord` type:
mithril-core/src/multi_sig_zcash.rs#L426
error: incorrect implementation of `partial_cmp` on an `Ord` type
--> mithril-core/src/multi_sig_zcash.rs:426:1
|
426 | / impl PartialOrd for Signature {
427 | | fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
| | _____________________________________________________________-
428 | || Some(self.cmp_msp_sig(other))
429 | || }
| ||_____- help: change this to: `{ Some(std::cmp::Ord::cmp(self, other)) }`
430 | | }
| |__^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incorrect_partial_ord_impl_on_ord_type
|
incorrect implementation of `partial_cmp` on an `Ord` type:
mithril-core/src/multi_sig_zcash.rs#L162
error: incorrect implementation of `partial_cmp` on an `Ord` type
--> mithril-core/src/multi_sig_zcash.rs:162:1
|
162 | / impl PartialOrd for VerificationKey {
163 | | fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
| | _____________________________________________________________-
164 | || Some(self.cmp_msp_mvk(other))
165 | || }
| ||_____- help: change this to: `{ Some(std::cmp::Ord::cmp(self, other)) }`
166 | | }
| |__^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incorrect_partial_ord_impl_on_ord_type
|
incorrect implementation of `partial_cmp` on an `Ord` type:
mithril-core/src/multi_sig_zcash.rs#L162
error: incorrect implementation of `partial_cmp` on an `Ord` type
--> mithril-core/src/multi_sig_zcash.rs:162:1
|
162 | / impl PartialOrd for VerificationKey {
163 | | fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
| | _____________________________________________________________-
164 | || Some(self.cmp_msp_mvk(other))
165 | || }
| ||_____- help: change this to: `{ Some(std::cmp::Ord::cmp(self, other)) }`
166 | | }
| |__^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incorrect_partial_ord_impl_on_ord_type
|
incorrect implementation of `partial_cmp` on an `Ord` type:
mithril-core/src/merkle_tree.rs#L66
error: incorrect implementation of `partial_cmp` on an `Ord` type
--> mithril-core/src/merkle_tree.rs:66:1
|
66 | / impl PartialOrd for MTLeaf {
67 | | /// Ordering of MT Values.
68 | | ///
69 | | /// First we order by stake, then by key. By having this ordering,
... |
73 | | fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
| | _____________________________________________________________-
74 | || Some(self.1.cmp(&other.1).then(self.0.cmp(&other.0)))
75 | || }
| ||_____- help: change this to: `{ Some(std::cmp::Ord::cmp(self, other)) }`
76 | | }
| |__^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incorrect_partial_ord_impl_on_ord_type
= note: `#[deny(clippy::incorrect_partial_ord_impl_on_ord_type)]` on by default
|
incorrect implementation of `partial_cmp` on an `Ord` type:
mithril-core/src/merkle_tree.rs#L66
error: incorrect implementation of `partial_cmp` on an `Ord` type
--> mithril-core/src/merkle_tree.rs:66:1
|
66 | / impl PartialOrd for MTLeaf {
67 | | /// Ordering of MT Values.
68 | | ///
69 | | /// First we order by stake, then by key. By having this ordering,
... |
73 | | fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
| | _____________________________________________________________-
74 | || Some(self.1.cmp(&other.1).then(self.0.cmp(&other.0)))
75 | || }
| ||_____- help: change this to: `{ Some(std::cmp::Ord::cmp(self, other)) }`
76 | | }
| |__^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incorrect_partial_ord_impl_on_ord_type
= note: `#[deny(clippy::incorrect_partial_ord_impl_on_ord_type)]` on by default
|
build (mithril-signer)
could not compile `mithril` (lib) due to 4 previous errors; 20 warnings emitted
|
build (mithril-signer)
Clippy had exited with the 101 exit code
|
build (mithril-client)
could not compile `mithril` (lib) due to 4 previous errors; 20 warnings emitted
|
build (mithril-client)
Clippy had exited with the 101 exit code
|
incorrect implementation of `partial_cmp` on an `Ord` type:
mithril-core/src/multi_sig_blast.rs#L451
error: incorrect implementation of `partial_cmp` on an `Ord` type
--> mithril-core/src/multi_sig_blast.rs:451:1
|
451 | / impl PartialOrd for Signature {
452 | | fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
| | _____________________________________________________________-
453 | || Some(self.cmp_msp_sig(other))
454 | || }
| ||_____- help: change this to: `{ Some(std::cmp::Ord::cmp(self, other)) }`
455 | | }
| |__^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incorrect_partial_ord_impl_on_ord_type
|
incorrect implementation of `partial_cmp` on an `Ord` type:
mithril-core/src/multi_sig_blast.rs#L139
error: incorrect implementation of `partial_cmp` on an `Ord` type
--> mithril-core/src/multi_sig_blast.rs:139:1
|
139 | / impl PartialOrd for VerificationKey {
140 | | fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
| | _____________________________________________________________-
141 | || Some(self.cmp_msp_mvk(other))
142 | || }
| ||_____- help: change this to: `{ Some(std::cmp::Ord::cmp(self, other)) }`
143 | | }
| |__^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incorrect_partial_ord_impl_on_ord_type
|
incorrect implementation of `partial_cmp` on an `Ord` type:
mithril-core/src/merkle_tree.rs#L66
error: incorrect implementation of `partial_cmp` on an `Ord` type
--> mithril-core/src/merkle_tree.rs:66:1
|
66 | / impl PartialOrd for MTLeaf {
67 | | /// Ordering of MT Values.
68 | | ///
69 | | /// First we order by stake, then by key. By having this ordering,
... |
73 | | fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
| | _____________________________________________________________-
74 | || Some(self.1.cmp(&other.1).then(self.0.cmp(&other.0)))
75 | || }
| ||_____- help: change this to: `{ Some(std::cmp::Ord::cmp(self, other)) }`
76 | | }
| |__^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incorrect_partial_ord_impl_on_ord_type
= note: `#[deny(clippy::incorrect_partial_ord_impl_on_ord_type)]` on by default
|
build (mithril-core, mithril, libmithril, true)
could not compile `mithril` (lib) due to 4 previous errors; 11 warnings emitted
|
build (mithril-core, mithril, libmithril, true)
Clippy had exited with the 101 exit code
|
incorrect implementation of `partial_cmp` on an `Ord` type:
mithril-core/src/multi_sig_zcash.rs#L426
error: incorrect implementation of `partial_cmp` on an `Ord` type
--> mithril-core/src/multi_sig_zcash.rs:426:1
|
426 | / impl PartialOrd for Signature {
427 | | fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
| | _____________________________________________________________-
428 | || Some(self.cmp_msp_sig(other))
429 | || }
| ||_____- help: change this to: `{ Some(std::cmp::Ord::cmp(self, other)) }`
430 | | }
| |__^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incorrect_partial_ord_impl_on_ord_type
|
incorrect implementation of `partial_cmp` on an `Ord` type:
mithril-core/src/multi_sig_zcash.rs#L162
error: incorrect implementation of `partial_cmp` on an `Ord` type
--> mithril-core/src/multi_sig_zcash.rs:162:1
|
162 | / impl PartialOrd for VerificationKey {
163 | | fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
| | _____________________________________________________________-
164 | || Some(self.cmp_msp_mvk(other))
165 | || }
| ||_____- help: change this to: `{ Some(std::cmp::Ord::cmp(self, other)) }`
166 | | }
| |__^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incorrect_partial_ord_impl_on_ord_type
|
incorrect implementation of `partial_cmp` on an `Ord` type:
mithril-core/src/merkle_tree.rs#L66
error: incorrect implementation of `partial_cmp` on an `Ord` type
--> mithril-core/src/merkle_tree.rs:66:1
|
66 | / impl PartialOrd for MTLeaf {
67 | | /// Ordering of MT Values.
68 | | ///
69 | | /// First we order by stake, then by key. By having this ordering,
... |
73 | | fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
| | _____________________________________________________________-
74 | || Some(self.1.cmp(&other.1).then(self.0.cmp(&other.0)))
75 | || }
| ||_____- help: change this to: `{ Some(std::cmp::Ord::cmp(self, other)) }`
76 | | }
| |__^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incorrect_partial_ord_impl_on_ord_type
= note: `#[deny(clippy::incorrect_partial_ord_impl_on_ord_type)]` on by default
|
build (mithril-aggregator)
could not compile `mithril` (lib) due to 4 previous errors; 20 warnings emitted
|
build (mithril-aggregator)
Clippy had exited with the 101 exit code
|
publish-tests-results
Unable to find any artifacts for the associated workflow
|
publish-tests-results
Unable to find any artifacts for the associated workflow
|
publish-tests-results
Unable to find any artifacts for the associated workflow
|
publish-tests-results
Unable to find any artifacts for the associated workflow
|
publish-tests-results
Unable to find any artifacts for the associated workflow
|
publish-tests-results
Unable to find any artifacts for the associated workflow
|
publish-tests-results
Unable to find any artifacts for the associated workflow
|
the borrowed expression implements the required traits:
mithril-core/src/multi_sig_zcash.rs#L403
warning: the borrowed expression implements the required traits
--> mithril-core/src/multi_sig_zcash.rs:403:27
|
403 | hasher.update(&index.to_be_bytes());
| ^^^^^^^^^^^^^^^^^^^^ help: change this to: `index.to_be_bytes()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
the borrowed expression implements the required traits:
mithril-core/src/multi_sig_zcash.rs#L393
warning: the borrowed expression implements the required traits
--> mithril-core/src/multi_sig_zcash.rs:393:31
|
393 | hasher.update(&index.to_be_bytes());
| ^^^^^^^^^^^^^^^^^^^^ help: change this to: `index.to_be_bytes()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
the borrowed expression implements the required traits:
mithril-core/src/multi_sig_zcash.rs#L384
warning: the borrowed expression implements the required traits
--> mithril-core/src/multi_sig_zcash.rs:384:32
|
384 | hashed_sigs.update(&sig.to_bytes());
| ^^^^^^^^^^^^^^^ help: change this to: `sig.to_bytes()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L381
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:381:10
|
381 | ) -> Result<(), MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L345
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:345:40
|
345 | pub fn from_bytes(bytes: &[u8]) -> Result<Self, MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the borrowed expression implements the required traits:
mithril-core/src/multi_sig_zcash.rs#L328
warning: the borrowed expression implements the required traits
--> mithril-core/src/multi_sig_zcash.rs:328:20
|
328 | .chain(&self.to_bytes())
| ^^^^^^^^^^^^^^^^ help: change this to: `self.to_bytes()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
the borrowed expression implements the required traits:
mithril-core/src/multi_sig_zcash.rs#L327
warning: the borrowed expression implements the required traits
--> mithril-core/src/multi_sig_zcash.rs:327:20
|
327 | .chain(&index.to_le_bytes())
| ^^^^^^^^^^^^^^^^^^^^ help: change this to: `index.to_le_bytes()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L305
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:305:64
|
305 | pub fn verify(&self, msg: &[u8], mvk: &VerificationKey) -> Result<(), MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L284
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:284:40
|
284 | pub fn from_bytes(bytes: &[u8]) -> Result<Self, MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L252
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:252:28
|
252 | pub fn check(&self) -> Result<(), MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L212
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:212:40
|
212 | pub fn from_bytes(bytes: &[u8]) -> Result<Self, MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L103
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:103:40
|
103 | pub fn from_bytes(bytes: &[u8]) -> Result<Self, MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L80
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:80:40
|
80 | pub fn from_bytes(bytes: &[u8]) -> Result<Self, MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/stm.rs#L853
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/stm.rs:853:40
|
853 | pub fn from_bytes(bytes: &[u8]) -> Result<StmAggrSig<D>, StmSignatureError<D>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:42:5
|
42 | IvkInvalid(VerificationKey),
| --------------------------- the largest variant contains at least 288 bytes
...
46 | SumInvalid(Signature),
| --------------------- the variant `SumInvalid` contains at least 144 bytes
...
70 | SingleSignatureInvalid(Signature),
| --------------------------------- the variant `SingleSignatureInvalid` contains at least 144 bytes
|
= help: try reducing the size of `error::StmSignatureError<D>`, for example by boxing large elements or replacing it with `Box<error::StmSignatureError<D>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/stm.rs#L779
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/stm.rs:779:10
|
779 | ) -> Result<(), StmSignatureError<D>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:42:5
|
42 | IvkInvalid(VerificationKey),
| --------------------------- the largest variant contains at least 288 bytes
...
46 | SumInvalid(Signature),
| --------------------- the variant `SumInvalid` contains at least 144 bytes
...
70 | SingleSignatureInvalid(Signature),
| --------------------------------- the variant `SingleSignatureInvalid` contains at least 144 bytes
|
= help: try reducing the size of `error::StmSignatureError<D>`, for example by boxing large elements or replacing it with `Box<error::StmSignatureError<D>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/stm.rs#L719
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/stm.rs:719:40
|
719 | pub fn from_bytes(bytes: &[u8]) -> Result<StmSig<D>, StmSignatureError<D>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:42:5
|
42 | IvkInvalid(VerificationKey),
| --------------------------- the largest variant contains at least 288 bytes
...
46 | SumInvalid(Signature),
| --------------------- the variant `SumInvalid` contains at least 144 bytes
...
70 | SingleSignatureInvalid(Signature),
| --------------------------------- the variant `SingleSignatureInvalid` contains at least 144 bytes
|
= help: try reducing the size of `error::StmSignatureError<D>`, for example by boxing large elements or replacing it with `Box<error::StmSignatureError<D>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/stm.rs#L679
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/stm.rs:679:10
|
679 | ) -> Result<(), StmSignatureError<D>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:42:5
|
42 | IvkInvalid(VerificationKey),
| --------------------------- the largest variant contains at least 288 bytes
...
46 | SumInvalid(Signature),
| --------------------- the variant `SumInvalid` contains at least 144 bytes
...
70 | SingleSignatureInvalid(Signature),
| --------------------------------- the variant `SingleSignatureInvalid` contains at least 144 bytes
|
= help: try reducing the size of `error::StmSignatureError<D>`, for example by boxing large elements or replacing it with `Box<error::StmSignatureError<D>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/stm.rs#L663
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/stm.rs:663:10
|
663 | ) -> Result<(), StmSignatureError<D>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:42:5
|
42 | IvkInvalid(VerificationKey),
| --------------------------- the largest variant contains at least 288 bytes
...
46 | SumInvalid(Signature),
| --------------------- the variant `SumInvalid` contains at least 144 bytes
...
70 | SingleSignatureInvalid(Signature),
| --------------------------------- the variant `SingleSignatureInvalid` contains at least 144 bytes
|
= help: try reducing the size of `error::StmSignatureError<D>`, for example by boxing large elements or replacing it with `Box<error::StmSignatureError<D>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
= note: `#[warn(clippy::result_large_err)]` on by default
|
use of `default` to create a unit struct:
mithril-core/src/merkle_tree.rs#L278
warning: use of `default` to create a unit struct
--> mithril-core/src/merkle_tree.rs:278:32
|
278 | hasher: PhantomData::default(),
| ^^^^^^^^^^^ help: remove this call to `default`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_constructed_unit_structs
|
use of `default` to create a unit struct:
mithril-core/src/merkle_tree.rs#L195
warning: use of `default` to create a unit struct
--> mithril-core/src/merkle_tree.rs:195:32
|
195 | hasher: PhantomData::default(),
| ^^^^^^^^^^^ help: remove this call to `default`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_constructed_unit_structs
= note: `#[warn(clippy::default_constructed_unit_structs)]` on by default
|
build (demo/protocol-demo, mithrildemo, mithrildemo, mithrildemo, true)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build (demo/protocol-demo, mithrildemo, mithrildemo, mithrildemo, true)
No files were found with the provided path: ./**/test-results-*.xml. No artifacts will be uploaded.
|
build (demo/protocol-demo, mithrildemo, mithrildemo, mithrildemo, true)
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/
|
build (demo/protocol-demo, mithrildemo, mithrildemo, mithrildemo, true)
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/
|
build (demo/protocol-demo, mithrildemo, mithrildemo, mithrildemo, true)
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/
|
build (demo/protocol-demo, mithrildemo, mithrildemo, mithrildemo, true)
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/
|
build (demo/protocol-demo, mithrildemo, mithrildemo, mithrildemo, true)
some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"`
|
build (demo/protocol-demo, mithrildemo, mithrildemo, mithrildemo, true)
the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0
|
build (demo/protocol-demo, mithrildemo, mithrildemo, mithrildemo, true)
some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"`
|
build (demo/protocol-demo, mithrildemo, mithrildemo, mithrildemo, true)
some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"`
|
build (demo/protocol-demo, mithrildemo, mithrildemo, mithrildemo, true)
the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0
|
the borrowed expression implements the required traits:
mithril-core/src/multi_sig_zcash.rs#L403
warning: the borrowed expression implements the required traits
--> mithril-core/src/multi_sig_zcash.rs:403:27
|
403 | hasher.update(&index.to_be_bytes());
| ^^^^^^^^^^^^^^^^^^^^ help: change this to: `index.to_be_bytes()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
the borrowed expression implements the required traits:
mithril-core/src/multi_sig_zcash.rs#L393
warning: the borrowed expression implements the required traits
--> mithril-core/src/multi_sig_zcash.rs:393:31
|
393 | hasher.update(&index.to_be_bytes());
| ^^^^^^^^^^^^^^^^^^^^ help: change this to: `index.to_be_bytes()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
the borrowed expression implements the required traits:
mithril-core/src/multi_sig_zcash.rs#L384
warning: the borrowed expression implements the required traits
--> mithril-core/src/multi_sig_zcash.rs:384:32
|
384 | hashed_sigs.update(&sig.to_bytes());
| ^^^^^^^^^^^^^^^ help: change this to: `sig.to_bytes()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L381
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:381:10
|
381 | ) -> Result<(), MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L345
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:345:40
|
345 | pub fn from_bytes(bytes: &[u8]) -> Result<Self, MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the borrowed expression implements the required traits:
mithril-core/src/multi_sig_zcash.rs#L328
warning: the borrowed expression implements the required traits
--> mithril-core/src/multi_sig_zcash.rs:328:20
|
328 | .chain(&self.to_bytes())
| ^^^^^^^^^^^^^^^^ help: change this to: `self.to_bytes()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
the borrowed expression implements the required traits:
mithril-core/src/multi_sig_zcash.rs#L327
warning: the borrowed expression implements the required traits
--> mithril-core/src/multi_sig_zcash.rs:327:20
|
327 | .chain(&index.to_le_bytes())
| ^^^^^^^^^^^^^^^^^^^^ help: change this to: `index.to_le_bytes()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L305
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:305:64
|
305 | pub fn verify(&self, msg: &[u8], mvk: &VerificationKey) -> Result<(), MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L284
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:284:40
|
284 | pub fn from_bytes(bytes: &[u8]) -> Result<Self, MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L252
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:252:28
|
252 | pub fn check(&self) -> Result<(), MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L212
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:212:40
|
212 | pub fn from_bytes(bytes: &[u8]) -> Result<Self, MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L103
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:103:40
|
103 | pub fn from_bytes(bytes: &[u8]) -> Result<Self, MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L80
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:80:40
|
80 | pub fn from_bytes(bytes: &[u8]) -> Result<Self, MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/stm.rs#L853
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/stm.rs:853:40
|
853 | pub fn from_bytes(bytes: &[u8]) -> Result<StmAggrSig<D>, StmSignatureError<D>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:42:5
|
42 | IvkInvalid(VerificationKey),
| --------------------------- the largest variant contains at least 288 bytes
...
46 | SumInvalid(Signature),
| --------------------- the variant `SumInvalid` contains at least 144 bytes
...
70 | SingleSignatureInvalid(Signature),
| --------------------------------- the variant `SingleSignatureInvalid` contains at least 144 bytes
|
= help: try reducing the size of `error::StmSignatureError<D>`, for example by boxing large elements or replacing it with `Box<error::StmSignatureError<D>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/stm.rs#L779
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/stm.rs:779:10
|
779 | ) -> Result<(), StmSignatureError<D>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:42:5
|
42 | IvkInvalid(VerificationKey),
| --------------------------- the largest variant contains at least 288 bytes
...
46 | SumInvalid(Signature),
| --------------------- the variant `SumInvalid` contains at least 144 bytes
...
70 | SingleSignatureInvalid(Signature),
| --------------------------------- the variant `SingleSignatureInvalid` contains at least 144 bytes
|
= help: try reducing the size of `error::StmSignatureError<D>`, for example by boxing large elements or replacing it with `Box<error::StmSignatureError<D>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/stm.rs#L719
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/stm.rs:719:40
|
719 | pub fn from_bytes(bytes: &[u8]) -> Result<StmSig<D>, StmSignatureError<D>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:42:5
|
42 | IvkInvalid(VerificationKey),
| --------------------------- the largest variant contains at least 288 bytes
...
46 | SumInvalid(Signature),
| --------------------- the variant `SumInvalid` contains at least 144 bytes
...
70 | SingleSignatureInvalid(Signature),
| --------------------------------- the variant `SingleSignatureInvalid` contains at least 144 bytes
|
= help: try reducing the size of `error::StmSignatureError<D>`, for example by boxing large elements or replacing it with `Box<error::StmSignatureError<D>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/stm.rs#L679
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/stm.rs:679:10
|
679 | ) -> Result<(), StmSignatureError<D>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:42:5
|
42 | IvkInvalid(VerificationKey),
| --------------------------- the largest variant contains at least 288 bytes
...
46 | SumInvalid(Signature),
| --------------------- the variant `SumInvalid` contains at least 144 bytes
...
70 | SingleSignatureInvalid(Signature),
| --------------------------------- the variant `SingleSignatureInvalid` contains at least 144 bytes
|
= help: try reducing the size of `error::StmSignatureError<D>`, for example by boxing large elements or replacing it with `Box<error::StmSignatureError<D>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/stm.rs#L663
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/stm.rs:663:10
|
663 | ) -> Result<(), StmSignatureError<D>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:42:5
|
42 | IvkInvalid(VerificationKey),
| --------------------------- the largest variant contains at least 288 bytes
...
46 | SumInvalid(Signature),
| --------------------- the variant `SumInvalid` contains at least 144 bytes
...
70 | SingleSignatureInvalid(Signature),
| --------------------------------- the variant `SingleSignatureInvalid` contains at least 144 bytes
|
= help: try reducing the size of `error::StmSignatureError<D>`, for example by boxing large elements or replacing it with `Box<error::StmSignatureError<D>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
= note: `#[warn(clippy::result_large_err)]` on by default
|
use of `default` to create a unit struct:
mithril-core/src/merkle_tree.rs#L278
warning: use of `default` to create a unit struct
--> mithril-core/src/merkle_tree.rs:278:32
|
278 | hasher: PhantomData::default(),
| ^^^^^^^^^^^ help: remove this call to `default`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_constructed_unit_structs
|
use of `default` to create a unit struct:
mithril-core/src/merkle_tree.rs#L195
warning: use of `default` to create a unit struct
--> mithril-core/src/merkle_tree.rs:195:32
|
195 | hasher: PhantomData::default(),
| ^^^^^^^^^^^ help: remove this call to `default`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_constructed_unit_structs
= note: `#[warn(clippy::default_constructed_unit_structs)]` on by default
|
build (mithril-test-lab/mithril-end-to-end, mithril-end-to-end, mithril-end-to-end, mithril-end-t...
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build (mithril-test-lab/mithril-end-to-end, mithril-end-to-end, mithril-end-to-end, mithril-end-t...
some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"`
|
build (mithril-test-lab/mithril-end-to-end, mithril-end-to-end, mithril-end-to-end, mithril-end-t...
some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"`
|
build (mithril-test-lab/mithril-end-to-end, mithril-end-to-end, mithril-end-to-end, mithril-end-t...
the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0
|
build (mithril-test-lab/mithril-end-to-end, mithril-end-to-end, mithril-end-to-end, mithril-end-t...
No files were found with the provided path: ./**/test-results-*.xml. No artifacts will be uploaded.
|
build (mithril-test-lab/mithril-end-to-end, mithril-end-to-end, mithril-end-to-end, mithril-end-t...
some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"`
|
build (mithril-test-lab/mithril-end-to-end, mithril-end-to-end, mithril-end-to-end, mithril-end-t...
the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0
|
build (mithril-test-lab/mithril-end-to-end, mithril-end-to-end, mithril-end-to-end, mithril-end-t...
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/
|
build (mithril-test-lab/mithril-end-to-end, mithril-end-to-end, mithril-end-to-end, mithril-end-t...
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/
|
build (mithril-test-lab/mithril-end-to-end, mithril-end-to-end, mithril-end-to-end, mithril-end-t...
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/
|
build (mithril-test-lab/mithril-end-to-end, mithril-end-to-end, mithril-end-to-end, mithril-end-t...
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/
|
the borrowed expression implements the required traits:
mithril-core/src/multi_sig_zcash.rs#L403
warning: the borrowed expression implements the required traits
--> mithril-core/src/multi_sig_zcash.rs:403:27
|
403 | hasher.update(&index.to_be_bytes());
| ^^^^^^^^^^^^^^^^^^^^ help: change this to: `index.to_be_bytes()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
the borrowed expression implements the required traits:
mithril-core/src/multi_sig_zcash.rs#L393
warning: the borrowed expression implements the required traits
--> mithril-core/src/multi_sig_zcash.rs:393:31
|
393 | hasher.update(&index.to_be_bytes());
| ^^^^^^^^^^^^^^^^^^^^ help: change this to: `index.to_be_bytes()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
the borrowed expression implements the required traits:
mithril-core/src/multi_sig_zcash.rs#L384
warning: the borrowed expression implements the required traits
--> mithril-core/src/multi_sig_zcash.rs:384:32
|
384 | hashed_sigs.update(&sig.to_bytes());
| ^^^^^^^^^^^^^^^ help: change this to: `sig.to_bytes()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L381
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:381:10
|
381 | ) -> Result<(), MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L345
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:345:40
|
345 | pub fn from_bytes(bytes: &[u8]) -> Result<Self, MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the borrowed expression implements the required traits:
mithril-core/src/multi_sig_zcash.rs#L328
warning: the borrowed expression implements the required traits
--> mithril-core/src/multi_sig_zcash.rs:328:20
|
328 | .chain(&self.to_bytes())
| ^^^^^^^^^^^^^^^^ help: change this to: `self.to_bytes()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
the borrowed expression implements the required traits:
mithril-core/src/multi_sig_zcash.rs#L327
warning: the borrowed expression implements the required traits
--> mithril-core/src/multi_sig_zcash.rs:327:20
|
327 | .chain(&index.to_le_bytes())
| ^^^^^^^^^^^^^^^^^^^^ help: change this to: `index.to_le_bytes()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L305
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:305:64
|
305 | pub fn verify(&self, msg: &[u8], mvk: &VerificationKey) -> Result<(), MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L284
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:284:40
|
284 | pub fn from_bytes(bytes: &[u8]) -> Result<Self, MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L252
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:252:28
|
252 | pub fn check(&self) -> Result<(), MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L212
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:212:40
|
212 | pub fn from_bytes(bytes: &[u8]) -> Result<Self, MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L103
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:103:40
|
103 | pub fn from_bytes(bytes: &[u8]) -> Result<Self, MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L80
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:80:40
|
80 | pub fn from_bytes(bytes: &[u8]) -> Result<Self, MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/stm.rs#L853
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/stm.rs:853:40
|
853 | pub fn from_bytes(bytes: &[u8]) -> Result<StmAggrSig<D>, StmSignatureError<D>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:42:5
|
42 | IvkInvalid(VerificationKey),
| --------------------------- the largest variant contains at least 288 bytes
...
46 | SumInvalid(Signature),
| --------------------- the variant `SumInvalid` contains at least 144 bytes
...
70 | SingleSignatureInvalid(Signature),
| --------------------------------- the variant `SingleSignatureInvalid` contains at least 144 bytes
|
= help: try reducing the size of `error::StmSignatureError<D>`, for example by boxing large elements or replacing it with `Box<error::StmSignatureError<D>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/stm.rs#L779
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/stm.rs:779:10
|
779 | ) -> Result<(), StmSignatureError<D>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:42:5
|
42 | IvkInvalid(VerificationKey),
| --------------------------- the largest variant contains at least 288 bytes
...
46 | SumInvalid(Signature),
| --------------------- the variant `SumInvalid` contains at least 144 bytes
...
70 | SingleSignatureInvalid(Signature),
| --------------------------------- the variant `SingleSignatureInvalid` contains at least 144 bytes
|
= help: try reducing the size of `error::StmSignatureError<D>`, for example by boxing large elements or replacing it with `Box<error::StmSignatureError<D>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/stm.rs#L719
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/stm.rs:719:40
|
719 | pub fn from_bytes(bytes: &[u8]) -> Result<StmSig<D>, StmSignatureError<D>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:42:5
|
42 | IvkInvalid(VerificationKey),
| --------------------------- the largest variant contains at least 288 bytes
...
46 | SumInvalid(Signature),
| --------------------- the variant `SumInvalid` contains at least 144 bytes
...
70 | SingleSignatureInvalid(Signature),
| --------------------------------- the variant `SingleSignatureInvalid` contains at least 144 bytes
|
= help: try reducing the size of `error::StmSignatureError<D>`, for example by boxing large elements or replacing it with `Box<error::StmSignatureError<D>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/stm.rs#L679
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/stm.rs:679:10
|
679 | ) -> Result<(), StmSignatureError<D>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:42:5
|
42 | IvkInvalid(VerificationKey),
| --------------------------- the largest variant contains at least 288 bytes
...
46 | SumInvalid(Signature),
| --------------------- the variant `SumInvalid` contains at least 144 bytes
...
70 | SingleSignatureInvalid(Signature),
| --------------------------------- the variant `SingleSignatureInvalid` contains at least 144 bytes
|
= help: try reducing the size of `error::StmSignatureError<D>`, for example by boxing large elements or replacing it with `Box<error::StmSignatureError<D>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/stm.rs#L663
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/stm.rs:663:10
|
663 | ) -> Result<(), StmSignatureError<D>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:42:5
|
42 | IvkInvalid(VerificationKey),
| --------------------------- the largest variant contains at least 288 bytes
...
46 | SumInvalid(Signature),
| --------------------- the variant `SumInvalid` contains at least 144 bytes
...
70 | SingleSignatureInvalid(Signature),
| --------------------------------- the variant `SingleSignatureInvalid` contains at least 144 bytes
|
= help: try reducing the size of `error::StmSignatureError<D>`, for example by boxing large elements or replacing it with `Box<error::StmSignatureError<D>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
= note: `#[warn(clippy::result_large_err)]` on by default
|
use of `default` to create a unit struct:
mithril-core/src/merkle_tree.rs#L278
warning: use of `default` to create a unit struct
--> mithril-core/src/merkle_tree.rs:278:32
|
278 | hasher: PhantomData::default(),
| ^^^^^^^^^^^ help: remove this call to `default`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_constructed_unit_structs
|
use of `default` to create a unit struct:
mithril-core/src/merkle_tree.rs#L195
warning: use of `default` to create a unit struct
--> mithril-core/src/merkle_tree.rs:195:32
|
195 | hasher: PhantomData::default(),
| ^^^^^^^^^^^ help: remove this call to `default`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_constructed_unit_structs
= note: `#[warn(clippy::default_constructed_unit_structs)]` on by default
|
build (mithril-common, libmithril_common)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build (mithril-common, libmithril_common)
No files were found with the provided path: ./**/test-results-*.xml. No artifacts will be uploaded.
|
build (mithril-common, libmithril_common)
some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"`
|
build (mithril-common, libmithril_common)
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/
|
build (mithril-common, libmithril_common)
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/
|
build (mithril-common, libmithril_common)
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/
|
build (mithril-common, libmithril_common)
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/
|
build (mithril-common, libmithril_common)
some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"`
|
build (mithril-common, libmithril_common)
the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0
|
build (mithril-common, libmithril_common)
some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"`
|
build (mithril-common, libmithril_common)
the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0
|
the borrowed expression implements the required traits:
mithril-core/src/multi_sig_zcash.rs#L403
warning: the borrowed expression implements the required traits
--> mithril-core/src/multi_sig_zcash.rs:403:27
|
403 | hasher.update(&index.to_be_bytes());
| ^^^^^^^^^^^^^^^^^^^^ help: change this to: `index.to_be_bytes()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
the borrowed expression implements the required traits:
mithril-core/src/multi_sig_zcash.rs#L393
warning: the borrowed expression implements the required traits
--> mithril-core/src/multi_sig_zcash.rs:393:31
|
393 | hasher.update(&index.to_be_bytes());
| ^^^^^^^^^^^^^^^^^^^^ help: change this to: `index.to_be_bytes()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
the borrowed expression implements the required traits:
mithril-core/src/multi_sig_zcash.rs#L384
warning: the borrowed expression implements the required traits
--> mithril-core/src/multi_sig_zcash.rs:384:32
|
384 | hashed_sigs.update(&sig.to_bytes());
| ^^^^^^^^^^^^^^^ help: change this to: `sig.to_bytes()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L381
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:381:10
|
381 | ) -> Result<(), MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L345
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:345:40
|
345 | pub fn from_bytes(bytes: &[u8]) -> Result<Self, MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the borrowed expression implements the required traits:
mithril-core/src/multi_sig_zcash.rs#L403
warning: the borrowed expression implements the required traits
--> mithril-core/src/multi_sig_zcash.rs:403:27
|
403 | hasher.update(&index.to_be_bytes());
| ^^^^^^^^^^^^^^^^^^^^ help: change this to: `index.to_be_bytes()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
the borrowed expression implements the required traits:
mithril-core/src/multi_sig_zcash.rs#L328
warning: the borrowed expression implements the required traits
--> mithril-core/src/multi_sig_zcash.rs:328:20
|
328 | .chain(&self.to_bytes())
| ^^^^^^^^^^^^^^^^ help: change this to: `self.to_bytes()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
the borrowed expression implements the required traits:
mithril-core/src/multi_sig_zcash.rs#L393
warning: the borrowed expression implements the required traits
--> mithril-core/src/multi_sig_zcash.rs:393:31
|
393 | hasher.update(&index.to_be_bytes());
| ^^^^^^^^^^^^^^^^^^^^ help: change this to: `index.to_be_bytes()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
the borrowed expression implements the required traits:
mithril-core/src/multi_sig_zcash.rs#L327
warning: the borrowed expression implements the required traits
--> mithril-core/src/multi_sig_zcash.rs:327:20
|
327 | .chain(&index.to_le_bytes())
| ^^^^^^^^^^^^^^^^^^^^ help: change this to: `index.to_le_bytes()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
|
the borrowed expression implements the required traits:
mithril-core/src/multi_sig_zcash.rs#L384
warning: the borrowed expression implements the required traits
--> mithril-core/src/multi_sig_zcash.rs:384:32
|
384 | hashed_sigs.update(&sig.to_bytes());
| ^^^^^^^^^^^^^^^ help: change this to: `sig.to_bytes()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L305
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:305:64
|
305 | pub fn verify(&self, msg: &[u8], mvk: &VerificationKey) -> Result<(), MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L381
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:381:10
|
381 | ) -> Result<(), MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L284
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:284:40
|
284 | pub fn from_bytes(bytes: &[u8]) -> Result<Self, MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L345
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:345:40
|
345 | pub fn from_bytes(bytes: &[u8]) -> Result<Self, MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L252
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:252:28
|
252 | pub fn check(&self) -> Result<(), MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the borrowed expression implements the required traits:
mithril-core/src/multi_sig_zcash.rs#L328
warning: the borrowed expression implements the required traits
--> mithril-core/src/multi_sig_zcash.rs:328:20
|
328 | .chain(&self.to_bytes())
| ^^^^^^^^^^^^^^^^ help: change this to: `self.to_bytes()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L212
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:212:40
|
212 | pub fn from_bytes(bytes: &[u8]) -> Result<Self, MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the borrowed expression implements the required traits:
mithril-core/src/multi_sig_zcash.rs#L327
warning: the borrowed expression implements the required traits
--> mithril-core/src/multi_sig_zcash.rs:327:20
|
327 | .chain(&index.to_le_bytes())
| ^^^^^^^^^^^^^^^^^^^^ help: change this to: `index.to_le_bytes()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L305
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:305:64
|
305 | pub fn verify(&self, msg: &[u8], mvk: &VerificationKey) -> Result<(), MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L103
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:103:40
|
103 | pub fn from_bytes(bytes: &[u8]) -> Result<Self, MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L284
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:284:40
|
284 | pub fn from_bytes(bytes: &[u8]) -> Result<Self, MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L80
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:80:40
|
80 | pub fn from_bytes(bytes: &[u8]) -> Result<Self, MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L252
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:252:28
|
252 | pub fn check(&self) -> Result<(), MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/stm.rs#L853
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/stm.rs:853:40
|
853 | pub fn from_bytes(bytes: &[u8]) -> Result<StmAggrSig<D>, StmSignatureError<D>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:42:5
|
42 | IvkInvalid(VerificationKey),
| --------------------------- the largest variant contains at least 288 bytes
...
46 | SumInvalid(Signature),
| --------------------- the variant `SumInvalid` contains at least 144 bytes
...
70 | SingleSignatureInvalid(Signature),
| --------------------------------- the variant `SingleSignatureInvalid` contains at least 144 bytes
|
= help: try reducing the size of `error::StmSignatureError<D>`, for example by boxing large elements or replacing it with `Box<error::StmSignatureError<D>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L212
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:212:40
|
212 | pub fn from_bytes(bytes: &[u8]) -> Result<Self, MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/stm.rs#L779
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/stm.rs:779:10
|
779 | ) -> Result<(), StmSignatureError<D>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:42:5
|
42 | IvkInvalid(VerificationKey),
| --------------------------- the largest variant contains at least 288 bytes
...
46 | SumInvalid(Signature),
| --------------------- the variant `SumInvalid` contains at least 144 bytes
...
70 | SingleSignatureInvalid(Signature),
| --------------------------------- the variant `SingleSignatureInvalid` contains at least 144 bytes
|
= help: try reducing the size of `error::StmSignatureError<D>`, for example by boxing large elements or replacing it with `Box<error::StmSignatureError<D>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/stm.rs#L719
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/stm.rs:719:40
|
719 | pub fn from_bytes(bytes: &[u8]) -> Result<StmSig<D>, StmSignatureError<D>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:42:5
|
42 | IvkInvalid(VerificationKey),
| --------------------------- the largest variant contains at least 288 bytes
...
46 | SumInvalid(Signature),
| --------------------- the variant `SumInvalid` contains at least 144 bytes
...
70 | SingleSignatureInvalid(Signature),
| --------------------------------- the variant `SingleSignatureInvalid` contains at least 144 bytes
|
= help: try reducing the size of `error::StmSignatureError<D>`, for example by boxing large elements or replacing it with `Box<error::StmSignatureError<D>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L103
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:103:40
|
103 | pub fn from_bytes(bytes: &[u8]) -> Result<Self, MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L80
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:80:40
|
80 | pub fn from_bytes(bytes: &[u8]) -> Result<Self, MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/stm.rs#L853
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/stm.rs:853:40
|
853 | pub fn from_bytes(bytes: &[u8]) -> Result<StmAggrSig<D>, StmSignatureError<D>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:42:5
|
42 | IvkInvalid(VerificationKey),
| --------------------------- the largest variant contains at least 288 bytes
...
46 | SumInvalid(Signature),
| --------------------- the variant `SumInvalid` contains at least 144 bytes
...
70 | SingleSignatureInvalid(Signature),
| --------------------------------- the variant `SingleSignatureInvalid` contains at least 144 bytes
|
= help: try reducing the size of `error::StmSignatureError<D>`, for example by boxing large elements or replacing it with `Box<error::StmSignatureError<D>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/stm.rs#L679
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/stm.rs:679:10
|
679 | ) -> Result<(), StmSignatureError<D>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:42:5
|
42 | IvkInvalid(VerificationKey),
| --------------------------- the largest variant contains at least 288 bytes
...
46 | SumInvalid(Signature),
| --------------------- the variant `SumInvalid` contains at least 144 bytes
...
70 | SingleSignatureInvalid(Signature),
| --------------------------------- the variant `SingleSignatureInvalid` contains at least 144 bytes
|
= help: try reducing the size of `error::StmSignatureError<D>`, for example by boxing large elements or replacing it with `Box<error::StmSignatureError<D>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/stm.rs#L779
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/stm.rs:779:10
|
779 | ) -> Result<(), StmSignatureError<D>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:42:5
|
42 | IvkInvalid(VerificationKey),
| --------------------------- the largest variant contains at least 288 bytes
...
46 | SumInvalid(Signature),
| --------------------- the variant `SumInvalid` contains at least 144 bytes
...
70 | SingleSignatureInvalid(Signature),
| --------------------------------- the variant `SingleSignatureInvalid` contains at least 144 bytes
|
= help: try reducing the size of `error::StmSignatureError<D>`, for example by boxing large elements or replacing it with `Box<error::StmSignatureError<D>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/stm.rs#L663
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/stm.rs:663:10
|
663 | ) -> Result<(), StmSignatureError<D>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:42:5
|
42 | IvkInvalid(VerificationKey),
| --------------------------- the largest variant contains at least 288 bytes
...
46 | SumInvalid(Signature),
| --------------------- the variant `SumInvalid` contains at least 144 bytes
...
70 | SingleSignatureInvalid(Signature),
| --------------------------------- the variant `SingleSignatureInvalid` contains at least 144 bytes
|
= help: try reducing the size of `error::StmSignatureError<D>`, for example by boxing large elements or replacing it with `Box<error::StmSignatureError<D>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
= note: `#[warn(clippy::result_large_err)]` on by default
|
the `Err`-variant returned from this function is very large:
mithril-core/src/stm.rs#L719
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/stm.rs:719:40
|
719 | pub fn from_bytes(bytes: &[u8]) -> Result<StmSig<D>, StmSignatureError<D>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:42:5
|
42 | IvkInvalid(VerificationKey),
| --------------------------- the largest variant contains at least 288 bytes
...
46 | SumInvalid(Signature),
| --------------------- the variant `SumInvalid` contains at least 144 bytes
...
70 | SingleSignatureInvalid(Signature),
| --------------------------------- the variant `SingleSignatureInvalid` contains at least 144 bytes
|
= help: try reducing the size of `error::StmSignatureError<D>`, for example by boxing large elements or replacing it with `Box<error::StmSignatureError<D>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
use of `default` to create a unit struct:
mithril-core/src/merkle_tree.rs#L278
warning: use of `default` to create a unit struct
--> mithril-core/src/merkle_tree.rs:278:32
|
278 | hasher: PhantomData::default(),
| ^^^^^^^^^^^ help: remove this call to `default`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_constructed_unit_structs
|
the `Err`-variant returned from this function is very large:
mithril-core/src/stm.rs#L679
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/stm.rs:679:10
|
679 | ) -> Result<(), StmSignatureError<D>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:42:5
|
42 | IvkInvalid(VerificationKey),
| --------------------------- the largest variant contains at least 288 bytes
...
46 | SumInvalid(Signature),
| --------------------- the variant `SumInvalid` contains at least 144 bytes
...
70 | SingleSignatureInvalid(Signature),
| --------------------------------- the variant `SingleSignatureInvalid` contains at least 144 bytes
|
= help: try reducing the size of `error::StmSignatureError<D>`, for example by boxing large elements or replacing it with `Box<error::StmSignatureError<D>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
use of `default` to create a unit struct:
mithril-core/src/merkle_tree.rs#L195
warning: use of `default` to create a unit struct
--> mithril-core/src/merkle_tree.rs:195:32
|
195 | hasher: PhantomData::default(),
| ^^^^^^^^^^^ help: remove this call to `default`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_constructed_unit_structs
= note: `#[warn(clippy::default_constructed_unit_structs)]` on by default
|
the `Err`-variant returned from this function is very large:
mithril-core/src/stm.rs#L663
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/stm.rs:663:10
|
663 | ) -> Result<(), StmSignatureError<D>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:42:5
|
42 | IvkInvalid(VerificationKey),
| --------------------------- the largest variant contains at least 288 bytes
...
46 | SumInvalid(Signature),
| --------------------- the variant `SumInvalid` contains at least 144 bytes
...
70 | SingleSignatureInvalid(Signature),
| --------------------------------- the variant `SingleSignatureInvalid` contains at least 144 bytes
|
= help: try reducing the size of `error::StmSignatureError<D>`, for example by boxing large elements or replacing it with `Box<error::StmSignatureError<D>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
= note: `#[warn(clippy::result_large_err)]` on by default
|
use of `default` to create a unit struct:
mithril-core/src/merkle_tree.rs#L278
warning: use of `default` to create a unit struct
--> mithril-core/src/merkle_tree.rs:278:32
|
278 | hasher: PhantomData::default(),
| ^^^^^^^^^^^ help: remove this call to `default`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_constructed_unit_structs
|
use of `default` to create a unit struct:
mithril-core/src/merkle_tree.rs#L195
warning: use of `default` to create a unit struct
--> mithril-core/src/merkle_tree.rs:195:32
|
195 | hasher: PhantomData::default(),
| ^^^^^^^^^^^ help: remove this call to `default`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_constructed_unit_structs
= note: `#[warn(clippy::default_constructed_unit_structs)]` on by default
|
build (mithril-signer)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build (mithril-signer)
some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"`
|
build (mithril-signer)
some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"`
|
build (mithril-signer):
mithril-signer/src/runtime/runner.rs#L547
variable does not need to be mutable
|
build (mithril-signer)
`mithril-signer` (lib test) generated 1 warning (run `cargo fix --lib -p mithril-signer --tests` to apply 1 suggestion)
|
build (mithril-signer)
the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, lalrpop v0.19.8, multipart v0.18.0
|
build (mithril-signer)
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/
|
build (mithril-signer)
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/
|
build (mithril-signer)
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/
|
build (mithril-signer)
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/
|
build (mithril-signer)
some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"`
|
build (mithril-signer):
mithril-signer/src/runtime/runner.rs#L547
variable does not need to be mutable
|
build (mithril-signer)
`mithril-signer` (lib test) generated 1 warning (run `cargo fix --lib -p mithril-signer --tests` to apply 1 suggestion)
|
build (mithril-signer)
the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, lalrpop v0.19.8, multipart v0.18.0
|
build (mithril-signer)
No files were found with the provided path: ./**/test-results-*.xml. No artifacts will be uploaded.
|
build (mithril-client)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build (mithril-client)
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/
|
build (mithril-client)
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/
|
build (mithril-client)
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/
|
build (mithril-client)
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/
|
build (mithril-client)
some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"`
|
build (mithril-client)
some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"`
|
build (mithril-client)
the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, lalrpop v0.19.8, multipart v0.18.0
|
build (mithril-client)
No files were found with the provided path: ./**/test-results-*.xml. No artifacts will be uploaded.
|
build (mithril-client)
some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"`
|
build (mithril-client)
the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, lalrpop v0.19.8, multipart v0.18.0
|
the borrowed expression implements the required traits:
mithril-core/src/multi_sig_blast.rs#L426
warning: the borrowed expression implements the required traits
--> mithril-core/src/multi_sig_blast.rs:426:27
|
426 | hasher.update(&index.to_be_bytes());
| ^^^^^^^^^^^^^^^^^^^^ help: change this to: `index.to_be_bytes()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
the borrowed expression implements the required traits:
mithril-core/src/multi_sig_blast.rs#L416
warning: the borrowed expression implements the required traits
--> mithril-core/src/multi_sig_blast.rs:416:32
|
416 | hashed_sigs.update(&sig.to_bytes());
| ^^^^^^^^^^^^^^^ help: change this to: `sig.to_bytes()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
the borrowed expression implements the required traits:
mithril-core/src/multi_sig_blast.rs#L364
warning: the borrowed expression implements the required traits
--> mithril-core/src/multi_sig_blast.rs:364:20
|
364 | .chain(&self.to_bytes())
| ^^^^^^^^^^^^^^^^ help: change this to: `self.to_bytes()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
the borrowed expression implements the required traits:
mithril-core/src/multi_sig_blast.rs#L363
warning: the borrowed expression implements the required traits
--> mithril-core/src/multi_sig_blast.rs:363:20
|
363 | .chain(&index.to_le_bytes())
| ^^^^^^^^^^^^^^^^^^^^ help: change this to: `index.to_le_bytes()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
|
the `Err`-variant returned from this function is very large:
mithril-core/src/stm.rs#L853
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/stm.rs:853:40
|
853 | pub fn from_bytes(bytes: &[u8]) -> Result<StmAggrSig<D>, StmSignatureError<D>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:42:5
|
42 | IvkInvalid(VerificationKey),
| --------------------------- the largest variant contains at least 192 bytes
|
= help: try reducing the size of `error::StmSignatureError<D>`, for example by boxing large elements or replacing it with `Box<error::StmSignatureError<D>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/stm.rs#L779
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/stm.rs:779:10
|
779 | ) -> Result<(), StmSignatureError<D>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:42:5
|
42 | IvkInvalid(VerificationKey),
| --------------------------- the largest variant contains at least 192 bytes
|
= help: try reducing the size of `error::StmSignatureError<D>`, for example by boxing large elements or replacing it with `Box<error::StmSignatureError<D>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/stm.rs#L719
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/stm.rs:719:40
|
719 | pub fn from_bytes(bytes: &[u8]) -> Result<StmSig<D>, StmSignatureError<D>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:42:5
|
42 | IvkInvalid(VerificationKey),
| --------------------------- the largest variant contains at least 192 bytes
|
= help: try reducing the size of `error::StmSignatureError<D>`, for example by boxing large elements or replacing it with `Box<error::StmSignatureError<D>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/stm.rs#L679
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/stm.rs:679:10
|
679 | ) -> Result<(), StmSignatureError<D>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:42:5
|
42 | IvkInvalid(VerificationKey),
| --------------------------- the largest variant contains at least 192 bytes
|
= help: try reducing the size of `error::StmSignatureError<D>`, for example by boxing large elements or replacing it with `Box<error::StmSignatureError<D>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/stm.rs#L663
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/stm.rs:663:10
|
663 | ) -> Result<(), StmSignatureError<D>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:42:5
|
42 | IvkInvalid(VerificationKey),
| --------------------------- the largest variant contains at least 192 bytes
|
= help: try reducing the size of `error::StmSignatureError<D>`, for example by boxing large elements or replacing it with `Box<error::StmSignatureError<D>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
= note: `#[warn(clippy::result_large_err)]` on by default
|
use of `default` to create a unit struct:
mithril-core/src/merkle_tree.rs#L278
warning: use of `default` to create a unit struct
--> mithril-core/src/merkle_tree.rs:278:32
|
278 | hasher: PhantomData::default(),
| ^^^^^^^^^^^ help: remove this call to `default`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_constructed_unit_structs
|
use of `default` to create a unit struct:
mithril-core/src/merkle_tree.rs#L195
warning: use of `default` to create a unit struct
--> mithril-core/src/merkle_tree.rs:195:32
|
195 | hasher: PhantomData::default(),
| ^^^^^^^^^^^ help: remove this call to `default`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_constructed_unit_structs
= note: `#[warn(clippy::default_constructed_unit_structs)]` on by default
|
build (mithril-core, mithril, libmithril, true)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build (mithril-core, mithril, libmithril, true)
some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"`
|
build (mithril-core, mithril, libmithril, true)
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/
|
build (mithril-core, mithril, libmithril, true)
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/
|
build (mithril-core, mithril, libmithril, true)
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/
|
build (mithril-core, mithril, libmithril, true)
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/
|
build (mithril-core, mithril, libmithril, true)
some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"`
|
build (mithril-core, mithril, libmithril, true)
some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"`
|
the borrowed expression implements the required traits:
mithril-core/src/multi_sig_zcash.rs#L403
warning: the borrowed expression implements the required traits
--> mithril-core/src/multi_sig_zcash.rs:403:27
|
403 | hasher.update(&index.to_be_bytes());
| ^^^^^^^^^^^^^^^^^^^^ help: change this to: `index.to_be_bytes()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
the borrowed expression implements the required traits:
mithril-core/src/multi_sig_zcash.rs#L393
warning: the borrowed expression implements the required traits
--> mithril-core/src/multi_sig_zcash.rs:393:31
|
393 | hasher.update(&index.to_be_bytes());
| ^^^^^^^^^^^^^^^^^^^^ help: change this to: `index.to_be_bytes()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
the borrowed expression implements the required traits:
mithril-core/src/multi_sig_zcash.rs#L384
warning: the borrowed expression implements the required traits
--> mithril-core/src/multi_sig_zcash.rs:384:32
|
384 | hashed_sigs.update(&sig.to_bytes());
| ^^^^^^^^^^^^^^^ help: change this to: `sig.to_bytes()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L381
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:381:10
|
381 | ) -> Result<(), MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L345
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:345:40
|
345 | pub fn from_bytes(bytes: &[u8]) -> Result<Self, MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the borrowed expression implements the required traits:
mithril-core/src/multi_sig_zcash.rs#L328
warning: the borrowed expression implements the required traits
--> mithril-core/src/multi_sig_zcash.rs:328:20
|
328 | .chain(&self.to_bytes())
| ^^^^^^^^^^^^^^^^ help: change this to: `self.to_bytes()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
the borrowed expression implements the required traits:
mithril-core/src/multi_sig_zcash.rs#L327
warning: the borrowed expression implements the required traits
--> mithril-core/src/multi_sig_zcash.rs:327:20
|
327 | .chain(&index.to_le_bytes())
| ^^^^^^^^^^^^^^^^^^^^ help: change this to: `index.to_le_bytes()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L305
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:305:64
|
305 | pub fn verify(&self, msg: &[u8], mvk: &VerificationKey) -> Result<(), MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L284
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:284:40
|
284 | pub fn from_bytes(bytes: &[u8]) -> Result<Self, MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L252
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:252:28
|
252 | pub fn check(&self) -> Result<(), MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L212
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:212:40
|
212 | pub fn from_bytes(bytes: &[u8]) -> Result<Self, MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L103
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:103:40
|
103 | pub fn from_bytes(bytes: &[u8]) -> Result<Self, MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/multi_sig_zcash.rs#L80
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/multi_sig_zcash.rs:80:40
|
80 | pub fn from_bytes(bytes: &[u8]) -> Result<Self, MultiSignatureError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:18:5
|
18 | SignatureInvalid(Signature),
| --------------------------- the largest variant contains at least 144 bytes
|
= help: try reducing the size of `error::MultiSignatureError`, for example by boxing large elements or replacing it with `Box<error::MultiSignatureError>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/stm.rs#L853
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/stm.rs:853:40
|
853 | pub fn from_bytes(bytes: &[u8]) -> Result<StmAggrSig<D>, StmSignatureError<D>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:42:5
|
42 | IvkInvalid(VerificationKey),
| --------------------------- the largest variant contains at least 288 bytes
...
46 | SumInvalid(Signature),
| --------------------- the variant `SumInvalid` contains at least 144 bytes
...
70 | SingleSignatureInvalid(Signature),
| --------------------------------- the variant `SingleSignatureInvalid` contains at least 144 bytes
|
= help: try reducing the size of `error::StmSignatureError<D>`, for example by boxing large elements or replacing it with `Box<error::StmSignatureError<D>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/stm.rs#L779
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/stm.rs:779:10
|
779 | ) -> Result<(), StmSignatureError<D>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:42:5
|
42 | IvkInvalid(VerificationKey),
| --------------------------- the largest variant contains at least 288 bytes
...
46 | SumInvalid(Signature),
| --------------------- the variant `SumInvalid` contains at least 144 bytes
...
70 | SingleSignatureInvalid(Signature),
| --------------------------------- the variant `SingleSignatureInvalid` contains at least 144 bytes
|
= help: try reducing the size of `error::StmSignatureError<D>`, for example by boxing large elements or replacing it with `Box<error::StmSignatureError<D>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/stm.rs#L719
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/stm.rs:719:40
|
719 | pub fn from_bytes(bytes: &[u8]) -> Result<StmSig<D>, StmSignatureError<D>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:42:5
|
42 | IvkInvalid(VerificationKey),
| --------------------------- the largest variant contains at least 288 bytes
...
46 | SumInvalid(Signature),
| --------------------- the variant `SumInvalid` contains at least 144 bytes
...
70 | SingleSignatureInvalid(Signature),
| --------------------------------- the variant `SingleSignatureInvalid` contains at least 144 bytes
|
= help: try reducing the size of `error::StmSignatureError<D>`, for example by boxing large elements or replacing it with `Box<error::StmSignatureError<D>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/stm.rs#L679
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/stm.rs:679:10
|
679 | ) -> Result<(), StmSignatureError<D>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:42:5
|
42 | IvkInvalid(VerificationKey),
| --------------------------- the largest variant contains at least 288 bytes
...
46 | SumInvalid(Signature),
| --------------------- the variant `SumInvalid` contains at least 144 bytes
...
70 | SingleSignatureInvalid(Signature),
| --------------------------------- the variant `SingleSignatureInvalid` contains at least 144 bytes
|
= help: try reducing the size of `error::StmSignatureError<D>`, for example by boxing large elements or replacing it with `Box<error::StmSignatureError<D>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
mithril-core/src/stm.rs#L663
warning: the `Err`-variant returned from this function is very large
--> mithril-core/src/stm.rs:663:10
|
663 | ) -> Result<(), StmSignatureError<D>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: mithril-core/src/error.rs:42:5
|
42 | IvkInvalid(VerificationKey),
| --------------------------- the largest variant contains at least 288 bytes
...
46 | SumInvalid(Signature),
| --------------------- the variant `SumInvalid` contains at least 144 bytes
...
70 | SingleSignatureInvalid(Signature),
| --------------------------------- the variant `SingleSignatureInvalid` contains at least 144 bytes
|
= help: try reducing the size of `error::StmSignatureError<D>`, for example by boxing large elements or replacing it with `Box<error::StmSignatureError<D>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
= note: `#[warn(clippy::result_large_err)]` on by default
|
use of `default` to create a unit struct:
mithril-core/src/merkle_tree.rs#L278
warning: use of `default` to create a unit struct
--> mithril-core/src/merkle_tree.rs:278:32
|
278 | hasher: PhantomData::default(),
| ^^^^^^^^^^^ help: remove this call to `default`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_constructed_unit_structs
|
use of `default` to create a unit struct:
mithril-core/src/merkle_tree.rs#L195
warning: use of `default` to create a unit struct
--> mithril-core/src/merkle_tree.rs:195:32
|
195 | hasher: PhantomData::default(),
| ^^^^^^^^^^^ help: remove this call to `default`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_constructed_unit_structs
= note: `#[warn(clippy::default_constructed_unit_structs)]` on by default
|
build (mithril-aggregator)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build (mithril-aggregator)
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/
|
build (mithril-aggregator)
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/
|
build (mithril-aggregator)
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/
|
build (mithril-aggregator)
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/
|
build (mithril-aggregator)
some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"`
|
build (mithril-aggregator)
the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, lalrpop v0.19.8, multipart v0.18.0
|
build (mithril-aggregator)
some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"`
|
build (mithril-aggregator)
the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, lalrpop v0.19.8, multipart v0.18.0
|
build (mithril-aggregator)
No files were found with the provided path: ./**/test-results-*.xml. No artifacts will be uploaded.
|
build (mithril-aggregator)
some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"`
|
publish-tests-results
Could not find any files for ./**/test-results-*.xml
|
publish-tests-results
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/
|