Skip to content
GitHub Actions / clippy failed Jul 18, 2024 in 0s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (2)

bridge-proxy/src/bridge-proxy.rs|6 col 1| error[E0583]: file not found for module bridged_tokens_wrapper
--> bridge-proxy/src/bridge-proxy.rs:6:1
|
6 | pub mod bridged_tokens_wrapper;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: to create the module bridged_tokens_wrapper, create file "bridge-proxy/src/bridged_tokens_wrapper.rs" or "bridge-proxy/src/bridged_tokens_wrapper/mod.rs"
= note: if there is a mod bridged_tokens_wrapper elsewhere in the crate already, import it with use crate::... instead
bridge-proxy/src/bridge-proxy.rs|79 col 44| error[E0425]: cannot find value BridgedTokensWrapperProxy in module bridged_tokens_wrapper
--> bridge-proxy/src/bridge-proxy.rs:79:44
|
79 | .typed(bridged_tokens_wrapper::BridgedTokensWrapperProxy)
| ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in bridged_tokens_wrapper

Filtered Findings (2)

bridged-tokens-wrapper/src/lib.rs|212 col 50| warning: this expression creates a reference which is immediately dereferenced by the compiler
--> bridged-tokens-wrapper/src/lib.rs:212:50
|
212 | .chain_specific_to_universal_mapping(&requested_token)
| ^^^^^^^^^^^^^^^^ help: change this to: requested_token
|
= 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
bridged-tokens-wrapper/src/lib.rs|218 col 67| warning: this expression creates a reference which is immediately dereferenced by the compiler
--> bridged-tokens-wrapper/src/lib.rs:218:67
|
218 | self.require_tokens_have_set_decimals_num(&payment_token, &requested_token);
| ^^^^^^^^^^^^^^^^ help: change this to: requested_token
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow

Annotations

Check failure on line 6 in bridge-proxy/src/bridge-proxy.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] bridge-proxy/src/bridge-proxy.rs#L6

error[E0583]: file not found for module `bridged_tokens_wrapper`
 --> bridge-proxy/src/bridge-proxy.rs:6:1
  |
6 | pub mod bridged_tokens_wrapper;
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = help: to create the module `bridged_tokens_wrapper`, create file "bridge-proxy/src/bridged_tokens_wrapper.rs" or "bridge-proxy/src/bridged_tokens_wrapper/mod.rs"
  = note: if there is a `mod bridged_tokens_wrapper` elsewhere in the crate already, import it with `use crate::...` instead
Raw output
bridge-proxy/src/bridge-proxy.rs:6:1:e:error[E0583]: file not found for module `bridged_tokens_wrapper`
 --> bridge-proxy/src/bridge-proxy.rs:6:1
  |
6 | pub mod bridged_tokens_wrapper;
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = help: to create the module `bridged_tokens_wrapper`, create file "bridge-proxy/src/bridged_tokens_wrapper.rs" or "bridge-proxy/src/bridged_tokens_wrapper/mod.rs"
  = note: if there is a `mod bridged_tokens_wrapper` elsewhere in the crate already, import it with `use crate::...` instead


__END__

Check failure on line 79 in bridge-proxy/src/bridge-proxy.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] bridge-proxy/src/bridge-proxy.rs#L79

error[E0425]: cannot find value `BridgedTokensWrapperProxy` in module `bridged_tokens_wrapper`
  --> bridge-proxy/src/bridge-proxy.rs:79:44
   |
79 |             .typed(bridged_tokens_wrapper::BridgedTokensWrapperProxy)
   |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `bridged_tokens_wrapper`
Raw output
bridge-proxy/src/bridge-proxy.rs:79:44:e:error[E0425]: cannot find value `BridgedTokensWrapperProxy` in module `bridged_tokens_wrapper`
  --> bridge-proxy/src/bridge-proxy.rs:79:44
   |
79 |             .typed(bridged_tokens_wrapper::BridgedTokensWrapperProxy)
   |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `bridged_tokens_wrapper`


__END__