Skip to content

On chain claim

On chain claim #192

Triggered via pull request December 18, 2023 18:31
Status Cancelled
Total duration 3m 18s
Artifacts

actions.yml

on: pull_request
Contracts  /  Wasm tests
3m 8s
Contracts / Wasm tests
Contracts  /  Rust tests
1m 37s
Contracts / Rust tests
Contracts  /  Clippy linter check
31s
Contracts / Clippy linter check
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 5 warnings
Contracts / Rust tests
Process completed with exit code 101.
Contracts / Wasm tests
The run was canceled by @vladbucur1.
Contracts / Wasm tests
The operation was canceled.
[clippy] contracts/on-chain-claim/tests/tests.rs#L479: contracts/on-chain-claim/tests/tests.rs#L479
warning: used `assert_eq!` with a literal bool --> contracts/on-chain-claim/tests/tests.rs:479:13 | 479 | assert_eq!(can_be_repaired, false); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison = note: `#[warn(clippy::bool_assert_comparison)]` on by default help: replace it with `assert!(..)` | 479 - assert_eq!(can_be_repaired, false); 479 + assert!(!can_be_repaired); |
[clippy] contracts/on-chain-claim/tests/tests.rs#L489: contracts/on-chain-claim/tests/tests.rs#L489
warning: used `assert_eq!` with a literal bool --> contracts/on-chain-claim/tests/tests.rs:489:13 | 489 | assert_eq!(can_be_repaired, false); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison help: replace it with `assert!(..)` | 489 - assert_eq!(can_be_repaired, false); 489 + assert!(!can_be_repaired); |
[clippy] contracts/on-chain-claim/tests/tests.rs#L499: contracts/on-chain-claim/tests/tests.rs#L499
warning: used `assert_eq!` with a literal bool --> contracts/on-chain-claim/tests/tests.rs:499:13 | 499 | assert_eq!(can_be_repaired, true); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison help: replace it with `assert!(..)` | 499 - assert_eq!(can_be_repaired, true); 499 + assert!(can_be_repaired); |
[clippy] contracts/on-chain-claim/tests/tests.rs#L509: contracts/on-chain-claim/tests/tests.rs#L509
warning: used `assert_eq!` with a literal bool --> contracts/on-chain-claim/tests/tests.rs:509:13 | 509 | assert_eq!(can_be_repaired, false); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison help: replace it with `assert!(..)` | 509 - assert_eq!(can_be_repaired, false); 509 + assert!(!can_be_repaired); |
[clippy] contracts/on-chain-claim/tests/tests.rs#L551: contracts/on-chain-claim/tests/tests.rs#L551
warning: used `assert_eq!` with a literal bool --> contracts/on-chain-claim/tests/tests.rs:551:13 | 551 | assert_eq!(can_be_repaired, true); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison help: replace it with `assert!(..)` | 551 - assert_eq!(can_be_repaired, true); 551 + assert!(can_be_repaired); |