Skip to content

feat: completely rewrite logger #25

feat: completely rewrite logger

feat: completely rewrite logger #25

Triggered via push July 23, 2023 23:45
Status Success
Total duration 1m 20s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

clippy.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 warnings
this expression creates a reference which is immediately dereferenced by the compiler: src/commands/general/ping.rs#L13
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/commands/general/ping.rs:13:47 | 13 | let (number, johnny_image) = johnny_image(&ctx.data()); | ^^^^^^^^^^^ help: change this to: `ctx.data()` | = 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
unneeded unit expression: src/main.rs#L245
warning: unneeded unit expression --> src/main.rs:245:21 | 245 | () | ^^ help: remove the final `()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit = note: `#[warn(clippy::unused_unit)]` on by default
struct update has no effect, all the fields in the struct have already been specified: src/db/user.rs#L57
warning: struct update has no effect, all the fields in the struct have already been specified --> src/db/user.rs:57:19 | 57 | ..Default::default() | ^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_update
struct update has no effect, all the fields in the struct have already been specified: src/db/user.rs#L22
warning: struct update has no effect, all the fields in the struct have already been specified --> src/db/user.rs:22:19 | 22 | ..Default::default() | ^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_update
struct update has no effect, all the fields in the struct have already been specified: src/db/member.rs#L32
warning: struct update has no effect, all the fields in the struct have already been specified --> src/db/member.rs:32:19 | 32 | ..Default::default() | ^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_update
struct update has no effect, all the fields in the struct have already been specified: src/db/autorole.rs#L39
warning: struct update has no effect, all the fields in the struct have already been specified --> src/db/autorole.rs:39:15 | 39 | ..Default::default() | ^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_update = note: `#[warn(clippy::needless_update)]` on by default
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/