updated cw-orch #112
clippy
9 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 9 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.78.0 (9b00956e5 2024-04-29)
- cargo 1.78.0 (54d8815d0 2024-03-26)
- clippy 0.1.78 (9b00956 2024-04-29)
Annotations
Check failure on line 30 in packages/cw-orch-polytone/src/voice.rs
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
--> packages/cw-orch-polytone/src/voice.rs:30:5
|
30 | fn wasm(&self) -> WasmPath {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ `&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`
Check failure on line 12 in packages/cw-orch-polytone/src/voice.rs
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
--> packages/cw-orch-polytone/src/voice.rs:12:5
|
12 | fn wrapper(&self) -> <Mock as TxHandler>::ContractSource {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `&self` used in impl
|
= note: `wrapper` from trait: `fn() -> std::boxed::Box<(dyn cw_orch::prelude::MockContract<cw_orch::prelude::Empty> + 'static)>`
Check failure on line 22 in packages/cw-orch-polytone/src/proxy.rs
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
--> packages/cw-orch-polytone/src/proxy.rs:22:5
|
22 | fn wasm(&self) -> WasmPath {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ `&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`
Check failure on line 12 in packages/cw-orch-polytone/src/proxy.rs
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
--> packages/cw-orch-polytone/src/proxy.rs:12:5
|
12 | fn wrapper(&self) -> <Mock as TxHandler>::ContractSource {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `&self` used in impl
|
= note: `wrapper` from trait: `fn() -> std::boxed::Box<(dyn cw_orch::prelude::MockContract<cw_orch::prelude::Empty> + 'static)>`
Check failure on line 30 in packages/cw-orch-polytone/src/note.rs
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
--> packages/cw-orch-polytone/src/note.rs:30:5
|
30 | fn wasm(&self) -> WasmPath {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ `&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`
Check failure on line 12 in packages/cw-orch-polytone/src/note.rs
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
--> packages/cw-orch-polytone/src/note.rs:12:5
|
12 | fn wrapper(&self) -> <Mock as TxHandler>::ContractSource {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `&self` used in impl
|
= note: `wrapper` from trait: `fn() -> std::boxed::Box<(dyn cw_orch::prelude::MockContract<cw_orch::prelude::Empty> + 'static)>`
Check failure on line 67 in packages/cw-orch-polytone/src/deploy.rs
github-actions / clippy
ambiguous associated type
error[E0223]: ambiguous associated type
--> packages/cw-orch-polytone/src/deploy.rs:67:48
|
67 | fn load_from(chain: Chain) -> Result<Self, Self::Error> {
| ^^^^^^^^^^^
|
help: use fully-qualified syntax
|
67 | fn load_from(chain: Chain) -> Result<Self, <Polytone<Chain> as futures_core::future::TryFuture>::Error> {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
67 | fn load_from(chain: Chain) -> Result<Self, <Polytone<Chain> as futures_core::stream::TryStream>::Error> {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
67 | fn load_from(chain: Chain) -> Result<Self, <Polytone<Chain> as hyper::client::connect::dns::sealed::Resolve>::Error> {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
67 | fn load_from(chain: Chain) -> Result<Self, <Polytone<Chain> as hyper::client::connect::sealed::ConnectSvc>::Error> {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
and 9 other candidates
Check failure on line 32 in packages/cw-orch-polytone/src/deploy.rs
github-actions / clippy
ambiguous associated type
error[E0223]: ambiguous associated type
--> packages/cw-orch-polytone/src/deploy.rs:32:39
|
32 | fn deploy_on(chain: Chain, _data: Self::DeployData) -> Result<Self, CwOrchError> {
| ^^^^^^^^^^^^^^^^
|
help: if there were a trait named `Example` with associated type `DeployData` implemented for `Polytone<Chain>`, you could use the fully-qualified path
|
32 | fn deploy_on(chain: Chain, _data: <Polytone<Chain> as Example>::DeployData) -> Result<Self, CwOrchError> {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Check failure on line 5 in packages/cw-orch-polytone/src/deploy.rs
github-actions / clippy
unresolved import `cw_orch::deploy`
error[E0432]: unresolved import `cw_orch::deploy`
--> packages/cw-orch-polytone/src/deploy.rs:5:5
|
5 | deploy::Deploy,
| ^^^^^^ could not find `deploy` in `cw_orch`