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

feat: tutorialkit #2837

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

chore: cleanup

6fdce28
Select commit
Loading
Failed to load commit list.
Open

feat: tutorialkit #2837

chore: cleanup
6fdce28
Select commit
Loading
Failed to load commit list.
Garnix CI / check clippy [x86_64-linux] succeeded Aug 27, 2024 in 2m 47s

Run results

Build succeeded

Details

Last 100 lines of logs:

...    |
1067 | |     }
1068 | | }
     | |_^
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception
     = note: `#[warn(clippy::module_inception)]` on by default

warning: this function has too many arguments (11/7)
   --> cosmwasm/ucs01-relay/src/ibc/tests.rs:320:5
    |
320 | /     fn transfer_tokens(
321 | |         src_app: &mut BasicApp<TokenFactoryMsg>,
322 | |         dst_app: &mut BasicApp<TokenFactoryMsg>,
323 | |         src_creator_addr: &str,
...   |
331 | |         amount: Uint128,
332 | |     ) {
    | |_____^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
    = note: `#[warn(clippy::too_many_arguments)]` on by default

warning: unnecessary use of `to_string`
   --> cosmwasm/ucs01-relay/src/ibc/tests.rs:426:13
    |
426 |             &dst_contract_addr.to_string(),
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `dst_contract_addr.as_ref()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_to_owned
    = note: `#[warn(clippy::unnecessary_to_owned)]` on by default

warning: unnecessary use of `to_string`
   --> cosmwasm/ucs01-relay/src/ibc/tests.rs:457:13
    |
457 |             &dst_contract_addr.to_string(),
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `dst_contract_addr.as_ref()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_to_owned

warning: unnecessary use of `to_string`
   --> cosmwasm/ucs01-relay/src/ibc/tests.rs:522:13
    |
522 |             &dst_contract_addr.to_string(),
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `dst_contract_addr.as_ref()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_to_owned

warning: this expression creates a reference which is immediately dereferenced by the compiler
   --> cosmwasm/ucs01-relay/src/ibc/tests.rs:532:13
    |
532 |             &dst_contract_addr.as_str(),
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `dst_contract_addr.as_str()`
    |
    = 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

warning: unnecessary use of `to_string`
   --> cosmwasm/ucs01-relay/src/ibc/tests.rs:727:13
    |
727 |             &fwd_contract_addr.to_string(),
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `fwd_contract_addr.as_ref()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_to_owned

warning: unnecessary use of `to_string`
   --> cosmwasm/ucs01-relay/src/ibc/tests.rs:895:13
    |
895 |             &fwd_contract_addr.to_string(),
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `fwd_contract_addr.as_ref()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_to_owned

    Checking scroll-verifier v0.1.0 (/build/source/lib/scroll-verifier)
    Checking linea-verifier v0.1.0 (/build/source/lib/linea-verifier)
    Checking linea-light-client v0.1.0 (/build/source/light-clients/linea-light-client)
warning: `ucs01-relay` (lib test) generated 10 warnings (run `cargo clippy --fix --lib -p ucs01-relay --tests` to apply 6 suggestions)
    Checking scroll-light-client v0.1.0 (/build/source/light-clients/scroll-light-client)
    Checking near-light-client v0.1.0 (/build/source/lib/near/near-light-client)
    Checking near-ibc-tests v0.1.0 (/build/source/lib/near/near-ibc-tests)
    Checking near-ibc v0.1.0 (/build/source/lib/near/near-ibc)
    Checking dummy-ibc-app v0.1.0 (/build/source/lib/near/dummy-ibc-app)
    Checking block-message v0.1.0 (/build/source/lib/block-message)
    Checking relay-message v0.1.0 (/build/source/lib/relay-message)
    Checking ucli v0.1.0 (/build/source/ucli)
    Checking drip v0.1.0 (/build/source/drip)
    Checking hubble v0.1.0 (/build/source/hubble)
    Checking voyager-message v0.1.0 (/build/source/lib/voyager-message)
    Checking voyager v0.1.0 (/build/source/voyager)
    Finished `release` profile [optimized] target(s) in 57.95s
buildPhase completed in 58 seconds
@nix {"action":"setPhase","phase":"installPhase"}
Running phase: installPhase
linking previous artifacts /nix/store/3qsiyxz41zqw5vr8zvw98a7gaxlavvdk-workspace-cargo-clippy-deps-0.0.0/target.tar.zst to /nix/store/1c51635ry9cakflih3gfmqha79g2gncq-workspace-cargo-clippy-clippy-0.0.0/target.tar.zst
/*stdin*\            : 32.31%   (   108 MiB =>   35.0 MiB, /nix/store/1c51635ry9cakflih3gfmqha79g2gncq-workspace-cargo-clippy-clippy-0.0.0/target.tar.zst) 
@nix {"action":"setPhase","phase":"fixupPhase"}
Running phase: fixupPhase
shrinking RPATHs of ELF executables and libraries in /nix/store/1c51635ry9cakflih3gfmqha79g2gncq-workspace-cargo-clippy-clippy-0.0.0
checking for references to /build/ in /nix/store/1c51635ry9cakflih3gfmqha79g2gncq-workspace-cargo-clippy-clippy-0.0.0...
patching script interpreter paths in /nix/store/1c51635ry9cakflih3gfmqha79g2gncq-workspace-cargo-clippy-clippy-0.0.0