[INFO] cloning repository https://github.com/jsonchen0702/E-commerce [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jsonchen0702/E-commerce" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjsonchen0702%2FE-commerce", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjsonchen0702%2FE-commerce'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c4ac21f15d006dd04128da78a90e568f42e284eb [INFO] testing jsonchen0702/E-commerce/c4ac21f15d006dd04128da78a90e568f42e284eb against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjsonchen0702%2FE-commerce" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jsonchen0702/E-commerce [INFO] finished tweaking git repo https://github.com/jsonchen0702/E-commerce [INFO] tweaked toml for git repo https://github.com/jsonchen0702/E-commerce written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jsonchen0702/E-commerce on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jsonchen0702/E-commerce 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 44 packages to latest compatible versions [INFO] [stderr] Adding askama v0.12.1 (available: v0.14.0) [INFO] [stderr] Adding askama_derive v0.12.5 [INFO] [stderr] Adding askama_escape v0.10.3 [INFO] [stderr] Adding askama_parser v0.2.1 [INFO] [stderr] Adding atomic-waker v1.1.2 [INFO] [stderr] Adding basic-toml v0.1.10 [INFO] [stderr] Adding core-foundation v0.9.4 [INFO] [stderr] Adding encoding_rs v0.8.35 [INFO] [stderr] Adding foreign-types v0.3.2 [INFO] [stderr] Adding foreign-types-shared v0.1.1 [INFO] [stderr] Adding h2 v0.4.12 [INFO] [stderr] Adding http-range-header v0.4.2 [INFO] [stderr] Adding humansize v2.1.3 [INFO] [stderr] Adding hyper-rustls v0.27.7 [INFO] [stderr] Adding hyper-tls v0.6.0 [INFO] [stderr] Adding ipnet v2.11.0 [INFO] [stderr] Adding mime_guess v2.0.5 [INFO] [stderr] Adding native-tls v0.2.14 [INFO] [stderr] Adding openssl v0.10.73 [INFO] [stderr] Adding openssl-macros v0.1.1 [INFO] [stderr] Adding openssl-probe v0.1.6 [INFO] [stderr] Adding openssl-sys v0.9.109 [INFO] [stderr] Adding reqwest v0.12.5 (available: v0.12.23) [INFO] [stderr] Adding rustls v0.23.31 [INFO] [stderr] Adding rustls-pemfile v2.2.0 [INFO] [stderr] Adding rustls-pki-types v1.12.0 [INFO] [stderr] Adding rustls-webpki v0.103.4 [INFO] [stderr] Adding schannel v0.1.28 [INFO] [stderr] Adding security-framework v2.11.0 (available: v2.11.1) [INFO] [stderr] Adding security-framework-sys v2.15.0 [INFO] [stderr] Adding system-configuration v0.5.1 [INFO] [stderr] Adding system-configuration-sys v0.5.0 [INFO] [stderr] Adding tokio-native-tls v0.3.1 [INFO] [stderr] Adding tokio-rustls v0.26.2 [INFO] [stderr] Adding tokio-util v0.7.16 [INFO] [stderr] Adding tower-http v0.5.2 (available: v0.6.6) [INFO] [stderr] Adding try-lock v0.2.5 [INFO] [stderr] Adding unicase v2.8.1 [INFO] [stderr] Adding want v0.3.1 [INFO] [stderr] Adding wasm-bindgen-futures v0.4.42 (available: v0.4.51) [INFO] [stderr] Adding web-sys v0.3.69 (available: v0.3.78) [INFO] [stderr] Adding windows-link v0.2.0 [INFO] [stderr] Adding windows-sys v0.61.0 [INFO] [stderr] Adding winreg v0.52.0 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded inherent v1.0.11 [INFO] [stderr] Downloaded sea-bae v0.2.0 [INFO] [stderr] Downloaded rustls v0.21.11 [INFO] [stderr] Downloaded sea-query-binder v0.5.0 [INFO] [stderr] Downloaded sqlformat v0.2.3 [INFO] [stderr] Downloaded sea-query v0.30.7 [INFO] [stderr] Downloaded dotenvy_macro v0.15.7 [INFO] [stderr] Downloaded rust_decimal v1.35.0 [INFO] [stderr] Downloaded sea-orm-macros v0.12.15 [INFO] [stderr] Downloaded sea-orm v0.12.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e5d3463f22b87c06e8a87f9f422b06d9333ee37a9cdb7d3fcf61022d115e8ce [INFO] running `Command { std: "docker" "start" "-a" "0e5d3463f22b87c06e8a87f9f422b06d9333ee37a9cdb7d3fcf61022d115e8ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e5d3463f22b87c06e8a87f9f422b06d9333ee37a9cdb7d3fcf61022d115e8ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e5d3463f22b87c06e8a87f9f422b06d9333ee37a9cdb7d3fcf61022d115e8ce", kill_on_drop: false }` [INFO] [stdout] 0e5d3463f22b87c06e8a87f9f422b06d9333ee37a9cdb7d3fcf61022d115e8ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22eed250e184324e7b31826364ebd7f7c35ad89d3cc840b0264d7d6acf7d9eb8 [INFO] running `Command { std: "docker" "start" "-a" "22eed250e184324e7b31826364ebd7f7c35ad89d3cc840b0264d7d6acf7d9eb8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Compiling rust_decimal v1.35.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling rustls v0.21.11 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling bigdecimal v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling base64 v0.22.0 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling zeroize v1.8.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling ordered-float v3.9.2 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling inherent v1.0.11 [INFO] [stderr] Compiling askama_parser v0.2.1 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling sea-bae v0.2.0 [INFO] [stderr] Compiling axum-macros v0.4.1 [INFO] [stderr] Compiling ouroboros_macro v0.17.2 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling headers-core v0.3.0 [INFO] [stderr] Compiling ouroboros v0.17.2 [INFO] [stderr] Compiling headers v0.4.0 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling sea-orm-macros v0.12.15 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling pem v3.0.4 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling http-range-header v0.4.2 [INFO] [stderr] Compiling askama_escape v0.10.3 [INFO] [stderr] Compiling bcrypt v0.15.1 [INFO] [stderr] Compiling dotenvy_macro v0.15.7 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling basic-toml v0.1.10 [INFO] [stderr] Compiling sqlformat v0.2.3 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling askama_derive v0.12.5 [INFO] [stderr] Compiling sea-query v0.30.7 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling jsonwebtoken v9.3.0 [INFO] [stderr] Compiling askama v0.12.1 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.5 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling sea-query-binder v0.5.0 [INFO] [stderr] Compiling axum-extra v0.9.3 [INFO] [stderr] Compiling sea-orm v0.12.15 [INFO] [stderr] Compiling ecommerce v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `body::Body` [INFO] [stdout] --> src/utils/custom_frontend_middleware.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::{body::Body, extract::{Request, State}, middleware::Next, response::Response}; [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 import: `self` [INFO] [stdout] --> src/utils/custom_frontend_middleware.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | use axum_extra::headers::{authorization::{self, Bearer}, Authorization, HeaderMapExt}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Form` [INFO] [stdout] --> src/routes/frontend/handlers.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::{response::IntoResponse, Form}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/routes/frontend/handlers.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `contact::ContactDetails` [INFO] [stdout] --> src/routes/frontend/handlers.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{contact::ContactDetails, HtmlTemplate}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Html` [INFO] [stdout] --> src/routes/frontend/contact.rs:1:58 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{extract::rejection::FormRejection, response::{Html, IntoResponse}, Form}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ContactTemplate` [INFO] [stdout] --> src/routes/frontend/contact.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::routes::frontend::{handlers::{ContactTemplate, ThankyouTemplate}, HtmlTemplate}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::HeaderValue` [INFO] [stdout] --> src/routes/frontend/shop.rs:2:39 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::{extract::{Request, State}, http::HeaderValue, response::IntoResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HeaderMap` and `header::AUTHORIZATION` [INFO] [stdout] --> src/routes/frontend/shop.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::{header::AUTHORIZATION, HeaderMap}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `app_state::AppState` and `custom_frontend_middleware::frontend_guard` [INFO] [stdout] --> src/routes/frontend/shop.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::utils::{app_state::AppState, custom_frontend_middleware::frontend_guard}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `State` [INFO] [stdout] --> src/routes/frontend/mod.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | use axum::{extract::{Request, State}, middleware::{self, Next}, response::{Html, IntoResponse, Response}, routing::{get, post}, Router}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `custom_middleware::guard_routes` and `self` [INFO] [stdout] --> src/routes/frontend/mod.rs:10:91 [INFO] [stdout] | [INFO] [stdout] 10 | ...:AppState, custom_frontend_middleware::{self, frontend_guard}, custom_middleware::guard_routes}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::backend::RespondUser` [INFO] [stdout] --> src/routes/frontend/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use super::backend::RespondUser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ActiveValue` and `DbErr` [INFO] [stdout] --> src/routes/admin_backend/create_products.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use sea_orm::{ActiveModelTrait, ActiveValue, ColumnTrait, DbErr, EntityTrait, QueryFilter, TryIntoModel}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude::DateTimeUtc` [INFO] [stdout] --> src/routes/admin_backend/create_products.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use sea_orm::{prelude::DateTimeUtc, DatabaseConnection}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/routes/frontend/shop.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | pub async fn shop(State(client): State, mut req: Request) -> impl IntoResponse{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/routes/frontend/shop.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let url = "http://localhost:3000/api/v1/list"; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `products` on type `&ShopTemplate` [INFO] [stdout] --> src/routes/frontend/shop.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Template)] [INFO] [stdout] | ^^^^^^^^ unknown field [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[E0609]: no field `total_pages` on type `&ShopTemplate` [INFO] [stdout] --> src/routes/frontend/shop.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Template)] [INFO] [stdout] | ^^^^^^^^ unknown field [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[E0609]: no field `current_page` on type `&ShopTemplate` [INFO] [stdout] --> src/routes/frontend/shop.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Template)] [INFO] [stdout] | ^^^^^^^^ unknown field [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] For more information about this error, try `rustc --explain E0609`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ecommerce` (lib) due to 3 previous errors; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "22eed250e184324e7b31826364ebd7f7c35ad89d3cc840b0264d7d6acf7d9eb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22eed250e184324e7b31826364ebd7f7c35ad89d3cc840b0264d7d6acf7d9eb8", kill_on_drop: false }` [INFO] [stdout] 22eed250e184324e7b31826364ebd7f7c35ad89d3cc840b0264d7d6acf7d9eb8