Skip to content

Log verbosity and sanitization #1018

Log verbosity and sanitization

Log verbosity and sanitization #1018

Triggered via pull request October 19, 2024 20:46
Status Success
Total duration 2m 23s
Artifacts

ci.yaml

on: pull_request
Check code formatting
3s
Check code formatting
Clippy
1m 8s
Clippy
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
Check code formatting
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
unneeded `return` statement: src/content.rs#L126
warning: unneeded `return` statement --> src/content.rs:126:21 | 126 | return write!(f, "DataMessage(..)"); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return help: remove `return` | 126 - return write!(f, "DataMessage(..)"); 126 + write!(f, "DataMessage(..)") |
unneeded `return` statement: src/content.rs#L123
warning: unneeded `return` statement --> src/content.rs:123:21 | 123 | return write!(f, "DataMessage(attachments: {n})"); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return help: remove `return` | 123 - return write!(f, "DataMessage(attachments: {n})"); 123 + write!(f, "DataMessage(attachments: {n})") |
unneeded `return` statement: src/content.rs#L116
warning: unneeded `return` statement --> src/content.rs:116:21 | 116 | / return write!( 117 | | f, 118 | | "DataMessage({}, attachments: {n})", 119 | | body 120 | | ); | |_____________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return help: remove `return` | 116 ~ write!( 117 + f, 118 + "DataMessage({}, attachments: {n})", 119 + body 120 ~ ) |
unneeded `return` statement: src/content.rs#L113
warning: unneeded `return` statement --> src/content.rs:113:21 | 113 | return write!(f, "DataMessage({}", body); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return = note: `#[warn(clippy::needless_return)]` on by default help: remove `return` | 113 - return write!(f, "DataMessage({}", body); 113 + write!(f, "DataMessage({}", body) |
Clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: 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
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, 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/
Build / Rust 1.75
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build / Rust stable
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build / Rust beta
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Build / Rust nightly
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/