Add preliminary VC support #176
ci.yml
on: pull_request
Clippy
2m 41s
Enforce Rust code format
10s
Preflight docs.rs build
1m 38s
Check for unused dependencies
2m 38s
Matrix: License / vulnerability audit
Matrix: Unit tests with default features disabled
Matrix: Unit tests with minimum versions of direct dependencies
Matrix: Unit tests
Matrix: Unit tests
Annotations
24 errors and 22 warnings
Unit tests with minimum versions of direct dependencies (ubuntu-latest)
Process completed with exit code 101.
|
Unit tests with minimum versions of direct dependencies (macos-latest)
Process completed with exit code 101.
|
Unit tests (ubuntu-latest, 1.74.0)
Process completed with exit code 1.
|
Unit tests with minimum versions of direct dependencies (windows-latest)
Process completed with exit code 1.
|
Unit tests (macos-latest, 1.74.0)
Process completed with exit code 1.
|
Unit tests (aarch64-unknown-linux-gnu, 1.74.0)
Process completed with exit code 101.
|
Unit tests (windows-latest, 1.74.0)
Process completed with exit code 1.
|
used `unwrap()` on a `Result` value:
src/w3c_vc/vc_signature_handler.rs#L49
error: used `unwrap()` on a `Result` value
--> src/w3c_vc/vc_signature_handler.rs:49:22
|
49 | let vc_str = std::str::from_utf8(signature).unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: if this value is an `Err`, it will panic
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used
|
you should consider adding a `Default` implementation for `CredentialIdentityAssertionIssuer`:
src/w3c_vc/creator_identity_assertion_issuer.rs#L48
error: you should consider adding a `Default` implementation for `CredentialIdentityAssertionIssuer`
--> src/w3c_vc/creator_identity_assertion_issuer.rs:48:5
|
48 | / pub fn new() -> Self {
49 | | Self {}
50 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
= note: `#[deny(clippy::new_without_default)]` implied by `#[deny(warnings)]`
help: try adding this
|
46 + impl Default for CredentialIdentityAssertionIssuer {
47 + fn default() -> Self {
48 + Self::new()
49 + }
50 + }
|
|
used `unwrap()` on a `Result` value:
src/w3c_vc/cawg_identity_context.rs#L34
error: used `unwrap()` on a `Result` value
--> src/w3c_vc/cawg_identity_context.rs:34:5
|
34 | / ssi_json_ld::ContextLoader::empty()
35 | | .with_static_loader()
36 | | .with_context_map_from(context_map)
37 | | .unwrap()
| |_________________^
|
= note: if this value is an `Err`, it will panic
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used
note: the lint level is defined here
--> src/lib.rs:16:9
|
16 | #![deny(clippy::unwrap_used)]
| ^^^^^^^^^^^^^^^^^^^
|
returning the result of a `let` binding from a block:
src/tests/fixtures/mod.rs#L46
error: returning the result of a `let` binding from a block
--> src/tests/fixtures/mod.rs:46:5
|
45 | let signer = create_signer::from_keys(&sign_cert, &pem_key, SigningAlg::Ps256, None).unwrap();
| ---------------------------------------------------------------------------------------------- unnecessary `let` binding
46 | signer
| ^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return
= note: `#[deny(clippy::let_and_return)]` implied by `#[deny(warnings)]`
help: return the expression directly
|
45 ~
46 ~ (create_signer::from_keys(&sign_cert, &pem_key, SigningAlg::Ps256, None).unwrap()) as _
|
|
used `unwrap()` on a `Result` value:
src/w3c_vc/vc_signature_handler.rs#L49
error: used `unwrap()` on a `Result` value
--> src/w3c_vc/vc_signature_handler.rs:49:22
|
49 | let vc_str = std::str::from_utf8(signature).unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: if this value is an `Err`, it will panic
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used
|
you should consider adding a `Default` implementation for `CredentialIdentityAssertionIssuer`:
src/w3c_vc/creator_identity_assertion_issuer.rs#L48
error: you should consider adding a `Default` implementation for `CredentialIdentityAssertionIssuer`
--> src/w3c_vc/creator_identity_assertion_issuer.rs:48:5
|
48 | / pub fn new() -> Self {
49 | | Self {}
50 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
note: the lint level is defined here
--> src/lib.rs:18:9
|
18 | #![deny(warnings)]
| ^^^^^^^^
= note: `#[deny(clippy::new_without_default)]` implied by `#[deny(warnings)]`
help: try adding this
|
46 + impl Default for CredentialIdentityAssertionIssuer {
47 + fn default() -> Self {
48 + Self::new()
49 + }
50 + }
|
|
used `unwrap()` on a `Result` value:
src/w3c_vc/cawg_identity_context.rs#L34
error: used `unwrap()` on a `Result` value
--> src/w3c_vc/cawg_identity_context.rs:34:5
|
34 | / ssi_json_ld::ContextLoader::empty()
35 | | .with_static_loader()
36 | | .with_context_map_from(context_map)
37 | | .unwrap()
| |_________________^
|
= note: if this value is an `Err`, it will panic
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used
note: the lint level is defined here
--> src/lib.rs:16:9
|
16 | #![deny(clippy::unwrap_used)]
| ^^^^^^^^^^^^^^^^^^^
|
unnecessary `pub(self)`:
src/tests/w3c_vc/mod.rs#L15
error: unnecessary `pub(self)`
--> src/tests/w3c_vc/mod.rs:15:1
|
15 | pub(self) mod test_issuer;
| ^^^^^^^^^ help: remove it
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pub_self
note: the lint level is defined here
--> src/lib.rs:18:9
|
18 | #![deny(warnings)]
| ^^^^^^^^
= note: `#[deny(clippy::needless_pub_self)]` implied by `#[deny(warnings)]`
|
Check for unused dependencies
The process '/home/runner/.cargo/bin/cargo' failed with exit code 1
|
Clippy
Clippy had exited with the 101 exit code
|
Unit tests with default features disabled (macos-latest)
Process completed with exit code 101.
|
Unit tests (macos-latest, stable)
Process completed with exit code 1.
|
Unit tests with default features disabled (ubuntu-latest)
Process completed with exit code 101.
|
Unit tests (ubuntu-latest, stable)
Process completed with exit code 1.
|
Unit tests (aarch64-unknown-linux-gnu, stable)
Process completed with exit code 101.
|
Unit tests with default features disabled (windows-latest)
Process completed with exit code 1.
|
Unit tests (windows-latest, stable)
Process completed with exit code 1.
|
Enforce Rust code format
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Unit tests with minimum versions of direct dependencies (ubuntu-latest)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Unit tests with minimum versions of direct dependencies (macos-latest)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
License / vulnerability audit (advisories)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
License / vulnerability audit (bans licenses sources)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Unit tests (ubuntu-latest, 1.74.0)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Unit tests with minimum versions of direct dependencies (windows-latest)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Unit tests (macos-latest, 1.74.0)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Unit tests (aarch64-unknown-linux-gnu, 1.74.0)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Unit tests (windows-latest, 1.74.0)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Preflight docs.rs build
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
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/
|
Check for unused dependencies
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, aig787/cargo-udeps-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
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/
|
Clippy
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Unit tests with default features disabled (macos-latest)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Unit tests (macos-latest, stable)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Unit tests with default features disabled (ubuntu-latest)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Unit tests (ubuntu-latest, stable)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Unit tests (aarch64-unknown-linux-gnu, stable)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Unit tests with default features disabled (windows-latest)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Unit tests (windows-latest, stable)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|