Avoid panic when time jumps backwards. #685
reviewdog [clippy] report
reported by reviewdog 🐶
Findings (10)
src/discovery/discovery.rs|315 col 43| warning: this looks like a formatting argument but it is not part of a formatting macro
--> src/discovery/discovery.rs:315:43
|
315 | "Failed to allocate discovery poll. {:?}"
| ^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#literal_string_with_formatting_args
= note: #[warn(clippy::literal_string_with_formatting_args)]
on by default
src/discovery/discovery.rs|324 col 47| warning: this looks like a formatting argument but it is not part of a formatting macro
--> src/discovery/discovery.rs:324:47
|
324 | "Unable to create Discovery Subscriber. {:?}"
| ^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#literal_string_with_formatting_args
src/discovery/discovery.rs|328 col 46| warning: this looks like a formatting argument but it is not part of a formatting macro
--> src/discovery/discovery.rs:328:46
|
328 | "Unable to create Discovery Publisher. {:?}"
| ^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#literal_string_with_formatting_args
src/discovery/discovery.rs|396 col 43| warning: this looks like a formatting argument but it is not part of a formatting macro
--> src/discovery/discovery.rs:396:43
|
396 | "Failed to register Discovery poll. {:?}"
| ^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#literal_string_with_formatting_args
src/discovery/discovery.rs|406 col 43| warning: this looks like a formatting argument but it is not part of a formatting macro
--> src/discovery/discovery.rs:406:43
|
406 | "Failed to register Discovery poll. {:?}"
| ^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#literal_string_with_formatting_args
src/discovery/discovery.rs|437 col 52| warning: this looks like a formatting argument but it is not part of a formatting macro
--> src/discovery/discovery.rs:437:52
|
437 | "Unable to create participant cleanup timer. {:?}"
| ^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#literal_string_with_formatting_args
src/discovery/discovery.rs|496 col 48| warning: this looks like a formatting argument but it is not part of a formatting macro
--> src/discovery/discovery.rs:496:48
|
496 | "Unable to register topic cleanup timer. {:?}"
| ^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#literal_string_with_formatting_args
src/dds/with_key/datareader.rs|895 col 60| warning: this looks like a formatting argument but it is not part of a formatting macro
--> src/dds/with_key/datareader.rs:895:60
|
895 | reason: "DataReaderStream could not lock datareader: {e:?}".to_string(),
| ^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#literal_string_with_formatting_args
src/dds/with_key/datareader.rs|987 col 60| warning: this looks like a formatting argument but it is not part of a formatting macro
--> src/dds/with_key/datareader.rs:987:60
|
987 | reason: "DataReaderStream could not lock datareader: {e:?}".to_string(),
| ^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#literal_string_with_formatting_args
src/dds/with_key/datareader.rs|1074 col 65| warning: this looks like a formatting argument but it is not part of a formatting macro
--> src/dds/with_key/datareader.rs:1074:65
|
1074 | reason: "DataReaderEventStream could not lock datareader: {e:?}".to_string(),
| ^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#literal_string_with_formatting_args
Filtered Findings (0)
Annotations
Check warning on line 315 in src/discovery/discovery.rs
github-actions / clippy
[clippy] src/discovery/discovery.rs#L315
warning: this looks like a formatting argument but it is not part of a formatting macro
--> src/discovery/discovery.rs:315:43
|
315 | "Failed to allocate discovery poll. {:?}"
| ^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#literal_string_with_formatting_args
= note: `#[warn(clippy::literal_string_with_formatting_args)]` on by default
Raw output
src/discovery/discovery.rs:315:43:w:warning: this looks like a formatting argument but it is not part of a formatting macro
--> src/discovery/discovery.rs:315:43
|
315 | "Failed to allocate discovery poll. {:?}"
| ^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#literal_string_with_formatting_args
= note: `#[warn(clippy::literal_string_with_formatting_args)]` on by default
__END__
Check warning on line 324 in src/discovery/discovery.rs
github-actions / clippy
[clippy] src/discovery/discovery.rs#L324
warning: this looks like a formatting argument but it is not part of a formatting macro
--> src/discovery/discovery.rs:324:47
|
324 | "Unable to create Discovery Subscriber. {:?}"
| ^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#literal_string_with_formatting_args
Raw output
src/discovery/discovery.rs:324:47:w:warning: this looks like a formatting argument but it is not part of a formatting macro
--> src/discovery/discovery.rs:324:47
|
324 | "Unable to create Discovery Subscriber. {:?}"
| ^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#literal_string_with_formatting_args
__END__
Check warning on line 328 in src/discovery/discovery.rs
github-actions / clippy
[clippy] src/discovery/discovery.rs#L328
warning: this looks like a formatting argument but it is not part of a formatting macro
--> src/discovery/discovery.rs:328:46
|
328 | "Unable to create Discovery Publisher. {:?}"
| ^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#literal_string_with_formatting_args
Raw output
src/discovery/discovery.rs:328:46:w:warning: this looks like a formatting argument but it is not part of a formatting macro
--> src/discovery/discovery.rs:328:46
|
328 | "Unable to create Discovery Publisher. {:?}"
| ^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#literal_string_with_formatting_args
__END__
Check warning on line 396 in src/discovery/discovery.rs
github-actions / clippy
[clippy] src/discovery/discovery.rs#L396
warning: this looks like a formatting argument but it is not part of a formatting macro
--> src/discovery/discovery.rs:396:43
|
396 | "Failed to register Discovery poll. {:?}"
| ^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#literal_string_with_formatting_args
Raw output
src/discovery/discovery.rs:396:43:w:warning: this looks like a formatting argument but it is not part of a formatting macro
--> src/discovery/discovery.rs:396:43
|
396 | "Failed to register Discovery poll. {:?}"
| ^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#literal_string_with_formatting_args
__END__
Check warning on line 406 in src/discovery/discovery.rs
github-actions / clippy
[clippy] src/discovery/discovery.rs#L406
warning: this looks like a formatting argument but it is not part of a formatting macro
--> src/discovery/discovery.rs:406:43
|
406 | "Failed to register Discovery poll. {:?}"
| ^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#literal_string_with_formatting_args
Raw output
src/discovery/discovery.rs:406:43:w:warning: this looks like a formatting argument but it is not part of a formatting macro
--> src/discovery/discovery.rs:406:43
|
406 | "Failed to register Discovery poll. {:?}"
| ^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#literal_string_with_formatting_args
__END__
Check warning on line 437 in src/discovery/discovery.rs
github-actions / clippy
[clippy] src/discovery/discovery.rs#L437
warning: this looks like a formatting argument but it is not part of a formatting macro
--> src/discovery/discovery.rs:437:52
|
437 | "Unable to create participant cleanup timer. {:?}"
| ^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#literal_string_with_formatting_args
Raw output
src/discovery/discovery.rs:437:52:w:warning: this looks like a formatting argument but it is not part of a formatting macro
--> src/discovery/discovery.rs:437:52
|
437 | "Unable to create participant cleanup timer. {:?}"
| ^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#literal_string_with_formatting_args
__END__
Check warning on line 496 in src/discovery/discovery.rs
github-actions / clippy
[clippy] src/discovery/discovery.rs#L496
warning: this looks like a formatting argument but it is not part of a formatting macro
--> src/discovery/discovery.rs:496:48
|
496 | "Unable to register topic cleanup timer. {:?}"
| ^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#literal_string_with_formatting_args
Raw output
src/discovery/discovery.rs:496:48:w:warning: this looks like a formatting argument but it is not part of a formatting macro
--> src/discovery/discovery.rs:496:48
|
496 | "Unable to register topic cleanup timer. {:?}"
| ^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#literal_string_with_formatting_args
__END__
Check warning on line 895 in src/dds/with_key/datareader.rs
github-actions / clippy
[clippy] src/dds/with_key/datareader.rs#L895
warning: this looks like a formatting argument but it is not part of a formatting macro
--> src/dds/with_key/datareader.rs:895:60
|
895 | reason: "DataReaderStream could not lock datareader: {e:?}".to_string(),
| ^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#literal_string_with_formatting_args
Raw output
src/dds/with_key/datareader.rs:895:60:w:warning: this looks like a formatting argument but it is not part of a formatting macro
--> src/dds/with_key/datareader.rs:895:60
|
895 | reason: "DataReaderStream could not lock datareader: {e:?}".to_string(),
| ^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#literal_string_with_formatting_args
__END__
Check warning on line 987 in src/dds/with_key/datareader.rs
github-actions / clippy
[clippy] src/dds/with_key/datareader.rs#L987
warning: this looks like a formatting argument but it is not part of a formatting macro
--> src/dds/with_key/datareader.rs:987:60
|
987 | reason: "DataReaderStream could not lock datareader: {e:?}".to_string(),
| ^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#literal_string_with_formatting_args
Raw output
src/dds/with_key/datareader.rs:987:60:w:warning: this looks like a formatting argument but it is not part of a formatting macro
--> src/dds/with_key/datareader.rs:987:60
|
987 | reason: "DataReaderStream could not lock datareader: {e:?}".to_string(),
| ^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#literal_string_with_formatting_args
__END__
Check warning on line 1074 in src/dds/with_key/datareader.rs
github-actions / clippy
[clippy] src/dds/with_key/datareader.rs#L1074
warning: this looks like a formatting argument but it is not part of a formatting macro
--> src/dds/with_key/datareader.rs:1074:65
|
1074 | reason: "DataReaderEventStream could not lock datareader: {e:?}".to_string(),
| ^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#literal_string_with_formatting_args
Raw output
src/dds/with_key/datareader.rs:1074:65:w:warning: this looks like a formatting argument but it is not part of a formatting macro
--> src/dds/with_key/datareader.rs:1074:65
|
1074 | reason: "DataReaderEventStream could not lock datareader: {e:?}".to_string(),
| ^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#literal_string_with_formatting_args
__END__