Merge pull request #37 from omarmhaimdat/0.0.1-alpha.20 #82
Annotations
11 warnings
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs/toolchain@v1, actions-rs/clippy@master. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/clippy@master. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Run actions-rs/toolchain@v1
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/
|
Run actions-rs/toolchain@v1
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/
|
Run actions-rs/toolchain@v1
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/
|
Run actions-rs/toolchain@v1
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/
|
Run actions-rs/clippy@master:
quickner-core/src/quickner.rs#L50
warning: associated function `find_index` is never used
--> quickner-core/src/quickner.rs:68:19
|
50 | impl Quickner {
| ------------- associated function in this implementation
...
68 | pub(crate) fn find_index(
| ^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
Run actions-rs/clippy@master:
src/pydocument.rs#L59
warning: use of `unwrap_or` to construct default value
--> src/pydocument.rs:59:26
|
59 | label: label.unwrap_or(Vec::new()),
| ^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default
= note: `#[warn(clippy::unwrap_or_default)]` on by default
|
Run actions-rs/clippy@master:
src/pydocument.rs#L59
warning: use of `unwrap_or` to construct default value
--> src/pydocument.rs:59:26
|
59 | label: label.unwrap_or(Vec::new()),
| ^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default
= note: `#[warn(clippy::unwrap_or_default)]` on by default
|
Run actions-rs/clippy@master:
src/pydocument.rs#L126
warning: useless use of `vec!`
--> src/pydocument.rs:126:31
|
126 | let possible_colors = vec![
| _______________________________^
127 | | TermColor::Red,
128 | | TermColor::Green,
129 | | TermColor::Yellow,
... |
132 | | TermColor::Cyan,
133 | | ];
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
= note: `#[warn(clippy::useless_vec)]` on by default
help: you can use an array directly
|
126 ~ let possible_colors = [TermColor::Red,
127 + TermColor::Green,
128 + TermColor::Yellow,
129 + TermColor::Blue,
130 + TermColor::Magenta,
131 ~ TermColor::Cyan];
|
|
Run actions-rs/clippy@master:
src/pydocument.rs#L126
warning: useless use of `vec!`
--> src/pydocument.rs:126:31
|
126 | let possible_colors = vec![
| _______________________________^
127 | | TermColor::Red,
128 | | TermColor::Green,
129 | | TermColor::Yellow,
... |
132 | | TermColor::Cyan,
133 | | ];
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
= note: `#[warn(clippy::useless_vec)]` on by default
help: you can use an array directly
|
126 ~ let possible_colors = [TermColor::Red,
127 + TermColor::Green,
128 + TermColor::Yellow,
129 + TermColor::Blue,
130 + TermColor::Magenta,
131 ~ TermColor::Cyan];
|
|
Loading