Skip to content

Docker: build

Docker: build #91

Triggered via push May 13, 2024 17:46
Status Failure
Total duration 30s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

35 errors and 1 warning
build
buildx failed with: ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref undsbo7cpb4t5mfgjq4xlz16c::m2zwb0hro30yrb35l3hmalab9: "/frontend/.yarn": not found
the trait bound `handler::frontend::IndexTemplate: askama::Template` is not satisfied: backend/src/handler/frontend.rs#L115
error[E0277]: the trait bound `handler::frontend::IndexTemplate: askama::Template` is not satisfied --> backend/src/handler/frontend.rs:115:59 | 115 | let mut resp = askama_axum::into_response(&template); | -------------------------- ^^^^^^^^^ the trait `askama::Template` is not implemented for `handler::frontend::IndexTemplate` | | | required by a bound introduced by this call | note: required by a bound in `askama_axum::into_response` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/askama_axum-0.3.0/src/lib.rs:9:25 | 9 | pub fn into_response<T: Template>(t: &T) -> Response { | ^^^^^^^^ required by this bound in `into_response`
the trait bound `handler::frontend::IndexTemplate: askama::Template` is not satisfied: backend/src/handler/frontend.rs#L115
error[E0277]: the trait bound `handler::frontend::IndexTemplate: askama::Template` is not satisfied --> backend/src/handler/frontend.rs:115:59 | 115 | let mut resp = askama_axum::into_response(&template); | -------------------------- ^^^^^^^^^ the trait `askama::Template` is not implemented for `handler::frontend::IndexTemplate` | | | required by a bound introduced by this call | note: required by a bound in `askama_axum::into_response` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/askama_axum-0.3.0/src/lib.rs:9:25 | 9 | pub fn into_response<T: Template>(t: &T) -> Response { | ^^^^^^^^ required by this bound in `into_response`
this `else { if .. }` block can be collapsed: backend/src/error.rs#L61
error: this `else { if .. }` block can be collapsed --> backend/src/error.rs:61:16 | 61 | } else { | ________________^ 62 | | if CONFIG.debug { 63 | | tracing::warn!( 64 | | "responding client error, id: {}\n{:?}\nContext\n{}", ... | 76 | | } 77 | | } | |_________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_else_if = note: `-D clippy::collapsible-else-if` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::collapsible_else_if)]` help: collapse nested if block | 61 ~ } else if CONFIG.debug { 62 + tracing::warn!( 63 + "responding client error, id: {}\n{:?}\nContext\n{}", 64 + self.id, 65 + self.inner, 66 + self.context 67 + ); 68 + } else { 69 + tracing::debug!( 70 + "responding client error, id: {}\n{:?}\nContext\n{}", 71 + self.id, 72 + self.inner, 73 + self.context 74 + ); 75 + } |
unused import: `super::user::Entity as User`: backend/src/entity/prelude.rs#L17
error: unused import: `super::user::Entity as User` --> backend/src/entity/prelude.rs:17:9 | 17 | pub use super::user::Entity as User; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `super::setting::Entity as Setting`: backend/src/entity/prelude.rs#L16
error: unused import: `super::setting::Entity as Setting` --> backend/src/entity/prelude.rs:16:9 | 16 | pub use super::setting::Entity as Setting; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `super::report::Entity as Report`: backend/src/entity/prelude.rs#L15
error: unused import: `super::report::Entity as Report` --> backend/src/entity/prelude.rs:15:9 | 15 | pub use super::report::Entity as Report; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `super::remote_file::Entity as RemoteFile`: backend/src/entity/prelude.rs#L14
error: unused import: `super::remote_file::Entity as RemoteFile` --> backend/src/entity/prelude.rs:14:9 | 14 | pub use super::remote_file::Entity as RemoteFile; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `super::reaction::Entity as Reaction`: backend/src/entity/prelude.rs#L13
error: unused import: `super::reaction::Entity as Reaction` --> backend/src/entity/prelude.rs:13:9 | 13 | pub use super::reaction::Entity as Reaction; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `super::post_emoji::Entity as PostEmoji`: backend/src/entity/prelude.rs#L12
error: unused import: `super::post_emoji::Entity as PostEmoji` --> backend/src/entity/prelude.rs:12:9 | 12 | pub use super::post_emoji::Entity as PostEmoji; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `super::post::Entity as Post`: backend/src/entity/prelude.rs#L11
error: unused import: `super::post::Entity as Post` --> backend/src/entity/prelude.rs:11:9 | 11 | pub use super::post::Entity as Post; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `super::notification::Entity as Notification`: backend/src/entity/prelude.rs#L10
error: unused import: `super::notification::Entity as Notification` --> backend/src/entity/prelude.rs:10:9 | 10 | pub use super::notification::Entity as Notification; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `super::mention::Entity as Mention`: backend/src/entity/prelude.rs#L9
error: unused import: `super::mention::Entity as Mention` --> backend/src/entity/prelude.rs:9:9 | 9 | pub use super::mention::Entity as Mention; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `super::local_file::Entity as LocalFile`: backend/src/entity/prelude.rs#L8
error: unused import: `super::local_file::Entity as LocalFile` --> backend/src/entity/prelude.rs:8:9 | 8 | pub use super::local_file::Entity as LocalFile; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `super::hashtag::Entity as Hashtag`: backend/src/entity/prelude.rs#L7
error: unused import: `super::hashtag::Entity as Hashtag` --> backend/src/entity/prelude.rs:7:9 | 7 | pub use super::hashtag::Entity as Hashtag; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `super::follower::Entity as Follower`: backend/src/entity/prelude.rs#L6
error: unused import: `super::follower::Entity as Follower` --> backend/src/entity/prelude.rs:6:9 | 6 | pub use super::follower::Entity as Follower; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `super::follow::Entity as Follow`: backend/src/entity/prelude.rs#L5
error: unused import: `super::follow::Entity as Follow` --> backend/src/entity/prelude.rs:5:9 | 5 | pub use super::follow::Entity as Follow; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `super::emoji::Entity as Emoji`: backend/src/entity/prelude.rs#L4
error: unused import: `super::emoji::Entity as Emoji` --> backend/src/entity/prelude.rs:4:9 | 4 | pub use super::emoji::Entity as Emoji; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `super::access_key::Entity as AccessKey`: backend/src/entity/prelude.rs#L3
error: unused import: `super::access_key::Entity as AccessKey` --> backend/src/entity/prelude.rs:3:9 | 3 | pub use super::access_key::Entity as AccessKey; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `-D unused-imports` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(unused_imports)]`
this `else { if .. }` block can be collapsed: backend/src/error.rs#L61
error: this `else { if .. }` block can be collapsed --> backend/src/error.rs:61:16 | 61 | } else { | ________________^ 62 | | if CONFIG.debug { 63 | | tracing::warn!( 64 | | "responding client error, id: {}\n{:?}\nContext\n{}", ... | 76 | | } 77 | | } | |_________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_else_if = note: `-D clippy::collapsible-else-if` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::collapsible_else_if)]` help: collapse nested if block | 61 ~ } else if CONFIG.debug { 62 + tracing::warn!( 63 + "responding client error, id: {}\n{:?}\nContext\n{}", 64 + self.id, 65 + self.inner, 66 + self.context 67 + ); 68 + } else { 69 + tracing::debug!( 70 + "responding client error, id: {}\n{:?}\nContext\n{}", 71 + self.id, 72 + self.inner, 73 + self.context 74 + ); 75 + } |
unused import: `super::user::Entity as User`: backend/src/entity/prelude.rs#L17
error: unused import: `super::user::Entity as User` --> backend/src/entity/prelude.rs:17:9 | 17 | pub use super::user::Entity as User; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `super::setting::Entity as Setting`: backend/src/entity/prelude.rs#L16
error: unused import: `super::setting::Entity as Setting` --> backend/src/entity/prelude.rs:16:9 | 16 | pub use super::setting::Entity as Setting; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `super::report::Entity as Report`: backend/src/entity/prelude.rs#L15
error: unused import: `super::report::Entity as Report` --> backend/src/entity/prelude.rs:15:9 | 15 | pub use super::report::Entity as Report; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `super::remote_file::Entity as RemoteFile`: backend/src/entity/prelude.rs#L14
error: unused import: `super::remote_file::Entity as RemoteFile` --> backend/src/entity/prelude.rs:14:9 | 14 | pub use super::remote_file::Entity as RemoteFile; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `super::reaction::Entity as Reaction`: backend/src/entity/prelude.rs#L13
error: unused import: `super::reaction::Entity as Reaction` --> backend/src/entity/prelude.rs:13:9 | 13 | pub use super::reaction::Entity as Reaction; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `super::post_emoji::Entity as PostEmoji`: backend/src/entity/prelude.rs#L12
error: unused import: `super::post_emoji::Entity as PostEmoji` --> backend/src/entity/prelude.rs:12:9 | 12 | pub use super::post_emoji::Entity as PostEmoji; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `super::post::Entity as Post`: backend/src/entity/prelude.rs#L11
error: unused import: `super::post::Entity as Post` --> backend/src/entity/prelude.rs:11:9 | 11 | pub use super::post::Entity as Post; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `super::notification::Entity as Notification`: backend/src/entity/prelude.rs#L10
error: unused import: `super::notification::Entity as Notification` --> backend/src/entity/prelude.rs:10:9 | 10 | pub use super::notification::Entity as Notification; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `super::mention::Entity as Mention`: backend/src/entity/prelude.rs#L9
error: unused import: `super::mention::Entity as Mention` --> backend/src/entity/prelude.rs:9:9 | 9 | pub use super::mention::Entity as Mention; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `super::local_file::Entity as LocalFile`: backend/src/entity/prelude.rs#L8
error: unused import: `super::local_file::Entity as LocalFile` --> backend/src/entity/prelude.rs:8:9 | 8 | pub use super::local_file::Entity as LocalFile; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `super::hashtag::Entity as Hashtag`: backend/src/entity/prelude.rs#L7
error: unused import: `super::hashtag::Entity as Hashtag` --> backend/src/entity/prelude.rs:7:9 | 7 | pub use super::hashtag::Entity as Hashtag; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `super::follower::Entity as Follower`: backend/src/entity/prelude.rs#L6
error: unused import: `super::follower::Entity as Follower` --> backend/src/entity/prelude.rs:6:9 | 6 | pub use super::follower::Entity as Follower; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `super::follow::Entity as Follow`: backend/src/entity/prelude.rs#L5
error: unused import: `super::follow::Entity as Follow` --> backend/src/entity/prelude.rs:5:9 | 5 | pub use super::follow::Entity as Follow; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `super::emoji::Entity as Emoji`: backend/src/entity/prelude.rs#L4
error: unused import: `super::emoji::Entity as Emoji` --> backend/src/entity/prelude.rs:4:9 | 4 | pub use super::emoji::Entity as Emoji; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unused import: `super::access_key::Entity as AccessKey`: backend/src/entity/prelude.rs#L3
error: unused import: `super::access_key::Entity as AccessKey` --> backend/src/entity/prelude.rs:3:9 | 3 | pub use super::access_key::Entity as AccessKey; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `-D unused-imports` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(unused_imports)]`
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: docker/setup-qemu-action@v2, docker/setup-buildx-action@v2, docker/metadata-action@v4, actions/checkout@v3, docker/build-push-action@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.