Skip to content

Update cw-orch requirement from 0.20.1 to 0.21.2 #185

Update cw-orch requirement from 0.20.1 to 0.21.2

Update cw-orch requirement from 0.20.1 to 0.21.2 #185

GitHub Actions / clippy failed Apr 5, 2024 in 0s

clippy

4 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 4
Warning 0
Note 0
Help 0

Versions

  • rustc 1.77.1 (7cf61ebde 2024-03-27)
  • cargo 1.77.1 (e52e36006 2024-03-26)
  • clippy 0.1.77 (7cf61eb 2024-03-27)

Annotations

Check failure on line 178 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/abstract-app-0.21.0/src/interface.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the trait bound `contract::interface::AppInterface<Chain>: cw_orch_core::contract::interface_traits::Uploadable` is not satisfied

error[E0277]: the trait bound `contract::interface::AppInterface<Chain>: cw_orch_core::contract::interface_traits::Uploadable` is not satisfied
   --> src/contract.rs:34:1
    |
34  | abstract_app::cw_orch_interface!(APP, App, AppInterface);
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `cw_orch_core::contract::interface_traits::Uploadable` is not implemented for `contract::interface::AppInterface<Chain>`
    |
    = help: the following other types implement trait `cw_orch_core::contract::interface_traits::Uploadable`:
              abstract_app::abstract_interface::Manager<Chain>
              abstract_app::abstract_interface::Proxy<Chain>
              abstract_app::abstract_interface::AccountFactory<Chain>
              abstract_app::abstract_interface::AnsHost<Chain>
              abstract_app::abstract_interface::IbcClient<Chain>
              abstract_app::abstract_interface::IbcHost<Chain>
              abstract_app::abstract_interface::ModuleFactory<Chain>
              abstract_app::abstract_interface::VersionControl<Chain>
note: required by a bound in `abstract_app::abstract_interface::AppDeployer`
   --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/abstract-interface-0.21.0/src/deployers.rs:131:46
    |
131 | pub trait AppDeployer<Chain: CwEnv>: Sized + Uploadable + ContractInstance<Chain> {
    |                                              ^^^^^^^^^^ required by this bound in `AppDeployer`
    = note: `AppDeployer` is a "sealed trait", because to implement it you also need to implement `cw_orch_core::contract::interface_traits::Uploadable`, which is not accessible; this is usually done to force you to use one of the provided types that already implement it
    = help: the following types implement the trait:
              abstract_app::abstract_interface::ModuleFactory<Chain>
              abstract_app::abstract_interface::VersionControl<Chain>
              abstract_app::abstract_interface::AnsHost<Chain>
              abstract_app::abstract_interface::Manager<Chain>
              abstract_app::abstract_interface::IbcClient<Chain>
              abstract_app::abstract_interface::Proxy<Chain>
              abstract_app::abstract_interface::AccountFactory<Chain>
              abstract_app::abstract_interface::IbcHost<Chain>
    = note: this error originates in the macro `abstract_app::cw_orch_interface` (in Nightly builds, run with -Z macro-backtrace for more info)

Check failure on line 178 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/abstract-app-0.21.0/src/interface.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the trait bound `contract::interface::AppInterface<Chain>: cw_orch_core::contract::interface_traits::ContractInstance<Chain>` is not satisfied

error[E0277]: the trait bound `contract::interface::AppInterface<Chain>: cw_orch_core::contract::interface_traits::ContractInstance<Chain>` is not satisfied
   --> src/contract.rs:34:1
    |
34  | abstract_app::cw_orch_interface!(APP, App, AppInterface);
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `cw_orch_core::contract::interface_traits::ContractInstance<Chain>` is not implemented for `contract::interface::AppInterface<Chain>`
    |
    = help: the following other types implement trait `cw_orch_core::contract::interface_traits::ContractInstance<Chain>`:
              abstract_app::abstract_interface::Manager<Chain>
              abstract_app::abstract_interface::Proxy<Chain>
              abstract_app::abstract_interface::AccountFactory<Chain>
              abstract_app::abstract_interface::AnsHost<Chain>
              abstract_app::abstract_interface::IbcClient<Chain>
              abstract_app::abstract_interface::IbcHost<Chain>
              abstract_app::abstract_interface::ModuleFactory<Chain>
              abstract_app::abstract_interface::VersionControl<Chain>
note: required by a bound in `abstract_app::abstract_interface::AppDeployer`
   --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/abstract-interface-0.21.0/src/deployers.rs:131:59
    |
131 | pub trait AppDeployer<Chain: CwEnv>: Sized + Uploadable + ContractInstance<Chain> {
    |                                                           ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `AppDeployer`
    = note: `AppDeployer` is a "sealed trait", because to implement it you also need to implement `cw_orch_core::contract::interface_traits::ContractInstance`, which is not accessible; this is usually done to force you to use one of the provided types that already implement it
    = help: the following types implement the trait:
              abstract_app::abstract_interface::ModuleFactory<Chain>
              abstract_app::abstract_interface::AnsHost<Chain>
              abstract_app::abstract_interface::VersionControl<Chain>
              abstract_app::abstract_interface::AccountFactory<Chain>
              abstract_app::abstract_interface::Proxy<Chain>
              abstract_app::abstract_interface::IbcClient<Chain>
              abstract_app::abstract_interface::IbcHost<Chain>
              abstract_app::abstract_interface::Manager<Chain>
    = note: this error originates in the macro `abstract_app::cw_orch_interface` (in Nightly builds, run with -Z macro-backtrace for more info)

Check failure on line 177 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/abstract-app-0.21.0/src/interface.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the trait bound `Chain: cw_orch_core::environment::cosmwasm_environment::TxHandler` is not satisfied

error[E0277]: the trait bound `Chain: cw_orch_core::environment::cosmwasm_environment::TxHandler` is not satisfied
   --> src/contract.rs:34:1
    |
34  | abstract_app::cw_orch_interface!(APP, App, AppInterface);
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `cw_orch_core::environment::cosmwasm_environment::TxHandler` is not implemented for `Chain`, which is required by `Chain: cw_orch_core::environment::cosmwasm_environment::CwEnv`
    |
    = note: required for `Chain` to implement `cw_orch_core::environment::cosmwasm_environment::CwEnv`
note: required by a bound in `abstract_app::abstract_interface::AppDeployer`
   --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/abstract-interface-0.21.0/src/deployers.rs:131:30
    |
131 | pub trait AppDeployer<Chain: CwEnv>: Sized + Uploadable + ContractInstance<Chain> {
    |                              ^^^^^ required by this bound in `AppDeployer`
    = note: `AppDeployer` is a "sealed trait", because to implement it you also need to implement `cw_orch_core::environment::cosmwasm_environment::CwEnv`, which is not accessible; this is usually done to force you to use one of the provided types that already implement it
    = help: the following type implements the trait:
              T
    = note: this error originates in the macro `abstract_app::cw_orch_interface` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider restricting type parameter `Chain`
   --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/abstract-app-0.21.0/src/interface.rs:177:24
    |
177 |             impl<Chain: cw_orch_core::environment::cosmwasm_environment::TxHandler ::cw_orch::prelude::CwEnv> $crate::abstract_interface::AppDeployer<Chain>
    |                         ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Check failure on line 177 in /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/abstract-app-0.21.0/src/interface.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the trait bound `Chain: cw_orch_core::environment::queriers::QueryHandler` is not satisfied

error[E0277]: the trait bound `Chain: cw_orch_core::environment::queriers::QueryHandler` is not satisfied
   --> src/contract.rs:34:1
    |
34  | abstract_app::cw_orch_interface!(APP, App, AppInterface);
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `cw_orch_core::environment::queriers::QueryHandler` is not implemented for `Chain`, which is required by `Chain: cw_orch_core::environment::cosmwasm_environment::CwEnv`
    |
    = note: required for `Chain` to implement `cw_orch_core::environment::cosmwasm_environment::CwEnv`
note: required by a bound in `abstract_app::abstract_interface::AppDeployer`
   --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/abstract-interface-0.21.0/src/deployers.rs:131:30
    |
131 | pub trait AppDeployer<Chain: CwEnv>: Sized + Uploadable + ContractInstance<Chain> {
    |                              ^^^^^ required by this bound in `AppDeployer`
    = note: `AppDeployer` is a "sealed trait", because to implement it you also need to implement `cw_orch_core::environment::cosmwasm_environment::CwEnv`, which is not accessible; this is usually done to force you to use one of the provided types that already implement it
    = help: the following type implements the trait:
              T
    = note: this error originates in the macro `abstract_app::cw_orch_interface` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider restricting type parameter `Chain`
   --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/abstract-app-0.21.0/src/interface.rs:177:24
    |
177 |             impl<Chain: cw_orch_core::environment::queriers::QueryHandler ::cw_orch::prelude::CwEnv> $crate::abstract_interface::AppDeployer<Chain>
    |                         +++++++++++++++++++++++++++++++++++++++++++++++++