Skip to content

Bump the all group with 5 updates#118

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/all-09d78324cd
Open

Bump the all group with 5 updates#118
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/all-09d78324cd

Bump the all group with 5 updates

0897572
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
GitHub Actions / Clippy: Rust Stable 1.96.0 (ac68faa20 2026-05-25) in succeeded Jun 3, 2026 in 16s

Clippy (Stable ~ Linux/x86_64)

Clippy was successful!

Details

Running cargo clippy took roughly ~16229ms to complete

  • Working Directory: repository directory

Annotations

Check warning on line 59 in /home/runner/work/gitarena/gitarena/gitarena-issues/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy: Rust Stable 1.96.0 (ac68faa20 2026-05-25) in

/home/runner/work/gitarena/gitarena/gitarena-issues/src/lib.rs#L59

this method could have a `#[must_use]` attribute
Raw output
warning: this method could have a `#[must_use]` attribute
  --> gitarena-issues/src/author.rs:59:12
   |
59 |     pub fn from_user(user_id: Uuid, username: &str, email: &str, created_at: i64) -> Self {
   |            ^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.96.0/index.html#must_use_candidate
   = note: `-W clippy::must-use-candidate` implied by `-W clippy::pedantic`
   = help: to override `-W clippy::pedantic` add `#[allow(clippy::must_use_candidate)]`
help: add the attribute
   |
59 ~     #[must_use]
60 ~     pub fn from_user(user_id: Uuid, username: &str, email: &str, created_at: i64) -> Self {
   |

Check warning on line 49 in /home/runner/work/gitarena/gitarena/gitarena-issues/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy: Rust Stable 1.96.0 (ac68faa20 2026-05-25) in

/home/runner/work/gitarena/gitarena/gitarena-issues/src/lib.rs#L49

assigning the result of `ToOwned::to_owned()` may be inefficient
Raw output
warning: assigning the result of `ToOwned::to_owned()` may be inefficient
  --> gitarena-issues/src/bug.rs:49:25
   |
49 |                         title = op.title.as_deref().unwrap_or_default().to_owned();
   |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_into()`: `op.title.as_deref().unwrap_or_default().clone_into(&mut title)`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.96.0/index.html#assigning_clones
   = note: `-W clippy::assigning-clones` implied by `-W clippy::pedantic`
   = help: to override `-W clippy::pedantic` add `#[allow(clippy::assigning_clones)]`

Check warning on line 50 in /home/runner/work/gitarena/gitarena/gitarena-issues/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy: Rust Stable 1.96.0 (ac68faa20 2026-05-25) in

/home/runner/work/gitarena/gitarena/gitarena-issues/src/lib.rs#L50

assigning the result of `ToOwned::to_owned()` may be inefficient
Raw output
warning: assigning the result of `ToOwned::to_owned()` may be inefficient
  --> gitarena-issues/src/bug.rs:50:25
   |
50 |                         body = op.message.as_deref().unwrap_or_default().to_owned();
   |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_into()`: `op.message.as_deref().unwrap_or_default().clone_into(&mut body)`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.96.0/index.html#assigning_clones

Check warning on line 139 in /home/runner/work/gitarena/gitarena/gitarena/src/main.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy: Rust Stable 1.96.0 (ac68faa20 2026-05-25) in

/home/runner/work/gitarena/gitarena/gitarena/src/main.rs#L139

use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead
Raw output
warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead
   --> gitarena/src/routes/user/avatar.rs:139:46
    |
139 | ...   let naive_date_time = NaiveDateTime::from_timestamp(modified_unix_time.as_secs().cast_signed(), modified_unix_time.subsec_nan...
    |                                            ^^^^^^^^^^^^^^
    |
    = note: `#[warn(deprecated)]` on by default

Check warning on line 69 in /home/runner/work/gitarena/gitarena/gitarena/src/main.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy: Rust Stable 1.96.0 (ac68faa20 2026-05-25) in

/home/runner/work/gitarena/gitarena/gitarena/src/main.rs#L69

function `get_all_settings` is never used
Raw output
warning: function `get_all_settings` is never used
  --> gitarena/src/config.rs:69:21
   |
69 | pub(crate) async fn get_all_settings(tx: &mut Transaction<'_, Database>) -> Result<Vec<Setting>> {
   |                     ^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

Check warning on line 110 in /home/runner/work/gitarena/gitarena/gitarena/src/main.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy: Rust Stable 1.96.0 (ac68faa20 2026-05-25) in

/home/runner/work/gitarena/gitarena/gitarena/src/main.rs#L110

methods `is_unset`, `as_bytes`, and `as_bytes_unchecked` are never used
Raw output
warning: methods `is_unset`, `as_bytes`, and `as_bytes_unchecked` are never used
   --> gitarena/src/config.rs:110:19
    |
105 | impl Setting {
    | ------------ methods in this implementation
...
110 |     pub(crate) fn is_unset(&self) -> bool {
    |                   ^^^^^^^^
...
114 |     pub(crate) fn as_bytes(&self) -> Option<&[u8]> {
    |                   ^^^^^^^^
...
119 |     pub(crate) fn as_bytes_unchecked(&self) -> &[u8] {
    |                   ^^^^^^^^^^^^^^^^^^

Check warning on line 131 in /home/runner/work/gitarena/gitarena/gitarena/src/main.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy: Rust Stable 1.96.0 (ac68faa20 2026-05-25) in

/home/runner/work/gitarena/gitarena/gitarena/src/main.rs#L131

associated function `try_new` is never used
Raw output
warning: associated function `try_new` is never used
   --> gitarena/src/error.rs:131:19
    |
122 | impl WithStatusCode {
    | ------------------- associated function in this implementation
...
131 |     pub(crate) fn try_new(code: u16) -> Result<WithStatusCode> {
    |                   ^^^^^^^

Check warning on line 279 in /home/runner/work/gitarena/gitarena/gitarena/src/main.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy: Rust Stable 1.96.0 (ac68faa20 2026-05-25) in

/home/runner/work/gitarena/gitarena/gitarena/src/main.rs#L279

trait `ExtendWithStatusCode` is never used
Raw output
warning: trait `ExtendWithStatusCode` is never used
   --> gitarena/src/error.rs:279:18
    |
279 | pub(crate) trait ExtendWithStatusCode<T> {
    |                  ^^^^^^^^^^^^^^^^^^^^

Check warning on line 322 in /home/runner/work/gitarena/gitarena/gitarena/src/main.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy: Rust Stable 1.96.0 (ac68faa20 2026-05-25) in

/home/runner/work/gitarena/gitarena/gitarena/src/main.rs#L322

method `as_inner` is never used
Raw output
warning: method `as_inner` is never used
   --> gitarena/src/error.rs:322:8
    |
317 | pub(crate) trait HoldsError {
    |                  ---------- method in this trait
...
322 |     fn as_inner(&self) -> &Error;
    |        ^^^^^^^^

Check warning on line 68 in /home/runner/work/gitarena/gitarena/gitarena/src/main.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy: Rust Stable 1.96.0 (ac68faa20 2026-05-25) in

/home/runner/work/gitarena/gitarena/gitarena/src/main.rs#L68

function `last_commit_for_ref` is never used
Raw output
warning: function `last_commit_for_ref` is never used
  --> gitarena/src/git/history.rs:68:21
   |
68 | pub(crate) async fn last_commit_for_ref(repo: &Git2Repository, reference_name: &str) -> Result<Option<Oid>> {
   |                     ^^^^^^^^^^^^^^^^^^^

Check warning on line 227 in /home/runner/work/gitarena/gitarena/gitarena/src/main.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy: Rust Stable 1.96.0 (ac68faa20 2026-05-25) in

/home/runner/work/gitarena/gitarena/gitarena/src/main.rs#L227

function `all_branches` is never used
Raw output
warning: function `all_branches` is never used
   --> gitarena/src/git/history.rs:227:21
    |
227 | pub(crate) async fn all_branches(repo: &Git2Repository) -> Result<Vec<String>> {
    |                     ^^^^^^^^^^^^

Check warning on line 242 in /home/runner/work/gitarena/gitarena/gitarena/src/main.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy: Rust Stable 1.96.0 (ac68faa20 2026-05-25) in

/home/runner/work/gitarena/gitarena/gitarena/src/main.rs#L242

function `all_tags` is never used
Raw output
warning: function `all_tags` is never used
   --> gitarena/src/git/history.rs:242:21
    |
242 | pub(crate) async fn all_tags(repo: &Git2Repository, prefix: Option<&str>) -> Result<Vec<String>> {
    |                     ^^^^^^^^

Check warning on line 24 in /home/runner/work/gitarena/gitarena/gitarena/src/main.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy: Rust Stable 1.96.0 (ac68faa20 2026-05-25) in

/home/runner/work/gitarena/gitarena/gitarena/src/main.rs#L24

method `write_text` is never used
Raw output
warning: method `write_text` is never used
  --> gitarena/src/git/io/progress_writer.rs:24:19
   |
16 | impl ProgressWriter {
   | ------------------- method in this implementation
...
24 |     pub(crate) fn write_text(&mut self, text: String) {
   |                   ^^^^^^^^^^

Check warning on line 63 in /home/runner/work/gitarena/gitarena/gitarena/src/main.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy: Rust Stable 1.96.0 (ac68faa20 2026-05-25) in

/home/runner/work/gitarena/gitarena/gitarena/src/main.rs#L63

methods `write_text_bytes` and `response_end` are never used
Raw output
warning: methods `write_text_bytes` and `response_end` are never used
   --> gitarena/src/git/io/writer.rs:63:25
    |
 15 | impl GitWriter {
    | -------------- methods in this implementation
...
 63 |     pub(crate) async fn write_text_bytes(&mut self, text: &[u8]) -> Result<&mut GitWriter> {
    |                         ^^^^^^^^^^^^^^^^
...
160 |     pub(crate) async fn response_end(&mut self) -> Result<&mut GitWriter> {
    |                         ^^^^^^^^^^^^

Check warning on line 55 in /home/runner/work/gitarena/gitarena/gitarena/src/main.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy: Rust Stable 1.96.0 (ac68faa20 2026-05-25) in

/home/runner/work/gitarena/gitarena/gitarena/src/main.rs#L55

method `as_mailbox` is never used
Raw output
warning: method `as_mailbox` is never used
  --> gitarena/src/mail/mod.rs:55:19
   |
54 | impl Email {
   | ---------- method in this implementation
55 |     pub(crate) fn as_mailbox(&self, name: Option<String>) -> Result<Mailbox> {
   |                   ^^^^^^^^^^

Check warning on line 89 in /home/runner/work/gitarena/gitarena/gitarena/src/main.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy: Rust Stable 1.96.0 (ac68faa20 2026-05-25) in

/home/runner/work/gitarena/gitarena/gitarena/src/main.rs#L89

associated functions `find_notification_email` and `find_public_email` are never used
Raw output
warning: associated functions `find_notification_email` and `find_public_email` are never used
  --> gitarena/src/mail/mod.rs:89:20
   |
86 | impl Email {
   | ---------- associated functions in this implementation
...
89 |     generate_find!(find_notification_email, "notification");
   |                    ^^^^^^^^^^^^^^^^^^^^^^^
90 |     generate_find!(find_public_email, "public");
   |                    ^^^^^^^^^^^^^^^^^
   |
   = note: this warning originates in the macro `generate_find` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 31 in /home/runner/work/gitarena/gitarena/gitarena/src/main.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy: Rust Stable 1.96.0 (ac68faa20 2026-05-25) in

/home/runner/work/gitarena/gitarena/gitarena/src/main.rs#L31

method `subject` is never used
Raw output
warning: method `subject` is never used
  --> gitarena/src/mail/templates.rs:31:19
   |
30 | impl OrgInviteTemplate<'_> {
   | -------------------------- method in this implementation
31 |     pub(crate) fn subject(&self) -> String {
   |                   ^^^^^^^

Check warning on line 117 in /home/runner/work/gitarena/gitarena/gitarena/src/main.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy: Rust Stable 1.96.0 (ac68faa20 2026-05-25) in

/home/runner/work/gitarena/gitarena/gitarena/src/main.rs#L117

field `user_id` is never read
Raw output
warning: field `user_id` is never read
   --> gitarena/src/passkey.rs:117:16
    |
115 | pub(crate) struct StoredPasskey {
    |                   ------------- field in this struct
116 |     pub(crate) id: Uuid,
117 |     pub(crate) user_id: Uuid,
    |                ^^^^^^^
    |
    = note: `StoredPasskey` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis

Check warning on line 148 in /home/runner/work/gitarena/gitarena/gitarena/src/main.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy: Rust Stable 1.96.0 (ac68faa20 2026-05-25) in

/home/runner/work/gitarena/gitarena/gitarena/src/main.rs#L148

fields `id` and `expires_at` are never read
Raw output
warning: fields `id` and `expires_at` are never read
   --> gitarena/src/passkey.rs:148:16
    |
147 | pub(crate) struct WebAuthnChallenge {
    |                   ----------------- fields in this struct
148 |     pub(crate) id: Uuid,
    |                ^^
...
151 |     pub(crate) expires_at: DateTime<Utc>,
    |                ^^^^^^^^^^
    |
    = note: `WebAuthnChallenge` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis

Check warning on line 71 in /home/runner/work/gitarena/gitarena/gitarena/src/main.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy: Rust Stable 1.96.0 (ac68faa20 2026-05-25) in

/home/runner/work/gitarena/gitarena/gitarena/src/main.rs#L71

trait `LibGit2TimeExtensions` is never used
Raw output
warning: trait `LibGit2TimeExtensions` is never used
  --> gitarena/src/prelude.rs:71:18
   |
71 | pub(crate) trait LibGit2TimeExtensions {
   |                  ^^^^^^^^^^^^^^^^^^^^^

Check warning on line 14 in /home/runner/work/gitarena/gitarena/gitarena/src/main.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy: Rust Stable 1.96.0 (ac68faa20 2026-05-25) in

/home/runner/work/gitarena/gitarena/gitarena/src/main.rs#L14

fields `user_id` and `repo_id` are never read
Raw output
warning: fields `user_id` and `repo_id` are never read
  --> gitarena/src/privileges/privilege.rs:14:16
   |
13 | pub(crate) struct Privilege {
   |                   --------- fields in this struct
14 |     pub(crate) user_id: Uuid,
   |                ^^^^^^^
15 |     pub(crate) repo_id: Uuid,
   |                ^^^^^^^
   |
   = note: `Privilege` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis

Check warning on line 102 in /home/runner/work/gitarena/gitarena/gitarena/src/main.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy: Rust Stable 1.96.0 (ac68faa20 2026-05-25) in

/home/runner/work/gitarena/gitarena/gitarena/src/main.rs#L102

method `id` is never used
Raw output
warning: method `id` is never used
   --> gitarena/src/routes/explore.rs:102:19
    |
101 | impl ExploreRepo {
    | ---------------- method in this implementation
102 |     pub(crate) fn id(&self) -> Uuid {
    |                   ^^

Check warning on line 25 in /home/runner/work/gitarena/gitarena/gitarena/src/main.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy: Rust Stable 1.96.0 (ac68faa20 2026-05-25) in

/home/runner/work/gitarena/gitarena/gitarena/src/main.rs#L25

struct `GitTreeRequest` is never constructed
Raw output
warning: struct `GitTreeRequest` is never constructed
  --> gitarena/src/routes/repository/mod.rs:25:19
   |
25 | pub(crate) struct GitTreeRequest {
   |                   ^^^^^^^^^^^^^^

Check warning on line 18 in /home/runner/work/gitarena/gitarena/gitarena/src/main.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy: Rust Stable 1.96.0 (ac68faa20 2026-05-25) in

/home/runner/work/gitarena/gitarena/gitarena/src/main.rs#L18

fields `namespace`, `repository`, and `tree` are never read
Raw output
warning: fields `namespace`, `repository`, and `tree` are never read
  --> gitarena/src/routes/repository/api/blame.rs:18:5
   |
17 | struct BlameRequest {
   |        ------------ fields in this struct
18 |     namespace: String,
   |     ^^^^^^^^^
19 |     repository: String,
   |     ^^^^^^^^^^
20 |     tree: String,
   |     ^^^^

Check warning on line 28 in /home/runner/work/gitarena/gitarena/gitarena/src/main.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy: Rust Stable 1.96.0 (ac68faa20 2026-05-25) in

/home/runner/work/gitarena/gitarena/gitarena/src/main.rs#L28

fields `namespace`, `repository`, and `tree` are never read
Raw output
warning: fields `namespace`, `repository`, and `tree` are never read
  --> gitarena/src/routes/repository/api/file_content.rs:28:5
   |
27 | struct FileContentRequest {
   |        ------------------ fields in this struct
28 |     namespace: String,
   |     ^^^^^^^^^
29 |     repository: String,
   |     ^^^^^^^^^^
30 |     tree: String,
   |     ^^^^