chore(dep): bump the deps group with 7 updates (#196) #317
Annotations
37 warnings and 2 notices
|
variables can be used directly in the `format!` string:
src/bin/lc.rs#L11
warning: variables can be used directly in the `format!` string
--> src/bin/lc.rs:11:9
|
11 | println!("{:?}", err);
| ^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
= note: `#[warn(clippy::uninlined_format_args)]` on by default
help: change this to
|
11 - println!("{:?}", err);
11 + println!("{err:?}");
|
|
|
variables can be used directly in the `format!` string:
src/cmds/stat.rs#L122
warning: variables can be used directly in the `format!` string
--> src/cmds/stat.rs:122:13
|
122 | println!("{}", udone);
| ^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
122 - println!("{}", udone);
122 + println!("{udone}");
|
|
|
variables can be used directly in the `format!` string:
src/cmds/stat.rs#L121
warning: variables can be used directly in the `format!` string
--> src/cmds/stat.rs:121:13
|
121 | print!("{}", done);
| ^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
121 - print!("{}", done);
121 + print!("{done}");
|
|
|
variables can be used directly in the `format!` string:
src/cmds/stat.rs#L112
warning: variables can be used directly in the `format!` string
--> src/cmds/stat.rs:112:13
|
112 | print!("{}", line);
| ^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
112 - print!("{}", line);
112 + print!("{line}");
|
|
|
variables can be used directly in the `format!` string:
src/cmds/pick.rs#L169
warning: variables can be used directly in the `format!` string
--> src/cmds/pick.rs:169:17
|
169 | eprintln!("{:?}", e);
| ^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
169 - eprintln!("{:?}", e);
169 + eprintln!("{e:?}");
|
|
|
variables can be used directly in the `format!` string:
src/cmds/data.rs#L92
warning: variables can be used directly in the `format!` string
--> src/cmds/data.rs:92:13
|
92 | println!("{}\n", out);
| ^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
92 - println!("{}\n", out);
92 + println!("{out}\n");
|
|
|
variables can be used directly in the `format!` string:
src/cmds/completions.rs#L57
warning: variables can be used directly in the `format!` string
--> src/cmds/completions.rs:57:5
|
57 | println!("{}", completions);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
57 - println!("{}", completions);
57 + println!("{completions}");
|
|
|
variables can be used directly in the `format!` string:
src/cli.rs#L21
warning: variables can be used directly in the `format!` string
--> src/cli.rs:21:30
|
21 | .map_err(|e| println!("{:?}", e));
| ^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
21 - .map_err(|e| println!("{:?}", e));
21 + .map_err(|e| println!("{e:?}"));
|
|
|
variables can be used directly in the `format!` string:
src/cache/mod.rs#L381
warning: variables can be used directly in the `format!` string
--> src/cache/mod.rs:381:9
|
381 | trace!("Recur verify result {:#?}", res);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
381 - trace!("Recur verify result {:#?}", res);
381 + trace!("Recur verify result {res:#?}");
|
|
|
variables can be used directly in the `format!` string:
src/cache/mod.rs#L364
warning: variables can be used directly in the `format!` string
--> src/cache/mod.rs:364:9
|
364 | trace!("Run code result {:#?}", run_res);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
364 - trace!("Run code result {:#?}", run_res);
364 + trace!("Run code result {run_res:#?}");
|
|
|
variables can be used directly in the `format!` string:
src/cache/mod.rs#L350
warning: variables can be used directly in the `format!` string
--> src/cache/mod.rs:350:9
|
350 | trace!("Pre-run code result {:#?}, {}, {}", json, url, refer);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
350 - trace!("Pre-run code result {:#?}, {}, {}", json, url, refer);
350 + trace!("Pre-run code result {json:#?}, {url}, {refer}");
|
|
|
variables can be used directly in the `format!` string:
src/cache/mod.rs#L21
warning: variables can be used directly in the `format!` string
--> src/cache/mod.rs:21:56
|
21 | SqliteConnection::establish(&p).unwrap_or_else(|_| panic!("Error connecting to {:?}", p))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
= note: `#[warn(clippy::uninlined_format_args)]` on by default
help: change this to
|
21 - SqliteConnection::establish(&p).unwrap_or_else(|_| panic!("Error connecting to {:?}", p))
21 + SqliteConnection::establish(&p).unwrap_or_else(|_| panic!("Error connecting to {p:?}"))
|
|
|
called `Iterator::last` on a `DoubleEndedIterator`; this will needlessly iterate the entire iterator:
src/cache/parser.rs#L18
warning: called `Iterator::last` on a `DoubleEndedIterator`; this will needlessly iterate the entire iterator
--> src/cache/parser.rs:18:21
|
18 | None => fid_obj.as_str()?.split(' ').last()?.parse::<i32>().ok()?,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------
| |
| help: try: `next_back()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_ended_iterator_last
= note: `#[warn(clippy::double_ended_iterator_last)]` on by default
|
|
empty lines after doc comment:
src/cmds/completions.rs#L12
warning: empty lines after doc comment
--> src/cmds/completions.rs:12:1
|
12 | / /// Generate shell Completions
13 | |
14 | | /// USAGE:
15 | | /// leetcode completions <shell>
16 | |
| |_^
...
20 | pub struct CompletionCommand;
| ---------------------------- the comment documents this struct
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments
= note: `#[warn(clippy::empty_line_after_doc_comments)]` on by default
= help: if the empty lines are unintentional, remove them
help: if the documentation should include the empty lines include them in the comment
|
13 + ///
14 | /// USAGE:
15 | /// leetcode completions <shell>
16 + ///
|
|
|
variables can be used directly in the `format!` string:
src/bin/lc.rs#L11
warning: variables can be used directly in the `format!` string
--> src/bin/lc.rs:11:9
|
11 | println!("{:?}", err);
| ^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
= note: `#[warn(clippy::uninlined_format_args)]` on by default
help: change this to
|
11 - println!("{:?}", err);
11 + println!("{err:?}");
|
|
|
variables can be used directly in the `format!` string:
src/cmds/stat.rs#L122
warning: variables can be used directly in the `format!` string
--> src/cmds/stat.rs:122:13
|
122 | println!("{}", udone);
| ^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
122 - println!("{}", udone);
122 + println!("{udone}");
|
|
|
variables can be used directly in the `format!` string:
src/cmds/stat.rs#L121
warning: variables can be used directly in the `format!` string
--> src/cmds/stat.rs:121:13
|
121 | print!("{}", done);
| ^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
121 - print!("{}", done);
121 + print!("{done}");
|
|
|
variables can be used directly in the `format!` string:
src/cmds/stat.rs#L112
warning: variables can be used directly in the `format!` string
--> src/cmds/stat.rs:112:13
|
112 | print!("{}", line);
| ^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
112 - print!("{}", line);
112 + print!("{line}");
|
|
|
variables can be used directly in the `format!` string:
src/cmds/pick.rs#L169
warning: variables can be used directly in the `format!` string
--> src/cmds/pick.rs:169:17
|
169 | eprintln!("{:?}", e);
| ^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
169 - eprintln!("{:?}", e);
169 + eprintln!("{e:?}");
|
|
|
variables can be used directly in the `format!` string:
src/cmds/data.rs#L92
warning: variables can be used directly in the `format!` string
--> src/cmds/data.rs:92:13
|
92 | println!("{}\n", out);
| ^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
92 - println!("{}\n", out);
92 + println!("{out}\n");
|
|
|
variables can be used directly in the `format!` string:
src/cmds/completions.rs#L57
warning: variables can be used directly in the `format!` string
--> src/cmds/completions.rs:57:5
|
57 | println!("{}", completions);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
57 - println!("{}", completions);
57 + println!("{completions}");
|
|
|
variables can be used directly in the `format!` string:
src/cli.rs#L21
warning: variables can be used directly in the `format!` string
--> src/cli.rs:21:30
|
21 | .map_err(|e| println!("{:?}", e));
| ^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
21 - .map_err(|e| println!("{:?}", e));
21 + .map_err(|e| println!("{e:?}"));
|
|
|
variables can be used directly in the `format!` string:
src/cache/mod.rs#L381
warning: variables can be used directly in the `format!` string
--> src/cache/mod.rs:381:9
|
381 | trace!("Recur verify result {:#?}", res);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
381 - trace!("Recur verify result {:#?}", res);
381 + trace!("Recur verify result {res:#?}");
|
|
|
variables can be used directly in the `format!` string:
src/cache/mod.rs#L364
warning: variables can be used directly in the `format!` string
--> src/cache/mod.rs:364:9
|
364 | trace!("Run code result {:#?}", run_res);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
364 - trace!("Run code result {:#?}", run_res);
364 + trace!("Run code result {run_res:#?}");
|
|
|
variables can be used directly in the `format!` string:
src/cache/mod.rs#L350
warning: variables can be used directly in the `format!` string
--> src/cache/mod.rs:350:9
|
350 | trace!("Pre-run code result {:#?}, {}, {}", json, url, refer);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
350 - trace!("Pre-run code result {:#?}, {}, {}", json, url, refer);
350 + trace!("Pre-run code result {json:#?}, {url}, {refer}");
|
|
|
variables can be used directly in the `format!` string:
src/cache/mod.rs#L21
warning: variables can be used directly in the `format!` string
--> src/cache/mod.rs:21:56
|
21 | SqliteConnection::establish(&p).unwrap_or_else(|_| panic!("Error connecting to {:?}", p))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
= note: `#[warn(clippy::uninlined_format_args)]` on by default
help: change this to
|
21 - SqliteConnection::establish(&p).unwrap_or_else(|_| panic!("Error connecting to {:?}", p))
21 + SqliteConnection::establish(&p).unwrap_or_else(|_| panic!("Error connecting to {p:?}"))
|
|
|
called `Iterator::last` on a `DoubleEndedIterator`; this will needlessly iterate the entire iterator:
src/cache/parser.rs#L18
warning: called `Iterator::last` on a `DoubleEndedIterator`; this will needlessly iterate the entire iterator
--> src/cache/parser.rs:18:21
|
18 | None => fid_obj.as_str()?.split(' ').last()?.parse::<i32>().ok()?,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------
| |
| help: try: `next_back()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_ended_iterator_last
= note: `#[warn(clippy::double_ended_iterator_last)]` on by default
|
|
empty lines after doc comment:
src/cmds/completions.rs#L12
warning: empty lines after doc comment
--> src/cmds/completions.rs:12:1
|
12 | / /// Generate shell Completions
13 | |
14 | | /// USAGE:
15 | | /// leetcode completions <shell>
16 | |
| |_^
...
20 | pub struct CompletionCommand;
| ---------------------------- the comment documents this struct
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments
= note: `#[warn(clippy::empty_line_after_doc_comments)]` on by default
= help: if the empty lines are unintentional, remove them
help: if the documentation should include the empty lines include them in the comment
|
13 + ///
14 | /// USAGE:
15 | /// leetcode completions <shell>
16 + ///
|
|
|
build (macOS-latest)
sqlite 3.50.3 is already installed and up-to-date.
To reinstall 3.50.3, run:
brew reinstall sqlite
|
|
build (macOS-latest)
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/
|
|
build (macOS-latest)
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/
|
|
build (macOS-latest)
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/
|
|
build (macOS-latest)
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/
|
|
build (ubuntu-latest)
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/
|
|
build (ubuntu-latest)
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/
|
|
build (ubuntu-latest)
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/
|
|
build (ubuntu-latest)
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/
|
|
build (macOS-latest)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
|
|
build (macOS-latest)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
|