Adding compression [WIP] #253
ci.yml
on: pull_request
Check (fmt, dependency check, clippy, test)
1m 9s
Annotations
7 errors and 2 warnings
casting to the same type is unnecessary (`usize` -> `usize`):
chitchat/src/serialize.rs#L411
error: casting to the same type is unnecessary (`usize` -> `usize`)
--> chitchat/src/serialize.rs:411:29
|
411 | buf.advance(len as usize);
| ^^^^^^^^^^^^ 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`):
chitchat/src/serialize.rs#L401
error: casting to the same type is unnecessary (`usize` -> `usize`)
--> chitchat/src/serialize.rs:401:29
|
401 | buf.advance(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)]`
|
casting to the same type is unnecessary (`usize` -> `usize`):
chitchat/src/serialize.rs#L411
error: casting to the same type is unnecessary (`usize` -> `usize`)
--> chitchat/src/serialize.rs:411:29
|
411 | buf.advance(len as usize);
| ^^^^^^^^^^^^ 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`):
chitchat/src/serialize.rs#L401
error: casting to the same type is unnecessary (`usize` -> `usize`)
--> chitchat/src/serialize.rs:401:29
|
401 | buf.advance(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)]`
|
this import is redundant:
chitchat/src/serialize.rs#L6
error: this import is redundant
--> chitchat/src/serialize.rs:6:1
|
6 | use zstd;
| ^^^^^^^^^ help: remove it entirely
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports
= note: `-D clippy::single-component-path-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::single_component_path_imports)]`
|
this import is redundant:
chitchat/src/serialize.rs#L6
error: this import is redundant
--> chitchat/src/serialize.rs:6:1
|
6 | use zstd;
| ^^^^^^^^^ help: remove it entirely
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports
= note: `-D clippy::single-component-path-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::single_component_path_imports)]`
|
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/
|