chore: fmt and add pkg #3230
Merged
chore: fmt and add pkg #3230
Garnix CI / package ethereum-light-client [x86_64-linux]
succeeded
Nov 8, 2024 in 2m 30s
Run results
Build succeeded
Details
Last 100 lines of logs:
Compiling alloy-serde v0.5.4
Compiling pbjson v0.6.0 (https://github.com/recoord/pbjson?rev=2b7a8e4c2c83a40d04beed46aa26ab97a39a81fe#2b7a8e4c)
Compiling serde-json-wasm v0.5.2
Compiling frame-support-procedural-tools-derive v12.0.0
Compiling cosmwasm-std v1.5.2
Compiling frame-support-procedural-tools v13.0.0
Compiling expander v2.1.0
Compiling alloy v0.5.4
Compiling macro_magic v0.5.1
Compiling ethers v2.0.10 (https://github.com/unionlabs/ethers-rs?branch=ethers-core-wasm#fd10abba)
Compiling ssz-derive v0.5.3 (/build/ethereum-light-client-patched-workspace-cargo-toml/lib/ssz-derive)
Compiling clap_derive v4.5.4
Compiling proc-macro-warning v1.0.2
Compiling frame-support-procedural v30.0.2
Compiling clap v4.5.4
Compiling ssz v0.5.3 (/build/ethereum-light-client-patched-workspace-cargo-toml/lib/ssz)
Compiling contracts v0.0.0 (/build/ethereum-light-client-patched-workspace-cargo-toml/generated/rust/contracts)
Compiling protos v0.0.0 (/build/ethereum-light-client-patched-workspace-cargo-toml/generated/rust/protos)
Compiling wasmparser v0.113.3
Compiling bcs v0.1.6
Compiling serde_bytes v0.11.15
Compiling enumorph v0.1.2
Compiling macros v0.1.0 (/build/ethereum-light-client-patched-workspace-cargo-toml/lib/macros)
Compiling unionlabs v0.1.0 (/build/ethereum-light-client-patched-workspace-cargo-toml/lib/unionlabs)
Compiling beacon-api-types v0.1.0 (/build/ethereum-light-client-patched-workspace-cargo-toml/lib/beacon-api-types)
Compiling cosmwasm-schema v1.5.3
Compiling ethereum-light-client-types v0.1.0 (/build/ethereum-light-client-patched-workspace-cargo-toml/light-clients/ethereum-light-client/types)
Compiling ibc-solidity v0.1.0 (/build/ethereum-light-client-patched-workspace-cargo-toml/lib/ibc-solidity)
Compiling cw-storage-plus v1.2.0
Compiling ethereum-verifier v0.1.0 (/build/ethereum-light-client-patched-workspace-cargo-toml/lib/ethereum-verifier)
Compiling union-ibc v1.0.0 (/build/ethereum-light-client-patched-workspace-cargo-toml/cosmwasm/union-ibc)
warning: unused import: `cosmwasm_std::Binary`
--> cosmwasm/union-ibc/src/query.rs:2:5
|
2 | use cosmwasm_std::Binary;
| ^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `crate::lightclient::query::Status`
--> cosmwasm/union-ibc/src/query.rs:4:5
|
4 | use crate::lightclient::query::Status;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: `union-ibc` (lib) generated 2 warnings (run `cargo fix --lib -p union-ibc` to apply 2 suggestions)
Compiling ics008-wasm-client v0.1.0 (/build/ethereum-light-client-patched-workspace-cargo-toml/lib/ics-008-wasm-client)
Compiling serde-json-wasm v1.0.1
Compiling ethereum-light-client v0.1.0 (/build/ethereum-light-client-patched-workspace-cargo-toml/light-clients/ethereum-light-client)
warning: unused imports: `QueryRequest` and `WasmQuery`
--> light-clients/ethereum-light-client/src/contract.rs:3:81
|
3 | entry_point, to_json_binary, Addr, Binary, Deps, DepsMut, Env, MessageInfo, QueryRequest,
| ^^^^^^^^^^^^
4 | Response, StdResult, WasmQuery,
| ^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused imports: `ClientState as ProtoClientState` and `ConsensusState as ProtoConsensusState`
--> light-clients/ethereum-light-client/src/contract.rs:8:5
|
8 | ClientState as ProtoClientState, ConsensusState as ProtoConsensusState,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `ibc::core::client::height::Height`
--> light-clients/ethereum-light-client/src/contract.rs:17:5
|
17 | ibc::core::client::height::Height,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: unused import: `EthereumLightClient`
--> light-clients/ethereum-light-client/src/contract.rs:21:77
|
21 | client::{do_verify_membership, do_verify_non_membership, verify_header, EthereumLightClient},
| ^^^^^^^^^^^^^^^^^^^
warning: unused variable: `ibc_commitment_slot`
--> light-clients/ethereum-light-client/src/client.rs:288:5
|
288 | ibc_commitment_slot: U256,
| ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ibc_commitment_slot`
|
= note: `#[warn(unused_variables)]` on by default
warning: `ethereum-light-client` (lib) generated 5 warnings (run `cargo fix --lib -p ethereum-light-client` to apply 4 suggestions)
Finished `release` profile [optimized] target(s) in 3m 45s
buildPhase completed in 3 minutes 45 seconds
Running phase: installPhase
@nix {"action":"setPhase","phase":"installPhase"}
stripping references to cargoVendorDir from:
/nix/store/sb1ng1bja5qflxpv63ajai740mg8psh1-ethereum-light-client-0.1.0/lib/ethereum_light_client.wasm
/nix/store/sb1ng1bja5qflxpv63ajai740mg8psh1-ethereum-light-client-0.1.0/lib/ethereum_light_client.wasm.gz
stripping references done
Running phase: fixupPhase
@nix {"action":"setPhase","phase":"fixupPhase"}
shrinking RPATHs of ELF executables and libraries in /nix/store/sb1ng1bja5qflxpv63ajai740mg8psh1-ethereum-light-client-0.1.0
checking for references to /build/ in /nix/store/sb1ng1bja5qflxpv63ajai740mg8psh1-ethereum-light-client-0.1.0...
patching script interpreter paths in /nix/store/sb1ng1bja5qflxpv63ajai740mg8psh1-ethereum-light-client-0.1.0
stripping (with command strip and flags -S -p) in /nix/store/sb1ng1bja5qflxpv63ajai740mg8psh1-ethereum-light-client-0.1.0/lib
Loading