Adding debugging workflows #14438
build+test.yml
on: pull_request
rustfmt
14s
check
1m 35s
test
26m 21s
clippy
1m 25s
web-client
2m 39s
web-client-lib
3m 2s
reconnect-test
12m 10s
Annotations
2 warnings
explicit call to `.into_iter()` in function argument accepting `IntoIterator`:
network-libp2p/src/network_metrics.rs#L26
warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator`
--> network-libp2p/src/network_metrics.rs:26:44
|
26 | response_times: Histogram::new([0.01, 0.02, 0.05, 0.1, 0.2, 0.5, 1.0, 2.0].into_iter()),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing the `.into_iter()`: `[0.01, 0.02, 0.05, 0.1, 0.2, 0.5, 1.0, 2.0]`
|
note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/prometheus-client-0.23.1/src/metrics/histogram.rs:65:30
|
65 | pub fn new(buckets: impl IntoIterator<Item = f64>) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `#[warn(clippy::useless_conversion)]` on by default
|
explicit call to `.into_iter()` in function argument accepting `IntoIterator`:
network-libp2p/src/network_metrics.rs#L26
warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator`
--> network-libp2p/src/network_metrics.rs:26:44
|
26 | response_times: Histogram::new([0.01, 0.02, 0.05, 0.1, 0.2, 0.5, 1.0, 2.0].into_iter()),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing the `.into_iter()`: `[0.01, 0.02, 0.05, 0.1, 0.2, 0.5, 1.0, 2.0]`
|
note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/prometheus-client-0.23.1/src/metrics/histogram.rs:65:30
|
65 | pub fn new(buckets: impl IntoIterator<Item = f64>) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `#[warn(clippy::useless_conversion)]` on by default
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
reconnect-test-logs
|
285 KB |
|