Skip to content

Use builder for mpesaexpress request #38

Use builder for mpesaexpress request

Use builder for mpesaexpress request #38

Triggered via push November 9, 2023 15:19
Status Success
Total duration 23s
Artifacts

audit.yml

on: push
security_audit
13s
security_audit
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 3 warnings
this expression creates a reference which is immediately dereferenced by the compiler: src/client.rs#L459
error: this expression creates a reference which is immediately dereferenced by the compiler --> src/client.rs:459:31 | 459 | MpesaExpress::builder(&self) | ^^^^^ help: change this to: `self` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `-D clippy::needless-borrow` implied by `-D warnings`
static `DEFAULT_PASSKEY` is never used: src/services/express_request.rs#L11
error: static `DEFAULT_PASSKEY` is never used --> src/services/express_request.rs:11:8 | 11 | static DEFAULT_PASSKEY: &str = "bfb279f9aa9bdbcf158e97dd71a467cd2e0c893059b10f78e6b72ada1ed2c919"; | ^^^^^^^^^^^^^^^ | = note: `-D dead-code` implied by `-D warnings`
this expression creates a reference which is immediately dereferenced by the compiler: src/client.rs#L459
error: this expression creates a reference which is immediately dereferenced by the compiler --> src/client.rs:459:31 | 459 | MpesaExpress::builder(&self) | ^^^^^ help: change this to: `self` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `-D clippy::needless-borrow` implied by `-D warnings`
static `DEFAULT_PASSKEY` is never used: src/services/express_request.rs#L11
error: static `DEFAULT_PASSKEY` is never used --> src/services/express_request.rs:11:8 | 11 | static DEFAULT_PASSKEY: &str = "bfb279f9aa9bdbcf158e97dd71a467cd2e0c893059b10f78e6b72ada1ed2c919"; | ^^^^^^^^^^^^^^^ | = note: `-D dead-code` implied by `-D warnings`
security_audit
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/audit-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/
security_audit
Unexpected input(s) 'args', valid inputs are ['token']
security_audit
1 warnings found!