Skip to content

fix: don't check certs #28

fix: don't check certs

fix: don't check certs #28

Triggered via push August 7, 2025 14:08
Status Success
Total duration 48s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

17 warnings
Rustfmt
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/
Rustfmt
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/
Rustfmt
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/
Rustfmt
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/
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/
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/
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/
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/
use of `unwrap_or` to construct default value: src/main.rs#L54
warning: use of `unwrap_or` to construct default value --> src/elastic_push.rs:54:44 | 54 | let body = make_json_body(&buffer).unwrap_or(vec![]); | ^^^^^^^^^^^^^^^^^ 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
redundant closure: src/main.rs#L33
warning: redundant closure --> src/elastic_push.rs:33:14 | 33 | .map(|e| json_from_logrecord(e)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `json_from_logrecord` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure = note: `#[warn(clippy::redundant_closure)]` on by default
writing `&Vec` instead of `&[_]` involves a new object where a slice will do: src/main.rs#L27
warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do --> src/elastic_push.rs:27:14 | 27 | records: &Vec<LogRecord>, | ^^^^^^^^^^^^^^^ help: change this to: `&[LogRecord]` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg = note: `#[warn(clippy::ptr_arg)]` on by default
function call inside of `expect`: src/main.rs#L224
warning: function call inside of `expect` --> src/redis_logs.rs:224:15 | 224 | create_id.expect(&format!( | _______________^ 225 | | "Failed to create Redis consumer ID {} in group {}!", 226 | | &config.consumer_id, &config.consumer_group 227 | | )); | |______^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call = note: `#[warn(clippy::expect_fun_call)]` on by default help: try | 224 ~ create_id.unwrap_or_else(|_| panic!("Failed to create Redis consumer ID {} in group {}!", 225 ~ &config.consumer_id, &config.consumer_group)); |
called `iter().cloned().collect()` on a slice to create a `Vec`. Calling `to_vec()` is both faster and more readable: src/main.rs#L180
warning: called `iter().cloned().collect()` on a slice to create a `Vec`. Calling `to_vec()` is both faster and more readable --> src/redis_logs.rs:180:48 | 180 | redis::Value::BulkString(x) => Ok(x.iter().cloned().collect()), | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `.to_vec()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#iter_cloned_collect = note: `#[warn(clippy::iter_cloned_collect)]` on by default
accessing first element with `raw_reply .keys.get(0)`: src/main.rs#L161
warning: accessing first element with `raw_reply .keys.get(0)` --> src/redis_logs.rs:161:19 | 161 | let log_key = raw_reply | ___________________^ 162 | | .keys 163 | | .get(0) | |_______________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first = note: `#[warn(clippy::get_first)]` on by default help: try | 161 ~ let log_key = raw_reply 162 + .keys.first() |
passing a unit value to a function: src/main.rs#L129
warning: passing a unit value to a function --> src/redis_logs.rs:129:27 | 129 | metadata: {}.into(), | --^^^^^^^ | | | help: use a unit literal instead: `()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unit_arg
passing a unit value to a function: src/main.rs#L98
warning: passing a unit value to a function --> src/redis_logs.rs:98:32 | 98 | extra: {}.into(), | --^^^^^^^ | | | help: use a unit literal instead: `()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unit_arg = note: `#[warn(clippy::unit_arg)]` on by default
this import is redundant: src/main.rs#L2
warning: this import is redundant --> src/redis_logs.rs:2:1 | 2 | use rmp_serde; | ^^^^^^^^^^^^^^ help: remove it entirely | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports = note: `#[warn(clippy::single_component_path_imports)]` on by default