[INFO] cloning repository https://github.com/AuVarian/rust-htmx-main [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AuVarian/rust-htmx-main" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAuVarian%2Frust-htmx-main", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAuVarian%2Frust-htmx-main'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 36fb082bdf25793dc316d31e5627e85be13c1919 [INFO] building AuVarian/rust-htmx-main against try#58b1b3c5342a414c161338871f8004258ccef2a7 for pr-149937 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAuVarian%2Frust-htmx-main" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/AuVarian/rust-htmx-main [INFO] finished tweaking git repo https://github.com/AuVarian/rust-htmx-main [INFO] tweaked toml for git repo https://github.com/AuVarian/rust-htmx-main written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/AuVarian/rust-htmx-main on toolchain 58b1b3c5342a414c161338871f8004258ccef2a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/AuVarian/rust-htmx-main 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" "+58b1b3c5342a414c161338871f8004258ccef2a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f85b577ef878c9e281345421229e1ec8b1a00b9dfe483fe5105e9691d8e43056 [INFO] running `Command { std: "docker" "start" "-a" "f85b577ef878c9e281345421229e1ec8b1a00b9dfe483fe5105e9691d8e43056", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f85b577ef878c9e281345421229e1ec8b1a00b9dfe483fe5105e9691d8e43056", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f85b577ef878c9e281345421229e1ec8b1a00b9dfe483fe5105e9691d8e43056", kill_on_drop: false }` [INFO] [stdout] f85b577ef878c9e281345421229e1ec8b1a00b9dfe483fe5105e9691d8e43056 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e956802370bfd64254c794dbac068b480914430901b62dad015d67d7e7ef97fc [INFO] running `Command { std: "docker" "start" "-a" "e956802370bfd64254c794dbac068b480914430901b62dad015d67d7e7ef97fc", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling find-msvc-tools v0.1.3 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rustls v0.23.32 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling cc v1.2.40 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling bytestring v1.5.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling regex-lite v0.1.7 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling flate2 v1.1.4 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling primeorder v0.13.6 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling v_htmlescape v0.15.8 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling p384 v0.13.1 [INFO] [stderr] Compiling p256 v0.13.2 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling http-range v0.1.5 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling snmp v0.2.2 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling rsa v0.9.8 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling rustls-webpki v0.103.7 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling ed25519-dalek v2.2.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling basic-toml v0.1.10 [INFO] [stderr] Compiling askama_parser v0.14.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling jsonwebtoken v10.0.0 [INFO] [stderr] Compiling askama_derive v0.14.0 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling actix-rt v2.11.0 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling askama v0.14.0 [INFO] [stderr] Compiling sqlx-sqlite v0.8.6 [INFO] [stderr] Compiling actix-http v3.11.2 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling actix-files v0.6.8 [INFO] [stderr] Compiling actix-cors v0.7.1 [INFO] [stderr] Compiling rust-htmx-main v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Validation` and `decode` [INFO] [stdout] --> src/auth.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use jsonwebtoken::{encode, decode, Header, Validation, EncodingKey, DecodingKey, Algorithm}; [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: `Ready`, `ready`, and `time::Duration` [INFO] [stdout] --> src/auth.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{future::{ready, Ready}, time::Duration}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::Role` [INFO] [stdout] --> src/auth.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::models::Role; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> src/main.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | use std::{env, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpMessage` [INFO] [stdout] --> src/auth.rs:1:75 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{dev::Payload, error::ErrorUnauthorized, web, FromRequest, HttpMessage, HttpRequest}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Role` is never used [INFO] [stdout] --> src/models.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Role { Viewer, Operator, Admin } [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/models.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Role { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 8 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BaseTemplate` is never constructed [INFO] [stdout] --> src/templates.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BaseTemplate<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `username` is never read [INFO] [stdout] --> src/templates.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct IndexTemplate<'a> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub username: Option<&'a str>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `username` is never read [INFO] [stdout] --> src/templates.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct LoginTemplate<'a> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | pub username: Option<&'a str>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `username` is never read [INFO] [stdout] --> src/templates.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Tab2Template<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | pub username: Option<&'a str>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `username` is never read [INFO] [stdout] --> src/templates.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Tab3Template<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | pub username: Option<&'a str>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `username` is never read [INFO] [stdout] --> src/templates.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct AdminTemplate<'a> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 56 | pub username: Option<&'a str>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 00s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "e956802370bfd64254c794dbac068b480914430901b62dad015d67d7e7ef97fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e956802370bfd64254c794dbac068b480914430901b62dad015d67d7e7ef97fc", kill_on_drop: false }` [INFO] [stdout] e956802370bfd64254c794dbac068b480914430901b62dad015d67d7e7ef97fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed9491b5a098981af7b6221d565053aaf489cea26e69ef8902a6e1d7c5f56caa [INFO] running `Command { std: "docker" "start" "-a" "ed9491b5a098981af7b6221d565053aaf489cea26e69ef8902a6e1d7c5f56caa", kill_on_drop: false }` [INFO] [stderr] Compiling rust-htmx-main v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Validation` and `decode` [INFO] [stdout] --> src/auth.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use jsonwebtoken::{encode, decode, Header, Validation, EncodingKey, DecodingKey, Algorithm}; [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: `Ready`, `ready`, and `time::Duration` [INFO] [stdout] --> src/auth.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{future::{ready, Ready}, time::Duration}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::Role` [INFO] [stdout] --> src/auth.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::models::Role; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Duration` [INFO] [stdout] --> src/main.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | use std::{env, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpMessage` [INFO] [stdout] --> src/auth.rs:1:75 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{dev::Payload, error::ErrorUnauthorized, web, FromRequest, HttpMessage, HttpRequest}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Role` is never used [INFO] [stdout] --> src/models.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Role { Viewer, Operator, Admin } [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/models.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Role { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 8 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BaseTemplate` is never constructed [INFO] [stdout] --> src/templates.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct BaseTemplate<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `username` is never read [INFO] [stdout] --> src/templates.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct IndexTemplate<'a> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub username: Option<&'a str>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `username` is never read [INFO] [stdout] --> src/templates.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct LoginTemplate<'a> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | pub username: Option<&'a str>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `username` is never read [INFO] [stdout] --> src/templates.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Tab2Template<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | pub username: Option<&'a str>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `username` is never read [INFO] [stdout] --> src/templates.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Tab3Template<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | pub username: Option<&'a str>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `username` is never read [INFO] [stdout] --> src/templates.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct AdminTemplate<'a> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 56 | pub username: Option<&'a str>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.90s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "ed9491b5a098981af7b6221d565053aaf489cea26e69ef8902a6e1d7c5f56caa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed9491b5a098981af7b6221d565053aaf489cea26e69ef8902a6e1d7c5f56caa", kill_on_drop: false }` [INFO] [stdout] ed9491b5a098981af7b6221d565053aaf489cea26e69ef8902a6e1d7c5f56caa