Librarify #188
Clippy Output
6 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 6 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.81.0 (eeb90cda1 2024-09-04)
- cargo 1.81.0 (2dbb1af80 2024-08-20)
- clippy 0.1.81 (eeb90cd 2024-09-04)
Annotations
Check warning on line 152 in src/main.rs
github-actions / Clippy Output
unused variable: `apps`
warning: unused variable: `apps`
--> src/main.rs:152:9
|
152 | let apps = config.apps.iter().collect::<Vec<_>>();
| ^^^^ help: if this is intentional, prefix it with an underscore: `_apps`
Check warning on line 100 in src/main.rs
github-actions / Clippy Output
unused variable: `which_capability`
warning: unused variable: `which_capability`
--> src/main.rs:100:81
|
100 | ...d: ConsoleCommand, which_capability: WhichCapability, git_clone_capability: GitCloneCapability) -> CommandResult<'a> {
| ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_which_capability`
|
= note: `#[warn(unused_variables)]` on by default
Check warning on line 23 in src/backends/mod.rs
github-actions / Clippy Output
unused variable: `clone`
warning: unused variable: `clone`
--> src/backends/mod.rs:23:99
|
23 | ...nfig, which: WhichCapability, clone: GitCloneCapability) -> BatchBuildResults<'a> {
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_clone`
|
= note: `#[warn(unused_variables)]` on by default
Check warning on line 1 in src/util/mod.rs
github-actions / Clippy Output
unused import: `which::which`
warning: unused import: `which::which`
--> src/util/mod.rs:1:5
|
1 | use which::which;
| ^^^^^^^^^^^^
Check warning on line 14 in src/package/mod.rs
github-actions / Clippy Output
unused import: `which::which`
warning: unused import: `which::which`
--> src/package/mod.rs:14:5
|
14 | use which::which;
| ^^^^^^^^^^^^
Check warning on line 7 in src/package/mod.rs
github-actions / Clippy Output
unused import: `git2::Repository`
warning: unused import: `git2::Repository`
--> src/package/mod.rs:7:5
|
7 | use git2::Repository;
| ^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default