Skip to content

Update cw-orch requirement from 0.20.1 to 0.22.0 #206

Update cw-orch requirement from 0.20.1 to 0.22.0

Update cw-orch requirement from 0.20.1 to 0.22.0 #206

GitHub Actions / clippy failed May 2, 2024 in 0s

clippy

6 errors

Details

Results

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

Versions

  • rustc 1.77.2 (25ef9e3d8 2024-04-09)
  • cargo 1.77.2 (e52e36006 2024-03-26)
  • clippy 0.1.77 (25ef9e3 2024-04-09)

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::VersionControl<Chain>
              abstract_app::abstract_interface::AnsHost<Chain>
              abstract_app::abstract_interface::IbcClient<Chain>
              abstract_app::abstract_interface::Manager<Chain>
              abstract_app::abstract_interface::IbcHost<Chain>
              abstract_app::abstract_interface::AccountFactory<Chain>
              abstract_app::abstract_interface::ModuleFactory<Chain>
              abstract_app::abstract_interface::Proxy<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::AccountFactory<Chain>
              abstract_app::abstract_interface::IbcHost<Chain>
              abstract_app::abstract_interface::IbcClient<Chain>
              abstract_app::abstract_interface::AnsHost<Chain>
              abstract_app::abstract_interface::Proxy<Chain>
              abstract_app::abstract_interface::VersionControl<Chain>
              abstract_app::abstract_interface::ModuleFactory<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>
    |                         +++++++++++++++++++++++++++++++++++++++++++++++++

Check failure on line 163 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

method `wrapper` has a `&self` declaration in the impl, but not in the trait

error[E0185]: method `wrapper` has a `&self` declaration in the impl, but not in the trait
  --> src/contract.rs:34:1
   |
34 | abstract_app::cw_orch_interface!(APP, App, AppInterface);
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `&self` used in impl
   |
   = note: `wrapper` from trait: `fn() -> std::boxed::Box<(dyn cw_orch::prelude::MockContract<cosmwasm_std::Empty> + 'static)>`
   = 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 147 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

method `wasm` has a `&self` declaration in the impl, but not in the trait

error[E0185]: method `wasm` has a `&self` declaration in the impl, but not in the trait
  --> src/contract.rs:34:1
   |
34 | abstract_app::cw_orch_interface!(APP, App, AppInterface);
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `&self` used in impl
   |
   = note: `wasm` from trait: `fn(&cw_orch_core::environment::chain_info::ChainInfoBase<std::string::String, std::vec::Vec<std::string::String>>) -> cw_orch::prelude::WasmPath`
   = note: this error originates in the macro `abstract_app::cw_orch_interface` (in Nightly builds, run with -Z macro-backtrace for more info)