[INFO] cloning repository https://github.com/Jeffrey-Burt/Jeffrey-Burt-Rust-Axum-Fullstack-App [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jeffrey-Burt/Jeffrey-Burt-Rust-Axum-Fullstack-App" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJeffrey-Burt%2FJeffrey-Burt-Rust-Axum-Fullstack-App", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJeffrey-Burt%2FJeffrey-Burt-Rust-Axum-Fullstack-App'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 73510ef690e19e176a6d09b0cf6f461bc4a6c350 [INFO] testing Jeffrey-Burt/Jeffrey-Burt-Rust-Axum-Fullstack-App against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJeffrey-Burt%2FJeffrey-Burt-Rust-Axum-Fullstack-App" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Jeffrey-Burt/Jeffrey-Burt-Rust-Axum-Fullstack-App [INFO] finished tweaking git repo https://github.com/Jeffrey-Burt/Jeffrey-Burt-Rust-Axum-Fullstack-App [INFO] tweaked toml for git repo https://github.com/Jeffrey-Burt/Jeffrey-Burt-Rust-Axum-Fullstack-App written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Jeffrey-Burt/Jeffrey-Burt-Rust-Axum-Fullstack-App on toolchain 9f93af291970322f4f1c6315ccde4d7078201159 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Jeffrey-Burt/Jeffrey-Burt-Rust-Axum-Fullstack-App already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sqlx-sqlite v0.7.4 [INFO] [stderr] Downloaded sqlx-macros v0.7.4 [INFO] [stderr] Downloaded crossbeam-queue v0.3.11 [INFO] [stderr] Downloaded unicase v2.7.0 [INFO] [stderr] Downloaded askama_parser v0.2.1 [INFO] [stderr] Downloaded humansize v2.1.3 [INFO] [stderr] Downloaded mime_guess v2.0.4 [INFO] [stderr] Downloaded askama_derive v0.12.5 [INFO] [stderr] Downloaded sqlx-macros-core v0.7.4 [INFO] [stderr] Downloaded async-trait v0.1.78 [INFO] [stderr] Downloaded basic-toml v0.1.9 [INFO] [stderr] Downloaded indexmap v2.2.5 [INFO] [stderr] Downloaded sqlx-postgres v0.7.4 [INFO] [stderr] Downloaded sqlx-core v0.7.4 [INFO] [stderr] Downloaded serde_json v1.0.114 [INFO] [stderr] Downloaded backtrace v0.3.70 [INFO] [stderr] Downloaded headers v0.3.9 [INFO] [stderr] Downloaded sqlx v0.7.4 [INFO] [stderr] Downloaded sqlx-mysql v0.7.4 [INFO] [stderr] Downloaded whoami v1.5.1 [INFO] [stderr] Downloaded chrono v0.4.35 [INFO] [stderr] Downloaded syn v2.0.53 [INFO] [stderr] Downloaded askama v0.12.1 [INFO] [stderr] Downloaded serde_path_to_error v0.1.16 [INFO] [stderr] Downloaded askama_escape v0.10.3 [INFO] [stderr] Downloaded num-iter v0.1.44 [INFO] [stderr] Downloaded tokio v1.36.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b8f79387e3a0efb2d417461f14b1afcf76b59f50eebdbcde94ddfb35f6d92971 [INFO] running `Command { std: "docker" "start" "-a" "b8f79387e3a0efb2d417461f14b1afcf76b59f50eebdbcde94ddfb35f6d92971", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8f79387e3a0efb2d417461f14b1afcf76b59f50eebdbcde94ddfb35f6d92971", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8f79387e3a0efb2d417461f14b1afcf76b59f50eebdbcde94ddfb35f6d92971", kill_on_drop: false }` [INFO] [stdout] b8f79387e3a0efb2d417461f14b1afcf76b59f50eebdbcde94ddfb35f6d92971 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b530ddc45adebcd1f01470cdd4237985a0daa1cb13bf8df1ee035e31a4450e6f [INFO] running `Command { std: "docker" "start" "-a" "b530ddc45adebcd1f01470cdd4237985a0daa1cb13bf8df1ee035e31a4450e6f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling der v0.7.8 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling num-iter v0.1.44 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling indexmap v2.2.5 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling async-trait v0.1.78 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling askama_parser v0.2.1 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling askama_escape v0.10.3 [INFO] [stderr] Compiling rsa v0.9.6 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling chrono v0.4.35 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling basic-toml v0.1.9 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling askama_derive v0.12.5 [INFO] [stderr] Compiling sqlformat v0.2.3 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling askama v0.12.1 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling sqlx-mysql v0.7.4 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling Jeffrey-Burt-Rust-Axum-Fullstack-App v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: template "C:\\Users\\User\\Desktop\\Jeffrey-Burt-Rust-Axum-Fullstack-App\\frontend\\templates\\hello.html" not found in directories ["/opt/rustwide/workdir/templates"] [INFO] [stdout] --> backend/src/templates.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Template)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: template "C:\\Users\\User\\Desktop\\Jeffrey-Burt-Rust-Axum-Fullstack-App\\frontend\\templates\\about.html" not found in directories ["/opt/rustwide/workdir/templates"] [INFO] [stdout] --> backend/src/templates.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Template)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: template "C:\\Users\\User\\Desktop\\Jeffrey-Burt-Rust-Axum-Fullstack-App\\frontend\\templates\\new_user.html" not found in directories ["/opt/rustwide/workdir/templates"] [INFO] [stdout] --> backend/src/templates.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Template)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Template` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Json` and `Query` [INFO] [stdout] --> backend/src/templates.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | extract::{Extension, Query}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | Json [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JsonValue` and `Value` [INFO] [stdout] --> backend/src/templates.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Value, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | MySqlPool, [INFO] [stdout] 12 | types::{JsonValue} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result` and `Value as Serde_Value` [INFO] [stdout] --> backend/src/templates.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | use serde_json::{Result, Value as Serde_Value}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `HelloTemplate: Template` is not satisfied [INFO] [stdout] --> backend/src/templates.rs:48:43 [INFO] [stdout] | [INFO] [stdout] 48 | pub async fn hello() -> impl IntoResponse { [INFO] [stdout] | ___________________________________________- [INFO] [stdout] 49 | | let template = HelloTemplate { name: "World".to_string() }; [INFO] [stdout] 50 | | HtmlTemplate(template) [INFO] [stdout] 51 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_unsatisfied trait bound [INFO] [stdout] | return type was inferred to be `HtmlTemplate` here [INFO] [stdout] | [INFO] [stdout] help: the trait `Template` is not implemented for `HelloTemplate` [INFO] [stdout] --> backend/src/templates.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct HelloTemplate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: the trait `IntoResponse` is implemented for `HtmlTemplate` [INFO] [stdout] --> backend/src/templates.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / impl IntoResponse for HtmlTemplate [INFO] [stdout] 62 | | where [INFO] [stdout] 63 | | T: Template, [INFO] [stdout] | |________________^ [INFO] [stdout] note: required for `HtmlTemplate` to implement `IntoResponse` [INFO] [stdout] --> backend/src/templates.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | impl IntoResponse for HtmlTemplate [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | where [INFO] [stdout] 63 | T: Template, [INFO] [stdout] | -------- unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `HelloTemplate: Template` is not satisfied [INFO] [stdout] --> backend/src/templates.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | pub async fn hello() -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Template` is not implemented for `HelloTemplate` [INFO] [stdout] --> backend/src/templates.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct HelloTemplate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: the trait `IntoResponse` is implemented for `HtmlTemplate` [INFO] [stdout] --> backend/src/templates.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / impl IntoResponse for HtmlTemplate [INFO] [stdout] 62 | | where [INFO] [stdout] 63 | | T: Template, [INFO] [stdout] | |________________^ [INFO] [stdout] note: required for `HtmlTemplate` to implement `IntoResponse` [INFO] [stdout] --> backend/src/templates.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | impl IntoResponse for HtmlTemplate [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | where [INFO] [stdout] 63 | T: Template, [INFO] [stdout] | -------- unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AboutTemplate: Template` is not satisfied [INFO] [stdout] --> backend/src/templates.rs:39:89 [INFO] [stdout] | [INFO] [stdout] 39 | pub async fn about_template(Extension(pool): Extension) -> impl IntoResponse { [INFO] [stdout] | _________________________________________________________________________________________- [INFO] [stdout] 40 | | let users = list_users(Extension(pool)).await; [INFO] [stdout] 41 | | let template = AboutTemplate { [INFO] [stdout] 42 | | button_text: "Text in button!".to_string(), [INFO] [stdout] ... | [INFO] [stdout] 45 | | HtmlTemplate(template) [INFO] [stdout] 46 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_unsatisfied trait bound [INFO] [stdout] | return type was inferred to be `HtmlTemplate` here [INFO] [stdout] | [INFO] [stdout] help: the trait `Template` is not implemented for `AboutTemplate` [INFO] [stdout] --> backend/src/templates.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct AboutTemplate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: the trait `IntoResponse` is implemented for `HtmlTemplate` [INFO] [stdout] --> backend/src/templates.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / impl IntoResponse for HtmlTemplate [INFO] [stdout] 62 | | where [INFO] [stdout] 63 | | T: Template, [INFO] [stdout] | |________________^ [INFO] [stdout] note: required for `HtmlTemplate` to implement `IntoResponse` [INFO] [stdout] --> backend/src/templates.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | impl IntoResponse for HtmlTemplate [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | where [INFO] [stdout] 63 | T: Template, [INFO] [stdout] | -------- unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AboutTemplate: Template` is not satisfied [INFO] [stdout] --> backend/src/templates.rs:39:71 [INFO] [stdout] | [INFO] [stdout] 39 | pub async fn about_template(Extension(pool): Extension) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Template` is not implemented for `AboutTemplate` [INFO] [stdout] --> backend/src/templates.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct AboutTemplate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: the trait `IntoResponse` is implemented for `HtmlTemplate` [INFO] [stdout] --> backend/src/templates.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / impl IntoResponse for HtmlTemplate [INFO] [stdout] 62 | | where [INFO] [stdout] 63 | | T: Template, [INFO] [stdout] | |________________^ [INFO] [stdout] note: required for `HtmlTemplate` to implement `IntoResponse` [INFO] [stdout] --> backend/src/templates.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | impl IntoResponse for HtmlTemplate [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | where [INFO] [stdout] 63 | T: Template, [INFO] [stdout] | -------- unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NewUserTemplate: Template` is not satisfied [INFO] [stdout] --> backend/src/templates.rs:53:92 [INFO] [stdout] | [INFO] [stdout] 53 | pub async fn new_user_template(Extension(pool): Extension) -> impl IntoResponse { [INFO] [stdout] | ____________________________________________________________________________________________- [INFO] [stdout] 54 | | let template = NewUserTemplate { [INFO] [stdout] 55 | | button_text: "Submit".to_string() [INFO] [stdout] 56 | | }; [INFO] [stdout] 57 | | HtmlTemplate(template) [INFO] [stdout] 58 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_unsatisfied trait bound [INFO] [stdout] | return type was inferred to be `HtmlTemplate` here [INFO] [stdout] | [INFO] [stdout] help: the trait `Template` is not implemented for `NewUserTemplate` [INFO] [stdout] --> backend/src/templates.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct NewUserTemplate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: the trait `IntoResponse` is implemented for `HtmlTemplate` [INFO] [stdout] --> backend/src/templates.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / impl IntoResponse for HtmlTemplate [INFO] [stdout] 62 | | where [INFO] [stdout] 63 | | T: Template, [INFO] [stdout] | |________________^ [INFO] [stdout] note: required for `HtmlTemplate` to implement `IntoResponse` [INFO] [stdout] --> backend/src/templates.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | impl IntoResponse for HtmlTemplate [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | where [INFO] [stdout] 63 | T: Template, [INFO] [stdout] | -------- unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `NewUserTemplate: Template` is not satisfied [INFO] [stdout] --> backend/src/templates.rs:53:74 [INFO] [stdout] | [INFO] [stdout] 53 | pub async fn new_user_template(Extension(pool): Extension) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Template` is not implemented for `NewUserTemplate` [INFO] [stdout] --> backend/src/templates.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct NewUserTemplate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: the trait `IntoResponse` is implemented for `HtmlTemplate` [INFO] [stdout] --> backend/src/templates.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / impl IntoResponse for HtmlTemplate [INFO] [stdout] 62 | | where [INFO] [stdout] 63 | | T: Template, [INFO] [stdout] | |________________^ [INFO] [stdout] note: required for `HtmlTemplate` to implement `IntoResponse` [INFO] [stdout] --> backend/src/templates.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | impl IntoResponse for HtmlTemplate [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | where [INFO] [stdout] 63 | T: Template, [INFO] [stdout] | -------- unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> backend/src/api.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let result = sqlx::query(&query_string) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `Jeffrey-Burt-Rust-Axum-Fullstack-App` (bin "backend_main") due to 9 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b530ddc45adebcd1f01470cdd4237985a0daa1cb13bf8df1ee035e31a4450e6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b530ddc45adebcd1f01470cdd4237985a0daa1cb13bf8df1ee035e31a4450e6f", kill_on_drop: false }` [INFO] [stdout] b530ddc45adebcd1f01470cdd4237985a0daa1cb13bf8df1ee035e31a4450e6f