Added support for LevelFilter #16
development.yml
on: push
Annotations
11 warnings
Build & Test (ubuntu-20.04)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Build & Test (windows-2019)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Build & Test (macos-11)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Get Version
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
unnecessary use of `get(target).is_none()`:
src/handler/file.rs#L63
warning: unnecessary use of `get(target).is_none()`
--> src/handler/file.rs:63:25
|
63 | if self.targets.get(target).is_none() {
| -------------^^^^^^^^^^^^^^^^^^^^^
| |
| help: replace it with: `!self.targets.contains_key(target)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_get_then_check
= note: `#[warn(clippy::unnecessary_get_then_check)]` on by default
|
transmute used without annotations:
src/level.rs#L85
warning: transmute used without annotations
--> src/level.rs:85:32
|
85 | unsafe { std::mem::transmute(value) }
| ^^^^^^^^^ help: consider adding missing annotations: `transmute::<u8, std::option::Option<level::LevelFilter>>`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_transmute_annotations
|
transmute used without annotations:
src/log_msg.rs#L269
warning: transmute used without annotations
--> src/log_msg.rs:269:53
|
269 | std::str::from_utf8_unchecked(std::mem::transmute(
| ^^^^^^^^^ help: consider adding missing annotations: `transmute::<&[std::mem::MaybeUninit<u8>], &[u8]>`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_transmute_annotations
|
transmute used without annotations:
src/log_msg.rs#L244
warning: transmute used without annotations
--> src/log_msg.rs:244:27
|
244 | std::mem::transmute(self.buffer.as_mut_ptr().offset(self.msg_len as _)),
| ^^^^^^^^^ help: consider adding missing annotations: `transmute::<*mut std::mem::MaybeUninit<u8>, *mut u8>`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_transmute_annotations
= note: `#[warn(clippy::missing_transmute_annotations)]` on by default
|
Check | Clippy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Check | Audit
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Format Code
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|