Skip to content

Fix the ExecuteMsgFns macro in case there is a where clause #633

Fix the ExecuteMsgFns macro in case there is a where clause

Fix the ExecuteMsgFns macro in case there is a where clause #633

Triggered via pull request August 16, 2023 15:18
Status Failure
Total duration 8m 59s
Artifacts

test.yml

on: pull_request
ubuntu / stable / coverage
8m 46s
ubuntu / stable / coverage
Matrix: doc-tests / stable
Matrix: required
Fit to window
Zoom out
Zoom in

Annotations

13 errors
mismatched types: cw-orch/src/osmosis_test_tube/core.rs#L151
error[E0308]: mismatched types --> cw-orch/src/osmosis_test_tube/core.rs:151:33 | 151 | .query_all_balances(&QueryAllBalancesRequest { | ______________------------------_^ | | | | | arguments to this method are incorrect 152 | | address: address.to_owned(), 153 | | pagination: None, 154 | | })? | |_____________^ expected `QueryAllBalancesRequest`, found a different `QueryAllBalancesRequest` | = note: `QueryAllBalancesRequest` and `QueryAllBalancesRequest` have similar names, but are actually distinct types note: `QueryAllBalancesRequest` is defined in crate `osmosis_std` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/osmosis-std-0.16.2/src/types/cosmos/bank/v1beta1.rs:326:1 | 326 | pub struct QueryAllBalancesRequest { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ note: `QueryAllBalancesRequest` is defined in crate `osmosis_std` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/osmosis-std-0.17.0-rc0/src/types/cosmos/bank/v1beta1.rs:326:1 | 326 | pub struct QueryAllBalancesRequest { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `osmosis_std` are being used? note: method defined here --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/test-tube-0.1.6/src/module/bank.rs:33:13 | 33 | pub query_all_balances ["/cosmos.bank.v1beta1.Query/AllBalances"]: QueryAllBalancesRequest => QueryAllBalancesResponse | ^^^^^^^^^^^^^^^^^^
mismatched types: cw-orch/src/osmosis_test_tube/core.rs#L135
error[E0308]: mismatched types --> cw-orch/src/osmosis_test_tube/core.rs:135:28 | 135 | .query_balance(&QueryBalanceRequest { | ______________-------------_^ | | | | | arguments to this method are incorrect 136 | | address: address.to_owned(), 137 | | denom: denom.to_string(), 138 | | })? | |_____________^ expected `QueryBalanceRequest`, found a different `QueryBalanceRequest` | = note: `QueryBalanceRequest` and `QueryBalanceRequest` have similar names, but are actually distinct types note: `QueryBalanceRequest` is defined in crate `osmosis_std` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/osmosis-std-0.16.2/src/types/cosmos/bank/v1beta1.rs:283:1 | 283 | pub struct QueryBalanceRequest { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ note: `QueryBalanceRequest` is defined in crate `osmosis_std` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/osmosis-std-0.17.0-rc0/src/types/cosmos/bank/v1beta1.rs:283:1 | 283 | pub struct QueryBalanceRequest { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `osmosis_std` are being used? note: method defined here --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/test-tube-0.1.6/src/module/bank.rs:29:13 | 29 | pub query_balance ["/cosmos.bank.v1beta1.Query/Balance"]: QueryBalanceRequest => QueryBalanceResponse | ^^^^^^^^^^^^^
mismatched types: cw-orch/src/osmosis_test_tube/core.rs#L105
error[E0308]: mismatched types --> cw-orch/src/osmosis_test_tube/core.rs:105:13 | 104 | let send_response = Bank::new(&*self.app.borrow()).send( | ---- arguments to this method are incorrect 105 | / MsgSend { 106 | | from_address: self.sender.borrow().address(), 107 | | to_address: to, 108 | | amount: cosmwasm_to_proto_coins(amount), 109 | | }, | |_____________^ expected `MsgSend`, found a different `MsgSend` | = note: `MsgSend` and `MsgSend` have similar names, but are actually distinct types note: `MsgSend` is defined in crate `osmosis_std` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/osmosis-std-0.16.2/src/types/cosmos/bank/v1beta1.rs:705:1 | 705 | pub struct MsgSend { | ^^^^^^^^^^^^^^^^^^ note: `MsgSend` is defined in crate `osmosis_std` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/osmosis-std-0.17.0-rc0/src/types/cosmos/bank/v1beta1.rs:705:1 | 705 | pub struct MsgSend { | ^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `osmosis_std` are being used? note: method defined here --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/test-tube-0.1.6/src/module/bank.rs:25:13 | 25 | pub send: MsgSend["/cosmos.bank.v1beta1.MsgSend"] => MsgSendResponse | ^^^^
ubuntu / stable
Process completed with exit code 101.
ubuntu / beta
The job was canceled because "stable" failed.
ubuntu / beta
The operation was canceled.
doc-tests / stable (stable)
Process completed with exit code 101.
doc-tests / stable (beta)
The job was canceled because "stable" failed.
doc-tests / stable (beta)
The operation was canceled.
mismatched types: cw-orch/src/osmosis_test_tube/core.rs#L151
error[E0308]: mismatched types --> cw-orch/src/osmosis_test_tube/core.rs:151:33 | 151 | .query_all_balances(&QueryAllBalancesRequest { | ______________------------------_^ | | | | | arguments to this method are incorrect 152 | | address: address.to_owned(), 153 | | pagination: None, 154 | | })? | |_____________^ expected `QueryAllBalancesRequest`, found a different `QueryAllBalancesRequest` | = note: `QueryAllBalancesRequest` and `QueryAllBalancesRequest` have similar names, but are actually distinct types note: `QueryAllBalancesRequest` is defined in crate `osmosis_std` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/osmosis-std-0.16.2/src/types/cosmos/bank/v1beta1.rs:326:1 | 326 | pub struct QueryAllBalancesRequest { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ note: `QueryAllBalancesRequest` is defined in crate `osmosis_std` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/osmosis-std-0.17.0-rc0/src/types/cosmos/bank/v1beta1.rs:326:1 | 326 | pub struct QueryAllBalancesRequest { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `osmosis_std` are being used? note: method defined here --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/test-tube-0.1.6/src/module/bank.rs:33:13 | 33 | pub query_all_balances ["/cosmos.bank.v1beta1.Query/AllBalances"]: QueryAllBalancesRequest => QueryAllBalancesResponse | ^^^^^^^^^^^^^^^^^^
mismatched types: cw-orch/src/osmosis_test_tube/core.rs#L135
error[E0308]: mismatched types --> cw-orch/src/osmosis_test_tube/core.rs:135:28 | 135 | .query_balance(&QueryBalanceRequest { | ______________-------------_^ | | | | | arguments to this method are incorrect 136 | | address: address.to_owned(), 137 | | denom: denom.to_string(), 138 | | })? | |_____________^ expected `QueryBalanceRequest`, found a different `QueryBalanceRequest` | = note: `QueryBalanceRequest` and `QueryBalanceRequest` have similar names, but are actually distinct types note: `QueryBalanceRequest` is defined in crate `osmosis_std` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/osmosis-std-0.16.2/src/types/cosmos/bank/v1beta1.rs:283:1 | 283 | pub struct QueryBalanceRequest { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ note: `QueryBalanceRequest` is defined in crate `osmosis_std` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/osmosis-std-0.17.0-rc0/src/types/cosmos/bank/v1beta1.rs:283:1 | 283 | pub struct QueryBalanceRequest { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `osmosis_std` are being used? note: method defined here --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/test-tube-0.1.6/src/module/bank.rs:29:13 | 29 | pub query_balance ["/cosmos.bank.v1beta1.Query/Balance"]: QueryBalanceRequest => QueryBalanceResponse | ^^^^^^^^^^^^^
mismatched types: cw-orch/src/osmosis_test_tube/core.rs#L105
error[E0308]: mismatched types --> cw-orch/src/osmosis_test_tube/core.rs:105:13 | 104 | let send_response = Bank::new(&*self.app.borrow()).send( | ---- arguments to this method are incorrect 105 | / MsgSend { 106 | | from_address: self.sender.borrow().address(), 107 | | to_address: to, 108 | | amount: cosmwasm_to_proto_coins(amount), 109 | | }, | |_____________^ expected `MsgSend`, found a different `MsgSend` | = note: `MsgSend` and `MsgSend` have similar names, but are actually distinct types note: `MsgSend` is defined in crate `osmosis_std` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/osmosis-std-0.16.2/src/types/cosmos/bank/v1beta1.rs:705:1 | 705 | pub struct MsgSend { | ^^^^^^^^^^^^^^^^^^ note: `MsgSend` is defined in crate `osmosis_std` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/osmosis-std-0.17.0-rc0/src/types/cosmos/bank/v1beta1.rs:705:1 | 705 | pub struct MsgSend { | ^^^^^^^^^^^^^^^^^^ = note: perhaps two different versions of crate `osmosis_std` are being used? note: method defined here --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/test-tube-0.1.6/src/module/bank.rs:25:13 | 25 | pub send: MsgSend["/cosmos.bank.v1beta1.MsgSend"] => MsgSendResponse | ^^^^
ubuntu / stable / coverage
Process completed with exit code 1.