Skip to content

Bump to pam-client2 #231

Bump to pam-client2

Bump to pam-client2 #231

Triggered via push October 20, 2024 22:09
Status Failure
Total duration 1m 38s
Artifacts

quality.yml

on: push
Rust Quality Gate
1m 27s
Rust Quality Gate
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 10 warnings
unresolved import `pam_sys`: src/sr/pam/securemem.rs#L14
error[E0432]: unresolved import `pam_sys` --> src/sr/pam/securemem.rs:14:5 | 14 | use pam_sys::PAM_MAX_RESP_SIZE; | ^^^^^^^ help: a similar path exists: `pam_client2::pam_sys`
Rust Quality Gate
Clippy had exited with the 101 exit code
Rust Quality Gate
Changes must be made through a pull request.
this expression creates a reference which is immediately dereferenced by the compiler: rar-common/src/database/finder.rs#L706
warning: this expression creates a reference which is immediately dereferenced by the compiler --> rar-common/src/database/finder.rs:706:91 | 706 | let min = PluginManager::notify_user_matcher(&as_borrow!(self), user, &element); | ^^^^^^^^ help: change this to: `element` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression creates a reference which is immediately dereferenced by the compiler: rar-common/src/database/finder.rs#L491
warning: this expression creates a reference which is immediately dereferenced by the compiler --> rar-common/src/database/finder.rs:491:47 | 491 | SGroups::Single(group) => is_root(&group), | ^^^^^^ help: change this to: `group` | = 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
writing `&String` instead of `&str` involves a new object where a slice will do: rar-common/src/database/finder.rs#L326
warning: writing `&String` instead of `&str` involves a new object where a slice will do --> rar-common/src/database/finder.rs:326:27 | 326 | fn match_path(input_path: &String, role_path: &String) -> CmdMin { | ^^^^^^^ help: change this to: `&str` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg = note: `#[warn(clippy::ptr_arg)]` on by default
unused variable: `tool`: rar-common/src/util.rs#L258
warning: unused variable: `tool` --> rar-common/src/util.rs:258:17 | 258 | pub fn subsribe(tool: &str) -> Result<(), Box<dyn Error>> { | ^^^^ help: if this is intentional, prefix it with an underscore: `_tool` | = note: `#[warn(unused_variables)]` on by default
Rust Quality Gate
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af, 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/
Rust Quality Gate
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Rust Quality Gate
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/
Rust Quality Gate
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/
Rust Quality Gate
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/
Rust Quality Gate
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/