Skip to content

wip

wip #481

Triggered via push January 5, 2024 19:05
Status Failure
Total duration 9m 56s
Artifacts

rust.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
casting to the same type is unnecessary (`usize` -> `usize`): src/quickjs_utils/typedarrays.rs#L217
error: casting to the same type is unnecessary (`usize` -> `usize`) --> src/quickjs_utils/typedarrays.rs:217:34 | 217 | Vec::from_raw_parts(ptr, len as usize, len as _) | ^^^^^^^^^^^^ help: try: `len` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
casting to the same type is unnecessary (`usize` -> `usize`): src/quickjs_utils/compile.rs#L145
error: casting to the same type is unnecessary (`usize` -> `usize`) --> src/quickjs_utils/compile.rs:145:54 | 145 | let slice = std::slice::from_raw_parts(slice_u8, len as usize); | ^^^^^^^^^^^^ help: try: `len` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast = note: `-D clippy::unnecessary-cast` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::unnecessary_cast)]`
build
Clippy had exited with the 101 exit code
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, 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/