feat: cleanup and remove unused code #3350
Merged
Garnix CI / check clippy [x86_64-linux]
succeeded
Dec 6, 2024 in 4m 20s
Run results
Build succeeded
Details
Last 100 lines of logs:
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: `move-bindgen` (bin "move-bindgen" test) generated 2 warnings
Checking unionlabs v0.1.0 (/build/source/lib/unionlabs)
Checking beacon-api-types v0.1.0 (/build/source/lib/beacon-api-types)
Checking cometbft-types v0.1.0 (/build/source/lib/cometbft-types)
Checking ics23 v0.1.0 (/build/source/lib/ics23)
Checking voyager-core v0.1.0 (/build/source/lib/voyager-core)
Checking scroll-rpc v0.1.0 (/build/source/lib/scroll-rpc)
Checking scroll-api v0.1.0 (/build/source/lib/scroll-api)
Checking voyager-vm v0.1.0 (/build/source/lib/voyager-vm)
Checking union-ibc-msg v1.0.0 (/build/source/cosmwasm/union-ibc/core/msg)
Checking cometbls-light-client-types v0.1.0 (/build/source/lib/cometbls-light-client-types)
Checking evm-storage-verifier v0.1.0 (/build/source/lib/evm-storage-verifier)
Checking gnark-mimc v0.1.0 (/build/source/lib/gnark-mimc)
Checking scroll-codec v0.1.0 (/build/source/lib/scroll-codec)
Checking ucs01-relay-api v0.1.0 (/build/source/cosmwasm/ucs01-relay-api)
Checking zktrie v0.1.0 (/build/source/lib/zktrie-rs)
Checking ucs02-nft v1.0.0 (/build/source/cosmwasm/ucs02-nft)
Checking ssz-tests-generator v0.1.0 (/build/source/lib/ssz/tests-generator)
Checking parse-wasm-client-type v0.1.0 (/build/source/tools/parse-wasm-client-type)
Checking ics008-wasm-client v0.1.0 (/build/source/cosmwasm/ics08-light-clients/interface)
Checking linea-zktrie v0.1.0 (/build/source/lib/linea-zktrie)
Checking multicall v1.0.0 (/build/source/cosmwasm/multicall)
Checking devnet-utils v0.1.0 (/build/source/tools/devnet-utils)
Checking ibc-union-spec v0.1.0 (/build/source/lib/ibc-union-spec)
Checking ibc-classic-spec v0.1.0 (/build/source/lib/ibc-classic-spec)
Checking pg-queue v0.1.0 (/build/source/lib/pg-queue)
Checking union-ibc-light-client v0.1.0 (/build/source/cosmwasm/union-ibc/core/light-client-interface)
Checking ucs01-relay v1.0.1 (/build/source/cosmwasm/ucs01-relay)
Checking union-ibc-ucs00-pingpong v1.0.0 (/build/source/cosmwasm/union-ibc/app/ucs00-pingpong)
Checking tendermint-light-client-types v0.1.0 (/build/source/lib/tendermint-light-client-types)
Checking cometbft-rpc v0.1.0 (/build/source/lib/cometbft-rpc)
Checking cosmos-sdk-event v0.1.0 (/build/source/lib/cosmos-sdk-event)
Checking galois-rpc v0.1.0 (/build/source/lib/galois-rpc)
Checking union-ibc v1.0.0 (/build/source/cosmwasm/union-ibc/core)
Checking cometbls-light-client v0.1.0 (/build/source/cosmwasm/union-ibc/light-clients/cometbls)
Checking tendermint-verifier v0.1.0 (/build/source/lib/tendermint-verifier)
Checking ethereum-light-client-types v0.1.0 (/build/source/lib/ethereum-light-client-types)
Checking beacon-api v0.1.0 (/build/source/lib/beacon-api)
Checking berachain-light-client-types v0.1.0 (/build/source/lib/berachain-light-client-types)
Checking arbitrum-light-client-types v0.1.0 (/build/source/lib/arbitrum-light-client-types)
Checking ethereum-sync-protocol v0.1.0 (/build/source/lib/ethereum-sync-protocol)
Checking scroll-light-client-types v0.1.0 (/build/source/lib/scroll-light-client-types)
Checking movement-light-client-types v0.1.0 (/build/source/lib/movement-light-client-types)
Checking linea-light-client-types v0.1.0 (/build/source/lib/linea-light-client-types)
Checking linea-verifier v0.1.0 (/build/source/lib/linea-verifier)
Checking ethereum-light-client v0.1.0 (/build/source/cosmwasm/union-ibc/light-clients/ethereum)
Checking scroll-verifier v0.1.0 (/build/source/lib/scroll-verifier)
Checking chain-utils v0.1.0 (/build/source/lib/chain-utils)
Checking arbitrum-verifier v0.1.0 (/build/source/lib/arbitrum-verifier)
warning: unused import: `SdkError`
--> lib/chain-utils/src/cosmos_sdk.rs:29:52
|
29 | cosmos_sdk::cosmos_sdk_error::{CosmosSdkError, SdkError},
| ^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
Checking arbitrum-light-client v0.1.0 (/build/source/cosmwasm/union-ibc/light-clients/arbitrum)
warning: `chain-utils` (lib test) generated 1 warning (1 duplicate)
warning: `chain-utils` (lib) generated 1 warning (run `cargo clippy --fix --lib -p chain-utils` to apply 1 suggestion)
Checking voyager-message v0.1.0 (/build/source/lib/voyager-message)
Checking drip v0.1.0 (/build/source/drip)
Checking hubble v0.1.0 (/build/source/hubble)
Checking voyager-client-update-plugin-cometbls v0.1.0 (/build/source/voyager/plugins/client-update/cometbls)
Checking voyager-event-source-plugin-cosmos-sdk v0.1.0 (/build/source/voyager/plugins/event-source/cosmos-sdk)
Checking voyager-event-source-plugin-ethereum v0.1.0 (/build/source/voyager/plugins/event-source/ethereum)
Checking voyager v0.1.0 (/build/source/voyager)
Checking voyager-proof-module-cosmos-sdk-union v0.1.0 (/build/source/voyager/modules/proof/cosmos-sdk-union)
Checking voyager-proof-module-ethereum v0.1.0 (/build/source/voyager/modules/proof/ethereum)
Checking voyager-consensus-module-tendermint v0.1.0 (/build/source/voyager/modules/consensus/tendermint)
Checking voyager-client-module-tendermint v0.1.0 (/build/source/voyager/modules/client/tendermint)
Checking voyager-state-module-cosmos-sdk-union v0.1.0 (/build/source/voyager/modules/state/cosmos-sdk-union)
Checking voyager-client-update-plugin-tendermint v0.1.0 (/build/source/voyager/plugins/client-update/tendermint)
Checking voyager-consensus-module-cometbls v0.1.0 (/build/source/voyager/modules/consensus/cometbls)
Checking voyager-plugin-packet-filter v0.1.0 (/build/source/voyager/plugins/packet-filter)
Checking voyager-state-module-cosmos-sdk v0.1.0 (/build/source/voyager/modules/state/cosmos-sdk)
Checking voyager-proof-module-cosmos-sdk v0.1.0 (/build/source/voyager/modules/proof/cosmos-sdk)
Checking voyager-state-module-ethereum v0.1.0 (/build/source/voyager/modules/state/ethereum)
Checking voyager-plugin-transaction-batch v0.1.0 (/build/source/voyager/plugins/transaction-batch)
Checking voyager-consensus-module-ethereum v0.1.0 (/build/source/voyager/modules/consensus/ethereum)
Checking voyager-client-module-ethereum v0.1.0 (/build/source/voyager/modules/client/ethereum)
Checking voyager-transaction-plugin-ethereum v0.1.0 (/build/source/voyager/plugins/transaction/ethereum)
Checking voyager-transaction-plugin-cosmos-sdk v0.1.0 (/build/source/voyager/plugins/transaction/cosmos-sdk)
Checking voyager-client-module-cometbls v0.1.0 (/build/source/voyager/modules/client/cometbls)
Checking voyager-client-update-plugin-ethereum v0.1.0 (/build/source/voyager/plugins/client-update/ethereum)
Finished `release` profile [optimized] target(s) in 1m 20s
buildPhase completed in 1 minutes 20 seconds
Running phase: installPhase
@nix {"action":"setPhase","phase":"installPhase"}
linking previous artifacts /nix/store/lynwlvzaljaqnz4fif80azbn0clf2gxc-workspace-cargo-clippy-deps-0.0.0/target.tar.zst to /nix/store/m8r1xxxm9zh3pfkgrm5sscm9nz4l61zl-workspace-cargo-clippy-clippy-0.0.0/target.tar.zst
/*stdin*\ : 31.12% ( 803 MiB => 250 MiB, /nix/store/m8r1xxxm9zh3pfkgrm5sscm9nz4l61zl-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/m8r1xxxm9zh3pfkgrm5sscm9nz4l61zl-workspace-cargo-clippy-clippy-0.0.0
checking for references to /build/ in /nix/store/m8r1xxxm9zh3pfkgrm5sscm9nz4l61zl-workspace-cargo-clippy-clippy-0.0.0...
patching script interpreter paths in /nix/store/m8r1xxxm9zh3pfkgrm5sscm9nz4l61zl-workspace-cargo-clippy-clippy-0.0.0
Loading