Skip to content

add vercel reminder #812

add vercel reminder

add vercel reminder #812

Triggered via push June 9, 2026 00:09
Status Success
Total duration 7m 36s
Artifacts 1

rust.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
build
Error: @augu/clippy-action failed to run
associated items `new_without_actor`, `new_without_actor_and_request`, and `save_pool` are never used: gitarena/src/main.rs#L81
warning: associated items `new_without_actor`, `new_without_actor_and_request`, and `save_pool` are never used --> gitarena/src/events.rs:81:19 | 68 | impl Event { | ---------- associated items in this implementation ... 81 | pub(crate) fn new_without_actor(event: &'static str, request: &HttpRequest, subject: Subject, payload: Option<Value>) -> Self { | ^^^^^^^^^^^^^^^^^ ... 116 | pub(crate) async fn new_without_actor_and_request(event: &'static str, subject: Subject, payload: Option<Value>) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 144 | pub(crate) async fn save_pool(self, db_pool: &Pool) -> Result<()> { | ^^^^^^^^^
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.4 MB
sha256:72058fc6f262f03e8a0572d79472dff86703a5de6c13b16937c676419f354e27