Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a missing feature in dependency #3382

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

add a missing feature in dependency

10ee960
Select commit
Loading
Failed to load commit list.
Open

add a missing feature in dependency #3382

add a missing feature in dependency
10ee960
Select commit
Loading
Failed to load commit list.
Garnix CI / check clippy [x86_64-linux] succeeded Dec 16, 2024 in 10m 20s

Run results

Build succeeded

Details

Last 100 lines of logs:

    |
189 |                 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: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

warning: using `clone` on type `u32` which implements the `Copy` trait
   --> voyager/plugins/event-source/movement/src/main.rs:217:25
    |
217 |             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: unused variable: `msg`
   --> voyager/plugins/transaction/aptos/src/main.rs:259:34
    |
259 |                         for (i, (msg, entry_fn)) in msgs.into_iter().enumerate() {
    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
    |
    = note: `#[warn(unused_variables)]` on by default

warning: using `clone` on type `u32` which implements the `Copy` trait
   --> voyager/plugins/event-source/movement/src/main.rs:584:41
    |
584 |                         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:653:41
    |
653 |                         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:684:41
    |
684 |                         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:715:41
    |
715 |                         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:745:41
    |
745 |                         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:768:69
    |
768 |                     .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:775:25
    |
775 |                         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-transaction-plugin-aptos` (bin "voyager-transaction-plugin-aptos" test) generated 1 warning
    Finished `release` profile [optimized] target(s) in 1m 06s
buildPhase completed in 1 minutes 7 seconds
Running phase: installPhase
@nix {"action":"setPhase","phase":"installPhase"}
linking previous artifacts /nix/store/jbghmm580ifl1lny72rb5cv4dv13vzmi-workspace-cargo-clippy-deps-0.0.0/target.tar.zst to /nix/store/45mwawgglj993vgh6lxk2f956brwx06z-workspace-cargo-clippy-clippy-0.0.0/target.tar.zst
/*stdin*\            : 31.16%   (   803 MiB =>    250 MiB, /nix/store/45mwawgglj993vgh6lxk2f956brwx06z-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/45mwawgglj993vgh6lxk2f956brwx06z-workspace-cargo-clippy-clippy-0.0.0
checking for references to /build/ in /nix/store/45mwawgglj993vgh6lxk2f956brwx06z-workspace-cargo-clippy-clippy-0.0.0...
patching script interpreter paths in /nix/store/45mwawgglj993vgh6lxk2f956brwx06z-workspace-cargo-clippy-clippy-0.0.0