Skip to content

funds-manager: execution-client: Add quote and price helpers #143

funds-manager: execution-client: Add quote and price helpers

funds-manager: execution-client: Add quote and price helpers #143

Triggered via push August 8, 2024 21:10
Status Failure
Total duration 3m 29s
Artifacts

clippy.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 2 warnings
this argument is passed by value, but not consumed in the function body: funds-manager/funds-manager-server/src/execution_client/error.rs#L21
error: this argument is passed by value, but not consumed in the function body --> funds-manager/funds-manager-server/src/execution_client/error.rs:21:34 | 21 | pub fn parse<T: ToString>(e: T) -> Self { | ^ help: consider taking a reference instead: `&T` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value
this argument is passed by value, but not consumed in the function body: funds-manager/funds-manager-server/src/execution_client/error.rs#L16
error: this argument is passed by value, but not consumed in the function body --> funds-manager/funds-manager-server/src/execution_client/error.rs:16:33 | 16 | pub fn http<T: ToString>(e: T) -> Self { | ^ help: consider taking a reference instead: `&T` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value = note: requested on the command line with `-D clippy::needless-pass-by-value`
clippy-check
Clippy had exited with the 101 exit code
clippy-check
The following actions uses node12 which is deprecated and will be forced to run on node16: 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-check
The following actions uses Node.js version which is deprecated and will be forced to run on node20: arduino/setup-protoc@v1, 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/