Prepare code for v1.0.6 release #14357
build+test.yml
on: push
rustfmt
12s
check
1m 36s
test
26m 58s
clippy
1m 24s
web-client
2m 42s
web-client-lib
2m 50s
reconnect-test
12m 7s
Annotations
6 warnings
this `map_or` is redundant:
consensus/src/sync/live/block_queue/queue.rs#L724
warning: this `map_or` is redundant
--> consensus/src/sync/live/block_queue/queue.rs:724:12
|
724 | if self
| ____________^
725 | | .buffer
726 | | .get(&block_number)
727 | | .map_or(false, |blocks| blocks.contains_key(&block_hash))
| |_____________________________________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or
help: use is_some_and instead
|
724 ~ if self
725 + .buffer
726 + .get(&block_number).is_some_and(|blocks| blocks.contains_key(&block_hash))
|
|
this `map_or` is redundant:
consensus/src/sync/light/validity_window.rs#L252
warning: this `map_or` is redundant
--> consensus/src/sync/light/validity_window.rs:252:39
|
252 | let valid_chunk = chunk
| _______________________________________^
253 | | .verify(&expected_root, leaf_index as usize)
254 | | .map_or(false, |result| result);
| |_______________________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or
= note: `#[warn(clippy::unnecessary_map_or)]` on by default
help: use is_some_and instead
|
252 ~ let valid_chunk = chunk
253 ~ .verify(&expected_root, leaf_index as usize).is_some_and(|result| result);
|
|
this `map_or` is redundant:
primitives/account/src/accounts.rs#L259
warning: this `map_or` is redundant
--> primitives/account/src/accounts.rs:259:23
|
259 | let missing = self
| _______________________^
260 | | .tree
261 | | .get_missing_range(txn)
262 | | .map_or(false, |range| range.contains(&rightmost_key));
| |__________________________________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or
= note: `#[warn(clippy::unnecessary_map_or)]` on by default
help: use is_some_and instead
|
259 ~ let missing = self
260 + .tree
261 ~ .get_missing_range(txn).is_some_and(|range| range.contains(&rightmost_key));
|
|
this `map_or` is redundant:
primitives/account/src/accounts.rs#L259
warning: this `map_or` is redundant
--> primitives/account/src/accounts.rs:259:23
|
259 | let missing = self
| _______________________^
260 | | .tree
261 | | .get_missing_range(txn)
262 | | .map_or(false, |range| range.contains(&rightmost_key));
| |__________________________________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or
= note: `#[warn(clippy::unnecessary_map_or)]` on by default
help: use is_some_and instead
|
259 ~ let missing = self
260 + .tree
261 ~ .get_missing_range(txn).is_some_and(|range| range.contains(&rightmost_key));
|
|
this `map_or` is redundant:
network-libp2p/src/discovery/peer_contacts.rs#L276
warning: this `map_or` is redundant
--> network-libp2p/src/discovery/peer_contacts.rs:276:9
|
276 | / unix_time
277 | | .checked_sub(Duration::from_secs(self.contact.inner.timestamp()))
278 | | .map_or(false, |age| age > max_age)
| |_______________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or
= note: `#[warn(clippy::unnecessary_map_or)]` on by default
help: use is_some_and instead
|
276 ~ unix_time
277 + .checked_sub(Duration::from_secs(self.contact.inner.timestamp())).is_some_and(|age| age > max_age)
|
|
large array defined as const:
mnemonic/src/lib.rs#L168
warning: large array defined as const
--> mnemonic/src/lib.rs:168:1
|
168 | pub const WORDLIST_EN: Wordlist<'static> = [
| ^ ----- help: make this a static item: `static`
| _|
| |
169 | | "abandon", "ability", "able", "about", "above", "absent", "absorb", "abstract", "absurd",
170 | | "abuse", "access", "accident", "account", "accuse", "achieve", "acid", "acoustic", "acquire",
171 | | "across", "act", "action", "actor", "actress", "actual", "adapt", "add", "addict", "address",
... |
379 | | "zoo",
380 | | ];
| |__^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_const_arrays
= note: `#[warn(clippy::large_const_arrays)]` on by default
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
reconnect-test-logs
|
288 KB |
|