Skip to content

Set grype cpe auto add option (#62) #22

Set grype cpe auto add option (#62)

Set grype cpe auto add option (#62) #22

Triggered via push October 9, 2023 22:36
Status Success
Total duration 26s
Artifacts 1
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

lua-lint.yml

on: push
Luacheck code analysis
16s
Luacheck code analysis
Fit to window
Zoom out
Zoom in

Annotations

1 error, 26 warnings, and 1 notice
call to unsafe function is unsafe and requires unsafe function or block: src/dirty.rs#L20
error[E0133]: call to unsafe function is unsafe and requires unsafe function or block --> src/dirty.rs:20:15 | 20 | let pid = libc::getpid() as u32; | ^^^^^^^^^^^^^^ call to unsafe function | = note: consult the function's documentation for information on how to avoid undefined behavior
unused variable: `pid`: src/dirty.rs#L20
warning: unused variable: `pid` --> src/dirty.rs:20:9 | 20 | let pid = libc::getpid() as u32; | ^^^ help: if this is intentional, prefix it with an underscore: `_pid`
unused variable: `pid`: src/dirty.rs#L17
warning: unused variable: `pid` --> src/dirty.rs:17:9 | 17 | let pid = unsafe { libc::getpid() as u32 }; | ^^^ help: if this is intentional, prefix it with an underscore: `_pid`
unused variable: `client`: src/dirty.rs#L12
warning: unused variable: `client` --> src/dirty.rs:12:9 | 12 | let client = reqwest::Client::builder() | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client`
unused variable: `client`: src/dirty.rs#L8
warning: unused variable: `client` --> src/dirty.rs:8:9 | 8 | let client = reqwest::Client::builder() | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client`
unused variable: `y`: src/dirty.rs#L5
warning: unused variable: `y` --> src/dirty.rs:5:9 | 5 | let y = 1_f64 / x; | ^ help: if this is intentional, prefix it with an underscore: `_y` | = note: `#[warn(unused_variables)]` on by default
unused import: `reqwest::header`: src/dirty.rs#L1
warning: unused import: `reqwest::header` --> src/dirty.rs:1:5 | 1 | use reqwest::header; | ^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
24 tests found
There are 24 tests, see "Raw output" for the full list of tests.

Artifacts

Produced during runtime
Name Size
luacheck_results.zip Expired
11.3 KB