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 / prod clippy succeeded Dec 6, 2024 in 0s

prod clippy

6 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 6
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 180 in src/client/discord.rs

See this annotation in the file changed.

@github-actions github-actions / prod clippy

the following explicit lifetimes could be elided: 'a

warning: the following explicit lifetimes could be elided: 'a
   --> src/client/discord.rs:180:14
    |
180 |         impl<'a, F: visitors::ForEachService> ServiceVisitor for Visitor<'a, F> {
    |              ^^                                                          ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
    |
180 -         impl<'a, F: visitors::ForEachService> ServiceVisitor for Visitor<'a, F> {
180 +         impl<F: visitors::ForEachService> ServiceVisitor for Visitor<'_, F> {
    |

Check warning on line 150 in src/client/discord.rs

See this annotation in the file changed.

@github-actions github-actions / prod clippy

the following explicit lifetimes could be elided: 'a

warning: the following explicit lifetimes could be elided: 'a
   --> src/client/discord.rs:150:10
    |
150 |     impl<'a> ForEachService for VcLeaveVisitor<'a> {
    |          ^^                                    ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
    |
150 -     impl<'a> ForEachService for VcLeaveVisitor<'a> {
150 +     impl ForEachService for VcLeaveVisitor<'_> {
    |

Check warning on line 139 in src/client/discord.rs

See this annotation in the file changed.

@github-actions github-actions / prod clippy

the following explicit lifetimes could be elided: 'a

warning: the following explicit lifetimes could be elided: 'a
   --> src/client/discord.rs:139:10
    |
139 |     impl<'a> ForEachService for VcJoinVisitor<'a> {
    |          ^^                                   ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
    |
139 -     impl<'a> ForEachService for VcJoinVisitor<'a> {
139 +     impl ForEachService for VcJoinVisitor<'_> {
    |

Check warning on line 128 in src/client/discord.rs

See this annotation in the file changed.

@github-actions github-actions / prod clippy

the following explicit lifetimes could be elided: 'a

warning: the following explicit lifetimes could be elided: 'a
   --> src/client/discord.rs:128:10
    |
128 |     impl<'a> ForEachService for VcDataAvailableVisitor<'a> {
    |          ^^                                            ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
    |
128 -     impl<'a> ForEachService for VcDataAvailableVisitor<'a> {
128 +     impl ForEachService for VcDataAvailableVisitor<'_> {
    |

Check warning on line 117 in src/client/discord.rs

See this annotation in the file changed.

@github-actions github-actions / prod clippy

the following explicit lifetimes could be elided: 'a

warning: the following explicit lifetimes could be elided: 'a
   --> src/client/discord.rs:117:10
    |
117 |     impl<'a> ForEachService for MessageVisitor<'a> {
    |          ^^                                    ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
    = note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
    |
117 -     impl<'a> ForEachService for MessageVisitor<'a> {
117 +     impl ForEachService for MessageVisitor<'_> {
    |

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

See this annotation in the file changed.

@github-actions github-actions / prod 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