Update deps #143
Annotations
7 warnings
`filter_map()` will run forever if the iterator repeatedly produces an `Err`:
src/main.rs#L329
warning: `filter_map()` will run forever if the iterator repeatedly produces an `Err`
--> src/main.rs:329:47
|
329 | let proper_lines: Vec<String> = lines.filter_map(|x| x.ok()).collect();
| ^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `map_while(Result::ok)`
|
note: this expression returning a `std::io::Lines` may produce an infinite number of `Err` in case of a read error
--> src/main.rs:329:41
|
329 | let proper_lines: Vec<String> = lines.filter_map(|x| x.ok()).collect();
| ^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#lines_filter_map_ok
= note: `#[warn(clippy::lines_filter_map_ok)]` on by default
|
this function has too many arguments (11/7):
src/lib.rs#L33
warning: this function has too many arguments (11/7)
--> src/lib.rs:33:1
|
33 | / pub fn do_pickle<'a>(
34 | | prefix: Option<&'a String>,
35 | | suffix: Option<&'a String>,
36 | | exclude_rename: HashSet<&'a String>,
... |
44 | | remove_timeunits: bool,
45 | | ) -> Result<Pickle<'a>> {
| |_______________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
|
this function has too many arguments (9/7):
src/printer.rs#L183
warning: this function has too many arguments (9/7)
--> src/printer.rs:183:5
|
183 | / fn print_pretty(
184 | | &mut self,
185 | | src: &str,
186 | | print_pos: usize,
... |
192 | | reason: Option<&str>,
193 | | ) {
| |______^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
= note: `#[warn(clippy::too_many_arguments)]` on by default
|
Clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Build (linux)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Build (windows)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Build (macos)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|