Skip to content

test(mbt): MBT for round state machine #441

test(mbt): MBT for round state machine

test(mbt): MBT for round state machine #441

Triggered via pull request December 13, 2023 19:33
@hvanzhvanz
synchronize #120
mbt-consensus
Status Failure
Total duration 2m 51s
Artifacts

rust.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 1 warning
Clippy: itf/tests/consensus/runner.rs#L31
error: casting to the same type is unnecessary (`i64` -> `i64`) --> itf/tests/consensus/runner.rs:31:29 | 31 | let round = state.round as i64; | ^^^^^^^^^^^^^^^^^^ help: try: `state.round` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast = note: `-D clippy::unnecessary-cast` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::unnecessary_cast)]`
Clippy: itf/tests/consensus/runner.rs#L57
error: casting to the same type is unnecessary (`i64` -> `i64`) --> itf/tests/consensus/runner.rs:57:46 | 57 | let input_round = Round::new(*round as i64); | ^^^^^^^^^^^^^ help: try: `*round` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
Clippy: itf/tests/consensus/runner.rs#L64
error: casting to the same type is unnecessary (`i64` -> `i64`) --> itf/tests/consensus/runner.rs:64:46 | 64 | let input_round = Round::new(*round as i64); | ^^^^^^^^^^^^^ help: try: `*round` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
Clippy: itf/tests/consensus/runner.rs#L71
error: casting to the same type is unnecessary (`i64` -> `i64`) --> itf/tests/consensus/runner.rs:71:46 | 71 | let input_round = Round::new(*round as i64); | ^^^^^^^^^^^^^ help: try: `*round` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
Clippy: itf/tests/consensus/runner.rs#L76
error: this expression creates a reference which is immediately dereferenced by the compiler --> itf/tests/consensus/runner.rs:76:38 | 76 | value_from_model(&value).unwrap(), | ^^^^^^ help: change this to: `value` | = 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)]`
Clippy: itf/tests/consensus/runner.rs#L84
error: casting to the same type is unnecessary (`i64` -> `i64`) --> itf/tests/consensus/runner.rs:84:46 | 84 | let input_round = Round::new(*valid_round as i64); | ^^^^^^^^^^^^^^^^^^^ help: try: `*valid_round` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
Clippy: itf/tests/consensus/runner.rs#L89
error: this expression creates a reference which is immediately dereferenced by the compiler --> itf/tests/consensus/runner.rs:89:38 | 89 | value_from_model(&value).unwrap(), | ^^^^^^ help: change this to: `value` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
Clippy: itf/tests/consensus/runner.rs#L101
error: this expression creates a reference which is immediately dereferenced by the compiler --> itf/tests/consensus/runner.rs:101:38 | 101 | value_from_model(&value).unwrap(), | ^^^^^^ help: change this to: `value` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
Clippy: itf/tests/consensus/runner.rs#L113
error: this expression creates a reference which is immediately dereferenced by the compiler --> itf/tests/consensus/runner.rs:113:38 | 113 | value_from_model(&value).unwrap(), | ^^^^^^ help: change this to: `value` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
Clippy: itf/tests/consensus/runner.rs#L139
error: casting to the same type is unnecessary (`i64` -> `i64`) --> itf/tests/consensus/runner.rs:139:46 | 139 | let input_round = Round::new(*round as i64); | ^^^^^^^^^^^^^ help: try: `*round` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
Test
Process completed with exit code 100.
Clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy@master. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/