Skip to content

refactor(cli): cleanup info command #554

refactor(cli): cleanup info command

refactor(cli): cleanup info command #554

Triggered via pull request August 30, 2023 23:51
Status Failure
Total duration 4m 4s
Artifacts

lint-cli.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 11 warnings
single-character string constant used as pattern: src/info/packages_rust.rs#L245
error: single-character string constant used as pattern --> src/info/packages_rust.rs:245:32 | 245 | version.split_once("\n").unwrap_or_default().0, | ^^^^ help: try using a `char` instead: `'\n'` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern
single-character string constant used as pattern: src/info/packages_rust.rs#L239
error: single-character string constant used as pattern --> src/info/packages_rust.rs:239:51 | 239 | let (package, version) = out.split_once(" ").unwrap_or_default(); | ^^^ help: try using a `char` instead: `' '` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern = note: `-D clippy::single-char-pattern` implied by `-D warnings`
single-character string constant used as pattern: src/info/packages_rust.rs#L245
error: single-character string constant used as pattern --> src/info/packages_rust.rs:245:32 | 245 | version.split_once("\n").unwrap_or_default().0, | ^^^^ help: try using a `char` instead: `'\n'` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern
single-character string constant used as pattern: src/info/packages_rust.rs#L239
error: single-character string constant used as pattern --> src/info/packages_rust.rs:239:51 | 239 | let (package, version) = out.split_once(" ").unwrap_or_default(); | ^^^ help: try using a `char` instead: `' '` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern = note: `-D clippy::single-char-pattern` implied by `-D warnings`
clippy
Clippy had exited with the 101 exit code
fmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
fmt
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/
fmt
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/
fmt
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/
fmt
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 following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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/
clippy
Error parsing Cargo.toml manifest, fallback to caching entire file: Error: Invalid TOML document: only letter, numbers, dashes and underscores are allowed in keys 13: [build-dependencies] 14: tauri-build = {{ tauri_build_dep }} ^