Skip to content

cw-orch-cli change version to 0.2.3 #2184

cw-orch-cli change version to 0.2.3

cw-orch-cli change version to 0.2.3 #2184

Triggered via pull request October 31, 2024 09:54
Status Failure
Total duration 12m 58s
Artifacts

test.yml

on: pull_request
ubuntu / stable / coverage
12m 47s
ubuntu / stable / coverage
Matrix: doc-tests / stable
Matrix: required
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
you seem to be trying to use `match` for an equality check. Consider using `if`: cw-orch-cli/src/commands/action/cosmwasm/instantiate/mod.rs#L86
error: you seem to be trying to use `match` for an equality check. Consider using `if` --> cw-orch-cli/src/commands/action/cosmwasm/instantiate/mod.rs:86:9 | 86 | / match inquire::Confirm::new("Would you like to save address in Address Book?").prompt()? { 87 | | true => { 88 | | let alias = inquire::Text::new("Input new contract alias") 89 | | // Use label as default value ... | 94 | | false => (), 95 | | }; | |_________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match = note: `-D clippy::single-match` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::single_match)]` help: try | 86 ~ if inquire::Confirm::new("Would you like to save address in Address Book?").prompt()? == true { 87 + let alias = inquire::Text::new("Input new contract alias") 88 + // Use label as default value 89 + .with_initial_value(&scope.label) 90 + .prompt()?; 91 + address_book::try_insert_account_id(chain.chain_info(), &alias, address.as_str())?; 92 ~ }; |
you seem to be trying to use `match` for an equality check. Consider using `if`: cw-orch-cli/src/commands/action/cosmwasm/instantiate/mod.rs#L86
error: you seem to be trying to use `match` for an equality check. Consider using `if` --> cw-orch-cli/src/commands/action/cosmwasm/instantiate/mod.rs:86:9 | 86 | / match inquire::Confirm::new("Would you like to save address in Address Book?").prompt()? { 87 | | true => { 88 | | let alias = inquire::Text::new("Input new contract alias") 89 | | // Use label as default value ... | 94 | | false => (), 95 | | }; | |_________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match = note: `-D clippy::single-match` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::single_match)]` help: try | 86 ~ if inquire::Confirm::new("Would you like to save address in Address Book?").prompt()? == true { 87 + let alias = inquire::Text::new("Input new contract alias") 88 + // Use label as default value 89 + .with_initial_value(&scope.label) 90 + .prompt()?; 91 + address_book::try_insert_account_id(chain.chain_info(), &alias, address.as_str())?; 92 ~ }; |
ubuntu / stable
Process completed with exit code 101.
ubuntu / stable / coverage
No space left on device : '/home/runner/runners/2.320.0/_diag/pages/1337d368-3617-42c0-bcea-8429ecbbc3e2_c921799f-76b5-5b7f-5d62-ae2b4ec3f3d0_1.log'
ubuntu / stable
You are running out of disk space. The runner will stop working when the machine runs out of disk space. Free space left: 43 MB