Skip to content

Librarify

Librarify #80

Triggered via pull request October 11, 2024 04:19
@lhstrhlhstrh
synchronize #50
librarify
Status Success
Total duration 1m 34s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

25 warnings
unused variable: `apps`: src/main.rs#L152
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`
unused variable: `which_capability`: src/main.rs#L100
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
passing a unit value to a function: src/package/management.rs#L99
warning: passing a unit value to a function --> src/package/management.rs:99:17 | 99 | / Ok(match reference { 100 | | // gref is an actual reference like branches or tags 101 | | Some(gref) => { 102 | | self.git_rev = gref.target().map(|v| v.to_string()); ... | 106 | | None => repo.set_head_detached(object.id())?, 107 | | }) | |__________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unit_arg = note: `#[warn(clippy::unit_arg)]` on by default help: move the expression in front of the call and replace it with the unit literal `()` | 99 ~ match reference { 100 + // gref is an actual reference like branches or tags 101 + Some(gref) => { 102 + self.git_rev = gref.target().map(|v| v.to_string()); 103 + repo.set_head(gref.name().unwrap())? 104 + } 105 + // this is a commit, not a reference 106 + None => repo.set_head_detached(object.id())?, 107 + }; 108 + Ok(()) |
unused variable: `clone`: src/backends/mod.rs#L23
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
unused import: `which::which`: src/util/mod.rs#L1
warning: unused import: `which::which` --> src/util/mod.rs:1:5 | 1 | use which::which; | ^^^^^^^^^^^^
unused import: `which::which`: src/package/mod.rs#L14
warning: unused import: `which::which` --> src/package/mod.rs:14:5 | 14 | use which::which; | ^^^^^^^^^^^^
unused import: `git2::Repository`: src/package/mod.rs#L7
warning: unused import: `git2::Repository` --> src/package/mod.rs:7:5 | 7 | use git2::Repository; | ^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
TypeScript Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
TypeScript Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
TypeScript Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
TypeScript Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
TypeScript Test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
TypeScript Test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions-rs/toolchain@v1, actions/setup-java@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
LFC Fallback Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
LFC Fallback Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
LFC Fallback Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
LFC Fallback Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
LFC Fallback Test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
LFC Fallback Test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions-rs/toolchain@v1, actions/setup-java@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
CPP Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
CPP Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
CPP Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
CPP Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
CPP Test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
CPP Test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions-rs/toolchain@v1, actions/setup-java@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/