Update cw-orch requirement from 0.16.4 to 0.18.1 #104
clippy
5 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 5 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.74.0-beta.4 (489647f98 2023-10-21)
- cargo 1.74.0-beta.4 (ecb9851af 2023-10-18)
- clippy 0.1.74 (489647f 2023-10-21)
Annotations
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_interface::Manager<Chain>
abstract_interface::Proxy<Chain>
abstract_interface::AccountFactory<Chain>
abstract_interface::AnsHost<Chain>
abstract_interface::ModuleFactory<Chain>
abstract_interface::VersionControl<Chain>
note: required by a bound in `abstract_interface::AppDeployer`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/abstract-interface-0.19.2/src/deployers.rs:56:46
|
56 | 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
= note: this error originates in the macro `abstract_app::cw_orch_interface` (in Nightly builds, run with -Z macro-backtrace for more info)
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_interface::Manager<Chain>
abstract_interface::Proxy<Chain>
abstract_interface::OsmosisHost<Chain>
abstract_interface::AccountFactory<Chain>
abstract_interface::AnsHost<Chain>
abstract_interface::IbcClient<Chain>
abstract_interface::ModuleFactory<Chain>
abstract_interface::VersionControl<Chain>
note: required by a bound in `abstract_interface::AppDeployer`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/abstract-interface-0.19.2/src/deployers.rs:56:59
|
56 | 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
= note: this error originates in the macro `abstract_app::cw_orch_interface` (in Nightly builds, run with -Z macro-backtrace for more info)
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`
|
= note: required for `Chain` to implement `cw_orch_core::environment::cosmwasm_environment::CwEnv`
note: required by a bound in `abstract_interface::AppDeployer`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/abstract-interface-0.19.2/src/deployers.rs:56:30
|
56 | 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
= 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.19.2/src/interface.rs:142:15
|
142| impl<Chain: cw_orch_core::environment::cosmwasm_environment::TxHandler ::cw_orch::prelude::CwEnv> ::abstract_interface::AppDeployer<Chain> for $interface_name<Chain> {}
| ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Check failure on line 8 in src/handlers/query.rs
github-actions / clippy
use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead
error: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead
--> src/handlers/query.rs:8:35
|
8 | AppQueryMsg::Config {} => to_binary(&query_config(deps)?),
| ^^^^^^^^^
Check failure on line 4 in src/handlers/query.rs
github-actions / clippy
use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead
error: use of deprecated function `cosmwasm_std::to_binary`: use to_json_binary instead
--> src/handlers/query.rs:4:20
|
4 | use cosmwasm_std::{to_binary, Binary, Deps, Env, StdResult};
| ^^^^^^^^^
|
= note: `-D deprecated` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(deprecated)]`