Skip to content

Adding compression [WIP] #253

Adding compression [WIP]

Adding compression [WIP] #253

GitHub Actions / clippy failed Feb 10, 2024 in 0s

clippy

6 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 6
Warning 0
Note 0
Help 0

Versions

  • rustc 1.75.0 (82e1608df 2023-12-21)
  • cargo 1.75.0 (1d8b05cdd 2023-11-20)
  • clippy 0.1.75 (82e1608 2023-12-21)

Annotations

Check failure on line 411 in chitchat/src/serialize.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

casting to the same type is unnecessary (`usize` -> `usize`)

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

Check failure on line 401 in chitchat/src/serialize.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

casting to the same type is unnecessary (`usize` -> `usize`)

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)]`

Check failure on line 411 in chitchat/src/serialize.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

casting to the same type is unnecessary (`usize` -> `usize`)

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

Check failure on line 401 in chitchat/src/serialize.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

casting to the same type is unnecessary (`usize` -> `usize`)

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)]`

Check failure on line 6 in chitchat/src/serialize.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this import is redundant

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 failure on line 6 in chitchat/src/serialize.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this import is redundant

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)]`