funds-manager: custody-client: deposit: Endpoint to fetch deposit addr #47
clippy
5 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 5 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.78.0-nightly (3cbb93223 2024-03-13)
- cargo 1.78.0-nightly (7065f0ef4 2024-03-12)
- clippy 0.1.78 (3cbb932 2024-03-13)
Annotations
Check failure on line 58 in funds-manager/funds-manager-server/src/custody_client/mod.rs
github-actions / clippy
this argument is passed by value, but not consumed in the function body
error: this argument is passed by value, but not consumed in the function body
--> funds-manager/funds-manager-server/src/custody_client/mod.rs:58:32
|
58 | fireblocks_api_secret: String,
| ^^^^^^ help: consider changing the type to: `&str`
|
= 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`
Check failure on line 29 in funds-manager/funds-manager-server/src/custody_client/mod.rs
github-actions / clippy
variant `FeeWithdrawal` is never constructed
error: variant `FeeWithdrawal` is never constructed
--> funds-manager/funds-manager-server/src/custody_client/mod.rs:29:5
|
25 | pub(crate) enum DepositSource {
| ------------- variant in this enum
...
29 | FeeWithdrawal,
| ^^^^^^^^^^^^^
|
= note: `-D dead-code` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(dead_code)]`
Check failure on line 11 in funds-manager/funds-manager-server/src/custody_client/mod.rs
github-actions / clippy
unused import: `raw_err_str`
error: unused import: `raw_err_str`
--> funds-manager/funds-manager-server/src/custody_client/mod.rs:11:30
|
11 | use renegade_util::{err_str, raw_err_str};
| ^^^^^^^^^^^
Check failure on line 6 in funds-manager/funds-manager-server/src/custody_client/mod.rs
github-actions / clippy
unused import: `aws_sdk_secretsmanager::operation::describe_secret::builders::DescribeSecretOutputBuilder`
error: unused import: `aws_sdk_secretsmanager::operation::describe_secret::builders::DescribeSecretOutputBuilder`
--> funds-manager/funds-manager-server/src/custody_client/mod.rs:6:5
|
6 | use aws_sdk_secretsmanager::operation::describe_secret::builders::DescribeSecretOutputBuilder;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Check failure on line 5 in funds-manager/funds-manager-server/src/custody_client/mod.rs
github-actions / clippy
unused import: `arbitrum_client::client::ArbitrumClient`
error: unused import: `arbitrum_client::client::ArbitrumClient`
--> funds-manager/funds-manager-server/src/custody_client/mod.rs:5:5
|
5 | use arbitrum_client::client::ArbitrumClient;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]`