Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Deployer/testing shell script #13

Deployer/testing shell script

Deployer/testing shell script #13

Triggered via pull request November 30, 2023 14:32
Status Failure
Total duration 2m 3s
Artifacts

clippy.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
this loop never actually loops: stacks-common/./src/deps_common/httparse/mod.rs#L748
error: this loop never actually loops --> stacks-common/./src/deps_common/httparse/mod.rs:748:13 | 748 | / 'value: loop { 749 | | // eat white space between colon and value 750 | | 'whitespace: loop { 751 | | b = next!(bytes); ... | 792 | | } 793 | | } | |_____________^ | = 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
call to `reserve` immediately after creation: stacks-common/./src/util/hash.rs#L546
error: call to `reserve` immediately after creation --> stacks-common/./src/util/hash.rs:546:9 | 546 | / let mut path: MerklePath<H> = vec![]; 547 | | path.reserve(self.nodes.len()); | |_______________________________________^ help: consider using `Vec::with_capacity(/* Space hint */)`: `let mut path: MerklePath<H> = Vec::with_capacity(self.nodes.len());` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#reserve_after_initialization
call to `reserve` immediately after creation: stacks-common/./src/util/hash.rs#L422
error: call to `reserve` immediately after creation --> stacks-common/./src/util/hash.rs:422:13 | 422 | / let mut row_hashes = vec![]; 423 | | row_hashes.reserve(nodes[i].len() / 2); | |___________________________________________________^ help: consider using `Vec::with_capacity(/* Space hint */)`: `let mut row_hashes = Vec::with_capacity(nodes[i].len() / 2);` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#reserve_after_initialization = note: `-D clippy::reserve-after-initialization` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::reserve_after_initialization)]`
Clippy Check
Clippy had exited with the 101 exit code
Clippy Check
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/