Update toml requirement from 0.7.6 to 0.8.8 #144
Annotations
5 errors and 5 warnings
casting `usize` to `i64` may wrap around the value on targets with 64-bit wide pointers:
src/nat/table.rs#L45
error: casting `usize` to `i64` may wrap around the value on targets with 64-bit wide pointers
--> src/nat/table.rs:45:28
|
45 | IPV4_POOL_SIZE.set(total_size as i64);
| ^^^^^^^^^^^^^^^^^
|
= note: `#[deny(clippy::cast_possible_wrap)]` implied by `#[deny(clippy::pedantic)]`
|
matching over `()` is more explicit:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/prometheus-0.13.3/src/macros.rs#L673
error: matching over `()` is more explicit
--> src/metrics/metrics.rs:29:54
|
29 | pub static ref IPV4_POOL_RESERVED: IntGaugeVec = register_int_gauge_vec!(
| ______________________________________________________^
30 | | "ipv4_pool_reserved",
31 | | "Number of IPv4 addresses currently reserved",
32 | | &["static"]
33 | | ).unwrap();
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ignored_unit_patterns
= note: this error originates in the macro `__register_gauge_vec` which comes from the expansion of the macro `register_int_gauge_vec` (in Nightly builds, run with -Z macro-backtrace for more info)
|
matching over `()` is more explicit:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/prometheus-0.13.3/src/macros.rs#L546
error: matching over `()` is more explicit
--> src/metrics/metrics.rs:23:47
|
23 | pub static ref IPV4_POOL_SIZE: IntGauge = register_int_gauge!(
| _______________________________________________^
24 | | "ipv4_pool_size",
25 | | "Number of IPv4 addresses in the pool"
26 | | ).unwrap();
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ignored_unit_patterns
= note: this error originates in the macro `__register_gauge` which comes from the expansion of the macro `register_int_gauge` (in Nightly builds, run with -Z macro-backtrace for more info)
|
matching over `()` is more explicit:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/prometheus-0.13.3/src/macros.rs#L364
error: matching over `()` is more explicit
--> src/metrics/metrics.rs:16:50
|
16 | pub static ref ICMP_COUNTER: IntCounterVec = register_int_counter_vec!(
| __________________________________________________^
17 | | "icmp",
18 | | "Number of ICMP packets processed",
19 | | &["protocol", "type", "code"]
20 | | ).unwrap();
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ignored_unit_patterns
= note: this error originates in the macro `__register_counter_vec` which comes from the expansion of the macro `register_int_counter_vec` (in Nightly builds, run with -Z macro-backtrace for more info)
|
matching over `()` is more explicit:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/prometheus-0.13.3/src/macros.rs#L364
error: matching over `()` is more explicit
--> src/metrics/metrics.rs:9:52
|
9 | pub static ref PACKET_COUNTER: IntCounterVec = register_int_counter_vec!(
| ____________________________________________________^
10 | | "packets",
11 | | "Number of packets processed",
12 | | &["protocol", "status"]
13 | | ).unwrap();
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ignored_unit_patterns
note: the lint level is defined here
--> src/lib.rs:5:9
|
5 | #![deny(clippy::pedantic)]
| ^^^^^^^^^^^^^^^^
= note: `#[deny(clippy::ignored_unit_patterns)]` implied by `#[deny(clippy::pedantic)]`
= note: this error originates in the macro `__register_counter_vec` which comes from the expansion of the macro `register_int_counter_vec` (in Nightly builds, run with -Z macro-backtrace for more info)
|
Rust project
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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/
|
Rust project
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/
|
Rust project
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/
|
Rust project
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/
|
Rust project
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/
|