[INFO] fetching crate wwwhat-core 0.92.0... [INFO] checking wwwhat-core-0.92.0 against try#ad93f57d532978d6739002a21bc66b45ed22f998 for pr-155418 [INFO] extracting crate wwwhat-core 0.92.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate wwwhat-core 0.92.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate wwwhat-core 0.92.0 [INFO] tweaked toml for crates.io crate wwwhat-core 0.92.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wwwhat-core 0.92.0 on toolchain ad93f57d532978d6739002a21bc66b45ed22f998 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad93f57d532978d6739002a21bc66b45ed22f998" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate wwwhat-core 0.92.0 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" "+ad93f57d532978d6739002a21bc66b45ed22f998" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ad93f57d532978d6739002a21bc66b45ed22f998" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 94e2fb63015bb900ee235cdcef2cb0b84153f3462c0d47770d8fc8785d690a4a [INFO] running `Command { std: "docker" "start" "-a" "94e2fb63015bb900ee235cdcef2cb0b84153f3462c0d47770d8fc8785d690a4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "94e2fb63015bb900ee235cdcef2cb0b84153f3462c0d47770d8fc8785d690a4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94e2fb63015bb900ee235cdcef2cb0b84153f3462c0d47770d8fc8785d690a4a", kill_on_drop: false }` [INFO] [stdout] 94e2fb63015bb900ee235cdcef2cb0b84153f3462c0d47770d8fc8785d690a4a [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ad93f57d532978d6739002a21bc66b45ed22f998" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] acca6e94e9a14058aab4493a8be394987f8975ee77289503d48b76a28881834d [INFO] running `Command { std: "docker" "start" "-a" "acca6e94e9a14058aab4493a8be394987f8975ee77289503d48b76a28881834d", kill_on_drop: false }` [INFO] [stderr] Checking bytes v1.11.0 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Checking futures-io v0.3.32 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking phf_shared v0.11.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Compiling libsqlite3-sys v0.28.0 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling stacker v0.1.23 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking dtoa v1.0.11 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking dtoa-short v0.3.5 [INFO] [stderr] Checking deranged v0.5.5 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling portable-atomic v1.13.0 [INFO] [stderr] Checking data-encoding v2.10.0 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking uuid v1.19.0 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking hashlink v0.9.1 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking servo_arc v0.3.0 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking winnow v0.7.14 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking getopts v0.2.24 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking async-lock v3.4.2 [INFO] [stderr] Checking email-encoding v0.4.1 [INFO] [stderr] Checking webpki-roots v1.0.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking hostname v0.4.2 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Checking email_address v0.2.9 [INFO] [stderr] Checking http-range-header v0.4.2 [INFO] [stderr] Checking tagptr v0.2.0 [INFO] [stderr] Checking quoted_printable v0.5.1 [INFO] [stderr] Checking iana-time-zone v0.1.64 [INFO] [stderr] Checking ego-tree v0.6.3 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling ar_archive_writer v0.5.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking rustls-webpki v0.103.9 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling psm v0.1.30 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Checking cssparser v0.31.2 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Checking chumsky v0.9.3 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking tungstenite v0.24.0 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking moka v0.12.12 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking string_cache v0.8.9 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking scraper v0.18.1 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-tungstenite v0.24.0 [INFO] [stderr] Checking lettre v0.11.19 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking rusqlite v0.31.0 [INFO] [stderr] Checking r2d2_sqlite v0.24.0 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking wwwhat-core v0.92.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `header` [INFO] [stdout] --> tests/common/mod.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | use axum::http::{Request, StatusCode, header}; [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: `std::collections::HashMap` [INFO] [stdout] --> tests/common/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> tests/common/mod.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_router` [INFO] [stdout] --> tests/common/mod.rs:13:55 [INFO] [stdout] | [INFO] [stdout] 13 | use wwwhat_core::server::{AppState, content_dir_name, create_router}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `header` [INFO] [stdout] --> tests/common/mod.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | use axum::http::{Request, StatusCode, header}; [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: `std::collections::HashMap` [INFO] [stdout] --> tests/common/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> tests/common/mod.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_router` [INFO] [stdout] --> tests/common/mod.rs:13:55 [INFO] [stdout] | [INFO] [stdout] 13 | use wwwhat_core::server::{AppState, content_dir_name, create_router}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `header` [INFO] [stdout] --> tests/common/mod.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | use axum::http::{Request, StatusCode, header}; [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: `std::collections::HashMap` [INFO] [stdout] --> tests/common/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> tests/common/mod.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_router` [INFO] [stdout] --> tests/common/mod.rs:13:55 [INFO] [stdout] | [INFO] [stdout] 13 | use wwwhat_core::server::{AppState, content_dir_name, create_router}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `header` [INFO] [stdout] --> tests/common/mod.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | use axum::http::{Request, StatusCode, header}; [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: `std::collections::HashMap` [INFO] [stdout] --> tests/common/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> tests/common/mod.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_router` [INFO] [stdout] --> tests/common/mod.rs:13:55 [INFO] [stdout] | [INFO] [stdout] 13 | use wwwhat_core::server::{AppState, content_dir_name, create_router}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `header` [INFO] [stdout] --> tests/common/mod.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | use axum::http::{Request, StatusCode, header}; [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: `std::collections::HashMap` [INFO] [stdout] --> tests/common/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> tests/common/mod.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_router` [INFO] [stdout] --> tests/common/mod.rs:13:55 [INFO] [stdout] | [INFO] [stdout] 13 | use wwwhat_core::server::{AppState, content_dir_name, create_router}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `header` [INFO] [stdout] --> tests/common/mod.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | use axum::http::{Request, StatusCode, header}; [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: `std::collections::HashMap` [INFO] [stdout] --> tests/common/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> tests/common/mod.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_router` [INFO] [stdout] --> tests/common/mod.rs:13:55 [INFO] [stdout] | [INFO] [stdout] 13 | use wwwhat_core::server::{AppState, content_dir_name, create_router}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `header` [INFO] [stdout] --> tests/common/mod.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | use axum::http::{Request, StatusCode, header}; [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: `std::collections::HashMap` [INFO] [stdout] --> tests/common/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> tests/common/mod.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_router` [INFO] [stdout] --> tests/common/mod.rs:13:55 [INFO] [stdout] | [INFO] [stdout] 13 | use wwwhat_core::server::{AppState, content_dir_name, create_router}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `header` [INFO] [stdout] --> tests/common/mod.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | use axum::http::{Request, StatusCode, header}; [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: `std::collections::HashMap` [INFO] [stdout] --> tests/common/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> tests/common/mod.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_router` [INFO] [stdout] --> tests/common/mod.rs:13:55 [INFO] [stdout] | [INFO] [stdout] 13 | use wwwhat_core::server::{AppState, content_dir_name, create_router}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> tests/common/mod.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl TestProject { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn root(&self) -> &Path { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn add_app_config(&self, dir: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn add_component(&self, name: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn add_layout(&self, rel_path: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn add_static(&self, rel_path: &str, bytes: &[u8]) -> &Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn add_data_file(&self, rel_path: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn build_state_with_config(self, config: Config) -> (TempDir, AppState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn build_state_with_uploads(self) -> (TempDir, AppState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn build_state_dev(self) -> (TempDir, AppState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_cookie`, `location`, `assert_not_contains`, and `csrf_token` are never used [INFO] [stdout] --> tests/common/mod.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 135 | impl TestResponse { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn set_cookie(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn location(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn assert_not_contains(&self, needle: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn csrf_token(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `post_form` is never used [INFO] [stdout] --> tests/common/mod.rs:201:14 [INFO] [stdout] | [INFO] [stdout] 201 | pub async fn post_form(router: &Router, path: &str, form_data: &str) -> TestResponse { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `post_form_with_headers` is never used [INFO] [stdout] --> tests/common/mod.rs:205:14 [INFO] [stdout] | [INFO] [stdout] 205 | pub async fn post_form_with_headers( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_jwt` is never used [INFO] [stdout] --> tests/common/mod.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn create_test_jwt(claims: &serde_json::Value, secret: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_multipart_body` is never used [INFO] [stdout] --> tests/common/mod.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn build_multipart_body(fields: Vec<(&str, MultipartField)>) -> (String, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MultipartField` is never used [INFO] [stdout] --> tests/common/mod.rs:293:10 [INFO] [stdout] | [INFO] [stdout] 293 | pub enum MultipartField<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `post_multipart` is never used [INFO] [stdout] --> tests/common/mod.rs:302:14 [INFO] [stdout] | [INFO] [stdout] 302 | pub async fn post_multipart( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `post_multipart_with_headers` is never used [INFO] [stdout] --> tests/common/mod.rs:310:14 [INFO] [stdout] | [INFO] [stdout] 310 | pub async fn post_multipart_with_headers( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `auth_config_with_secret` is never used [INFO] [stdout] --> tests/common/mod.rs:328:8 [INFO] [stdout] | [INFO] [stdout] 328 | pub fn auth_config_with_secret(secret: &str) -> Config { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `header` [INFO] [stdout] --> tests/common/mod.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | use axum::http::{Request, StatusCode, header}; [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: `std::collections::HashMap` [INFO] [stdout] --> tests/common/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> tests/common/mod.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_router` [INFO] [stdout] --> tests/common/mod.rs:13:55 [INFO] [stdout] | [INFO] [stdout] 13 | use wwwhat_core::server::{AppState, content_dir_name, create_router}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> tests/common/mod.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl TestProject { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn root(&self) -> &Path { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn add_app_config(&self, dir: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn add_component(&self, name: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn add_layout(&self, rel_path: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn add_static(&self, rel_path: &str, bytes: &[u8]) -> &Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn add_data_file(&self, rel_path: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn build_state_with_uploads(self) -> (TempDir, AppState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn build_state_dev(self) -> (TempDir, AppState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `content_type`, `assert_not_contains`, and `csrf_token` are never used [INFO] [stdout] --> tests/common/mod.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 135 | impl TestResponse { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn content_type(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn assert_not_contains(&self, needle: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn csrf_token(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_multipart_body` is never used [INFO] [stdout] --> tests/common/mod.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn build_multipart_body(fields: Vec<(&str, MultipartField)>) -> (String, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MultipartField` is never used [INFO] [stdout] --> tests/common/mod.rs:293:10 [INFO] [stdout] | [INFO] [stdout] 293 | pub enum MultipartField<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `post_multipart` is never used [INFO] [stdout] --> tests/common/mod.rs:302:14 [INFO] [stdout] | [INFO] [stdout] 302 | pub async fn post_multipart( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `post_multipart_with_headers` is never used [INFO] [stdout] --> tests/common/mod.rs:310:14 [INFO] [stdout] | [INFO] [stdout] 310 | pub async fn post_multipart_with_headers( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `header` [INFO] [stdout] --> tests/common/mod.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | use axum::http::{Request, StatusCode, header}; [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: `std::collections::HashMap` [INFO] [stdout] --> tests/common/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `header` [INFO] [stdout] --> tests/common/mod.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | use axum::http::{Request, StatusCode, header}; [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: `std::collections::HashMap` [INFO] [stdout] --> tests/common/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> tests/common/mod.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_router` [INFO] [stdout] --> tests/common/mod.rs:13:55 [INFO] [stdout] | [INFO] [stdout] 13 | use wwwhat_core::server::{AppState, content_dir_name, create_router}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> tests/common/mod.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_router` [INFO] [stdout] --> tests/common/mod.rs:13:55 [INFO] [stdout] | [INFO] [stdout] 13 | use wwwhat_core::server::{AppState, content_dir_name, create_router}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> tests/common/mod.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl TestProject { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn root(&self) -> &Path { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn add_app_config(&self, dir: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn add_component(&self, name: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn add_layout(&self, rel_path: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn add_static(&self, rel_path: &str, bytes: &[u8]) -> &Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn add_data_file(&self, rel_path: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn build_state_with_uploads(self) -> (TempDir, AppState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `content_type`, `set_cookie`, `location`, and `csrf_token` are never used [INFO] [stdout] --> tests/common/mod.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 135 | impl TestResponse { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn content_type(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn set_cookie(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn location(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn csrf_token(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_jwt` is never used [INFO] [stdout] --> tests/common/mod.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn create_test_jwt(claims: &serde_json::Value, secret: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_multipart_body` is never used [INFO] [stdout] --> tests/common/mod.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn build_multipart_body(fields: Vec<(&str, MultipartField)>) -> (String, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MultipartField` is never used [INFO] [stdout] --> tests/common/mod.rs:293:10 [INFO] [stdout] | [INFO] [stdout] 293 | pub enum MultipartField<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `post_multipart` is never used [INFO] [stdout] --> tests/common/mod.rs:302:14 [INFO] [stdout] | [INFO] [stdout] 302 | pub async fn post_multipart( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `post_multipart_with_headers` is never used [INFO] [stdout] --> tests/common/mod.rs:310:14 [INFO] [stdout] | [INFO] [stdout] 310 | pub async fn post_multipart_with_headers( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `auth_config_with_secret` is never used [INFO] [stdout] --> tests/common/mod.rs:328:8 [INFO] [stdout] | [INFO] [stdout] 328 | pub fn auth_config_with_secret(secret: &str) -> Config { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `header` [INFO] [stdout] --> tests/common/mod.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | use axum::http::{Request, StatusCode, header}; [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: `std::collections::HashMap` [INFO] [stdout] --> tests/common/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> tests/common/mod.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_router` [INFO] [stdout] --> tests/common/mod.rs:13:55 [INFO] [stdout] | [INFO] [stdout] 13 | use wwwhat_core::server::{AppState, content_dir_name, create_router}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> tests/common/mod.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl TestProject { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn root(&self) -> &Path { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn add_app_config(&self, dir: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn add_component(&self, name: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn add_layout(&self, rel_path: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn add_static(&self, rel_path: &str, bytes: &[u8]) -> &Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn add_data_file(&self, rel_path: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn build_state_with_config(self, config: Config) -> (TempDir, AppState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn build_state_with_uploads(self) -> (TempDir, AppState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn build_state_dev(self) -> (TempDir, AppState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `content_type`, `set_cookie`, and `csrf_token` are never used [INFO] [stdout] --> tests/common/mod.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 135 | impl TestResponse { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn content_type(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn set_cookie(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn csrf_token(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_jwt` is never used [INFO] [stdout] --> tests/common/mod.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn create_test_jwt(claims: &serde_json::Value, secret: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_multipart_body` is never used [INFO] [stdout] --> tests/common/mod.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn build_multipart_body(fields: Vec<(&str, MultipartField)>) -> (String, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MultipartField` is never used [INFO] [stdout] --> tests/common/mod.rs:293:10 [INFO] [stdout] | [INFO] [stdout] 293 | pub enum MultipartField<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `post_multipart` is never used [INFO] [stdout] --> tests/common/mod.rs:302:14 [INFO] [stdout] | [INFO] [stdout] 302 | pub async fn post_multipart( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `post_multipart_with_headers` is never used [INFO] [stdout] --> tests/common/mod.rs:310:14 [INFO] [stdout] | [INFO] [stdout] 310 | pub async fn post_multipart_with_headers( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `auth_config_with_secret` is never used [INFO] [stdout] --> tests/common/mod.rs:328:8 [INFO] [stdout] | [INFO] [stdout] 328 | pub fn auth_config_with_secret(secret: &str) -> Config { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> tests/common/mod.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl TestProject { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn root(&self) -> &Path { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn add_app_config(&self, dir: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn add_component(&self, name: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn add_layout(&self, rel_path: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn add_static(&self, rel_path: &str, bytes: &[u8]) -> &Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn build_state_with_config(self, config: Config) -> (TempDir, AppState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn build_state_with_uploads(self) -> (TempDir, AppState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn build_state_dev(self) -> (TempDir, AppState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `headers` is never read [INFO] [stdout] --> tests/common/mod.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct TestResponse { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 130 | pub status: StatusCode, [INFO] [stdout] 131 | pub headers: axum::http::HeaderMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `header`, `content_type`, `set_cookie`, `location`, and `csrf_token` are never used [INFO] [stdout] --> tests/common/mod.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 135 | impl TestResponse { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 136 | pub fn header(&self, name: &str) -> Option<&str> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn content_type(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn set_cookie(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn location(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn csrf_token(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `post_form` is never used [INFO] [stdout] --> tests/common/mod.rs:201:14 [INFO] [stdout] | [INFO] [stdout] 201 | pub async fn post_form(router: &Router, path: &str, form_data: &str) -> TestResponse { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `post_form_with_headers` is never used [INFO] [stdout] --> tests/common/mod.rs:205:14 [INFO] [stdout] | [INFO] [stdout] 205 | pub async fn post_form_with_headers( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_jwt` is never used [INFO] [stdout] --> tests/common/mod.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn create_test_jwt(claims: &serde_json::Value, secret: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_multipart_body` is never used [INFO] [stdout] --> tests/common/mod.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn build_multipart_body(fields: Vec<(&str, MultipartField)>) -> (String, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MultipartField` is never used [INFO] [stdout] --> tests/common/mod.rs:293:10 [INFO] [stdout] | [INFO] [stdout] 293 | pub enum MultipartField<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `post_multipart` is never used [INFO] [stdout] --> tests/common/mod.rs:302:14 [INFO] [stdout] | [INFO] [stdout] 302 | pub async fn post_multipart( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `post_multipart_with_headers` is never used [INFO] [stdout] --> tests/common/mod.rs:310:14 [INFO] [stdout] | [INFO] [stdout] 310 | pub async fn post_multipart_with_headers( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `auth_config_with_secret` is never used [INFO] [stdout] --> tests/common/mod.rs:328:8 [INFO] [stdout] | [INFO] [stdout] 328 | pub fn auth_config_with_secret(secret: &str) -> Config { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `header` [INFO] [stdout] --> tests/common/mod.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | use axum::http::{Request, StatusCode, header}; [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: `std::collections::HashMap` [INFO] [stdout] --> tests/common/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> tests/common/mod.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_router` [INFO] [stdout] --> tests/common/mod.rs:13:55 [INFO] [stdout] | [INFO] [stdout] 13 | use wwwhat_core::server::{AppState, content_dir_name, create_router}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `root`, `add_component`, `add_static`, `add_data_file`, `build_state_with_uploads`, and `build_state_dev` are never used [INFO] [stdout] --> tests/common/mod.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl TestProject { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn root(&self) -> &Path { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn add_component(&self, name: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn add_static(&self, rel_path: &str, bytes: &[u8]) -> &Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn add_data_file(&self, rel_path: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn build_state_with_uploads(self) -> (TempDir, AppState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn build_state_dev(self) -> (TempDir, AppState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `content_type`, `set_cookie`, and `csrf_token` are never used [INFO] [stdout] --> tests/common/mod.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 135 | impl TestResponse { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn content_type(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn set_cookie(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn csrf_token(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `post_form` is never used [INFO] [stdout] --> tests/common/mod.rs:201:14 [INFO] [stdout] | [INFO] [stdout] 201 | pub async fn post_form(router: &Router, path: &str, form_data: &str) -> TestResponse { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `post_form_with_headers` is never used [INFO] [stdout] --> tests/common/mod.rs:205:14 [INFO] [stdout] | [INFO] [stdout] 205 | pub async fn post_form_with_headers( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_multipart_body` is never used [INFO] [stdout] --> tests/common/mod.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn build_multipart_body(fields: Vec<(&str, MultipartField)>) -> (String, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MultipartField` is never used [INFO] [stdout] --> tests/common/mod.rs:293:10 [INFO] [stdout] | [INFO] [stdout] 293 | pub enum MultipartField<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `post_multipart` is never used [INFO] [stdout] --> tests/common/mod.rs:302:14 [INFO] [stdout] | [INFO] [stdout] 302 | pub async fn post_multipart( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `post_multipart_with_headers` is never used [INFO] [stdout] --> tests/common/mod.rs:310:14 [INFO] [stdout] | [INFO] [stdout] 310 | pub async fn post_multipart_with_headers( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> tests/common/mod.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl TestProject { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn root(&self) -> &Path { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn add_app_config(&self, dir: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn add_component(&self, name: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn add_layout(&self, rel_path: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn add_static(&self, rel_path: &str, bytes: &[u8]) -> &Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn add_data_file(&self, rel_path: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn build_state_with_config(self, config: Config) -> (TempDir, AppState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn build_state_with_uploads(self) -> (TempDir, AppState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn build_state_dev(self) -> (TempDir, AppState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `content_type` and `location` are never used [INFO] [stdout] --> tests/common/mod.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 135 | impl TestResponse { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn content_type(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn location(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `post_form` is never used [INFO] [stdout] --> tests/common/mod.rs:201:14 [INFO] [stdout] | [INFO] [stdout] 201 | pub async fn post_form(router: &Router, path: &str, form_data: &str) -> TestResponse { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_jwt` is never used [INFO] [stdout] --> tests/common/mod.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn create_test_jwt(claims: &serde_json::Value, secret: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_multipart_body` is never used [INFO] [stdout] --> tests/common/mod.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn build_multipart_body(fields: Vec<(&str, MultipartField)>) -> (String, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MultipartField` is never used [INFO] [stdout] --> tests/common/mod.rs:293:10 [INFO] [stdout] | [INFO] [stdout] 293 | pub enum MultipartField<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `post_multipart` is never used [INFO] [stdout] --> tests/common/mod.rs:302:14 [INFO] [stdout] | [INFO] [stdout] 302 | pub async fn post_multipart( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `post_multipart_with_headers` is never used [INFO] [stdout] --> tests/common/mod.rs:310:14 [INFO] [stdout] | [INFO] [stdout] 310 | pub async fn post_multipart_with_headers( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `auth_config_with_secret` is never used [INFO] [stdout] --> tests/common/mod.rs:328:8 [INFO] [stdout] | [INFO] [stdout] 328 | pub fn auth_config_with_secret(secret: &str) -> Config { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> tests/common/mod.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl TestProject { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn root(&self) -> &Path { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn add_app_config(&self, dir: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn add_component(&self, name: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn add_layout(&self, rel_path: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn add_static(&self, rel_path: &str, bytes: &[u8]) -> &Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn add_data_file(&self, rel_path: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn build_state_with_config(self, config: Config) -> (TempDir, AppState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn build_state_with_uploads(self) -> (TempDir, AppState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn build_state_dev(self) -> (TempDir, AppState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `content_type`, `location`, and `csrf_token` are never used [INFO] [stdout] --> tests/common/mod.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 135 | impl TestResponse { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn content_type(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn location(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn csrf_token(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_jwt` is never used [INFO] [stdout] --> tests/common/mod.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn create_test_jwt(claims: &serde_json::Value, secret: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_multipart_body` is never used [INFO] [stdout] --> tests/common/mod.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn build_multipart_body(fields: Vec<(&str, MultipartField)>) -> (String, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MultipartField` is never used [INFO] [stdout] --> tests/common/mod.rs:293:10 [INFO] [stdout] | [INFO] [stdout] 293 | pub enum MultipartField<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `post_multipart` is never used [INFO] [stdout] --> tests/common/mod.rs:302:14 [INFO] [stdout] | [INFO] [stdout] 302 | pub async fn post_multipart( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `post_multipart_with_headers` is never used [INFO] [stdout] --> tests/common/mod.rs:310:14 [INFO] [stdout] | [INFO] [stdout] 310 | pub async fn post_multipart_with_headers( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `auth_config_with_secret` is never used [INFO] [stdout] --> tests/common/mod.rs:328:8 [INFO] [stdout] | [INFO] [stdout] 328 | pub fn auth_config_with_secret(secret: &str) -> Config { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `root`, `add_app_config`, `add_component`, `add_layout`, `add_data_file`, and `build_state_with_uploads` are never used [INFO] [stdout] --> tests/common/mod.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl TestProject { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn root(&self) -> &Path { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn add_app_config(&self, dir: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn add_component(&self, name: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn add_layout(&self, rel_path: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn add_data_file(&self, rel_path: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn build_state_with_uploads(self) -> (TempDir, AppState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `content_type`, `set_cookie`, `assert_not_contains`, and `csrf_token` are never used [INFO] [stdout] --> tests/common/mod.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 135 | impl TestResponse { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn content_type(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn set_cookie(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn assert_not_contains(&self, needle: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn csrf_token(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `post_form` is never used [INFO] [stdout] --> tests/common/mod.rs:201:14 [INFO] [stdout] | [INFO] [stdout] 201 | pub async fn post_form(router: &Router, path: &str, form_data: &str) -> TestResponse { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `post_form_with_headers` is never used [INFO] [stdout] --> tests/common/mod.rs:205:14 [INFO] [stdout] | [INFO] [stdout] 205 | pub async fn post_form_with_headers( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_multipart_body` is never used [INFO] [stdout] --> tests/common/mod.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn build_multipart_body(fields: Vec<(&str, MultipartField)>) -> (String, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MultipartField` is never used [INFO] [stdout] --> tests/common/mod.rs:293:10 [INFO] [stdout] | [INFO] [stdout] 293 | pub enum MultipartField<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `post_multipart` is never used [INFO] [stdout] --> tests/common/mod.rs:302:14 [INFO] [stdout] | [INFO] [stdout] 302 | pub async fn post_multipart( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `post_multipart_with_headers` is never used [INFO] [stdout] --> tests/common/mod.rs:310:14 [INFO] [stdout] | [INFO] [stdout] 310 | pub async fn post_multipart_with_headers( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `auth_config_with_secret` is never used [INFO] [stdout] --> tests/common/mod.rs:328:8 [INFO] [stdout] | [INFO] [stdout] 328 | pub fn auth_config_with_secret(secret: &str) -> Config { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> tests/common/mod.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl TestProject { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn root(&self) -> &Path { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn add_app_config(&self, dir: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn add_component(&self, name: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn add_layout(&self, rel_path: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn add_static(&self, rel_path: &str, bytes: &[u8]) -> &Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn add_data_file(&self, rel_path: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn build_state_with_config(self, config: Config) -> (TempDir, AppState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn build_state_with_uploads(self) -> (TempDir, AppState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn build_state_dev(self) -> (TempDir, AppState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `content_type` and `csrf_token` are never used [INFO] [stdout] --> tests/common/mod.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 135 | impl TestResponse { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn content_type(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn csrf_token(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_jwt` is never used [INFO] [stdout] --> tests/common/mod.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn create_test_jwt(claims: &serde_json::Value, secret: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_multipart_body` is never used [INFO] [stdout] --> tests/common/mod.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn build_multipart_body(fields: Vec<(&str, MultipartField)>) -> (String, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MultipartField` is never used [INFO] [stdout] --> tests/common/mod.rs:293:10 [INFO] [stdout] | [INFO] [stdout] 293 | pub enum MultipartField<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `post_multipart` is never used [INFO] [stdout] --> tests/common/mod.rs:302:14 [INFO] [stdout] | [INFO] [stdout] 302 | pub async fn post_multipart( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `post_multipart_with_headers` is never used [INFO] [stdout] --> tests/common/mod.rs:310:14 [INFO] [stdout] | [INFO] [stdout] 310 | pub async fn post_multipart_with_headers( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `auth_config_with_secret` is never used [INFO] [stdout] --> tests/common/mod.rs:328:8 [INFO] [stdout] | [INFO] [stdout] 328 | pub fn auth_config_with_secret(secret: &str) -> Config { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> tests/common/mod.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl TestProject { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn add_app_config(&self, dir: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn add_layout(&self, rel_path: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn add_static(&self, rel_path: &str, bytes: &[u8]) -> &Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn add_data_file(&self, rel_path: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn build_state_with_config(self, config: Config) -> (TempDir, AppState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn build_state_with_uploads(self) -> (TempDir, AppState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn build_state_dev(self) -> (TempDir, AppState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `content_type`, `set_cookie`, `location`, and `csrf_token` are never used [INFO] [stdout] --> tests/common/mod.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 135 | impl TestResponse { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn content_type(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn set_cookie(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn location(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn csrf_token(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `post_form` is never used [INFO] [stdout] --> tests/common/mod.rs:201:14 [INFO] [stdout] | [INFO] [stdout] 201 | pub async fn post_form(router: &Router, path: &str, form_data: &str) -> TestResponse { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `post_form_with_headers` is never used [INFO] [stdout] --> tests/common/mod.rs:205:14 [INFO] [stdout] | [INFO] [stdout] 205 | pub async fn post_form_with_headers( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_jwt` is never used [INFO] [stdout] --> tests/common/mod.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn create_test_jwt(claims: &serde_json::Value, secret: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_multipart_body` is never used [INFO] [stdout] --> tests/common/mod.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn build_multipart_body(fields: Vec<(&str, MultipartField)>) -> (String, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MultipartField` is never used [INFO] [stdout] --> tests/common/mod.rs:293:10 [INFO] [stdout] | [INFO] [stdout] 293 | pub enum MultipartField<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `post_multipart` is never used [INFO] [stdout] --> tests/common/mod.rs:302:14 [INFO] [stdout] | [INFO] [stdout] 302 | pub async fn post_multipart( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `post_multipart_with_headers` is never used [INFO] [stdout] --> tests/common/mod.rs:310:14 [INFO] [stdout] | [INFO] [stdout] 310 | pub async fn post_multipart_with_headers( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `auth_config_with_secret` is never used [INFO] [stdout] --> tests/common/mod.rs:328:8 [INFO] [stdout] | [INFO] [stdout] 328 | pub fn auth_config_with_secret(secret: &str) -> Config { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> tests/common/mod.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl TestProject { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn root(&self) -> &Path { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn add_app_config(&self, dir: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn add_component(&self, name: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn add_layout(&self, rel_path: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn add_static(&self, rel_path: &str, bytes: &[u8]) -> &Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn add_data_file(&self, rel_path: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn build_state_dev(self) -> (TempDir, AppState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `content_type`, `assert_not_contains`, and `csrf_token` are never used [INFO] [stdout] --> tests/common/mod.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 135 | impl TestResponse { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn content_type(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn assert_not_contains(&self, needle: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn csrf_token(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `post_form` is never used [INFO] [stdout] --> tests/common/mod.rs:201:14 [INFO] [stdout] | [INFO] [stdout] 201 | pub async fn post_form(router: &Router, path: &str, form_data: &str) -> TestResponse { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `post_form_with_headers` is never used [INFO] [stdout] --> tests/common/mod.rs:205:14 [INFO] [stdout] | [INFO] [stdout] 205 | pub async fn post_form_with_headers( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_jwt` is never used [INFO] [stdout] --> tests/common/mod.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn create_test_jwt(claims: &serde_json::Value, secret: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `auth_config_with_secret` is never used [INFO] [stdout] --> tests/common/mod.rs:328:8 [INFO] [stdout] | [INFO] [stdout] 328 | pub fn auth_config_with_secret(secret: &str) -> Config { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> tests/common/mod.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl TestProject { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn add_app_config(&self, dir: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn add_component(&self, name: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn add_layout(&self, rel_path: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn add_static(&self, rel_path: &str, bytes: &[u8]) -> &Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn add_data_file(&self, rel_path: &str, content: &str) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn build_state_with_uploads(self) -> (TempDir, AppState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn build_state_dev(self) -> (TempDir, AppState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `content_type`, `location`, and `assert_not_contains` are never used [INFO] [stdout] --> tests/common/mod.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 135 | impl TestResponse { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn content_type(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn location(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn assert_not_contains(&self, needle: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `post_form` is never used [INFO] [stdout] --> tests/common/mod.rs:201:14 [INFO] [stdout] | [INFO] [stdout] 201 | pub async fn post_form(router: &Router, path: &str, form_data: &str) -> TestResponse { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_jwt` is never used [INFO] [stdout] --> tests/common/mod.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn create_test_jwt(claims: &serde_json::Value, secret: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_multipart_body` is never used [INFO] [stdout] --> tests/common/mod.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn build_multipart_body(fields: Vec<(&str, MultipartField)>) -> (String, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MultipartField` is never used [INFO] [stdout] --> tests/common/mod.rs:293:10 [INFO] [stdout] | [INFO] [stdout] 293 | pub enum MultipartField<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `post_multipart` is never used [INFO] [stdout] --> tests/common/mod.rs:302:14 [INFO] [stdout] | [INFO] [stdout] 302 | pub async fn post_multipart( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `post_multipart_with_headers` is never used [INFO] [stdout] --> tests/common/mod.rs:310:14 [INFO] [stdout] | [INFO] [stdout] 310 | pub async fn post_multipart_with_headers( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `auth_config_with_secret` is never used [INFO] [stdout] --> tests/common/mod.rs:328:8 [INFO] [stdout] | [INFO] [stdout] 328 | pub fn auth_config_with_secret(secret: &str) -> Config { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "acca6e94e9a14058aab4493a8be394987f8975ee77289503d48b76a28881834d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acca6e94e9a14058aab4493a8be394987f8975ee77289503d48b76a28881834d", kill_on_drop: false }` [INFO] [stdout] acca6e94e9a14058aab4493a8be394987f8975ee77289503d48b76a28881834d