Skip to content

fix(node): recover backwards compatibility with V1_7 mainnet #5679

fix(node): recover backwards compatibility with V1_7 mainnet

fix(node): recover backwards compatibility with V1_7 mainnet #5679

Triggered via push June 26, 2024 10:10
Status Failure
Total duration 18m 17s
Artifacts

push.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

25 errors and 6 warnings
this method takes 2 arguments but 1 argument was supplied: data_structures/src/data_request.rs#L1439
error[E0061]: this method takes 2 arguments but 1 argument was supplied --> data_structures/src/data_request.rs:1439:19 | 1439 | assert!(p.update_data_request_stages(None).is_empty()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^------ an argument of type `std::option::Option<u32>` is missing | note: method defined here --> data_structures/src/data_request.rs:247:12 | 247 | pub fn update_data_request_stages( | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 248 | &mut self, 249 | validator_count: Option<usize>, | ------------------------------ 250 | epoch: Option<Epoch>, | -------------------- help: provide the argument | 1439 | assert!(p.update_data_request_stages(None, /* std::option::Option<u32> */).is_empty()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
this method takes 2 arguments but 1 argument was supplied: data_structures/src/data_request.rs#L1413
error[E0061]: this method takes 2 arguments but 1 argument was supplied --> data_structures/src/data_request.rs:1413:19 | 1413 | assert!(p.update_data_request_stages(None).is_empty()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^------ an argument of type `std::option::Option<u32>` is missing | note: method defined here --> data_structures/src/data_request.rs:247:12 | 247 | pub fn update_data_request_stages( | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 248 | &mut self, 249 | validator_count: Option<usize>, | ------------------------------ 250 | epoch: Option<Epoch>, | -------------------- help: provide the argument | 1413 | assert!(p.update_data_request_stages(None, /* std::option::Option<u32> */).is_empty()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
this method takes 2 arguments but 1 argument was supplied: data_structures/src/data_request.rs#L1400
error[E0061]: this method takes 2 arguments but 1 argument was supplied --> data_structures/src/data_request.rs:1400:19 | 1400 | assert!(p.update_data_request_stages(None).is_empty()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^------ an argument of type `std::option::Option<u32>` is missing | note: method defined here --> data_structures/src/data_request.rs:247:12 | 247 | pub fn update_data_request_stages( | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 248 | &mut self, 249 | validator_count: Option<usize>, | ------------------------------ 250 | epoch: Option<Epoch>, | -------------------- help: provide the argument | 1400 | assert!(p.update_data_request_stages(None, /* std::option::Option<u32> */).is_empty()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
this method takes 2 arguments but 1 argument was supplied: data_structures/src/data_request.rs#L1388
error[E0061]: this method takes 2 arguments but 1 argument was supplied --> data_structures/src/data_request.rs:1388:19 | 1388 | assert!(p.update_data_request_stages(None).is_empty()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^------ an argument of type `std::option::Option<u32>` is missing | note: method defined here --> data_structures/src/data_request.rs:247:12 | 247 | pub fn update_data_request_stages( | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 248 | &mut self, 249 | validator_count: Option<usize>, | ------------------------------ 250 | epoch: Option<Epoch>, | -------------------- help: provide the argument | 1388 | assert!(p.update_data_request_stages(None, /* std::option::Option<u32> */).is_empty()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
this method takes 2 arguments but 1 argument was supplied: data_structures/src/data_request.rs#L1361
error[E0061]: this method takes 2 arguments but 1 argument was supplied --> data_structures/src/data_request.rs:1361:19 | 1361 | assert!(p.update_data_request_stages(None).is_empty()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^------ an argument of type `std::option::Option<u32>` is missing | note: method defined here --> data_structures/src/data_request.rs:247:12 | 247 | pub fn update_data_request_stages( | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 248 | &mut self, 249 | validator_count: Option<usize>, | ------------------------------ 250 | epoch: Option<Epoch>, | -------------------- help: provide the argument | 1361 | assert!(p.update_data_request_stages(None, /* std::option::Option<u32> */).is_empty()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
this method takes 2 arguments but 1 argument was supplied: data_structures/src/data_request.rs#L1320
error[E0061]: this method takes 2 arguments but 1 argument was supplied --> data_structures/src/data_request.rs:1320:28 | 1320 | let my_reveals = p.update_data_request_stages(None); | ^^^^^^^^^^^^^^^^^^^^^^^^^^------ an argument of type `std::option::Option<u32>` is missing | note: method defined here --> data_structures/src/data_request.rs:247:12 | 247 | pub fn update_data_request_stages( | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 248 | &mut self, 249 | validator_count: Option<usize>, | ------------------------------ 250 | epoch: Option<Epoch>, | -------------------- help: provide the argument | 1320 | let my_reveals = p.update_data_request_stages(None, /* std::option::Option<u32> */); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
this method takes 2 arguments but 1 argument was supplied: data_structures/src/data_request.rs#L1264
error[E0061]: this method takes 2 arguments but 1 argument was supplied --> data_structures/src/data_request.rs:1264:19 | 1264 | assert!(p.update_data_request_stages(None).is_empty()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^------ an argument of type `std::option::Option<u32>` is missing | note: method defined here --> data_structures/src/data_request.rs:247:12 | 247 | pub fn update_data_request_stages( | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 248 | &mut self, 249 | validator_count: Option<usize>, | ------------------------------ 250 | epoch: Option<Epoch>, | -------------------- help: provide the argument | 1264 | assert!(p.update_data_request_stages(None, /* std::option::Option<u32> */).is_empty()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
this method takes 2 arguments but 1 argument was supplied: data_structures/src/data_request.rs#L1252
error[E0061]: this method takes 2 arguments but 1 argument was supplied --> data_structures/src/data_request.rs:1252:19 | 1252 | assert!(p.update_data_request_stages(None).is_empty()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^------ an argument of type `std::option::Option<u32>` is missing | note: method defined here --> data_structures/src/data_request.rs:247:12 | 247 | pub fn update_data_request_stages( | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 248 | &mut self, 249 | validator_count: Option<usize>, | ------------------------------ 250 | epoch: Option<Epoch>, | -------------------- help: provide the argument | 1252 | assert!(p.update_data_request_stages(None, /* std::option::Option<u32> */).is_empty()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
this method takes 2 arguments but 1 argument was supplied: data_structures/src/data_request.rs#L1240
error[E0061]: this method takes 2 arguments but 1 argument was supplied --> data_structures/src/data_request.rs:1240:19 | 1240 | assert!(p.update_data_request_stages(None).is_empty()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^------ an argument of type `std::option::Option<u32>` is missing | note: method defined here --> data_structures/src/data_request.rs:247:12 | 247 | pub fn update_data_request_stages( | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 248 | &mut self, 249 | validator_count: Option<usize>, | ------------------------------ 250 | epoch: Option<Epoch>, | -------------------- help: provide the argument | 1240 | assert!(p.update_data_request_stages(None, /* std::option::Option<u32> */).is_empty()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
this method takes 2 arguments but 1 argument was supplied: data_structures/src/data_request.rs#L1228
error[E0061]: this method takes 2 arguments but 1 argument was supplied --> data_structures/src/data_request.rs:1228:19 | 1228 | assert!(p.update_data_request_stages(None).is_empty()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^------ an argument of type `std::option::Option<u32>` is missing | note: method defined here --> data_structures/src/data_request.rs:247:12 | 247 | pub fn update_data_request_stages( | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 248 | &mut self, 249 | validator_count: Option<usize>, | ------------------------------ 250 | epoch: Option<Epoch>, | -------------------- help: provide the argument | 1228 | assert!(p.update_data_request_stages(None, /* std::option::Option<u32> */).is_empty()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
this method takes 2 arguments but 1 argument was supplied: data_structures/src/data_request.rs#L1185
error[E0061]: this method takes 2 arguments but 1 argument was supplied --> data_structures/src/data_request.rs:1185:19 | 1185 | assert!(p.update_data_request_stages(None).is_empty()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^------ an argument of type `std::option::Option<u32>` is missing | note: method defined here --> data_structures/src/data_request.rs:247:12 | 247 | pub fn update_data_request_stages( | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 248 | &mut self, 249 | validator_count: Option<usize>, | ------------------------------ 250 | epoch: Option<Epoch>, | -------------------- help: provide the argument | 1185 | assert!(p.update_data_request_stages(None, /* std::option::Option<u32> */).is_empty()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
this method takes 2 arguments but 1 argument was supplied: data_structures/src/data_request.rs#L1163
error[E0061]: this method takes 2 arguments but 1 argument was supplied --> data_structures/src/data_request.rs:1163:19 | 1163 | assert!(p.update_data_request_stages(None).is_empty()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^------ an argument of type `std::option::Option<u32>` is missing | note: method defined here --> data_structures/src/data_request.rs:247:12 | 247 | pub fn update_data_request_stages( | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 248 | &mut self, 249 | validator_count: Option<usize>, | ------------------------------ 250 | epoch: Option<Epoch>, | -------------------- help: provide the argument | 1163 | assert!(p.update_data_request_stages(None, /* std::option::Option<u32> */).is_empty()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
this method takes 2 arguments but 1 argument was supplied: data_structures/src/data_request.rs#L1142
error[E0061]: this method takes 2 arguments but 1 argument was supplied --> data_structures/src/data_request.rs:1142:19 | 1142 | assert!(p.update_data_request_stages(None).is_empty()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^------ an argument of type `std::option::Option<u32>` is missing | note: method defined here --> data_structures/src/data_request.rs:247:12 | 247 | pub fn update_data_request_stages( | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 248 | &mut self, 249 | validator_count: Option<usize>, | ------------------------------ 250 | epoch: Option<Epoch>, | -------------------- help: provide the argument | 1142 | assert!(p.update_data_request_stages(None, /* std::option::Option<u32> */).is_empty()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
this method takes 2 arguments but 1 argument was supplied: data_structures/src/data_request.rs#L1096
error[E0061]: this method takes 2 arguments but 1 argument was supplied --> data_structures/src/data_request.rs:1096:19 | 1096 | assert!(p.update_data_request_stages(None).is_empty()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^------ an argument of type `std::option::Option<u32>` is missing | note: method defined here --> data_structures/src/data_request.rs:247:12 | 247 | pub fn update_data_request_stages( | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 248 | &mut self, 249 | validator_count: Option<usize>, | ------------------------------ 250 | epoch: Option<Epoch>, | -------------------- help: provide the argument | 1096 | assert!(p.update_data_request_stages(None, /* std::option::Option<u32> */).is_empty()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
this method takes 2 arguments but 1 argument was supplied: data_structures/src/data_request.rs#L1084
error[E0061]: this method takes 2 arguments but 1 argument was supplied --> data_structures/src/data_request.rs:1084:19 | 1084 | assert!(p.update_data_request_stages(None).is_empty()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^------ an argument of type `std::option::Option<u32>` is missing | note: method defined here --> data_structures/src/data_request.rs:247:12 | 247 | pub fn update_data_request_stages( | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 248 | &mut self, 249 | validator_count: Option<usize>, | ------------------------------ 250 | epoch: Option<Epoch>, | -------------------- help: provide the argument | 1084 | assert!(p.update_data_request_stages(None, /* std::option::Option<u32> */).is_empty()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
this method takes 2 arguments but 1 argument was supplied: data_structures/src/data_request.rs#L1072
error[E0061]: this method takes 2 arguments but 1 argument was supplied --> data_structures/src/data_request.rs:1072:19 | 1072 | assert!(p.update_data_request_stages(None).is_empty()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^------ an argument of type `std::option::Option<u32>` is missing | note: method defined here --> data_structures/src/data_request.rs:247:12 | 247 | pub fn update_data_request_stages( | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 248 | &mut self, 249 | validator_count: Option<usize>, | ------------------------------ 250 | epoch: Option<Epoch>, | -------------------- help: provide the argument | 1072 | assert!(p.update_data_request_stages(None, /* std::option::Option<u32> */).is_empty()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
this method takes 2 arguments but 1 argument was supplied: data_structures/src/data_request.rs#L1051
error[E0061]: this method takes 2 arguments but 1 argument was supplied --> data_structures/src/data_request.rs:1051:19 | 1051 | assert!(p.update_data_request_stages(None).is_empty()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^------ an argument of type `std::option::Option<u32>` is missing | note: method defined here --> data_structures/src/data_request.rs:247:12 | 247 | pub fn update_data_request_stages( | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 248 | &mut self, 249 | validator_count: Option<usize>, | ------------------------------ 250 | epoch: Option<Epoch>, | -------------------- help: provide the argument | 1051 | assert!(p.update_data_request_stages(None, /* std::option::Option<u32> */).is_empty()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
this method takes 2 arguments but 1 argument was supplied: data_structures/src/data_request.rs#L981
error[E0061]: this method takes 2 arguments but 1 argument was supplied --> data_structures/src/data_request.rs:981:19 | 981 | assert!(p.update_data_request_stages(None).is_empty()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^------ an argument of type `std::option::Option<u32>` is missing | note: method defined here --> data_structures/src/data_request.rs:247:12 | 247 | pub fn update_data_request_stages( | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 248 | &mut self, 249 | validator_count: Option<usize>, | ------------------------------ 250 | epoch: Option<Epoch>, | -------------------- help: provide the argument | 981 | assert!(p.update_data_request_stages(None, /* std::option::Option<u32> */).is_empty()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
this method takes 2 arguments but 1 argument was supplied: data_structures/src/data_request.rs#L956
error[E0061]: this method takes 2 arguments but 1 argument was supplied --> data_structures/src/data_request.rs:956:19 | 956 | assert!(p.update_data_request_stages(None).is_empty()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^------ an argument of type `std::option::Option<u32>` is missing | note: method defined here --> data_structures/src/data_request.rs:247:12 | 247 | pub fn update_data_request_stages( | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 248 | &mut self, 249 | validator_count: Option<usize>, | ------------------------------ 250 | epoch: Option<Epoch>, | -------------------- help: provide the argument | 956 | assert!(p.update_data_request_stages(None, /* std::option::Option<u32> */).is_empty()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
this method takes 2 arguments but 1 argument was supplied: data_structures/src/data_request.rs#L909
error[E0061]: this method takes 2 arguments but 1 argument was supplied --> data_structures/src/data_request.rs:909:19 | 909 | assert!(p.update_data_request_stages(None).is_empty()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^------ an argument of type `std::option::Option<u32>` is missing | note: method defined here --> data_structures/src/data_request.rs:247:12 | 247 | pub fn update_data_request_stages( | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 248 | &mut self, 249 | validator_count: Option<usize>, | ------------------------------ 250 | epoch: Option<Epoch>, | -------------------- help: provide the argument | 909 | assert!(p.update_data_request_stages(None, /* std::option::Option<u32> */).is_empty()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
this method takes 2 arguments but 1 argument was supplied: data_structures/src/data_request.rs#L867
error[E0061]: this method takes 2 arguments but 1 argument was supplied --> data_structures/src/data_request.rs:867:19 | 867 | assert!(p.update_data_request_stages(None).is_empty()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^------ an argument of type `std::option::Option<u32>` is missing | note: method defined here --> data_structures/src/data_request.rs:247:12 | 247 | pub fn update_data_request_stages( | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 248 | &mut self, 249 | validator_count: Option<usize>, | ------------------------------ 250 | epoch: Option<Epoch>, | -------------------- help: provide the argument | 867 | assert!(p.update_data_request_stages(None, /* std::option::Option<u32> */).is_empty()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
this method takes 2 arguments but 1 argument was supplied: data_structures/src/data_request.rs#L832
error[E0061]: this method takes 2 arguments but 1 argument was supplied --> data_structures/src/data_request.rs:832:19 | 832 | assert!(p.update_data_request_stages(None).is_empty()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^------ an argument of type `std::option::Option<u32>` is missing | note: method defined here --> data_structures/src/data_request.rs:247:12 | 247 | pub fn update_data_request_stages( | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 248 | &mut self, 249 | validator_count: Option<usize>, | ------------------------------ 250 | epoch: Option<Epoch>, | -------------------- help: provide the argument | 832 | assert!(p.update_data_request_stages(None, /* std::option::Option<u32> */).is_empty()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
this method takes 2 arguments but 1 argument was supplied: data_structures/src/data_request.rs#L797
error[E0061]: this method takes 2 arguments but 1 argument was supplied --> data_structures/src/data_request.rs:797:19 | 797 | assert!(p.update_data_request_stages(None).is_empty()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^------ an argument of type `std::option::Option<u32>` is missing | note: method defined here --> data_structures/src/data_request.rs:247:12 | 247 | pub fn update_data_request_stages( | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 248 | &mut self, 249 | validator_count: Option<usize>, | ------------------------------ 250 | epoch: Option<Epoch>, | -------------------- help: provide the argument | 797 | assert!(p.update_data_request_stages(None, /* std::option::Option<u32> */).is_empty()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
build_ubuntu
could not compile `witnet_data_structures` (lib test) due to 24 previous errors
build_ubuntu
Clippy had exited with the 101 exit code
build_ubuntu
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1, actions-rs/cargo@v1, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build_ubuntu
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1, 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/
build_ubuntu
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build_ubuntu
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build_ubuntu
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build_ubuntu
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/