Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Release v0.2.0-rc1

Release v0.2.0-rc1 #71

Triggered via pull request January 21, 2024 11:03
Status Success
Total duration 1m 1s
Artifacts

checks.yml

on: pull_request
Matrix: cargo-checks
Fit to window
Zoom out
Zoom in

Annotations

7 warnings
this if-then-else expression returns a bool literal: src/engine/rust.rs#L560
warning: this if-then-else expression returns a bool literal --> src/engine/rust.rs:560:26 | 560 | let perform_bitworkr = if ft.mint_bitworkr.is_some() { true } else { false }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can reduce it to: `ft.mint_bitworkr.is_some()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_bool = note: `#[warn(clippy::needless_bool)]` on by default
redundant pattern matching, consider using `is_err()`: src/engine/rust.rs#L485
warning: redundant pattern matching, consider using `is_err()` --> src/engine/rust.rs:485:11 | 485 | if let Err(_) = self.api.broadcast(raw_tx.clone()).await { | -------^^^^^^------------------------------------------- help: try: `if (self.api.broadcast(raw_tx.clone()).await).is_err()` | = note: this will change drop order of the result, as well as all temporaries = note: add `#[allow(clippy::redundant_pattern_matching)]` if this is important = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching
this if-then-else expression returns a bool literal: src/engine/rust.rs#L560
warning: this if-then-else expression returns a bool literal --> src/engine/rust.rs:560:26 | 560 | let perform_bitworkr = if ft.mint_bitworkr.is_some() { true } else { false }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can reduce it to: `ft.mint_bitworkr.is_some()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_bool = note: `#[warn(clippy::needless_bool)]` on by default
redundant pattern matching, consider using `is_err()`: src/engine/rust.rs#L485
warning: redundant pattern matching, consider using `is_err()` --> src/engine/rust.rs:485:11 | 485 | if let Err(_) = self.api.broadcast(raw_tx.clone()).await { | -------^^^^^^------------------------------------------- help: try: `if (self.api.broadcast(raw_tx.clone()).await).is_err()` | = note: this will change drop order of the result, as well as all temporaries = note: add `#[allow(clippy::redundant_pattern_matching)]` if this is important = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching
redundant pattern matching, consider using `is_err()`: src/engine/rust.rs#L236
warning: redundant pattern matching, consider using `is_err()` --> src/engine/rust.rs:236:11 | 236 | if let Err(_) = self.api.broadcast(raw_tx.clone()).await { | -------^^^^^^------------------------------------------- help: try: `if (self.api.broadcast(raw_tx.clone()).await).is_err()` | = note: this will change drop order of the result, as well as all temporaries = note: add `#[allow(clippy::redundant_pattern_matching)]` if this is important = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching = note: `#[warn(clippy::redundant_pattern_matching)]` on by default
redundant pattern matching, consider using `is_err()`: src/engine/rust.rs#L236
warning: redundant pattern matching, consider using `is_err()` --> src/engine/rust.rs:236:11 | 236 | if let Err(_) = self.api.broadcast(raw_tx.clone()).await { | -------^^^^^^------------------------------------------- help: try: `if (self.api.broadcast(raw_tx.clone()).await).is_err()` | = note: this will change drop order of the result, as well as all temporaries = note: add `#[allow(clippy::redundant_pattern_matching)]` if this is important = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching = note: `#[warn(clippy::redundant_pattern_matching)]` on by default
Task cargo clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/