[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] checking Jeffrey-Burt/Jeffrey-Burt-Rust-Axum-Fullstack-App against try#6284d7b4bd27983dba388146648ab844ca7d032f for pr-152971 [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-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Jeffrey-Burt/Jeffrey-Burt-Rust-Axum-Fullstack-App on toolchain 6284d7b4bd27983dba388146648ab844ca7d032f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6284d7b4bd27983dba388146648ab844ca7d032f" "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" "+6284d7b4bd27983dba388146648ab844ca7d032f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded backtrace v0.3.70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+6284d7b4bd27983dba388146648ab844ca7d032f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09f9dcf6b8589c8029fd239f6e84ea36892874cd4679875a01743843e1b9e7cc [INFO] running `Command { std: "docker" "start" "-a" "09f9dcf6b8589c8029fd239f6e84ea36892874cd4679875a01743843e1b9e7cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09f9dcf6b8589c8029fd239f6e84ea36892874cd4679875a01743843e1b9e7cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09f9dcf6b8589c8029fd239f6e84ea36892874cd4679875a01743843e1b9e7cc", kill_on_drop: false }` [INFO] [stdout] 09f9dcf6b8589c8029fd239f6e84ea36892874cd4679875a01743843e1b9e7cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+6284d7b4bd27983dba388146648ab844ca7d032f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffb7501442771c1603f3c2adc0ab7a2c56ee27fa8064b3e3ee004a36988f604b [INFO] running `Command { std: "docker" "start" "-a" "ffb7501442771c1603f3c2adc0ab7a2c56ee27fa8064b3e3ee004a36988f604b", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling der v0.7.8 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling num-iter v0.1.44 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling indexmap v2.2.5 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling async-trait v0.1.78 [INFO] [stderr] Compiling rsa v0.9.6 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Compiling askama_parser v0.2.1 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Checking askama_escape v0.10.3 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking chrono v0.4.35 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking axum-core v0.3.4 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking tower v0.4.13 [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 itertools v0.12.1 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking serde_urlencoded v0.7.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] Checking askama v0.12.1 [INFO] [stderr] Checking frontend v0.1.0 (/opt/rustwide/workdir/frontend) [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Checking sqlx-mysql v0.7.4 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking Jeffrey-Burt-Rust-Axum-Fullstack-App v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking backend v0.1.0 (/opt/rustwide/workdir/backend) [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] 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] 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[E0432]: unresolved import `askama` [INFO] [stdout] --> backend/src/templates.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use askama::Template; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `askama` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `askama`, use `cargo add askama` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `askama` [INFO] [stdout] --> backend/src/templates.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use askama::Template; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `askama` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `askama`, use `cargo add askama` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `template` in this scope [INFO] [stdout] --> backend/src/templates.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[template(path = "C:\\Users\\User\\Desktop\\Jeffrey-Burt-Rust-Axum-Fullstack-App\\frontend\\templates\\hello.html")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `template` in this scope [INFO] [stdout] --> backend/src/templates.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | #[template(path = "C:\\Users\\User\\Desktop\\Jeffrey-Burt-Rust-Axum-Fullstack-App\\frontend\\templates\\about.html")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `template` in this scope [INFO] [stdout] --> backend/src/templates.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | #[template(path = "C:\\Users\\User\\Desktop\\Jeffrey-Burt-Rust-Axum-Fullstack-App\\frontend\\templates\\new_user.html")] [INFO] [stdout] | ^^^^^^^^ [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] error: cannot find attribute `template` in this scope [INFO] [stdout] --> backend/src/templates.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[template(path = "C:\\Users\\User\\Desktop\\Jeffrey-Burt-Rust-Axum-Fullstack-App\\frontend\\templates\\hello.html")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `template` in this scope [INFO] [stdout] --> backend/src/templates.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | #[template(path = "C:\\Users\\User\\Desktop\\Jeffrey-Burt-Rust-Axum-Fullstack-App\\frontend\\templates\\about.html")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `template` in this scope [INFO] [stdout] --> backend/src/templates.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | #[template(path = "C:\\Users\\User\\Desktop\\Jeffrey-Burt-Rust-Axum-Fullstack-App\\frontend\\templates\\new_user.html")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `backend` (bin "backend" test) due to 4 previous errors; 3 warnings emitted [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] [stderr] warning: build failed, waiting for other jobs to finish... [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] 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 `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] [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] [stderr] error: could not compile `Jeffrey-Burt-Rust-Axum-Fullstack-App` (bin "backend_main" test) due to 9 previous errors; 4 warnings emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `backend` (bin "backend") due to 4 previous errors; 3 warnings emitted [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" "ffb7501442771c1603f3c2adc0ab7a2c56ee27fa8064b3e3ee004a36988f604b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffb7501442771c1603f3c2adc0ab7a2c56ee27fa8064b3e3ee004a36988f604b", kill_on_drop: false }` [INFO] [stdout] ffb7501442771c1603f3c2adc0ab7a2c56ee27fa8064b3e3ee004a36988f604b