Skip to content

use latest release of sd-jwt-payload #4329

use latest release of sd-jwt-payload

use latest release of sd-jwt-payload #4329

Triggered via pull request March 12, 2024 10:10
Status Failure
Total duration 2m 54s
Artifacts

clippy.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 2 warnings
the trait bound `identity_iota::sd_jwt_payload::SdJwt: serde::Serialize` is not satisfied: src/macros.rs#L34
error[E0277]: the trait bound `identity_iota::sd_jwt_payload::SdJwt: serde::Serialize` is not satisfied --> src/macros.rs:34:29 | 34 | JsValue::from_serde(&self.0).wasm_result() | ------------------- ^^^^^^^ the trait `serde::Serialize` is not implemented for `identity_iota::sd_jwt_payload::SdJwt` | | | required by a bound introduced by this call | ::: src/sd_jwt/wasm_sd_jwt.rs:80:1 | 80 | impl_wasm_json!(WasmSdJwt, SdJwt); | --------------------------------- in this macro invocation | = help: the following other types implement trait `serde::Serialize`: bool char isize i8 i16 i32 i64 i128 and 410 others note: required by a bound in `wasm_bindgen::JsValue::from_serde` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-0.2.92/src/lib.rs:220:12 | 218 | pub fn from_serde<T>(t: &T) -> serde_json::Result<JsValue> | ---------- required by a bound in this associated function 219 | where 220 | T: serde::ser::Serialize + ?Sized, | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `JsValue::from_serde` = note: this error originates in the macro `impl_wasm_json` (in Nightly builds, run with -Z macro-backtrace for more info)
the trait bound `for<'a> identity_iota::sd_jwt_payload::SdJwt: serde::Deserialize<'a>` is not satisfied: src/macros.rs#L41
error[E0277]: the trait bound `for<'a> identity_iota::sd_jwt_payload::SdJwt: serde::Deserialize<'a>` is not satisfied --> src/macros.rs:41:14 | 41 | json.into_serde().map(Self).wasm_result() | ^^^^^^^^^^ the trait `for<'a> serde::Deserialize<'a>` is not implemented for `identity_iota::sd_jwt_payload::SdJwt` | ::: src/sd_jwt/wasm_sd_jwt.rs:80:1 | 80 | impl_wasm_json!(WasmSdJwt, SdJwt); | --------------------------------- in this macro invocation | = help: the following other types implement trait `serde::Deserialize<'de>`: <bool as serde::Deserialize<'de>> <char as serde::Deserialize<'de>> <isize as serde::Deserialize<'de>> <i8 as serde::Deserialize<'de>> <i16 as serde::Deserialize<'de>> <i32 as serde::Deserialize<'de>> <i64 as serde::Deserialize<'de>> <i128 as serde::Deserialize<'de>> and 408 others note: required by a bound in `wasm_bindgen::JsValue::into_serde` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-0.2.92/src/lib.rs:251:12 | 249 | pub fn into_serde<T>(&self) -> serde_json::Result<T> | ---------- required by a bound in this associated function 250 | where 251 | T: for<'a> serde::de::Deserialize<'a>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `JsValue::into_serde` = note: this error originates in the macro `impl_wasm_json` (in Nightly builds, run with -Z macro-backtrace for more info)
clippy
Clippy had exited with the 101 exit code
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/