Skip to content

Instantly share code, notes, and snippets.

@williamluke4
Created May 23, 2022 09:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save williamluke4/2cdddbc39b46bab0854c117b22a18604 to your computer and use it in GitHub Desktop.
Save williamluke4/2cdddbc39b46bab0854c117b22a18604 to your computer and use it in GitHub Desktop.
didkit-build-output
warning: /Users/chui/grassroots/git/didkit/cli/Cargo.toml: only one of `license` or `license-file` is necessary
`license` should be used if the package license can be expressed with a standard SPDX expression.
`license-file` should be used if the package uses a non-standard license.
See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
warning: /Users/chui/grassroots/git/didkit/lib/Cargo.toml: only one of `license` or `license-file` is necessary
`license` should be used if the package license can be expressed with a standard SPDX expression.
`license-file` should be used if the package uses a non-standard license.
See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
warning: /Users/chui/grassroots/git/didkit/http/Cargo.toml: only one of `license` or `license-file` is necessary
`license` should be used if the package license can be expressed with a standard SPDX expression.
`license-file` should be used if the package uses a non-standard license.
See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
Compiling didkit-cbindings v0.1.0 (/Users/chui/grassroots/git/didkit/lib/cbindings)
warning: use of deprecated enum `revocation::RevocationSubject`: Use RevocationList2020Subject or StatusList2021Subject instead
--> /Users/chui/grassroots/git/ssi/src/revocation.rs:133:10
|
133 | pub enum RevocationSubject {
| ^^^^^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
warning: use of deprecated tuple variant `revocation::RevocationSubject::RevocationList2020`: Use RevocationList2020Subject or StatusList2021Subject instead
--> /Users/chui/grassroots/git/ssi/src/revocation.rs:134:5
|
134 | RevocationList2020(RevocationList2020),
| ^^^^^^^^^^^^^^^^^^
warning: associated function is never used: `as_struct_mut`
--> /Users/chui/grassroots/git/ssi/src/eip712.rs:241:8
|
241 | fn as_struct_mut(&mut self) -> Option<&mut HashMap<StructName, EIP712Value>> {
| ^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: `ssi` (lib) generated 3 warnings
warning: unused imports: `StatusCode`, `header`
--> /Users/chui/grassroots/git/ssi/did-ion/src/sidetree.rs:5:15
|
5 | use reqwest::{header, Client, StatusCode};
| ^^^^^^ ^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: field is never read: `type`
--> /Users/chui/grassroots/git/ssi/did-ion/src/sidetree.rs:517:5
|
517 | r#type: Option<String>,
| ^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
note: `PartiallyVerifiedCreateOperation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
--> /Users/chui/grassroots/git/ssi/did-ion/src/sidetree.rs:514:10
|
514 | #[derive(Debug, Clone)]
| ^^^^^ ^^^^^
= note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
warning: field is never read: `anchor_origin`
--> /Users/chui/grassroots/git/ssi/did-ion/src/sidetree.rs:519:5
|
519 | anchor_origin: Option<String>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: `PartiallyVerifiedCreateOperation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
--> /Users/chui/grassroots/git/ssi/did-ion/src/sidetree.rs:514:10
|
514 | #[derive(Debug, Clone)]
| ^^^^^ ^^^^^
= note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
warning: field is never read: `signed_anchor_origin`
--> /Users/chui/grassroots/git/ssi/did-ion/src/sidetree.rs:542:5
|
542 | signed_anchor_origin: Option<String>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: `PartiallyVerifiedRecoverOperation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
--> /Users/chui/grassroots/git/ssi/did-ion/src/sidetree.rs:536:10
|
536 | #[derive(Debug, Clone)]
| ^^^^^ ^^^^^
= note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
warning: `did-ion` (lib) generated 4 warnings
Compiling didkit v0.4.0 (/Users/chui/grassroots/git/didkit/lib)
warning: unused import: `DIDMethod`
--> lib/src/did_methods.rs:10:16
|
10 | use ssi::did::{DIDMethod, DIDMethods};
| ^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
error[E0061]: this function takes 6 arguments but 5 arguments were supplied
--> lib/src/lib.rs:150:13
|
150 | LinkedDataProofs::sign(document, &options, resolver, &jwk, None).await?
| ^^^^^^^^^^^^^^^^^^^^^^ -------- -------- -------- ---- ---- supplied 5 arguments
| |
| expected 6 arguments
|
note: associated function defined here
--> /Users/chui/grassroots/git/ssi/src/ldp.rs:370:18
|
370 | pub async fn sign(
| ^^^^
error[E0061]: this function takes 6 arguments but 5 arguments were supplied
--> lib/src/ssh_agent.rs:312:16
|
312 | let prep = LinkedDataProofs::prepare(document, &options, resolver, &jwk, None).await?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^ -------- -------- -------- ---- ---- supplied 5 arguments
| |
| expected 6 arguments
|
note: associated function defined here
--> /Users/chui/grassroots/git/ssi/src/ldp.rs:395:18
|
395 | pub async fn prepare(
| ^^^^^^^
error[E0061]: this function takes 4 arguments but 3 arguments were supplied
--> lib/src/c.rs:138:40
|
138 | rt.block_on(credential.generate_proof(&key, &options.ldp_options, resolver))?;
| ^^^^^^^^^^^^^^ ---- -------------------- -------- supplied 3 arguments
| |
| expected 4 arguments
|
note: associated function defined here
--> /Users/chui/grassroots/git/ssi/src/vc.rs:1342:18
|
1342 | pub async fn generate_proof(
| ^^^^^^^^^^^^^^
error[E0061]: this function takes 4 arguments but 3 arguments were supplied
--> lib/src/c.rs:175:41
|
175 | ProofFormat::JWT => rt.block_on(VerifiableCredential::verify_jwt(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 4 arguments
176 | &vc_str,
| -------
177 | Some(options.ldp_options),
| -------------------------
178 | resolver,
| -------- supplied 3 arguments
|
note: associated function defined here
--> /Users/chui/grassroots/git/ssi/src/vc.rs:1058:18
|
1058 | pub async fn verify_jwt(
| ^^^^^^^^^^
error[E0061]: this function takes 3 arguments but 2 arguments were supplied
--> lib/src/c.rs:182:28
|
182 | rt.block_on(vc.verify(Some(options.ldp_options), resolver))
| ^^^^^^ ------------------------- -------- supplied 2 arguments
| |
| expected 3 arguments
|
note: associated function defined here
--> /Users/chui/grassroots/git/ssi/src/vc.rs:1303:18
|
1303 | pub async fn verify(
| ^^^^^^
error[E0061]: this function takes 4 arguments but 3 arguments were supplied
--> lib/src/c.rs:225:42
|
225 | rt.block_on(presentation.generate_proof(&key, &options.ldp_options, resolver))?;
| ^^^^^^^^^^^^^^ ---- -------------------- -------- supplied 3 arguments
| |
| expected 4 arguments
|
note: associated function defined here
--> /Users/chui/grassroots/git/ssi/src/vc.rs:1768:18
|
1768 | pub async fn generate_proof(
| ^^^^^^^^^^^^^^
error[E0061]: this function takes 4 arguments but 3 arguments were supplied
--> lib/src/c.rs:272:42
|
272 | rt.block_on(presentation.generate_proof(&key, &options.ldp_options, resolver))?;
| ^^^^^^^^^^^^^^ ---- -------------------- -------- supplied 3 arguments
| |
| expected 4 arguments
|
note: associated function defined here
--> /Users/chui/grassroots/git/ssi/src/vc.rs:1768:18
|
1768 | pub async fn generate_proof(
| ^^^^^^^^^^^^^^
error[E0061]: this function takes 4 arguments but 3 arguments were supplied
--> lib/src/c.rs:305:41
|
305 | ProofFormat::JWT => rt.block_on(VerifiablePresentation::verify_jwt(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 4 arguments
306 | &vp_str,
| -------
307 | Some(options.ldp_options),
| -------------------------
308 | resolver,
| -------- supplied 3 arguments
|
note: associated function defined here
--> /Users/chui/grassroots/git/ssi/src/vc.rs:1729:18
|
1729 | pub async fn verify_jwt(
| ^^^^^^^^^^
error[E0061]: this function takes 3 arguments but 2 arguments were supplied
--> lib/src/c.rs:312:28
|
312 | rt.block_on(vp.verify(Some(options.ldp_options), DID_METHODS.to_resolver()))
| ^^^^^^ ------------------------- ------------------------- supplied 2 arguments
| |
| expected 3 arguments
|
note: associated function defined here
--> /Users/chui/grassroots/git/ssi/src/vc.rs:1859:18
|
1859 | pub async fn verify(
| ^^^^^^
error[E0061]: this function takes 4 arguments but 3 arguments were supplied
--> lib/src/jni.rs:129:40
|
129 | rt.block_on(credential.generate_proof(&key, &options.ldp_options, resolver))?;
| ^^^^^^^^^^^^^^ ---- -------------------- -------- supplied 3 arguments
| |
| expected 4 arguments
|
note: associated function defined here
--> /Users/chui/grassroots/git/ssi/src/vc.rs:1342:18
|
1342 | pub async fn generate_proof(
| ^^^^^^^^^^^^^^
error[E0061]: this function takes 4 arguments but 3 arguments were supplied
--> lib/src/jni.rs:160:41
|
160 | ProofFormat::JWT => rt.block_on(VerifiableCredential::verify_jwt(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 4 arguments
161 | &vc_string,
| ----------
162 | Some(options.ldp_options),
| -------------------------
163 | resolver,
| -------- supplied 3 arguments
|
note: associated function defined here
--> /Users/chui/grassroots/git/ssi/src/vc.rs:1058:18
|
1058 | pub async fn verify_jwt(
| ^^^^^^^^^^
error[E0061]: this function takes 3 arguments but 2 arguments were supplied
--> lib/src/jni.rs:167:28
|
167 | rt.block_on(vc.verify(Some(options.ldp_options), resolver))
| ^^^^^^ ------------------------- -------- supplied 2 arguments
| |
| expected 3 arguments
|
note: associated function defined here
--> /Users/chui/grassroots/git/ssi/src/vc.rs:1303:18
|
1303 | pub async fn verify(
| ^^^^^^
error[E0061]: this function takes 4 arguments but 3 arguments were supplied
--> lib/src/jni.rs:205:42
|
205 | rt.block_on(presentation.generate_proof(&key, &options.ldp_options, resolver))?;
| ^^^^^^^^^^^^^^ ---- -------------------- -------- supplied 3 arguments
| |
| expected 4 arguments
|
note: associated function defined here
--> /Users/chui/grassroots/git/ssi/src/vc.rs:1768:18
|
1768 | pub async fn generate_proof(
| ^^^^^^^^^^^^^^
error[E0061]: this function takes 4 arguments but 3 arguments were supplied
--> lib/src/jni.rs:246:42
|
246 | rt.block_on(presentation.generate_proof(&key, &options.ldp_options, resolver))?;
| ^^^^^^^^^^^^^^ ---- -------------------- -------- supplied 3 arguments
| |
| expected 4 arguments
|
note: associated function defined here
--> /Users/chui/grassroots/git/ssi/src/vc.rs:1768:18
|
1768 | pub async fn generate_proof(
| ^^^^^^^^^^^^^^
error[E0061]: this function takes 4 arguments but 3 arguments were supplied
--> lib/src/jni.rs:277:41
|
277 | ProofFormat::JWT => rt.block_on(VerifiablePresentation::verify_jwt(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 4 arguments
278 | &vp_string,
| ----------
279 | Some(options.ldp_options),
| -------------------------
280 | resolver,
| -------- supplied 3 arguments
|
note: associated function defined here
--> /Users/chui/grassroots/git/ssi/src/vc.rs:1729:18
|
1729 | pub async fn verify_jwt(
| ^^^^^^^^^^
error[E0061]: this function takes 3 arguments but 2 arguments were supplied
--> lib/src/jni.rs:284:28
|
284 | rt.block_on(vp.verify(Some(options.ldp_options), resolver))
| ^^^^^^ ------------------------- -------- supplied 2 arguments
| |
| expected 3 arguments
|
note: associated function defined here
--> /Users/chui/grassroots/git/ssi/src/vc.rs:1859:18
|
1859 | pub async fn verify(
| ^^^^^^
For more information about this error, try `rustc --explain E0061`.
warning: `didkit` (lib) generated 1 warning
error: could not compile `didkit` due to 16 previous errors; 1 warning emitted
warning: build failed, waiting for other jobs to finish...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment