feat(chain)!: introduce new TopologicalIterWithLevels
#247
Annotations
4 errors and 4 warnings
this loop never actually loops:
crates/chain/src/canonical_iter.rs#L287
error: this loop never actually loops
--> crates/chain/src/canonical_iter.rs:287:13
|
287 | / while let Some(txid) = self.queue.pop_front() {
288 | | let (tx, reason) = self
289 | | .canonical
290 | | .get(&txid)
... |
293 | | return Some(Ok((txid, tx, reason)));
294 | | }
| |_____________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#never_loop
|
this loop never actually loops:
crates/chain/src/canonical_iter.rs#L242
error: this loop never actually loops
--> crates/chain/src/canonical_iter.rs:242:9
|
242 | / loop {
243 | | while let Some((txid, tx)) = self.unprocessed_assumed_txs.next() {
244 | | if !self.is_canonicalized(txid) {
245 | | self.mark_canonical(txid, tx, CanonicalReason::assumed());
... |
296 | | return None;
297 | | }
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#never_loop
= note: `#[deny(clippy::never_loop)]` on by default
|
importing legacy numeric constants:
crates/chain/src/canonical_iter.rs#L1
error: importing legacy numeric constants
--> crates/chain/src/canonical_iter.rs:1:5
|
1 | use core::u32;
| ^^^^^^^^^
|
= help: remove this import
= note: then `u32::<CONST>` will resolve to the respective associated constant
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants
= note: `-D clippy::legacy-numeric-constants` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::legacy_numeric_constants)]`
|
Code Coverage
Process completed with exit code 1.
|
Code Coverage
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/
|
Code Coverage
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/
|
Code Coverage
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/
|
Code Coverage
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/
|