[INFO] cloning repository https://github.com/mrhdias/store [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mrhdias/store" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrhdias%2Fstore", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrhdias%2Fstore'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 77f8b1eb65555b61d45bc16c0a9ce746950c395e [INFO] checking mrhdias/store against master#368e2fd458a22d0cc133d0c254f2612ee999744f for pr-128351 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrhdias%2Fstore" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mrhdias/store on toolchain 368e2fd458a22d0cc133d0c254f2612ee999744f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+368e2fd458a22d0cc133d0c254f2612ee999744f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mrhdias/store [INFO] finished tweaking git repo https://github.com/mrhdias/store [INFO] tweaked toml for git repo https://github.com/mrhdias/store written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mrhdias/store 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" "+368e2fd458a22d0cc133d0c254f2612ee999744f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tower-sessions-memory-store v0.12.2 [INFO] [stderr] Downloaded tower-sessions v0.12.2 [INFO] [stderr] Downloaded tower-sessions-core v0.12.2 [INFO] [stderr] Downloaded ord_subset v3.1.1 [INFO] [stderr] Downloaded tower-sessions-sqlx-store v0.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+368e2fd458a22d0cc133d0c254f2612ee999744f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f05d9f2e609eee222b99d05701b40f8cbb62f3bb28ef278d56dea0a6fcdff82 [INFO] running `Command { std: "docker" "start" "-a" "3f05d9f2e609eee222b99d05701b40f8cbb62f3bb28ef278d56dea0a6fcdff82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f05d9f2e609eee222b99d05701b40f8cbb62f3bb28ef278d56dea0a6fcdff82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f05d9f2e609eee222b99d05701b40f8cbb62f3bb28ef278d56dea0a6fcdff82", kill_on_drop: false }` [INFO] [stdout] 3f05d9f2e609eee222b99d05701b40f8cbb62f3bb28ef278d56dea0a6fcdff82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+368e2fd458a22d0cc133d0c254f2612ee999744f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e57caaa8718ca6e77a2b8625ec3fc3f8933e71497b737b383bc204215d75f02 [INFO] running `Command { std: "docker" "start" "-a" "8e57caaa8718ca6e77a2b8625ec3fc3f8933e71497b737b383bc204215d75f02", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking bytes v1.6.1 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling serde_json v1.0.121 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling rust_decimal v1.35.0 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling unicode-properties v0.1.1 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling sqlformat v0.2.4 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Checking bstr v1.10.0 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking rmp v0.8.14 [INFO] [stderr] Compiling decimal v2.1.0 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Checking deunicode v1.6.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Checking slug v0.1.5 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Checking chumsky v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking ignore v0.4.22 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Compiling pest v2.7.11 [INFO] [stderr] Checking globwalk v0.9.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking email-encoding v0.3.0 [INFO] [stderr] Checking hostname v0.4.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking email_address v0.2.7 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking http-range-header v0.4.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking trim-in-place v0.1.7 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking ord_subset v3.1.1 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking quoted_printable v0.5.1 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking rust-ini v0.21.0 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Compiling pest_meta v2.7.11 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling pest_generator v2.7.11 [INFO] [stderr] Compiling pest_derive v2.7.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking lettre v0.11.7 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking rmp-serde v1.3.0 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking hyper-util v0.1.6 [INFO] [stderr] Checking typed-headers v0.2.0 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Checking tower-sessions-core v0.12.2 [INFO] [stderr] Checking tower-cookies v0.10.0 [INFO] [stderr] Checking tower-sessions-memory-store v0.12.2 [INFO] [stderr] Checking tower-sessions v0.12.2 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Checking tera v1.20.0 [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 tower-sessions-sqlx-store v0.12.0 [INFO] [stderr] Checking store v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::notifications` [INFO] [stdout] --> src/controllers/frontend/checkout.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::notifications; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::notifications` [INFO] [stdout] --> src/controllers/frontend/checkout.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::notifications; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `categories_manager` [INFO] [stdout] --> src/controllers/backend/categories.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let categories_manager = categories::Categories::new(pool); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_categories_manager` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/controllers/backend/orders.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | Extension(pool): Extension>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tera` [INFO] [stdout] --> src/controllers/backend/orders.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | Extension(mut tera): Extension) -> Html { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/controllers/backend/orders.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | Extension(mut tera): Extension) -> Html { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/controllers/backend/orders.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | Path(id):Path, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/controllers/backend/orders.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | Extension(pool): Extension>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tera` [INFO] [stdout] --> src/controllers/backend/orders.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | Extension(mut tera): Extension) -> Html { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/controllers/backend/orders.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | Extension(mut tera): Extension) -> Html { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `categories_manager` [INFO] [stdout] --> src/controllers/backend/categories.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let categories_manager = categories::Categories::new(pool); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_categories_manager` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/controllers/backend/orders.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | Extension(pool): Extension>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tera` [INFO] [stdout] --> src/controllers/backend/orders.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | Extension(mut tera): Extension) -> Html { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/controllers/backend/orders.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | Extension(mut tera): Extension) -> Html { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/controllers/backend/orders.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | Path(id):Path, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/controllers/backend/orders.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | Extension(pool): Extension>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tera` [INFO] [stdout] --> src/controllers/backend/orders.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | Extension(mut tera): Extension) -> Html { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/controllers/backend/orders.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | Extension(mut tera): Extension) -> Html { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `categories_ids` [INFO] [stdout] --> src/controllers/backend/products.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | let mut categories_ids: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_categories_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `categories_ids` [INFO] [stdout] --> src/controllers/backend/products.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | let mut categories_ids: Vec = vec![]; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_categories_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/controllers/backend/products.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | let mut categories_ids: Vec = vec![]; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/controllers/backend/products.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | let mut categories_ids: Vec = vec![]; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/controllers/backend/users.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | Path(id):Path, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/controllers/backend/users.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | Extension(pool): Extension>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tera` [INFO] [stdout] --> src/controllers/backend/users.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | Extension(tera): Extension) -> Html { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/controllers/backend/users.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | Path(id):Path, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/controllers/backend/users.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | Extension(pool): Extension>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tera` [INFO] [stdout] --> src/controllers/backend/users.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | Extension(tera): Extension) -> Html { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `alert` is never read [INFO] [stdout] --> src/controllers/frontend/checkout.rs:295:25 [INFO] [stdout] | [INFO] [stdout] 295 | alert = format!("Happened an error adding order: {}", e); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `alert` is never read [INFO] [stdout] --> src/controllers/frontend/checkout.rs:295:25 [INFO] [stdout] | [INFO] [stdout] 295 | alert = format!("Happened an error adding order: {}", e); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on_sale` [INFO] [stdout] --> src/controllers/frontend/shortcodes.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let on_sale = match parameters.on_sale { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_on_sale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_by` [INFO] [stdout] --> src/controllers/frontend/shortcodes.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | let order_by = match parameters.order_by { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_by` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on_sale` [INFO] [stdout] --> src/controllers/frontend/shortcodes.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let on_sale = match parameters.on_sale { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_on_sale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_by` [INFO] [stdout] --> src/controllers/frontend/shortcodes.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | let order_by = match parameters.order_by { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_by` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/notifications.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn new(pool: sqlx::Pool) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/notifications.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn new(pool: sqlx::Pool) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DatabaseConf` is never constructed [INFO] [stdout] --> src/main.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | struct DatabaseConf { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/models/orders.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 36 | impl OrderStatus { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 37 | fn as_str(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/models/products.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 63 | impl StockStatus { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 64 | fn as_str(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `clone`, `default`, and `new` are never used [INFO] [stdout] --> src/models/products.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 82 | impl Media { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 83 | fn clone(&self) -> Media { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | fn default(& mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `label` is never read [INFO] [stdout] --> src/models/shipping.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct TableWeight { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 9 | label: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/models/shipping.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Shipping { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 16 | pool: sqlx::Pool, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tag` is never constructed [INFO] [stdout] --> src/models/tags.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Tag { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/models/tags.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Tags { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 10 | pool: sqlx::Pool, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/models/users.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 28 | impl UserRoles { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 29 | fn as_str(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update`, `delete`, `get`, and `add` are never used [INFO] [stdout] --> src/models/users.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 66 | impl Users { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 67 | [INFO] [stdout] 68 | fn update(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | fn delete(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | fn get(&self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | fn add(&self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Product` is never constructed [INFO] [stdout] --> src/controllers/frontend/shortcodes.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | struct Product { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/types.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl StockStatus { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 21 | fn as_str(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DatabaseConf` is never constructed [INFO] [stdout] --> src/main.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | struct DatabaseConf { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/models/orders.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 36 | impl OrderStatus { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 37 | fn as_str(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/models/products.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 63 | impl StockStatus { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 64 | fn as_str(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `clone`, `default`, and `new` are never used [INFO] [stdout] --> src/models/products.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 82 | impl Media { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 83 | fn clone(&self) -> Media { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | fn default(& mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `label` is never read [INFO] [stdout] --> src/models/shipping.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct TableWeight { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 9 | label: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/models/shipping.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Shipping { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 16 | pool: sqlx::Pool, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tag` is never constructed [INFO] [stdout] --> src/models/tags.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Tag { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/models/tags.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Tags { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 10 | pool: sqlx::Pool, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/models/users.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 28 | impl UserRoles { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 29 | fn as_str(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update`, `delete`, `get`, and `add` are never used [INFO] [stdout] --> src/models/users.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 66 | impl Users { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 67 | [INFO] [stdout] 68 | fn update(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | fn delete(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | fn get(&self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | fn add(&self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Product` is never constructed [INFO] [stdout] --> src/controllers/frontend/shortcodes.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | struct Product { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/types.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl StockStatus { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 21 | fn as_str(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.84s [INFO] running `Command { std: "docker" "inspect" "8e57caaa8718ca6e77a2b8625ec3fc3f8933e71497b737b383bc204215d75f02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e57caaa8718ca6e77a2b8625ec3fc3f8933e71497b737b383bc204215d75f02", kill_on_drop: false }` [INFO] [stdout] 8e57caaa8718ca6e77a2b8625ec3fc3f8933e71497b737b383bc204215d75f02