Update changelog #226
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
20 warnings
the borrowed expression implements the required traits:
yaml_test_runner/src/generator.rs#L511
warning: the borrowed expression implements the required traits
--> yaml_test_runner/src/generator.rs:511:33
|
511 | let mut file = File::create(&path)?;
| ^^^^^ help: change this to: `path`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
|
useless use of `format!`:
yaml_test_runner/src/generator.rs#L207
warning: useless use of `format!`
--> yaml_test_runner/src/generator.rs:207:18
|
207 | Some(format!("it's included in skip.yml"))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"it's included in skip.yml".to_string()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format
= note: `#[warn(clippy::useless_format)]` on by default
|
unnecessary hashes around raw string literal:
yaml_test_runner/src/rusty_json.rs#L14
warning: unnecessary hashes around raw string literal
--> yaml_test_runner/src/rusty_json.rs:14:20
|
14 | Regex::new(r#"\$\{([^}]+)\}"#).unwrap();
| ^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes
help: remove all the hashes around the literal
|
14 - Regex::new(r#"\$\{([^}]+)\}"#).unwrap();
14 + Regex::new(r"\$\{([^}]+)\}").unwrap();
|
|
unnecessary hashes around raw string literal:
yaml_test_runner/src/rusty_json.rs#L10
warning: unnecessary hashes around raw string literal
--> yaml_test_runner/src/rusty_json.rs:10:20
|
10 | Regex::new(r#"\$(.+)"#).unwrap();
| ^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes
= note: `#[warn(clippy::needless_raw_string_hashes)]` on by default
help: remove all the hashes around the literal
|
10 - Regex::new(r#"\$(.+)"#).unwrap();
10 + Regex::new(r"\$(.+)").unwrap();
|
|
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> {
|
|
unneeded sub `cfg` when there is only one condition:
opensearch/src/auth.rs#L110
warning: unneeded sub `cfg` when there is only one condition
--> opensearch/src/auth.rs:110:7
|
110 | #[cfg(any(feature = "aws-auth"))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "aws-auth"`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
|
unneeded sub `cfg` when there is only one condition:
opensearch/src/auth.rs#L93
warning: unneeded sub `cfg` when there is only one condition
--> opensearch/src/auth.rs:93:7
|
93 | #[cfg(any(feature = "aws-auth"))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `feature = "aws-auth"`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_minimal_cfg
= note: `#[warn(clippy::non_minimal_cfg)]` on by default
|
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 `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/
|