Skip to content

funds-manager: Use diesel-async and add warp endpoints #28

funds-manager: Use diesel-async and add warp endpoints

funds-manager: Use diesel-async and add warp endpoints #28

Triggered via push July 18, 2024 00:27
Status Success
Total duration 33s
Artifacts

rustfmt.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 6 warnings
this argument is passed by value, but not consumed in the function body: funds-manager/src/error.rs#L51
error: this argument is passed by value, but not consumed in the function body --> funds-manager/src/error.rs:51:37 | 51 | pub fn custom<T: ToString>(msg: T) -> FundsManagerError { | ^ 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/src/error.rs#L46
error: this argument is passed by value, but not consumed in the function body --> funds-manager/src/error.rs:46:46 | 46 | pub fn secrets_manager<T: ToString>(msg: T) -> FundsManagerError { | ^ 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/src/error.rs#L41
error: this argument is passed by value, but not consumed in the function body --> funds-manager/src/error.rs:41:36 | 41 | pub fn parse<T: ToString>(msg: T) -> FundsManagerError { | ^ 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/src/error.rs#L36
error: this argument is passed by value, but not consumed in the function body --> funds-manager/src/error.rs:36:35 | 36 | pub fn http<T: ToString>(msg: T) -> FundsManagerError { | ^ 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/src/error.rs#L31
error: this argument is passed by value, but not consumed in the function body --> funds-manager/src/error.rs:31:33 | 31 | pub fn db<T: ToString>(msg: T) -> FundsManagerError { | ^ 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/src/error.rs#L26
error: this argument is passed by value, but not consumed in the function body --> funds-manager/src/error.rs:26:39 | 26 | pub fn arbitrum<T: ToString>(msg: T) -> FundsManagerError { | ^ 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`
format
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
format
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
format
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/
format
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/
format
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/
format
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/