Skip to content

Avoiding to panic on invalid payload. #402

Avoiding to panic on invalid payload.

Avoiding to panic on invalid payload. #402

Triggered via pull request March 15, 2024 07:57
Status Failure
Total duration 1m 16s
Artifacts

ci.yml

on: pull_request
Check (fmt, dependency check, clippy, test)
1m 8s
Check (fmt, dependency check, clippy, test)
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 2 warnings
this expression creates a reference which is immediately dereferenced by the compiler: chitchat/src/serialize.rs#L190
error: this expression creates a reference which is immediately dereferenced by the compiler --> chitchat/src/serialize.rs:190:39 | 190 | let str = std::str::from_utf8(&str_bytes)?.to_string(); | ^^^^^^^^^^ help: change this to: `str_bytes` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `-D clippy::needless-borrow` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::needless_borrow)]`
Check (fmt, dependency check, clippy, test)
Clippy had exited with the 101 exit code
Check (fmt, dependency check, clippy, test)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v2, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Check (fmt, dependency check, clippy, test)
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/