Skip to content

Update sysinfo requirement from 0.30.5 to 0.31.2 (#261) #347

Update sysinfo requirement from 0.30.5 to 0.31.2 (#261)

Update sysinfo requirement from 0.30.5 to 0.31.2 (#261) #347

Triggered via push August 5, 2024 23:14
Status Success
Total duration 1m 2s
Artifacts

clippy_check.yml

on: push
clippy_check
53s
clippy_check
Fit to window
Zoom out
Zoom in

Annotations

18 warnings
the borrowed expression implements the required traits: yaml_test_runner/src/generator.rs#L413
warning: the borrowed expression implements the required traits --> yaml_test_runner/src/generator.rs:413:47 | 413 | let yaml = fs::read_to_string(&entry.path()).unwrap(); | ^^^^^^^^^^^^^ help: change this to: `entry.path()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
the following explicit lifetimes could be elided: 'a: opensearch/src/root/mod.rs#L9250
warning: the following explicit lifetimes could be elided: 'a --> opensearch/src/root/mod.rs:9250:37 | 9250 | pub fn scripts_painless_execute<'a, 'b>(&'a self) -> ScriptsPainlessExecute<'a, 'b, ()> { | ^^ ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 9250 - pub fn scripts_painless_execute<'a, 'b>(&'a self) -> ScriptsPainlessExecute<'a, 'b, ()> { 9250 + pub fn scripts_painless_execute<'b>(&self) -> ScriptsPainlessExecute<'_, 'b, ()> { |
the following explicit lifetimes could be elided: 'a: opensearch/src/root/mod.rs#L9230
warning: the following explicit lifetimes could be elided: 'a --> opensearch/src/root/mod.rs:9230:20 | 9230 | pub fn reindex<'a, 'b>(&'a self) -> Reindex<'a, 'b, ()> { | ^^ ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 9230 - pub fn reindex<'a, 'b>(&'a self) -> Reindex<'a, 'b, ()> { 9230 + pub fn reindex<'b>(&self) -> Reindex<'_, 'b, ()> { |
the following explicit lifetimes could be elided: 'a: opensearch/src/root/mod.rs#L9216
warning: the following explicit lifetimes could be elided: 'a --> opensearch/src/root/mod.rs:9216:17 | 9216 | pub fn ping<'a, 'b>(&'a self) -> Ping<'a, 'b> { | ^^ ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 9216 - pub fn ping<'a, 'b>(&'a self) -> Ping<'a, 'b> { 9216 + pub fn ping<'b>(&self) -> Ping<'_, 'b> { |
the following explicit lifetimes could be elided: 'a: opensearch/src/root/mod.rs#L9190
warning: the following explicit lifetimes could be elided: 'a --> opensearch/src/root/mod.rs:9190:17 | 9190 | pub fn info<'a, 'b>(&'a self) -> Info<'a, 'b> { | ^^ ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 9190 - pub fn info<'a, 'b>(&'a self) -> Info<'a, 'b> { 9190 + pub fn info<'b>(&self) -> Info<'_, 'b> { |
the following explicit lifetimes could be elided: 'a: opensearch/src/root/mod.rs#L9178
warning: the following explicit lifetimes could be elided: 'a --> opensearch/src/root/mod.rs:9178:33 | 9178 | pub fn get_script_languages<'a, 'b>(&'a self) -> GetScriptLanguages<'a, 'b> { | ^^ ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 9178 - pub fn get_script_languages<'a, 'b>(&'a self) -> GetScriptLanguages<'a, 'b> { 9178 + pub fn get_script_languages<'b>(&self) -> GetScriptLanguages<'_, 'b> { |
the following explicit lifetimes could be elided: 'a: opensearch/src/root/mod.rs#L9172
warning: the following explicit lifetimes could be elided: 'a --> opensearch/src/root/mod.rs:9172:31 | 9172 | pub fn get_script_context<'a, 'b>(&'a self) -> GetScriptContext<'a, 'b> { | ^^ ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 9172 - pub fn get_script_context<'a, 'b>(&'a self) -> GetScriptContext<'a, 'b> { 9172 + pub fn get_script_context<'b>(&self) -> GetScriptContext<'_, 'b> { |
the following explicit lifetimes could be elided: 'a: opensearch/src/root/mod.rs#L9162
warning: the following explicit lifetimes could be elided: 'a --> opensearch/src/root/mod.rs:9162:25 | 9162 | pub fn get_all_pits<'a, 'b>(&'a self) -> GetAllPits<'a, 'b> { | ^^ ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 9162 - pub fn get_all_pits<'a, 'b>(&'a self) -> GetAllPits<'a, 'b> { 9162 + pub fn get_all_pits<'b>(&self) -> GetAllPits<'_, 'b> { |
the following explicit lifetimes could be elided: 'a: opensearch/src/root/mod.rs#L9134
warning: the following explicit lifetimes could be elided: 'a --> opensearch/src/root/mod.rs:9134:23 | 9134 | pub fn delete_pit<'a, 'b>(&'a self) -> DeletePit<'a, 'b, ()> { | ^^ ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes help: elide the lifetimes | 9134 - pub fn delete_pit<'a, 'b>(&'a self) -> DeletePit<'a, 'b, ()> { 9134 + pub fn delete_pit<'b>(&self) -> DeletePit<'_, 'b, ()> { |
the following explicit lifetimes could be elided: 'a: opensearch/src/root/mod.rs#L9116
warning: the following explicit lifetimes could be elided: 'a --> opensearch/src/root/mod.rs:9116:28 | 9116 | pub fn delete_all_pits<'a, 'b>(&'a self) -> DeleteAllPits<'a, 'b> { | ^^ ^^ ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes = note: `#[warn(clippy::needless_lifetimes)]` on by default help: elide the lifetimes | 9116 - pub fn delete_all_pits<'a, 'b>(&'a self) -> DeleteAllPits<'a, 'b> { 9116 + pub fn delete_all_pits<'b>(&self) -> DeleteAllPits<'_, 'b> { |
usage of a legacy numeric method: opensearch/src/params.rs#L425
warning: usage of a legacy numeric method --> opensearch/src/params.rs:425:34 | 425 | if value <= i32::max_value() as u64 { | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 425 | if value <= i32::MAX as u64 { | ~~~
usage of a legacy numeric method: opensearch/src/params.rs#L414
warning: usage of a legacy numeric method --> opensearch/src/params.rs:414:34 | 414 | if value <= i32::max_value() as i64 { | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants = note: `#[warn(clippy::legacy_numeric_constants)]` on by default help: use the associated constant instead | 414 | if value <= i32::MAX as i64 { | ~~~
clippy_check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, 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/
clippy_check
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
clippy_check
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/
clippy_check
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/
clippy_check
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/
clippy_check
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/