Skip to content

Fixed deps

Fixed deps #19

Triggered via push January 17, 2024 17:01
Status Failure
Total duration
Artifacts

This workflow graph cannot be shown

A graph will be generated the next time this workflow is run.

Annotations

11 errors
Error
a step cannot have both the `uses` and `run` keys
this expression creates a reference which is immediately dereferenced by the compiler: savings-bot/src/main.rs#L43
error: this expression creates a reference which is immediately dereferenced by the compiler --> savings-bot/src/main.rs:43:68 | 43 | daemon.query(&QueryMsg::Base(BaseQueryMsg::BaseConfig {}), &contract_addr)?; | ^^^^^^^^^^^^^^ help: change this to: `contract_addr` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `-D clippy::needless-borrow` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::needless_borrow)]`
function `sender_options_constructor` is never used: savings-bot/src/main.rs#L112
error: function `sender_options_constructor` is never used --> savings-bot/src/main.rs:112:4 | 112 | fn sender_options_constructor(granter: String) -> SenderOptions { | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `-D dead-code` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(dead_code)]`
unused import: `cw_orch::state::ChainState`: savings-bot/src/main.rs#L9
error: unused import: `cw_orch::state::ChainState` --> savings-bot/src/main.rs:9:5 | 9 | use cw_orch::state::ChainState; | ^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `cw_orch::daemon::Wallet`: savings-bot/src/main.rs#L7
error: unused import: `cw_orch::daemon::Wallet` --> savings-bot/src/main.rs:7:5 | 7 | use cw_orch::daemon::Wallet; | ^^^^^^^^^^^^^^^^^^^^^^^
unused import: `Sender`: savings-bot/src/main.rs#L6
error: unused import: `Sender` --> savings-bot/src/main.rs:6:31 | 6 | use cw_orch::daemon::sender::{Sender, SenderOptions}; | ^^^^^^ | = note: `-D unused-imports` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(unused_imports)]`
this expression creates a reference which is immediately dereferenced by the compiler: savings-bot/src/main.rs#L43
error: this expression creates a reference which is immediately dereferenced by the compiler --> savings-bot/src/main.rs:43:68 | 43 | daemon.query(&QueryMsg::Base(BaseQueryMsg::BaseConfig {}), &contract_addr)?; | ^^^^^^^^^^^^^^ help: change this to: `contract_addr` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `-D clippy::needless-borrow` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::needless_borrow)]`
function `sender_options_constructor` is never used: savings-bot/src/main.rs#L112
error: function `sender_options_constructor` is never used --> savings-bot/src/main.rs:112:4 | 112 | fn sender_options_constructor(granter: String) -> SenderOptions { | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `-D dead-code` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(dead_code)]`
unused import: `cw_orch::state::ChainState`: savings-bot/src/main.rs#L9
error: unused import: `cw_orch::state::ChainState` --> savings-bot/src/main.rs:9:5 | 9 | use cw_orch::state::ChainState; | ^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `cw_orch::daemon::Wallet`: savings-bot/src/main.rs#L7
error: unused import: `cw_orch::daemon::Wallet` --> savings-bot/src/main.rs:7:5 | 7 | use cw_orch::daemon::Wallet; | ^^^^^^^^^^^^^^^^^^^^^^^
unused import: `Sender`: savings-bot/src/main.rs#L6
error: unused import: `Sender` --> savings-bot/src/main.rs:6:31 | 6 | use cw_orch::daemon::sender::{Sender, SenderOptions}; | ^^^^^^ | = note: `-D unused-imports` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(unused_imports)]`