Skip to content

ci: Fix libssl install for cross-compile #177

ci: Fix libssl install for cross-compile

ci: Fix libssl install for cross-compile #177

Triggered via pull request October 10, 2023 16:08
@SkallwarSkallwar
synchronize #227
fix_ci
Status Success
Total duration 1m 14s
Artifacts

clippy.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 warnings
the borrowed expression implements the required traits: src/disk.rs#L55
warning: the borrowed expression implements the required traits --> src/disk.rs:55:53 | 55 | let target = pathdiff::diff_paths(&destination, &source.parent().unwrap()).unwrap(); | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `source.parent().unwrap()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
the borrowed expression implements the required traits: src/disk.rs#L55
warning: the borrowed expression implements the required traits --> src/disk.rs:55:39 | 55 | let target = pathdiff::diff_paths(&destination, &source.parent().unwrap()).unwrap(); | ^^^^^^^^^^^^ help: change this to: `destination` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `#[warn(clippy::needless_borrow)]` on by default
you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`: src/disk.rs#L42
warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` --> src/disk.rs:42:9 | 42 | / match fs::create_dir_all(parent) { 43 | | Err(err) => { 44 | | error!("Couldn't create folder {}: {}", parent.display(), err); 45 | | } 46 | | Ok(()) => (), 47 | | } | |_________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match = note: `#[warn(clippy::single_match)]` on by default help: try | 42 ~ if let Err(err) = fs::create_dir_all(parent) { 43 + error!("Couldn't create folder {}: {}", parent.display(), err); 44 + } |
unnecessary hashes around raw string literal: src/downloader.rs#L120
warning: unnecessary hashes around raw string literal --> src/downloader.rs:120:36 | 120 | Regex::new(r#"^.*(\b[a-z]+/[a-z-+\.]+).*$"#).unwrap(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `r"^.*(\b[a-z]+/[a-z-+\.]+).*$"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes = note: `#[warn(clippy::needless_raw_string_hashes)]` on by default
clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, 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/
clippy
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/
clippy
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/
clippy
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/
clippy
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/