Skip to content

relayer: scope config per endpoint #1

relayer: scope config per endpoint

relayer: scope config per endpoint #1

Triggered via pull request October 13, 2023 18:29
Status Skipped
Total duration 5s
Artifacts

multi-chains.yaml

on: pull_request
Matrix: multi-chains-test
Fit to window
Zoom out
Zoom in

Annotations

4 errors
this expression creates a reference which is immediately dereferenced by the compiler: crates/relayer/src/supervisor.rs#L654
error: this expression creates a reference which is immediately dereferenced by the compiler --> crates/relayer/src/supervisor.rs:654:49 | 654 | let chain = match registry.get_or_spawn(&chain_config.id()) { | ^^^^^^^^^^^^^^^^^^ help: change this to: `chain_config.id()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression creates a reference which is immediately dereferenced by the compiler: crates/relayer/src/supervisor/scan.rs#L312
error: this expression creates a reference which is immediately dereferenced by the compiler --> crates/relayer/src/supervisor/scan.rs:312:54 | 312 | let chain = match self.registry.get_or_spawn(&chain_config.id()) { | ^^^^^^^^^^^^^^^^^^ help: change this to: `chain_config.id()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow note: the lint level is defined here --> crates/relayer/src/lib.rs:3:5 | 3 | warnings, | ^^^^^^^^ = note: `#[deny(clippy::needless_borrow)]` implied by `#[deny(warnings)]`
this expression creates a reference which is immediately dereferenced by the compiler: crates/relayer/src/supervisor.rs#L654
error: this expression creates a reference which is immediately dereferenced by the compiler --> crates/relayer/src/supervisor.rs:654:49 | 654 | let chain = match registry.get_or_spawn(&chain_config.id()) { | ^^^^^^^^^^^^^^^^^^ help: change this to: `chain_config.id()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression creates a reference which is immediately dereferenced by the compiler: crates/relayer/src/supervisor/scan.rs#L312
error: this expression creates a reference which is immediately dereferenced by the compiler --> crates/relayer/src/supervisor/scan.rs:312:54 | 312 | let chain = match self.registry.get_or_spawn(&chain_config.id()) { | ^^^^^^^^^^^^^^^^^^ help: change this to: `chain_config.id()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow note: the lint level is defined here --> crates/relayer/src/lib.rs:3:5 | 3 | warnings, | ^^^^^^^^ = note: `#[deny(clippy::needless_borrow)]` implied by `#[deny(warnings)]`