Skip to content

Docker: build

Docker: build #88

Triggered via push November 29, 2023 03:53
Status Failure
Total duration 1m 31s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

5 errors
build
buildx failed with: ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref 9fw73skzkubhg4nz80p6dmxvn::cml1ghwx88ast24p5dhc23lou: "/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 + } |
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 + } |