Update ring requirement from 0.16 to 0.17 #486
Annotations
1 error and 4 warnings
lint
reviewdog exited with status code: 1
|
lint:
src/messages/submessages.rs#L39
[clippy] reported by reviewdog 🐶
warning: unused import: `info_source::*`
--> src/messages/submessages.rs:39:60
|
39 | heartbeat_frag::*, info_destination::*, info_reply::*, info_source::*, info_timestamp::*,
| ^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
Raw Output:
src/messages/submessages.rs:39:60:w:warning: unused import: `info_source::*`
--> src/messages/submessages.rs:39:60
|
39 | heartbeat_frag::*, info_destination::*, info_reply::*, info_source::*, info_timestamp::*,
| ^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
__END__
|
lint:
src/structure/locator.rs#L2
[clippy] reported by reviewdog 🐶
warning: unused import: `IpAddr`
--> src/structure/locator.rs:2:20
|
2 | pub use std::net::{IpAddr, Ipv4Addr, Ipv6Addr, SocketAddr};
| ^^^^^^
Raw Output:
src/structure/locator.rs:2:20:w:warning: unused import: `IpAddr`
--> src/structure/locator.rs:2:20
|
2 | pub use std::net::{IpAddr, Ipv4Addr, Ipv6Addr, SocketAddr};
| ^^^^^^
__END__
|
lint:
src/structure/time.rs#L56
[clippy] reported by reviewdog 🐶
warning: use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead
--> src/structure/time.rs:56:41
|
56 | Self::from_nanos(chrono::Utc::now().timestamp_nanos() as u64)
| ^^^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
Raw Output:
src/structure/time.rs:56:41:w:warning: use of deprecated method `chrono::DateTime::<Tz>::timestamp_nanos`: use `timestamp_nanos_opt()` instead
--> src/structure/time.rs:56:41
|
56 | Self::from_nanos(chrono::Utc::now().timestamp_nanos() as u64)
| ^^^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
__END__
|
lint:
src/rtps/reader.rs#L883
[clippy] reported by reviewdog 🐶
warning: accessing first element with `missing_seqnums.get(0)`
--> src/rtps/reader.rs:883:39
|
883 | let reader_sn_state = match missing_seqnums.get(0) {
| ^^^^^^^^^^^^^^^^^^^^^^ help: try: `missing_seqnums.first()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
= note: `#[warn(clippy::get_first)]` on by default
Raw Output:
src/rtps/reader.rs:883:39:w:warning: accessing first element with `missing_seqnums.get(0)`
--> src/rtps/reader.rs:883:39
|
883 | let reader_sn_state = match missing_seqnums.get(0) {
| ^^^^^^^^^^^^^^^^^^^^^^ help: try: `missing_seqnums.first()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
= note: `#[warn(clippy::get_first)]` on by default
__END__
|