Skip to content

restore: Add caching for uid/gid names

Sign in for the full log view
This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / Clippy Output failed Nov 5, 2023 in 0s

Clippy Output

4 errors

Details

Results

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

Versions

  • rustc 1.73.0 (cc66ad468 2023-10-03)
  • cargo 1.73.0 (9c4383fb5 2023-08-26)
  • clippy 0.1.73 (cc66ad4 2023-10-03)

Annotations

Check failure on line 676 in src/backend/local.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy Output

redundant clone

error: redundant clone
   --> src/backend/local.rs:676:48
    |
676 |             .and_then(|name| gid_from_name(name.to_string()));
    |                                                ^^^^^^^^^^^^ help: remove this
    |
note: this value is dropped without further use
   --> src/backend/local.rs:676:44
    |
676 |             .and_then(|name| gid_from_name(name.to_string()));
    |                                            ^^^^
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_clone

Check failure on line 676 in src/backend/local.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy Output

redundant clone

error: redundant clone
   --> src/backend/local.rs:676:48
    |
676 |             .and_then(|name| gid_from_name(name.to_string()));
    |                                                ^^^^^^^^^^^^ help: remove this
    |
note: this value is dropped without further use
   --> src/backend/local.rs:676:44
    |
676 |             .and_then(|name| gid_from_name(name.to_string()));
    |                                            ^^^^
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_clone

Check failure on line 669 in src/backend/local.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy Output

redundant clone

error: redundant clone
   --> src/backend/local.rs:669:48
    |
669 |             .and_then(|name| uid_from_name(name.to_string()));
    |                                                ^^^^^^^^^^^^ help: remove this
    |
note: this value is dropped without further use
   --> src/backend/local.rs:669:44
    |
669 |             .and_then(|name| uid_from_name(name.to_string()));
    |                                            ^^^^
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_clone
    = note: `-D clippy::redundant-clone` implied by `-D warnings`

Check failure on line 669 in src/backend/local.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy Output

redundant clone

error: redundant clone
   --> src/backend/local.rs:669:48
    |
669 |             .and_then(|name| uid_from_name(name.to_string()));
    |                                                ^^^^^^^^^^^^ help: remove this
    |
note: this value is dropped without further use
   --> src/backend/local.rs:669:44
    |
669 |             .and_then(|name| uid_from_name(name.to_string()));
    |                                            ^^^^
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_clone
    = note: `-D clippy::redundant-clone` implied by `-D warnings`