Add support for relative references in core document #4343
Annotations
10 errors and 2 warnings
the `Err`-variant returned from this function is very large:
identity_iota_core/src/document/iota_document.rs#L210
error: the `Err`-variant returned from this function is very large
--> identity_iota_core/src/document/iota_document.rs:210:57
|
210 | pub fn insert_service(&mut self, service: Service) -> Result<()> {
| ^^^^^^^^^^
|
::: identity_iota_core/src/error.rs:27:3
|
27 | DIDResolutionError(#[source] iota_sdk::client::error::Error),
| ------------------------------------------------------------ the largest variant contains at least 128 bytes
...
38 | TokenSupplyError(#[source] iota_sdk::client::Error),
| --------------------------------------------------- the variant `TokenSupplyError` contains at least 128 bytes
...
50 | ProtocolParametersError(#[source] iota_sdk::client::Error),
| ---------------------------------------------------------- the variant `ProtocolParametersError` contains at least 128 bytes
|
= help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
= note: `-D clippy::result-large-err` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::result_large_err)]`
|
the `Err`-variant returned from this function is very large:
identity_iota_core/src/document/iota_document.rs#L240
error: the `Err`-variant returned from this function is very large
--> identity_iota_core/src/document/iota_document.rs:240:86
|
240 | pub fn insert_method(&mut self, method: VerificationMethod, scope: MethodScope) -> Result<()> {
| ^^^^^^^^^^
|
::: identity_iota_core/src/error.rs:27:3
|
27 | DIDResolutionError(#[source] iota_sdk::client::error::Error),
| ------------------------------------------------------------ the largest variant contains at least 128 bytes
...
38 | TokenSupplyError(#[source] iota_sdk::client::Error),
| --------------------------------------------------- the variant `TokenSupplyError` contains at least 128 bytes
...
50 | ProtocolParametersError(#[source] iota_sdk::client::Error),
| ---------------------------------------------------------- the variant `ProtocolParametersError` contains at least 128 bytes
|
= help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
= 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:
identity_iota_core/src/document/iota_document.rs#L279
error: the `Err`-variant returned from this function is very large
--> identity_iota_core/src/document/iota_document.rs:279:8
|
279 | ) -> Result<bool>
| ^^^^^^^^^^^^
|
::: identity_iota_core/src/error.rs:27:3
|
27 | DIDResolutionError(#[source] iota_sdk::client::error::Error),
| ------------------------------------------------------------ the largest variant contains at least 128 bytes
...
38 | TokenSupplyError(#[source] iota_sdk::client::Error),
| --------------------------------------------------- the variant `TokenSupplyError` contains at least 128 bytes
...
50 | ProtocolParametersError(#[source] iota_sdk::client::Error),
| ---------------------------------------------------------- the variant `ProtocolParametersError` contains at least 128 bytes
|
= help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
= 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:
identity_iota_core/src/document/iota_document.rs#L305
error: the `Err`-variant returned from this function is very large
--> identity_iota_core/src/document/iota_document.rs:305:8
|
305 | ) -> Result<bool>
| ^^^^^^^^^^^^
|
::: identity_iota_core/src/error.rs:27:3
|
27 | DIDResolutionError(#[source] iota_sdk::client::error::Error),
| ------------------------------------------------------------ the largest variant contains at least 128 bytes
...
38 | TokenSupplyError(#[source] iota_sdk::client::Error),
| --------------------------------------------------- the variant `TokenSupplyError` contains at least 128 bytes
...
50 | ProtocolParametersError(#[source] iota_sdk::client::Error),
| ---------------------------------------------------------- the variant `ProtocolParametersError` contains at least 128 bytes
|
= help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
= 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:
identity_iota_core/src/document/iota_document.rs#L374
error: the `Err`-variant returned from this function is very large
--> identity_iota_core/src/document/iota_document.rs:374:8
|
374 | ) -> Result<DecodedJws<'jws>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
::: identity_iota_core/src/error.rs:27:3
|
27 | DIDResolutionError(#[source] iota_sdk::client::error::Error),
| ------------------------------------------------------------ the largest variant contains at least 128 bytes
...
38 | TokenSupplyError(#[source] iota_sdk::client::Error),
| --------------------------------------------------- the variant `TokenSupplyError` contains at least 128 bytes
...
50 | ProtocolParametersError(#[source] iota_sdk::client::Error),
| ---------------------------------------------------------- the variant `ProtocolParametersError` contains at least 128 bytes
|
= help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
= 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:
identity_iota_core/src/document/iota_document.rs#L387
error: the `Err`-variant returned from this function is very large
--> identity_iota_core/src/document/iota_document.rs:387:24
|
387 | pub fn pack(self) -> Result<Vec<u8>> {
| ^^^^^^^^^^^^^^^
|
::: identity_iota_core/src/error.rs:27:3
|
27 | DIDResolutionError(#[source] iota_sdk::client::error::Error),
| ------------------------------------------------------------ the largest variant contains at least 128 bytes
...
38 | TokenSupplyError(#[source] iota_sdk::client::Error),
| --------------------------------------------------- the variant `TokenSupplyError` contains at least 128 bytes
...
50 | ProtocolParametersError(#[source] iota_sdk::client::Error),
| ---------------------------------------------------------- the variant `ProtocolParametersError` contains at least 128 bytes
|
= help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
= 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:
identity_iota_core/src/document/iota_document.rs#L392
error: the `Err`-variant returned from this function is very large
--> identity_iota_core/src/document/iota_document.rs:392:71
|
392 | pub fn pack_with_encoding(self, encoding: StateMetadataEncoding) -> Result<Vec<u8>> {
| ^^^^^^^^^^^^^^^
|
::: identity_iota_core/src/error.rs:27:3
|
27 | DIDResolutionError(#[source] iota_sdk::client::error::Error),
| ------------------------------------------------------------ the largest variant contains at least 128 bytes
...
38 | TokenSupplyError(#[source] iota_sdk::client::Error),
| --------------------------------------------------- the variant `TokenSupplyError` contains at least 128 bytes
...
50 | ProtocolParametersError(#[source] iota_sdk::client::Error),
| ---------------------------------------------------------- the variant `ProtocolParametersError` contains at least 128 bytes
|
= help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
= 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:
identity_iota_core/src/document/iota_document.rs#L429
error: the `Err`-variant returned from this function is very large
--> identity_iota_core/src/document/iota_document.rs:429:96
|
429 | pub fn unpack_from_output(did: &IotaDID, alias_output: &AliasOutput, allow_empty: bool) -> Result<IotaDocument> {
| ^^^^^^^^^^^^^^^^^^^^
|
::: identity_iota_core/src/error.rs:27:3
|
27 | DIDResolutionError(#[source] iota_sdk::client::error::Error),
| ------------------------------------------------------------ the largest variant contains at least 128 bytes
...
38 | TokenSupplyError(#[source] iota_sdk::client::Error),
| --------------------------------------------------- the variant `TokenSupplyError` contains at least 128 bytes
...
50 | ProtocolParametersError(#[source] iota_sdk::client::Error),
| ---------------------------------------------------------- the variant `ProtocolParametersError` contains at least 128 bytes
|
= help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
= 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:
identity_iota_core/src/document/iota_document.rs#L449
error: the `Err`-variant returned from this function is very large
--> identity_iota_core/src/document/iota_document.rs:449:10
|
449 | ) -> Result<()> {
| ^^^^^^^^^^
|
::: identity_iota_core/src/error.rs:27:3
|
27 | DIDResolutionError(#[source] iota_sdk::client::error::Error),
| ------------------------------------------------------------ the largest variant contains at least 128 bytes
...
38 | TokenSupplyError(#[source] iota_sdk::client::Error),
| --------------------------------------------------- the variant `TokenSupplyError` contains at least 128 bytes
...
50 | ProtocolParametersError(#[source] iota_sdk::client::Error),
| ---------------------------------------------------------- the variant `ProtocolParametersError` contains at least 128 bytes
|
= help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
= 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:
identity_iota_core/src/document/iota_document.rs#L476
error: the `Err`-variant returned from this function is very large
--> identity_iota_core/src/document/iota_document.rs:476:71
|
476 | pub fn unpack_from_block(network: &NetworkName, block: &Block) -> Result<Vec<IotaDocument>> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: identity_iota_core/src/error.rs:27:3
|
27 | DIDResolutionError(#[source] iota_sdk::client::error::Error),
| ------------------------------------------------------------ the largest variant contains at least 128 bytes
...
38 | TokenSupplyError(#[source] iota_sdk::client::Error),
| --------------------------------------------------- the variant `TokenSupplyError` contains at least 128 bytes
...
50 | ProtocolParametersError(#[source] iota_sdk::client::Error),
| ---------------------------------------------------------- the variant `ProtocolParametersError` contains at least 128 bytes
|
= help: try reducing the size of `error::Error`, for example by boxing large elements or replacing it with `Box<error::Error>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
clippy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, jetli/wasm-bindgen-action@24ba6f9fff570246106ac3f80f35185600c3f6c9, actions-rs-plus/clippy-check@b09a9c37c9df7db8b1a5d52e8fe8e0b6e3d574c4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: jetli/wasm-bindgen-action@24ba6f9fff570246106ac3f80f35185600c3f6c9. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|