refactor(voyager): ensure_ibc_interface supports multiple interfaces #3578
+38
−42
Garnix CI / package voyager-modules-dev [x86_64-linux]
failed
Jan 30, 2025 in 6m 59s
Run results
Build failed
Details
Last 100 lines of logs:
Compiling axum v0.6.20
Compiling hyper-tls v0.5.0
Compiling hyper-rustls v0.24.2
Compiling reqwest v0.11.27
Compiling ssz v0.0.0 (/build/voyager-modules-patched-workspace-cargo-toml/lib/ssz)
Compiling alloy-core v0.8.12
Compiling alloy-transport v0.6.4
Compiling move-disassembler v0.1.0 (https://github.com/unionlabs/aptos-core#fe799078)
Compiling poem-openapi v5.0.2 (https://github.com/poem-web/poem.git?rev=809b2816d3504beeba140fef3fdfe9432d654c5b#809b2816)
Compiling alloy-pubsub v0.6.4
Compiling alloy-transport-http v0.6.4
Compiling move-model v0.1.0 (https://github.com/unionlabs/aptos-core#fe799078)
Compiling alloy-transport-ws v0.6.4
Compiling alloy-rpc-client v0.6.4
Compiling alloy-network v0.6.4
Compiling alloy-rpc-types v0.6.4
Compiling alloy-signer-local v0.6.4
Compiling alloy-provider v0.6.4
Compiling aptos-types v0.0.3 (https://github.com/unionlabs/aptos-core#fe799078)
Compiling aptos-openapi v0.1.0 (https://github.com/unionlabs/aptos-core#fe799078)
Compiling tonic v0.10.2
Compiling alloy-contract v0.6.4
Compiling alloy v0.6.4
Compiling ibc-solidity v0.0.0 (/build/voyager-modules-patched-workspace-cargo-toml/lib/ibc-solidity)
Compiling move-stackless-bytecode v0.1.0 (https://github.com/unionlabs/aptos-core#fe799078)
Compiling move-abigen v0.1.0 (https://github.com/unionlabs/aptos-core#fe799078)
Compiling move-docgen v0.1.0 (https://github.com/unionlabs/aptos-core#fe799078)
Compiling protos v0.0.0 (/build/voyager-modules-patched-workspace-cargo-toml/generated/rust/protos)
Compiling move-compiler-v2 v0.1.0 (https://github.com/unionlabs/aptos-core#fe799078)
Compiling move-package v0.1.0 (https://github.com/unionlabs/aptos-core#fe799078)
Compiling aptos-aggregator v0.1.0 (https://github.com/unionlabs/aptos-core#fe799078)
Compiling aptos-native-interface v0.1.0 (https://github.com/unionlabs/aptos-core#fe799078)
Compiling aptos-sdk-builder v0.2.0 (https://github.com/unionlabs/aptos-core#fe799078)
Compiling aptos-config v0.1.0 (https://github.com/unionlabs/aptos-core#fe799078)
Compiling aptos-move-stdlib v0.1.1 (https://github.com/unionlabs/aptos-core#fe799078)
Compiling aptos-vm-types v0.0.1 (https://github.com/unionlabs/aptos-core#fe799078)
Compiling aptos-framework v0.1.0 (https://github.com/unionlabs/aptos-core#fe799078)
Compiling aptos-api-types v0.0.1 (https://github.com/unionlabs/aptos-core#fe799078)
Compiling aptos-rest-client v0.0.0 (https://github.com/unionlabs/aptos-core#fe799078)
Compiling move-bindgen v0.0.0 (/build/voyager-modules-patched-workspace-cargo-toml/tools/move-bindgen)
Compiling aptos-move-ibc v0.0.0 (/build/voyager-modules-patched-workspace-cargo-toml/generated/rust/aptos-move-ibc)
Compiling unionlabs v0.0.0 (/build/voyager-modules-patched-workspace-cargo-toml/lib/unionlabs)
Compiling voyager-core v0.0.0 (/build/voyager-modules-patched-workspace-cargo-toml/lib/voyager-core)
Compiling voyager-vm v0.0.0 (/build/voyager-modules-patched-workspace-cargo-toml/lib/voyager-vm)
Compiling cometbft-types v0.0.0 (/build/voyager-modules-patched-workspace-cargo-toml/lib/cometbft-types)
Compiling beacon-api-types v0.0.0 (/build/voyager-modules-patched-workspace-cargo-toml/lib/beacon-api-types)
Compiling ics23 v0.0.0 (/build/voyager-modules-patched-workspace-cargo-toml/lib/ics23)
Compiling scroll-rpc v0.0.0 (/build/voyager-modules-patched-workspace-cargo-toml/lib/scroll-rpc)
Compiling scroll-api v0.0.0 (/build/voyager-modules-patched-workspace-cargo-toml/lib/scroll-api)
Compiling state-lens-light-client-types v0.0.0 (/build/voyager-modules-patched-workspace-cargo-toml/lib/state-lens-light-client-types)
Compiling cometbls-light-client-types v0.0.0 (/build/voyager-modules-patched-workspace-cargo-toml/lib/cometbls-light-client-types)
Compiling state-lens-ics23-ics23-light-client-types v0.0.0 (/build/voyager-modules-patched-workspace-cargo-toml/lib/state-lens-ics23-ics23-light-client-types)
Compiling state-lens-ics23-mpt-light-client-types v0.0.0 (/build/voyager-modules-patched-workspace-cargo-toml/lib/state-lens-ics23-mpt-light-client-types)
Compiling state-lens-ics23-smt-light-client-types v0.0.0 (/build/voyager-modules-patched-workspace-cargo-toml/lib/state-lens-ics23-smt-light-client-types)
Compiling ibc-union-spec v0.0.0 (/build/voyager-modules-patched-workspace-cargo-toml/lib/ibc-union-spec)
Compiling ibc-classic-spec v0.0.0 (/build/voyager-modules-patched-workspace-cargo-toml/lib/ibc-classic-spec)
Compiling voyager-message v0.0.0 (/build/voyager-modules-patched-workspace-cargo-toml/lib/voyager-message)
Compiling cometbft-rpc v0.0.0 (/build/voyager-modules-patched-workspace-cargo-toml/lib/cometbft-rpc)
Compiling tendermint-light-client-types v0.0.0 (/build/voyager-modules-patched-workspace-cargo-toml/lib/tendermint-light-client-types)
Compiling galois-rpc v0.0.0 (/build/voyager-modules-patched-workspace-cargo-toml/lib/galois-rpc)
Compiling cosmos-sdk-event v0.0.0 (/build/voyager-modules-patched-workspace-cargo-toml/lib/cosmos-sdk-event)
Compiling ibc-union-msg v0.0.0 (/build/voyager-modules-patched-workspace-cargo-toml/cosmwasm/ibc-union/core/msg)
Compiling ethereum-light-client-types v0.0.0 (/build/voyager-modules-patched-workspace-cargo-toml/lib/ethereum-light-client-types)
Compiling beacon-api v0.0.0 (/build/voyager-modules-patched-workspace-cargo-toml/lib/beacon-api)
Compiling berachain-light-client-types v0.0.0 (/build/voyager-modules-patched-workspace-cargo-toml/lib/berachain-light-client-types)
Compiling movement-light-client-types v0.0.0 (/build/voyager-modules-patched-workspace-cargo-toml/lib/movement-light-client-types)
error[E0308]: mismatched types
--> lib/voyager-message/src/rpc/server.rs:338:21
|
338 | let (proof, proof_type) = proof_module
| _____________________^^^^^^^^^^^^^^^^^^^___-
| | |
| | expected `Value`, found `(_, _)`
339 | | .query_ibc_proof_raw(height, path)
340 | | .await
341 | | .map_err(json_rpc_error_to_error_object)?;
| |_____________________________________________________________- this expression has type `JsonValue`
|
= note: expected enum `JsonValue`
found tuple `(_, _)`
error[E0308]: mismatched types
--> lib/voyager-message/src/rpc/server.rs:413:21
|
413 | let (proof, proof_type) = proof_module
| _____________________^^^^^^^^^^^^^^^^^^^___-
| | |
| | expected `Value`, found `(_, _)`
414 | | .query_ibc_proof_raw(height, into_value(path.clone()))
415 | | .await
416 | | .map_err(json_rpc_error_to_error_object)?;
| |_____________________________________________________________- this expression has type `JsonValue`
|
= note: expected enum `JsonValue`
found tuple `(_, _)`
Compiling chain-utils v0.0.0 (/build/voyager-modules-patched-workspace-cargo-toml/lib/chain-utils)
Compiling ibc-union v0.0.0 (/build/voyager-modules-patched-workspace-cargo-toml/cosmwasm/ibc-union/core)
For more information about this error, try `rustc --explain E0308`.
error: could not compile `voyager-message` (lib) due to 2 previous errors
Loading