Skip to content

updated cw-orch

updated cw-orch #112

Triggered via push May 24, 2024 15:46
Status Failure
Total duration 1m 12s
Artifacts

clippy.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 6 warnings
method `wasm` has a `&self` declaration in the impl, but not in the trait: packages/cw-orch-polytone/src/voice.rs#L30
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`
method `wrapper` has a `&self` declaration in the impl, but not in the trait: packages/cw-orch-polytone/src/voice.rs#L12
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)>`
method `wasm` has a `&self` declaration in the impl, but not in the trait: packages/cw-orch-polytone/src/proxy.rs#L22
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`
method `wrapper` has a `&self` declaration in the impl, but not in the trait: packages/cw-orch-polytone/src/proxy.rs#L12
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)>`
method `wasm` has a `&self` declaration in the impl, but not in the trait: packages/cw-orch-polytone/src/note.rs#L30
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`
method `wrapper` has a `&self` declaration in the impl, but not in the trait: packages/cw-orch-polytone/src/note.rs#L12
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)>`
ambiguous associated type: packages/cw-orch-polytone/src/deploy.rs#L67
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
ambiguous associated type: packages/cw-orch-polytone/src/deploy.rs#L32
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> { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
unresolved import `cw_orch::deploy`: packages/cw-orch-polytone/src/deploy.rs#L5
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`
clippy_check
Clippy had exited with the 101 exit code
clippy_check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
clippy_check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/