feat: voyager berachain #3387
Open
feat: voyager berachain #3387
Garnix CI / check clippy [x86_64-linux]
succeeded
Dec 19, 2024 in 8m 37s
Run results
Build succeeded
Details
Last 100 lines of logs:
162 | async fn client_info(&self, _: &Extensions, client_id: u32) -> RpcResult<ClientInfo> {
| ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_id`
|
= note: `#[warn(unused_variables)]` on by default
warning: `voyager-transaction-plugin-ethereum` (bin "voyager-transaction-plugin-ethereum" test) generated 1 warning (run `cargo clippy --fix --bin "voyager-transaction-plugin-ethereum" --tests` to apply 1 suggestion)
warning: using `clone` on type `u32` which implements the `Copy` trait
--> voyager/plugins/event-source/movement/src/main.rs:197:17
|
197 | self_connection_state.client_id.clone(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `self_connection_state.client_id`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
= note: `#[warn(clippy::clone_on_copy)]` on by default
warning: using `clone` on type `u32` which implements the `Copy` trait
--> voyager/plugins/event-source/movement/src/main.rs:205:17
|
205 | self_connection_state.client_id.clone(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `self_connection_state.client_id`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
warning: using `clone` on type `u32` which implements the `Copy` trait
--> voyager/plugins/event-source/movement/src/main.rs:225:25
|
225 | channel_id: self_channel_id.clone(),
| ^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `self_channel_id`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
warning: using `clone` on type `u32` which implements the `Copy` trait
--> voyager/plugins/event-source/movement/src/main.rs:552:41
|
552 | let client_id = connection.client_id.clone();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `connection.client_id`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
warning: using `clone` on type `u32` which implements the `Copy` trait
--> voyager/plugins/event-source/movement/src/main.rs:621:41
|
621 | let client_id = destination_channel.connection.client_id.clone();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `destination_channel.connection.client_id`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
warning: using `clone` on type `u32` which implements the `Copy` trait
--> voyager/plugins/event-source/movement/src/main.rs:652:41
|
652 | let client_id = destination_channel.connection.client_id.clone();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `destination_channel.connection.client_id`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
warning: using `clone` on type `u32` which implements the `Copy` trait
--> voyager/plugins/event-source/movement/src/main.rs:683:41
|
683 | let client_id = source_channel.connection.client_id.clone();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `source_channel.connection.client_id`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
warning: using `clone` on type `u32` which implements the `Copy` trait
--> voyager/plugins/event-source/movement/src/main.rs:713:41
|
713 | let client_id = source_channel.connection.client_id.clone();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `source_channel.connection.client_id`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
warning: using `clone` on type `u32` which implements the `Copy` trait
--> voyager/plugins/event-source/movement/src/main.rs:736:69
|
736 | .client_info::<IbcUnion>(self.chain_id.clone(), client_id.clone())
| ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `client_id`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
warning: using `clone` on type `u32` which implements the `Copy` trait
--> voyager/plugins/event-source/movement/src/main.rs:743:25
|
743 | client_id.clone(),
| ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `client_id`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
warning: `voyager-event-source-plugin-movement` (bin "voyager-event-source-plugin-movement" test) generated 10 warnings (run `cargo clippy --fix --bin "voyager-event-source-plugin-movement" --tests` to apply 10 suggestions)
warning: `voyager-state-module-movement` (bin "voyager-state-module-movement" test) generated 2 warnings (run `cargo clippy --fix --bin "voyager-state-module-movement" --tests` to apply 1 suggestion)
Finished `release` profile [optimized] target(s) in 1m 14s
buildPhase completed in 1 minutes 14 seconds
Running phase: installPhase
@nix {"action":"setPhase","phase":"installPhase"}
linking previous artifacts /nix/store/f8zfql2x57w9nbl8miv3fnh349hxlcpg-workspace-cargo-clippy-deps-0.0.0/target.tar.zst to /nix/store/jypw3fgmxxnsarvnz33x6bgnc8n63j2z-workspace-cargo-clippy-clippy-0.0.0/target.tar.zst
/*stdin*\ : 31.13% ( 803 MiB => 250 MiB, /nix/store/jypw3fgmxxnsarvnz33x6bgnc8n63j2z-workspace-cargo-clippy-clippy-0.0.0/target.tar.zst)
Running phase: fixupPhase
@nix {"action":"setPhase","phase":"fixupPhase"}
shrinking RPATHs of ELF executables and libraries in /nix/store/jypw3fgmxxnsarvnz33x6bgnc8n63j2z-workspace-cargo-clippy-clippy-0.0.0
checking for references to /build/ in /nix/store/jypw3fgmxxnsarvnz33x6bgnc8n63j2z-workspace-cargo-clippy-clippy-0.0.0...
patching script interpreter paths in /nix/store/jypw3fgmxxnsarvnz33x6bgnc8n63j2z-workspace-cargo-clippy-clippy-0.0.0
Loading