Skip to content

Bump the all group across 1 directory with 48 updates #781

Bump the all group across 1 directory with 48 updates

Bump the all group across 1 directory with 48 updates #781

Triggered via pull request June 6, 2026 01:16
Status Success
Total duration 7m 30s
Artifacts 1

rust.yml

on: pull_request_target
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
build
Error: @augu/clippy-action failed to run
function `last_commit_for_ref` is never used: gitarena/src/main.rs#L68
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>> { | ^^^^^^^^^^^^^^^^^^^
method `as_inner` is never used: gitarena/src/main.rs#L322
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; | ^^^^^^^^
trait `ExtendWithStatusCode` is never used: gitarena/src/main.rs#L279
warning: trait `ExtendWithStatusCode` is never used --> gitarena/src/error.rs:279:18 | 279 | pub(crate) trait ExtendWithStatusCode<T> { | ^^^^^^^^^^^^^^^^^^^^
associated function `try_new` is never used: gitarena/src/main.rs#L131
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> { | ^^^^^^^
methods `is_unset`, `as_bytes`, and `as_bytes_unchecked` are never used: gitarena/src/main.rs#L110
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] { | ^^^^^^^^^^^^^^^^^^
function `get_all_settings` is never used: gitarena/src/main.rs#L69
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
use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead: gitarena/src/main.rs#L139
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
assigning the result of `ToOwned::to_owned()` may be inefficient: gitarena-issues/src/lib.rs#L50
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
assigning the result of `ToOwned::to_owned()` may be inefficient: gitarena-issues/src/lib.rs#L49
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)]`
this method could have a `#[must_use]` attribute: gitarena-issues/src/lib.rs#L59
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 { |

Artifacts

Produced during runtime
Name Size Digest
gitarena
49 MB
sha256:2fb8ae4a04ad0b010b0fac663c262cfed1eb28e82340414c257e678d06a337a7