Skip to content

Remove dependency on identity_core default features #4517

Remove dependency on identity_core default features

Remove dependency on identity_core default features #4517

Re-run triggered September 6, 2024 07:50
Status Failure
Total duration 2m 32s
Artifacts

clippy.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 2 warnings
failed to resolve: use of undeclared crate or module `js_sys`: identity_core/src/common/timestamp.rs#L59
error[E0433]: failed to resolve: use of undeclared crate or module `js_sys` --> /home/runner/work/identity.rs/identity.rs/identity_core/src/common/timestamp.rs:59:46 | 59 | let milliseconds_since_unix_epoch: i64 = js_sys::Date::now() as i64; | ^^^^^^ use of undeclared crate or module `js_sys` | help: consider importing this struct | 4 + use time::Date; | help: if you import `Date`, refer to it directly | 59 - let milliseconds_since_unix_epoch: i64 = js_sys::Date::now() as i64; 59 + let milliseconds_since_unix_epoch: i64 = Date::now() as i64; |
clippy
Clippy had exited with the 101 exit code
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/
clippy
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, jetli/wasm-bindgen-action@24ba6f9fff570246106ac3f80f35185600c3f6c9, actions-rs-plus/clippy-check@b09a9c37c9df7db8b1a5d52e8fe8e0b6e3d574c4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/