Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: Update docker/build-push-action action to v6 #92

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

deps: Update docker/build-push-action action to v6

5a637e2
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

deps: Update docker/build-push-action action to v6 #92

deps: Update docker/build-push-action action to v6
5a637e2
Select commit
Loading
Failed to load commit list.
GitHub Actions / dev clippy succeeded Dec 6, 2024 in 1s

dev clippy

4 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 4
Note 0
Help 0

Versions

  • rustc 1.85.0-nightly (c94848c04 2024-12-05)
  • cargo 1.85.0-nightly (05f54fdc3 2024-12-03)
  • clippy 0.1.85 (c94848c046 2024-12-05)

Annotations

Check warning on line 332 in src/db/mem.rs

See this annotation in the file changed.

@github-actions github-actions / dev clippy

this `map_or` can be simplified

warning: this `map_or` can be simplified
   --> src/db/mem.rs:332:24
    |
332 |                     && options.content.map_or(true, |c| x.content.contains(c))
    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use is_none_or instead: `options.content.is_none_or(|c| x.content.contains(c))`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or

Check warning on line 331 in src/db/mem.rs

See this annotation in the file changed.

@github-actions github-actions / dev clippy

this `map_or` can be simplified

warning: this `map_or` can be simplified
   --> src/db/mem.rs:331:17
    |
331 |                 options.author.map_or(true, |a| x.author.contains(a))
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use is_none_or instead: `options.author.is_none_or(|a| x.author.contains(a))`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or
    = note: `#[warn(clippy::unnecessary_map_or)]` on by default

Check warning on line 99 in src/bot/mod.rs

See this annotation in the file changed.

@github-actions github-actions / dev clippy

methods `on_vc_data_available`, `on_vc_join`, and `on_vc_leave` are never used

warning: methods `on_vc_data_available`, `on_vc_join`, and `on_vc_leave` are never used
   --> src/bot/mod.rs:99:8
    |
87  | pub trait BotService<R: Runtime>: Send + Sync {
    |           ---------- methods in this trait
...
99  |     fn on_vc_data_available(
    |        ^^^^^^^^^^^^^^^^^^^^
...
108 |     fn on_vc_join(
    |        ^^^^^^^^^^
...
117 |     fn on_vc_leave(
    |        ^^^^^^^^^^^

Check warning on line 41 in src/bot/mod.rs

See this annotation in the file changed.

@github-actions github-actions / dev clippy

method `name` is never used

warning: method `name` is never used
  --> src/bot/mod.rs:41:8
   |
39 | pub trait User: Send + Sync {
   |           ---- method in this trait
40 |     fn id(&self) -> u64;
41 |     fn name(&self) -> &str;
   |        ^^^^
   |
   = note: `#[warn(dead_code)]` on by default