feat(code): Add MovedToStep
output to the driver for consensus to track step time
#1044
Annotations
3 errors and 3 warnings
Clippy:
crates/test/tests/driver.rs#L23
error[E0004]: non-exhaustive patterns: `malachite_driver::Output::MovedToStep(_, _, _)` not covered
--> crates/test/tests/driver.rs:23:11
|
23 | match output {
| ^^^^^^ pattern `malachite_driver::Output::MovedToStep(_, _, _)` not covered
|
note: `malachite_driver::Output<malachite_test::TestContext>` defined here
--> /home/runner/work/malachite/malachite/code/crates/driver/src/output.rs:8:1
|
8 | pub enum Output<Ctx>
| ^^^^^^^^^^^^^^^^^^^^
...
32 | MovedToStep(Ctx::Height, Round, Step),
| ----------- not covered
= note: the matched value is of type `malachite_driver::Output<malachite_test::TestContext>`
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
|
33 ~ Output::GetValue(_, _, _) => None,
34 ~ malachite_driver::Output::MovedToStep(_, _, _) => todo!(),
|
|
Test
non-exhaustive patterns: `malachite_driver::Output::MovedToStep(_, _, _)` not covered
|
Test
Process completed with exit code 101.
|
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/
|
Clippy
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions-rs/clippy@master. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Test
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|