Skip to content

common: Move address from SignedVote to Vote #107

common: Move address from SignedVote to Vote

common: Move address from SignedVote to Vote #107

Triggered via pull request October 30, 2023 13:52
Status Failure
Total duration 36s
Artifacts

rust.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
Clippy: round/src/state_machine.rs#L173
error[E0061]: this function takes 3 arguments but 2 arguments were supplied --> round/src/state_machine.rs:173:19 | 173 | let message = Message::prevote(state.round, value); | ^^^^^^^^^^^^^^^^-------------------- an argument is missing | note: associated function defined here --> round/src/message.rs:45:12 | 45 | pub fn prevote(round: Round, value_id: Option<ValueId<Ctx>>, address: Ctx::Address) -> Self { | ^^^^^^^ ------------ ------------------------------ --------------------- help: provide the argument | 173 | let message = Message::prevote(state.round, value, /* address */); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Clippy: round/src/state_machine.rs#L184
error[E0061]: this function takes 3 arguments but 2 arguments were supplied --> round/src/state_machine.rs:184:19 | 184 | let message = Message::prevote(state.round, None); | ^^^^^^^^^^^^^^^^------------------- an argument is missing | note: associated function defined here --> round/src/message.rs:45:12 | 45 | pub fn prevote(round: Round, value_id: Option<ValueId<Ctx>>, address: Ctx::Address) -> Self { | ^^^^^^^ ------------ ------------------------------ --------------------- help: provide the argument | 184 | let message = Message::prevote(state.round, None, /* address */); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Clippy: round/src/state_machine.rs#L202
error[E0061]: this function takes 3 arguments but 2 arguments were supplied --> round/src/state_machine.rs:202:19 | 202 | let message = Message::precommit(state.round, Some(value_id)); | ^^^^^^^^^^^^^^^^^^----------------------------- an argument is missing | note: associated function defined here --> round/src/message.rs:49:12 | 49 | pub fn precommit(round: Round, value_id: Option<ValueId<Ctx>>, address: Ctx::Address) -> Self { | ^^^^^^^^^ ------------ ------------------------------ --------------------- help: provide the argument | 202 | let message = Message::precommit(state.round, Some(value_id), /* address */); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Clippy: round/src/state_machine.rs#L225
error[E0061]: this function takes 3 arguments but 2 arguments were supplied --> round/src/state_machine.rs:225:19 | 225 | let message = Message::precommit(state.round, None); | ^^^^^^^^^^^^^^^^^^------------------- an argument is missing | note: associated function defined here --> round/src/message.rs:49:12 | 49 | pub fn precommit(round: Round, value_id: Option<ValueId<Ctx>>, address: Ctx::Address) -> Self { | ^^^^^^^^^ ------------ ------------------------------ --------------------- help: provide the argument | 225 | let message = Message::precommit(state.round, None, /* address */); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test
this function takes 3 arguments but 2 arguments were supplied
Test
this function takes 3 arguments but 2 arguments were supplied
Test
this function takes 3 arguments but 2 arguments were supplied
Test
this function takes 3 arguments but 2 arguments were supplied
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/