Create universes for bootstrap #7507
Triggered via pull request
November 13, 2023 10:40
Status
Failure
Total duration
12m 42s
Artifacts
–
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
ci.yml
on: pull_request
Annotations
24 errors and 36 warnings
security
Process completed with exit code 1.
|
field assignment outside of initializer for an instance created with Default::default():
massa-bootstrap/src/tests/scenarios.rs#L309
error: field assignment outside of initializer for an instance created with Default::default()
--> massa-bootstrap/src/tests/scenarios.rs:309:5
|
309 | bootstrap_client_config.bootstrap_list = vec![(socket_addr, node_id)];
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: consider initializing the variable with `settings::BootstrapConfig { bootstrap_list: vec![(socket_addr, node_id)], ..Default::default() }` and removing relevant reassignments
--> massa-bootstrap/src/tests/scenarios.rs:308:5
|
308 | let mut bootstrap_client_config = BootstrapConfig::default();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#field_reassign_with_default
|
field assignment outside of initializer for an instance created with Default::default():
massa-bootstrap/src/tests/scenarios.rs#L125
error: field assignment outside of initializer for an instance created with Default::default()
--> massa-bootstrap/src/tests/scenarios.rs:125:5
|
125 | bootstrap_client_config.bootstrap_list = vec![(socket_addr, node_id)];
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: consider initializing the variable with `settings::BootstrapConfig { bootstrap_list: vec![(socket_addr, node_id)], ..Default::default() }` and removing relevant reassignments
--> massa-bootstrap/src/tests/scenarios.rs:124:5
|
124 | let mut bootstrap_client_config = BootstrapConfig::default();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#field_reassign_with_default
|
field assignment outside of initializer for an instance created with Default::default():
massa-bootstrap/src/tests/scenarios.rs#L113
error: field assignment outside of initializer for an instance created with Default::default()
--> massa-bootstrap/src/tests/scenarios.rs:113:5
|
113 | / bootstrap_server_config.bootstrap_whitelist_path =
114 | | PathBuf::from("../massa-node/base_config/bootstrap_whitelist.json");
| |____________________________________________________________________________^
|
note: consider initializing the variable with `settings::BootstrapConfig { bootstrap_whitelist_path: PathBuf::from("../massa-node/base_config/bootstrap_whitelist.json"), ..Default::default() }` and removing relevant reassignments
--> massa-bootstrap/src/tests/scenarios.rs:112:5
|
112 | let mut bootstrap_server_config = BootstrapConfig::default();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#field_reassign_with_default
= note: `-D clippy::field-reassign-with-default` implied by `-D warnings`
|
function `get_peers` is never used:
massa-bootstrap/src/tests/tools.rs#L554
error: function `get_peers` is never used
--> massa-bootstrap/src/tests/tools.rs:554:8
|
554 | pub fn get_peers(keypair: &KeyPair) -> BootstrapPeers {
| ^^^^^^^^^
|
function `get_boot_state` is never used:
massa-bootstrap/src/tests/tools.rs#L470
error: function `get_boot_state` is never used
--> massa-bootstrap/src/tests/tools.rs:470:8
|
470 | pub fn get_boot_state() -> BootstrapableGraph {
| ^^^^^^^^^^^^^^
|
function `assert_eq_bootstrap_graph` is never used:
massa-bootstrap/src/tests/tools.rs#L454
error: function `assert_eq_bootstrap_graph` is never used
--> massa-bootstrap/src/tests/tools.rs:454:8
|
454 | pub fn assert_eq_bootstrap_graph(v1: &BootstrapableGraph, v2: &BootstrapableGraph) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
function `get_dummy_block_id` is never used:
massa-bootstrap/src/tests/tools.rs#L381
error: function `get_dummy_block_id` is never used
--> massa-bootstrap/src/tests/tools.rs:381:8
|
381 | pub fn get_dummy_block_id(s: &str) -> BlockId {
| ^^^^^^^^^^^^^^^^^^
|
function `get_random_execution_trail_hash_change` is never used:
massa-bootstrap/src/tests/tools.rs#L297
error: function `get_random_execution_trail_hash_change` is never used
--> massa-bootstrap/src/tests/tools.rs:297:8
|
297 | pub fn get_random_execution_trail_hash_change(always_set: bool) -> SetOrKeep<massa_hash::Hash> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
function `get_random_async_pool_changes` is never used:
massa-bootstrap/src/tests/tools.rs#L211
error: function `get_random_async_pool_changes` is never used
--> massa-bootstrap/src/tests/tools.rs:211:8
|
211 | pub fn get_random_async_pool_changes(r_limit: u64, thread_count: u8) -> AsyncPoolChanges {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
function `get_random_pos_changes` is never used:
massa-bootstrap/src/tests/tools.rs#L200
error: function `get_random_pos_changes` is never used
--> massa-bootstrap/src/tests/tools.rs:200:8
|
200 | pub fn get_random_pos_changes(r_limit: u64) -> PoSChanges {
| ^^^^^^^^^^^^^^^^^^^^^^
|
function `get_random_ledger_changes` is never used:
massa-bootstrap/src/tests/tools.rs#L107
error: function `get_random_ledger_changes` is never used
--> massa-bootstrap/src/tests/tools.rs:107:8
|
107 | pub fn get_random_ledger_changes(r_limit: u64) -> LedgerChanges {
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `-D dead-code` implied by `-D warnings`
|
unused imports: `Condvar`, `Mutex`:
massa-bootstrap/src/tests/scenarios.rs#L67
error: unused imports: `Condvar`, `Mutex`
--> massa-bootstrap/src/tests/scenarios.rs:67:17
|
67 | use std::sync::{Condvar, Mutex};
| ^^^^^^^ ^^^^^
|
unused import: `massa_time::MassaTime`:
massa-bootstrap/src/tests/scenarios.rs#L60
error: unused import: `massa_time::MassaTime`
--> massa-bootstrap/src/tests/scenarios.rs:60:5
|
60 | use massa_time::MassaTime;
| ^^^^^^^^^^^^^^^^^^^^^
|
unused import: `test_exports::assert_eq_pos_selection`:
massa-bootstrap/src/tests/scenarios.rs#L54
error: unused import: `test_exports::assert_eq_pos_selection`
--> massa-bootstrap/src/tests/scenarios.rs:54:5
|
54 | test_exports::assert_eq_pos_selection, PoSConfig, PoSFinalState, SelectorConfig,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `slot::Slot`:
massa-bootstrap/src/tests/scenarios.rs#L42
error: unused import: `slot::Slot`
--> massa-bootstrap/src/tests/scenarios.rs:42:73
|
42 | address::Address, config::MAX_DATASTORE_VALUE_LENGTH, node::NodeId, slot::Slot,
| ^^^^^^^^^^
|
unused imports: `FinalState`, `StateChanges`, `assert_eq_final_state_hash`, `assert_eq_final_state`:
massa-bootstrap/src/tests/scenarios.rs#L27
error: unused imports: `FinalState`, `StateChanges`, `assert_eq_final_state_hash`, `assert_eq_final_state`
--> massa-bootstrap/src/tests/scenarios.rs:27:20
|
27 | test_exports::{assert_eq_final_state, assert_eq_final_state_hash},
| ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^
28 | FinalState, FinalStateConfig, StateChanges,
| ^^^^^^^^^^ ^^^^^^^^^^^^
|
unused import: `massa_final_state::FinalStateController`:
massa-bootstrap/src/tests/scenarios.rs#L25
error: unused import: `massa_final_state::FinalStateController`
--> massa-bootstrap/src/tests/scenarios.rs:25:5
|
25 | use massa_final_state::FinalStateController;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `get_state`:
massa-bootstrap/src/tests/scenarios.rs#L17
error: unused import: `get_state`
--> massa-bootstrap/src/tests/scenarios.rs:17:30
|
17 | client::MockBSConnector, get_state, start_bootstrap_server, tests::tools::get_bootstrap_config,
| ^^^^^^^^^
|
unused imports: `assert_eq_bootstrap_graph`, `get_random_async_pool_changes`, `get_random_executed_de_changes`, `get_random_executed_ops_changes`, `get_random_execution_trail_hash_change`, `get_random_pos_changes`:
massa-bootstrap/src/tests/scenarios.rs#L11
error: unused imports: `assert_eq_bootstrap_graph`, `get_random_async_pool_changes`, `get_random_executed_de_changes`, `get_random_executed_ops_changes`, `get_random_execution_trail_hash_change`, `get_random_pos_changes`
--> massa-bootstrap/src/tests/scenarios.rs:11:5
|
11 | assert_eq_bootstrap_graph, get_random_async_pool_changes, get_random_executed_de_changes,
| ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12 | get_random_executed_ops_changes, get_random_execution_trail_hash_change,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
13 | get_random_pos_changes,
| ^^^^^^^^^^^^^^^^^^^^^^
|
unused imports: `get_boot_state`, `get_peers`, `get_random_ledger_changes`:
massa-bootstrap/src/tests/scenarios.rs#L4
error: unused imports: `get_boot_state`, `get_peers`, `get_random_ledger_changes`
--> massa-bootstrap/src/tests/scenarios.rs:4:5
|
4 | get_boot_state, get_peers, get_random_final_state_bootstrap, get_random_ledger_changes,
| ^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `-D unused-imports` implied by `-D warnings`
|
clippy
Clippy had exited with the 101 exit code
|
full (ubuntu-latest)
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
|
full (macOS-latest)
The operation was canceled.
|
sanity
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
sanity
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/
|
sanity
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/
|
sanity
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/
|
sanity
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/
|
gas-costs-check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
gas-costs-check
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/
|
gas-costs-check
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/
|
gas-costs-check
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/
|
gas-costs-check
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/
|
check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
check
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/
|
check
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/
|
check
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/
|
check
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/
|
doc
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1, JamesIves/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
doc
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/
|
doc
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/
|
doc
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/
|
doc
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/
|
doc
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/
|
clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@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/
|
clippy
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/
|
clippy
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/
|
clippy
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/
|
clippy
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/
|
full (ubuntu-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
full (ubuntu-latest)
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/
|
full (ubuntu-latest)
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/
|
full (ubuntu-latest)
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/
|
full (ubuntu-latest)
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/
|
full (macOS-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
full (macOS-latest)
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/
|
full (macOS-latest)
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/
|
full (macOS-latest)
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/
|
full (macOS-latest)
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/
|