(IGNORE) Update GitHub Actions workflows to remove outdated steps (#296) #1
ci.yml
on: push
Unit tests (WASM)
2m 36s
Clippy
2m 59s
Enforce Rust code format
15s
Preflight docs.rs build
2m 26s
Check for unused dependencies
3m 38s
Check for unknown features in cfg attributes and macros
3m 16s
Ensure (MINOR) tag is used when making an API breaking change
38s
Matrix: License / vulnerability audit
Matrix: Preflight crate publish
Matrix: Unit tests with minimum versions of direct dependencies
Matrix: Unit tests
Matrix: Unit tests
Annotations
31 errors and 8 warnings
Unit tests (ubuntu-latest, stable)
Codecov: Failed to properly upload: The process '/home/runner/work/_actions/codecov/codecov-action/v3/dist/codecov' failed with exit code 255
|
Unit tests (ubuntu-latest, 1.70.0)
Codecov: Failed to properly upload: The process '/home/runner/work/_actions/codecov/codecov-action/v3/dist/codecov' failed with exit code 255
|
Unit tests (macos-latest, stable)
Codecov: Failed to properly upload: The process '/Users/runner/work/_actions/codecov/codecov-action/v3/dist/codecov' failed with exit code 255
|
Ensure (MINOR) tag is used when making an API breaking change
Process completed with exit code 128.
|
Unit tests (macos-latest, 1.70.0)
Codecov: Failed to properly upload: The process '/Users/runner/work/_actions/codecov/codecov-action/v3/dist/codecov' failed with exit code 255
|
Unit tests (windows-latest, 1.70.0)
Codecov: Failed to properly upload: The process 'D:\a\_actions\codecov\codecov-action\v3\dist\codecov.exe' failed with exit code 4294967295
|
Unit tests (windows-latest, stable)
Codecov: Failed to properly upload: The process 'D:\a\_actions\codecov\codecov-action\v3\dist\codecov.exe' failed with exit code 4294967295
|
use of `unwrap_or` to construct default value:
sdk/src/utils/hash_utils.rs#L149
error: use of `unwrap_or` to construct default value
--> sdk/src/utils/hash_utils.rs:149:67
|
149 | hash_stream_by_alg(alg, &mut reader, Some(inclusions), false).unwrap_or(Vec::new())
| ^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default
|
use of `unwrap_or` to construct default value:
sdk/src/utils/hash_utils.rs#L142
error: use of `unwrap_or` to construct default value
--> sdk/src/utils/hash_utils.rs:142:60
|
142 | hash_stream_by_alg(alg, &mut reader, exclusions, true).unwrap_or(Vec::new())
| ^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default
|
redundant closure:
sdk/src/time_stamp.rs#L229
error: redundant closure
--> sdk/src/time_stamp.rs:229:33
|
229 | .decode(|cons| SignedData::take_from(cons))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `SignedData::take_from`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
|
use of `unwrap_or` to construct default value:
sdk/src/store.rs#L159
error: use of `unwrap_or` to construct default value
--> sdk/src/store.rs:159:69
|
159 | Store::calc_manifest_box_hash(claim, None, claim.alg()).unwrap_or(Vec::new())
| ^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default
|
use of `unwrap_or` to construct default value:
sdk/src/utils/hash_utils.rs#L149
error: use of `unwrap_or` to construct default value
--> sdk/src/utils/hash_utils.rs:149:67
|
149 | hash_stream_by_alg(alg, &mut reader, Some(inclusions), false).unwrap_or(Vec::new())
| ^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default
|
use of `unwrap_or` to construct default value:
sdk/src/utils/hash_utils.rs#L142
error: use of `unwrap_or` to construct default value
--> sdk/src/utils/hash_utils.rs:142:60
|
142 | hash_stream_by_alg(alg, &mut reader, exclusions, true).unwrap_or(Vec::new())
| ^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default
|
redundant closure:
sdk/src/time_stamp.rs#L229
error: redundant closure
--> sdk/src/time_stamp.rs:229:33
|
229 | .decode(|cons| SignedData::take_from(cons))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `SignedData::take_from`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
|
use of `unwrap_or` to construct default value:
sdk/src/store.rs#L159
error: use of `unwrap_or` to construct default value
--> sdk/src/store.rs:159:69
|
159 | Store::calc_manifest_box_hash(claim, None, claim.alg()).unwrap_or(Vec::new())
| ^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default
|
redundant closure:
sdk/src/asn1/rfc5652.rs#L162
error: redundant closure
--> sdk/src/asn1/rfc5652.rs:162:53
|
162 | Constructed::decode(data, bcder::Mode::Ber, |cons| Self::decode(cons))
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `Self::decode`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
= note: `#[deny(clippy::redundant_closure)]` implied by `#[deny(warnings)]`
|
redundant closure:
sdk/src/asn1/rfc5652.rs#L162
error: redundant closure
--> sdk/src/asn1/rfc5652.rs:162:53
|
162 | Constructed::decode(data, bcder::Mode::Ber, |cons| Self::decode(cons))
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `Self::decode`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
= note: `#[deny(clippy::redundant_closure)]` implied by `#[deny(warnings)]`
|
use of `unwrap_or_else` to construct default value:
sdk/src/assertions/ingredient.rs#L127
error: use of `unwrap_or_else` to construct default value
--> sdk/src/assertions/ingredient.rs:127:38
|
127 | let metadata = self.metadata.unwrap_or_else(Metadata::new);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default
note: the lint level is defined here
--> sdk/src/lib.rs:14:9
|
14 | #![deny(warnings)]
| ^^^^^^^^
= note: `#[deny(clippy::unwrap_or_default)]` implied by `#[deny(warnings)]`
|
use of `unwrap_or_else` to construct default value:
sdk/src/assertions/ingredient.rs#L127
error: use of `unwrap_or_else` to construct default value
--> sdk/src/assertions/ingredient.rs:127:38
|
127 | let metadata = self.metadata.unwrap_or_else(Metadata::new);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default
note: the lint level is defined here
--> sdk/src/lib.rs:14:9
|
14 | #![deny(warnings)]
| ^^^^^^^^
= note: `#[deny(clippy::unwrap_or_default)]` implied by `#[deny(warnings)]`
|
use of `unwrap_or` to construct default value:
sdk/src/utils/hash_utils.rs#L149
error: use of `unwrap_or` to construct default value
--> sdk/src/utils/hash_utils.rs:149:67
|
149 | hash_stream_by_alg(alg, &mut reader, Some(inclusions), false).unwrap_or(Vec::new())
| ^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default
|
use of `unwrap_or` to construct default value:
sdk/src/utils/hash_utils.rs#L142
error: use of `unwrap_or` to construct default value
--> sdk/src/utils/hash_utils.rs:142:60
|
142 | hash_stream_by_alg(alg, &mut reader, exclusions, true).unwrap_or(Vec::new())
| ^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default
|
redundant closure:
sdk/src/time_stamp.rs#L229
error: redundant closure
--> sdk/src/time_stamp.rs:229:33
|
229 | .decode(|cons| SignedData::take_from(cons))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `SignedData::take_from`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
|
use of `unwrap_or` to construct default value:
sdk/src/store.rs#L159
error: use of `unwrap_or` to construct default value
--> sdk/src/store.rs:159:69
|
159 | Store::calc_manifest_box_hash(claim, None, claim.alg()).unwrap_or(Vec::new())
| ^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default
|
use of `unwrap_or` to construct default value:
sdk/src/utils/hash_utils.rs#L149
error: use of `unwrap_or` to construct default value
--> sdk/src/utils/hash_utils.rs:149:67
|
149 | hash_stream_by_alg(alg, &mut reader, Some(inclusions), false).unwrap_or(Vec::new())
| ^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default
|
use of `unwrap_or` to construct default value:
sdk/src/utils/hash_utils.rs#L142
error: use of `unwrap_or` to construct default value
--> sdk/src/utils/hash_utils.rs:142:60
|
142 | hash_stream_by_alg(alg, &mut reader, exclusions, true).unwrap_or(Vec::new())
| ^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default
|
redundant closure:
sdk/src/time_stamp.rs#L229
error: redundant closure
--> sdk/src/time_stamp.rs:229:33
|
229 | .decode(|cons| SignedData::take_from(cons))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `SignedData::take_from`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
|
use of `unwrap_or` to construct default value:
sdk/src/store.rs#L159
error: use of `unwrap_or` to construct default value
--> sdk/src/store.rs:159:69
|
159 | Store::calc_manifest_box_hash(claim, None, claim.alg()).unwrap_or(Vec::new())
| ^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default
|
redundant closure:
sdk/src/asn1/rfc5652.rs#L162
error: redundant closure
--> sdk/src/asn1/rfc5652.rs:162:53
|
162 | Constructed::decode(data, bcder::Mode::Ber, |cons| Self::decode(cons))
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `Self::decode`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
= note: `#[deny(clippy::redundant_closure)]` implied by `#[deny(warnings)]`
|
redundant closure:
sdk/src/asn1/rfc5652.rs#L162
error: redundant closure
--> sdk/src/asn1/rfc5652.rs:162:53
|
162 | Constructed::decode(data, bcder::Mode::Ber, |cons| Self::decode(cons))
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `Self::decode`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
= note: `#[deny(clippy::redundant_closure)]` implied by `#[deny(warnings)]`
|
use of `unwrap_or_else` to construct default value:
sdk/src/assertions/ingredient.rs#L127
error: use of `unwrap_or_else` to construct default value
--> sdk/src/assertions/ingredient.rs:127:38
|
127 | let metadata = self.metadata.unwrap_or_else(Metadata::new);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default
note: the lint level is defined here
--> sdk/src/lib.rs:14:9
|
14 | #![deny(warnings)]
| ^^^^^^^^
= note: `#[deny(clippy::unwrap_or_default)]` implied by `#[deny(warnings)]`
|
use of `unwrap_or_else` to construct default value:
sdk/src/assertions/ingredient.rs#L127
error: use of `unwrap_or_else` to construct default value
--> sdk/src/assertions/ingredient.rs:127:38
|
127 | let metadata = self.metadata.unwrap_or_else(Metadata::new);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default
note: the lint level is defined here
--> sdk/src/lib.rs:14:9
|
14 | #![deny(warnings)]
| ^^^^^^^^
= note: `#[deny(clippy::unwrap_or_default)]` implied by `#[deny(warnings)]`
|
Clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
|
Ensure (MINOR) tag is used when making an API breaking change
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/
|
Ensure (MINOR) tag is used when making an API breaking change
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/
|
Ensure (MINOR) tag is used when making an API breaking change
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/
|
Ensure (MINOR) tag is used when making an API breaking change
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/
|
Ensure (MINOR) tag is used when making an API breaking change
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Ensure (MINOR) tag is used when making an API breaking change
No tags are present for this repository. If this is unexpected, check to ensure that tags have been pulled from the remote.
|
Check for unused dependencies
The following actions uses node12 which is deprecated and will be forced to run on node16: aig787/cargo-udeps-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|