Skip to content

Update cosmwasm-schema requirement from 1.5.3 to 2.0.3 #12

Update cosmwasm-schema requirement from 1.5.3 to 2.0.3

Update cosmwasm-schema requirement from 1.5.3 to 2.0.3 #12

Triggered via pull request May 28, 2024 13:38
Status Failure
Total duration 4m 50s
Artifacts

scheduled.yml

on: pull_request
ubuntu / nightly
4m 24s
ubuntu / nightly
ubuntu / beta / updated
3s
ubuntu / beta / updated
Fit to window
Zoom out
Zoom in

Annotations

19 errors
no variant named `Status` found for enum `msg::InterchainGovQueryMsg`: contracts/interchain-gov/src/handlers/query.rs#L18
error[E0599]: no variant named `Status` found for enum `msg::InterchainGovQueryMsg` --> contracts/interchain-gov/src/handlers/query.rs:18:32 | 18 | InterchainGovQueryMsg::Status { account_id } => { | ^^^^^^ variant not found in `msg::InterchainGovQueryMsg` | ::: contracts/interchain-gov/src/msg.rs:43:1 | 43 | pub enum InterchainGovQueryMsg { | ------------------------------ variant `Status` not found here
no variant named `SetStatus` found for enum `msg::InterchainGovExecuteMsg`: contracts/interchain-gov/src/handlers/execute.rs#L24
error[E0599]: no variant named `SetStatus` found for enum `msg::InterchainGovExecuteMsg` --> contracts/interchain-gov/src/handlers/execute.rs:24:34 | 24 | InterchainGovExecuteMsg::SetStatus { status } => set_status(deps, adapter, status), | ^^^^^^^^^ variant not found in `msg::InterchainGovExecuteMsg` | ::: contracts/interchain-gov/src/msg.rs:20:1 | 20 | pub enum InterchainGovExecuteMsg { | -------------------------------- variant `SetStatus` not found here
no variant named `UpdateConfig` found for enum `msg::InterchainGovExecuteMsg`: contracts/interchain-gov/src/handlers/execute.rs#L23
error[E0599]: no variant named `UpdateConfig` found for enum `msg::InterchainGovExecuteMsg` --> contracts/interchain-gov/src/handlers/execute.rs:23:34 | 23 | InterchainGovExecuteMsg::UpdateConfig {} => update_config(deps, info, adapter), | ^^^^^^^^^^^^ variant not found in `msg::InterchainGovExecuteMsg` | ::: contracts/interchain-gov/src/msg.rs:20:1 | 20 | pub enum InterchainGovExecuteMsg { | -------------------------------- variant `UpdateConfig` not found here
unused imports: `threshold::Threshold`, `voting::Votes`: contracts/interchain-gov/src/state.rs#L6
error: unused imports: `threshold::Threshold`, `voting::Votes` --> contracts/interchain-gov/src/state.rs:6:34 | 6 | use dao_voting::{status::Status, threshold::Threshold, voting::Votes}; | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^
unused imports: `CosmosMsg`, `Empty`, `Uint128`: contracts/interchain-gov/src/state.rs#L3
error: unused imports: `CosmosMsg`, `Empty`, `Uint128` --> contracts/interchain-gov/src/state.rs:3:28 | 3 | use cosmwasm_std::{Binary, CosmosMsg, Empty, Uint128}; | ^^^^^^^^^ ^^^^^ ^^^^^^^
unused import: `abstract_adapter::objects::AccountId`: contracts/interchain-gov/src/msg.rs#L3
error: unused import: `abstract_adapter::objects::AccountId` --> contracts/interchain-gov/src/msg.rs:3:5 | 3 | use abstract_adapter::objects::AccountId; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `-D unused-imports` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(unused_imports)]`
cannot find type `Vote` in this scope: contracts/interchain-gov/src/state.rs#L16
error[E0412]: cannot find type `Vote` in this scope --> contracts/interchain-gov/src/state.rs:16:28 | 16 | pub const LOCAL_VOTE: Item<Vote> = Item::new("local_vote"); | ^^^^ | ::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/dao-voting-2.3.0/src/voting.rs:13:1 | 13 | pub struct Votes { | ---------------- similarly named struct `Votes` defined here | help: a struct with a similar name exists | 16 | pub const LOCAL_VOTE: Item<Votes> = Item::new("local_vote"); | ~~~~~ help: consider importing one of these items | 1 + use abstract_adapter::objects::voting::Vote; | 1 + use dao_voting::voting::Vote; |
unresolved imports `crate::msg::StatusResponse`, `crate::state::STATUS`: contracts/interchain-gov/src/handlers/query.rs#L3
error[E0432]: unresolved imports `crate::msg::StatusResponse`, `crate::state::STATUS` --> contracts/interchain-gov/src/handlers/query.rs:3:50 | 3 | msg::{ConfigResponse, InterchainGovQueryMsg, StatusResponse}, | ^^^^^^^^^^^^^^ no `StatusResponse` in `msg` 4 | state::{CONFIG, STATUS}, | ^^^^^^ | | | no `STATUS` in `state` | help: a similar name exists in the module: `Status`
unresolved import `crate::state::STATUS`: contracts/interchain-gov/src/handlers/execute.rs#L4
error[E0432]: unresolved import `crate::state::STATUS` --> contracts/interchain-gov/src/handlers/execute.rs:4:21 | 4 | state::{CONFIG, STATUS}, | ^^^^^^ | | | no `STATUS` in `state` | help: a similar name exists in the module: `Status`
no variant named `Status` found for enum `msg::InterchainGovQueryMsg`: contracts/interchain-gov/src/handlers/query.rs#L18
error[E0599]: no variant named `Status` found for enum `msg::InterchainGovQueryMsg` --> contracts/interchain-gov/src/handlers/query.rs:18:32 | 18 | InterchainGovQueryMsg::Status { account_id } => { | ^^^^^^ variant not found in `msg::InterchainGovQueryMsg` | ::: contracts/interchain-gov/src/msg.rs:43:1 | 43 | pub enum InterchainGovQueryMsg { | ------------------------------ variant `Status` not found here
no variant named `SetStatus` found for enum `msg::InterchainGovExecuteMsg`: contracts/interchain-gov/src/handlers/execute.rs#L24
error[E0599]: no variant named `SetStatus` found for enum `msg::InterchainGovExecuteMsg` --> contracts/interchain-gov/src/handlers/execute.rs:24:34 | 24 | InterchainGovExecuteMsg::SetStatus { status } => set_status(deps, adapter, status), | ^^^^^^^^^ variant not found in `msg::InterchainGovExecuteMsg` | ::: contracts/interchain-gov/src/msg.rs:20:1 | 20 | pub enum InterchainGovExecuteMsg { | -------------------------------- variant `SetStatus` not found here
no variant named `UpdateConfig` found for enum `msg::InterchainGovExecuteMsg`: contracts/interchain-gov/src/handlers/execute.rs#L23
error[E0599]: no variant named `UpdateConfig` found for enum `msg::InterchainGovExecuteMsg` --> contracts/interchain-gov/src/handlers/execute.rs:23:34 | 23 | InterchainGovExecuteMsg::UpdateConfig {} => update_config(deps, info, adapter), | ^^^^^^^^^^^^ variant not found in `msg::InterchainGovExecuteMsg` | ::: contracts/interchain-gov/src/msg.rs:20:1 | 20 | pub enum InterchainGovExecuteMsg { | -------------------------------- variant `UpdateConfig` not found here
unused imports: `threshold::Threshold`, `voting::Votes`: contracts/interchain-gov/src/state.rs#L6
error: unused imports: `threshold::Threshold`, `voting::Votes` --> contracts/interchain-gov/src/state.rs:6:34 | 6 | use dao_voting::{status::Status, threshold::Threshold, voting::Votes}; | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^
unused imports: `CosmosMsg`, `Empty`, `Uint128`: contracts/interchain-gov/src/state.rs#L3
error: unused imports: `CosmosMsg`, `Empty`, `Uint128` --> contracts/interchain-gov/src/state.rs:3:28 | 3 | use cosmwasm_std::{Binary, CosmosMsg, Empty, Uint128}; | ^^^^^^^^^ ^^^^^ ^^^^^^^
unused import: `abstract_adapter::objects::AccountId`: contracts/interchain-gov/src/msg.rs#L3
error: unused import: `abstract_adapter::objects::AccountId` --> contracts/interchain-gov/src/msg.rs:3:5 | 3 | use abstract_adapter::objects::AccountId; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `-D unused-imports` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(unused_imports)]`
cannot find type `Vote` in this scope: contracts/interchain-gov/src/state.rs#L16
error[E0412]: cannot find type `Vote` in this scope --> contracts/interchain-gov/src/state.rs:16:28 | 16 | pub const LOCAL_VOTE: Item<Vote> = Item::new("local_vote"); | ^^^^ | ::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/dao-voting-2.3.0/src/voting.rs:13:1 | 13 | pub struct Votes { | ---------------- similarly named struct `Votes` defined here | help: a struct with a similar name exists | 16 | pub const LOCAL_VOTE: Item<Votes> = Item::new("local_vote"); | ~~~~~ help: consider importing one of these items | 1 + use abstract_adapter::objects::voting::Vote; | 1 + use dao_voting::voting::Vote; |
unresolved imports `crate::msg::StatusResponse`, `crate::state::STATUS`: contracts/interchain-gov/src/handlers/query.rs#L3
error[E0432]: unresolved imports `crate::msg::StatusResponse`, `crate::state::STATUS` --> contracts/interchain-gov/src/handlers/query.rs:3:50 | 3 | msg::{ConfigResponse, InterchainGovQueryMsg, StatusResponse}, | ^^^^^^^^^^^^^^ no `StatusResponse` in `msg` 4 | state::{CONFIG, STATUS}, | ^^^^^^ | | | no `STATUS` in `state` | help: a similar name exists in the module: `Status`
unresolved import `crate::state::STATUS`: contracts/interchain-gov/src/handlers/execute.rs#L4
error[E0432]: unresolved import `crate::state::STATUS` --> contracts/interchain-gov/src/handlers/execute.rs:4:21 | 4 | state::{CONFIG, STATUS}, | ^^^^^^ | | | no `STATUS` in `state` | help: a similar name exists in the module: `Status`
ubuntu / nightly
Process completed with exit code 101.