Skip to content

Bump prometheus from 0.13.3 to 0.13.4 #421

Bump prometheus from 0.13.3 to 0.13.4

Bump prometheus from 0.13.3 to 0.13.4 #421

Triggered via push May 7, 2024 16:30
Status Success
Total duration 2m 2s
Artifacts

ci.yml

on: push
Check Style
37s
Check Style
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

22 warnings
useless use of `vec!`: src/prom/metrics.rs#L130
warning: useless use of `vec!` --> src/prom/metrics.rs:130:9 | 130 | / vec![ 131 | | self.round_trip_time.collect(), 132 | | self.packet_delay_variation.collect(), 133 | | self.ping_sent.collect(), ... | 136 | | self.last_observed_seq.collect(), 137 | | ] | |_________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec help: you can use an array directly | 130 ~ [self.round_trip_time.collect(), 131 + self.packet_delay_variation.collect(), 132 + self.ping_sent.collect(), 133 + self.ping_received.collect(), 134 + self.ping_errors.collect(), 135 + self.last_observed_seq.collect()] |
useless use of `vec!`: src/prom/metrics.rs#L118
warning: useless use of `vec!` --> src/prom/metrics.rs:118:9 | 118 | / vec![ 119 | | self.round_trip_time.desc(), 120 | | self.packet_delay_variation.desc(), 121 | | self.ping_sent.desc(), ... | 124 | | self.last_observed_seq.desc(), 125 | | ] | |_________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec = note: `#[warn(clippy::useless_vec)]` on by default help: you can use an array directly | 118 ~ [self.round_trip_time.desc(), 119 + self.packet_delay_variation.desc(), 120 + self.ping_sent.desc(), 121 + self.ping_received.desc(), 122 + self.ping_errors.desc(), 123 + self.last_observed_seq.desc()] |
methods called `as_*` usually take `self` by reference or `self` by mutable reference: src/event_stream/mod.rs#L127
warning: methods called `as_*` usually take `self` by reference or `self` by mutable reference --> src/event_stream/mod.rs:127:23 | 127 | fn as_eventstream(self) -> io::Result<PendingStream<Self>>; | ^^^^ | = help: consider choosing a less ambiguous name = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention = note: `#[warn(clippy::wrong_self_convention)]` on by default
field `inner` is never read: src/event_stream/util.rs#L162
warning: field `inner` is never read --> src/event_stream/util.rs:162:9 | 161 | pub struct Claim { | ----- field in this struct 162 | inner: OwnedMutexGuard<()>, | ^^^^^ | = note: `Claim` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default
Check Style
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1, actions-rs/clippy-check@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Check Style
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, 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 Style
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 Style
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 Style
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 Style
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/
Test (stable)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test (stable)
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/
Test (stable)
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/
Test (stable)
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/
Test (stable)
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/
Test (stable)
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/
Test (stable): src/event_stream/mod.rs#L186
unused imports: `as_stderr`, `as_stdout`
Test (stable)
`fping_exporter` (bin "fping_exporter" test) generated 1 warning (run `cargo fix --bin "fping_exporter" --tests` to apply 1 suggestion)
Test (stable)
the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.17.1
Test (stable): src/event_stream/util.rs#L162
field `inner` is never read
Test (stable)
`fping_exporter` (bin "fping_exporter") generated 1 warning
Test (stable)
the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.17.1