Skip to content

fix: cargo clippy + fmt #7

fix: cargo clippy + fmt

fix: cargo clippy + fmt #7

Triggered via push February 15, 2024 20:25
Status Failure
Total duration 1m 30s
Artifacts

lint.yml

on: push
Matrix: clippy
Matrix: rustfmt
Fit to window
Zoom out
Zoom in

Annotations

24 errors
clippy (ubuntu-20.04): src/main.rs#L92
function `show_notification` is never used
clippy (ubuntu-20.04): src/config.rs#L49
function `write_config_file` is never used
clippy (ubuntu-20.04): src/util/paths.rs#L40
function `config_is_local` is never used
clippy (ubuntu-20.04): src/util/paths.rs#L47
function `get_plugin_dir` is never used
clippy (ubuntu-20.04): src/util/paths.rs#L83
function `get_theme_dir` is never used
clippy (ubuntu-20.04): src/util/paths.rs#L153
function `custom_detectables_path` is never used
clippy (ubuntu-20.04): src/main.rs#L49
casting raw pointers to the same type and constness is unnecessary (`*const i8` -> `*const i8`)
clippy (ubuntu-20.04)
Process completed with exit code 101.
clippy (macos-latest): src/main.rs#L92
function `show_notification` is never used
clippy (macos-latest): src/config.rs#L49
function `write_config_file` is never used
clippy (macos-latest): src/util/paths.rs#L40
function `config_is_local` is never used
clippy (macos-latest): src/util/paths.rs#L47
function `get_plugin_dir` is never used
clippy (macos-latest): src/util/paths.rs#L83
function `get_theme_dir` is never used
clippy (macos-latest): src/util/paths.rs#L153
function `custom_detectables_path` is never used
clippy (macos-latest): src/main.rs#L49
casting raw pointers to the same type and constness is unnecessary (`*const i8` -> `*const i8`)
clippy (macos-latest)
Process completed with exit code 101.
clippy (windows-latest): src/main.rs#L92
function `show_notification` is never used
clippy (windows-latest): src/config.rs#L49
function `write_config_file` is never used
clippy (windows-latest): src/util/paths.rs#L40
function `config_is_local` is never used
clippy (windows-latest): src/util/paths.rs#L47
function `get_plugin_dir` is never used
clippy (windows-latest): src/util/paths.rs#L83
function `get_theme_dir` is never used
clippy (windows-latest): src/util/paths.rs#L153
function `custom_detectables_path` is never used
clippy (windows-latest): src/main.rs#L49
casting raw pointers to the same type and constness is unnecessary (`*const i8` -> `*const i8`)
clippy (windows-latest)
Process completed with exit code 1.