[INFO] fetching crate httpward 0.0.1-alpha.1...
[INFO] testing httpward-0.0.1-alpha.1 against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1
[INFO] extracting crate httpward 0.0.1-alpha.1 into /workspace/builds/worker-0-tc1/source
[INFO] started tweaking crates.io crate httpward 0.0.1-alpha.1
[INFO] finished tweaking crates.io crate httpward 0.0.1-alpha.1
[INFO] tweaked toml for crates.io crate httpward 0.0.1-alpha.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate httpward 0.0.1-alpha.1 on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate httpward 0.0.1-alpha.1 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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded fsevent-sys v4.1.0
[INFO] [stderr]   Downloaded cmake v0.1.57
[INFO] [stderr]   Downloaded fs_extra v1.3.0
[INFO] [stderr]   Downloaded yasna v0.5.2
[INFO] [stderr]   Downloaded tokio-tungstenite v0.24.0
[INFO] [stderr]   Downloaded tokio-test v0.4.5
[INFO] [stderr]   Downloaded rama-error v0.2.0
[INFO] [stderr]   Downloaded asn1-rs-derive v0.6.0
[INFO] [stderr]   Downloaded rama-tower v0.2.0
[INFO] [stderr]   Downloaded kqueue-sys v1.0.4
[INFO] [stderr]   Downloaded schemars_derive v1.2.1
[INFO] [stderr]   Downloaded matchit v0.9.1
[INFO] [stderr]   Downloaded notify v8.2.0
[INFO] [stderr]   Downloaded kqueue v1.1.1
[INFO] [stderr]   Downloaded schemars v1.2.1
[INFO] [stderr]   Downloaded async-compression v0.4.41
[INFO] [stderr]   Downloaded rama-net v0.2.0
[INFO] [stderr]   Downloaded rama-ua v0.2.0
[INFO] [stderr]   Downloaded aws-lc-rs v1.16.0
[INFO] [stderr]   Downloaded asn1-rs v0.7.1
[INFO] [stderr]   Downloaded rama-boring v0.2.0-alpha.6
[INFO] [stderr]   Downloaded psl v2.1.195
[INFO] [stderr]   Downloaded moka v0.12.14
[INFO] [stderr]   Downloaded radix_trie v0.2.1
[INFO] [stderr]   Downloaded bindgen v0.71.1
[INFO] [stderr]   Downloaded rama-http v0.2.0
[INFO] [stderr]   Downloaded httpward-core v0.0.1-alpha.1
[INFO] [stderr]   Downloaded hickory-resolver v0.25.2
[INFO] [stderr]   Downloaded rama-http-headers v0.2.0
[INFO] [stderr]   Downloaded const_format v0.2.35
[INFO] [stderr]   Downloaded hickory-proto v0.25.2
[INFO] [stderr]   Downloaded headers v0.4.1
[INFO] [stderr]   Downloaded der-parser v10.0.0
[INFO] [stderr]   Downloaded x509-parser v0.18.1
[INFO] [stderr]   Downloaded clang-sys v1.8.1
[INFO] [stderr]   Downloaded rcgen v0.13.2
[INFO] [stderr]   Downloaded rama-http-backend v0.2.0
[INFO] [stderr]   Downloaded matchit v0.8.6
[INFO] [stderr]   Downloaded getrandom v0.4.1
[INFO] [stderr]   Downloaded rama-boring-tokio v0.2.0-alpha.6
[INFO] [stderr]   Downloaded futures-lite v2.6.1
[INFO] [stderr]   Downloaded generator v0.8.8
[INFO] [stderr]   Downloaded tokio-graceful v0.2.2
[INFO] [stderr]   Downloaded rama-core v0.2.0
[INFO] [stderr]   Downloaded rustls-native-certs v0.8.3
[INFO] [stderr]   Downloaded pem v3.0.6
[INFO] [stderr]   Downloaded httpward_log_module v0.0.1-alpha.1
[INFO] [stderr]   Downloaded libloading v0.9.0
[INFO] [stderr]   Downloaded inotify v0.11.1
[INFO] [stderr]   Downloaded notify-types v2.1.0
[INFO] [stderr]   Downloaded brotli v8.0.2
[INFO] [stderr]   Downloaded compression-codecs v0.4.37
[INFO] [stderr]   Downloaded nibble_vec v0.1.0
[INFO] [stderr]   Downloaded ipconfig v0.3.2
[INFO] [stderr]   Downloaded resolv-conf v0.7.6
[INFO] [stderr]   Downloaded rama-dns v0.2.0
[INFO] [stderr]   Downloaded rama-tls-boring v0.2.0
[INFO] [stderr]   Downloaded nanorand v0.7.0
[INFO] [stderr]   Downloaded rama-tls-rustls v0.2.0
[INFO] [stderr]   Downloaded oid-registry v0.8.1
[INFO] [stderr]   Downloaded rama-http-types v0.2.0
[INFO] [stderr]   Downloaded rusticata-macros v4.1.0
[INFO] [stderr]   Downloaded tungstenite v0.24.0
[INFO] [stderr]   Downloaded compression-core v0.4.31
[INFO] [stderr]   Downloaded http-range-header v0.4.2
[INFO] [stderr]   Downloaded nanoid v0.4.0
[INFO] [stderr]   Downloaded endian-type v0.1.2
[INFO] [stderr]   Downloaded rama-tcp v0.2.0
[INFO] [stderr]   Downloaded smol_str v0.3.5
[INFO] [stderr]   Downloaded rama-macros v0.2.0
[INFO] [stderr]   Downloaded rama-utils v0.2.0
[INFO] [stderr]   Downloaded asn1-rs-impl v0.2.0
[INFO] [stderr]   Downloaded rcgen v0.14.7
[INFO] [stderr]   Downloaded fslock v0.2.1
[INFO] [stderr]   Downloaded headers-core v0.3.0
[INFO] [stderr]   Downloaded critical-section v1.2.0
[INFO] [stderr]   Downloaded rama-boring-sys v0.2.0-alpha.6
[INFO] [stderr]   Downloaded rama v0.2.0
[INFO] [stderr]   Downloaded rama-http-core v0.2.0
[INFO] [stderr]   Downloaded aws-lc-sys v0.37.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2d7a658ab8a44d12c9e94c872f805a12423d0c679f8d42c78d2fe21708dfa2b1
[INFO] running `Command { std: "docker" "start" "-a" "2d7a658ab8a44d12c9e94c872f805a12423d0c679f8d42c78d2fe21708dfa2b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2d7a658ab8a44d12c9e94c872f805a12423d0c679f8d42c78d2fe21708dfa2b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2d7a658ab8a44d12c9e94c872f805a12423d0c679f8d42c78d2fe21708dfa2b1", kill_on_drop: false }`
[INFO] [stdout] 2d7a658ab8a44d12c9e94c872f805a12423d0c679f8d42c78d2fe21708dfa2b1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 656ed3109a0d627e92ef721d9f760bead9ecf8b1322e007eca2ee79bb4601528
[INFO] running `Command { std: "docker" "start" "-a" "656ed3109a0d627e92ef721d9f760bead9ecf8b1322e007eca2ee79bb4601528", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.182
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling portable-atomic v1.13.1
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling critical-section v1.2.0
[INFO] [stderr]    Compiling itoa v1.0.17
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling futures-io v0.3.32
[INFO] [stderr]    Compiling zerocopy v0.8.40
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling indexmap v2.13.0
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling http v1.4.0
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling fs_extra v1.3.0
[INFO] [stderr]    Compiling dunce v1.0.5
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling rustls-pki-types v1.14.0
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling rama-macros v0.2.0
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling csv-core v0.1.13
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling rama-error v0.2.0
[INFO] [stderr]    Compiling const_format_proc_macros v0.2.34
[INFO] [stderr]    Compiling aws-lc-rs v1.16.0
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling futures-lite v2.6.1
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling futures-task v0.3.32
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling getrandom v0.4.1
[INFO] [stderr]    Compiling headers-core v0.3.0
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling psl-types v2.0.11
[INFO] [stderr]    Compiling headers v0.4.1
[INFO] [stderr]    Compiling itertools v0.14.0
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling nom v8.0.0
[INFO] [stderr]    Compiling smol_str v0.3.5
[INFO] [stderr]    Compiling psl v2.1.195
[INFO] [stderr]    Compiling md5 v0.7.0
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling const_format v0.2.35
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling alloc-no-stdlib v2.0.4
[INFO] [stderr]    Compiling data-encoding v2.10.0
[INFO] [stderr]    Compiling adler2 v2.0.1
[INFO] [stderr]    Compiling alloc-stdlib v0.2.2
[INFO] [stderr]    Compiling simd-adler32 v0.3.8
[INFO] [stderr]    Compiling rustls v0.23.37
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling cc v1.2.56
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling socket2 v0.6.2
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling nanorand v0.7.0
[INFO] [stderr]    Compiling rand_core v0.9.5
[INFO] [stderr]    Compiling flume v0.11.1
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling serde_html_form v0.2.8
[INFO] [stderr]    Compiling csv v1.4.0
[INFO] [stderr]    Compiling uuid v1.21.0
[INFO] [stderr]    Compiling brotli-decompressor v5.0.0
[INFO] [stderr]    Compiling deranged v0.5.8
[INFO] [stderr]    Compiling num-conv v0.2.0
[INFO] [stderr]    Compiling cmake v0.1.57
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling time-core v0.1.8
[INFO] [stderr]    Compiling bitflags v2.11.0
[INFO] [stderr]    Compiling rama-http-headers v0.2.0
[INFO] [stderr]    Compiling tinyvec v1.10.0
[INFO] [stderr]    Compiling flate2 v1.1.9
[INFO] [stderr]    Compiling crossbeam-channel v0.5.15
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling compression-core v0.4.31
[INFO] [stderr]    Compiling tagptr v0.2.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling brotli v8.0.2
[INFO] [stderr]    Compiling webpki-roots v1.0.6
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling pem v3.0.6
[INFO] [stderr]    Compiling moka v0.12.14
[INFO] [stderr]    Compiling nibble_vec v0.1.0
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling aws-lc-sys v0.37.1
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling zstd-sys v2.0.16+zstd.1.5.7
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]    Compiling resolv-conf v0.7.6
[INFO] [stderr]    Compiling endian-type v0.1.2
[INFO] [stderr]    Compiling radix_trie v0.2.1
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling matchit v0.8.6
[INFO] [stderr]    Compiling iri-string v0.7.10
[INFO] [stderr]    Compiling time v0.3.47
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling openssl-probe v0.2.1
[INFO] [stderr]    Compiling http-range-header v0.4.2
[INFO] [stderr]    Compiling rustls-native-certs v0.8.3
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling ref-cast v1.0.25
[INFO] [stderr]    Compiling nanoid v0.4.0
[INFO] [stderr]    Compiling yasna v0.5.2
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling serde_derive_internals v0.29.1
[INFO] [stderr]    Compiling inotify-sys v0.1.5
[INFO] [stderr]    Compiling dyn-clone v1.0.20
[INFO] [stderr]    Compiling unsafe-libyaml v0.2.11
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling rama v0.2.0
[INFO] [stderr]    Compiling inotify v0.11.1
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling enum-as-inner v0.6.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling ref-cast-impl v1.0.25
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling schemars_derive v1.2.1
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling webpki-roots v0.26.11
[INFO] [stderr]    Compiling notify-types v2.1.0
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling matchit v0.9.1
[INFO] [stderr]    Compiling nu-ansi-term v0.50.3
[INFO] [stderr]    Compiling glob v0.3.3
[INFO] [stderr]    Compiling notify v8.2.0
[INFO] [stderr]    Compiling libloading v0.9.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling tracing-subscriber v0.3.22
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling futures-executor v0.3.32
[INFO] [stderr]    Compiling futures v0.3.32
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling serde_yaml v0.9.34+deprecated
[INFO] [stderr]    Compiling schemars v1.2.1
[INFO] [stderr]    Compiling zstd v0.13.3
[INFO] [stderr]    Compiling compression-codecs v0.4.37
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling rcgen v0.14.7
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling rama-utils v0.2.0
[INFO] [stderr]    Compiling tokio-graceful v0.2.2
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling async-compression v0.4.41
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling tokio-test v0.4.5
[INFO] [stderr]    Compiling hickory-proto v0.25.2
[INFO] [stderr]    Compiling rama-core v0.2.0
[INFO] [stderr]    Compiling h2 v0.4.13
[INFO] [stderr]    Compiling hickory-resolver v0.25.2
[INFO] [stderr]    Compiling rustls-webpki v0.103.9
[INFO] [stderr]    Compiling rcgen v0.13.2
[INFO] [stderr]    Compiling rama-http-types v0.2.0
[INFO] [stderr]    Compiling rama-net v0.2.0
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling tungstenite v0.24.0
[INFO] [stderr]    Compiling tokio-tungstenite v0.24.0
[INFO] [stderr]    Compiling rama-dns v0.2.0
[INFO] [stderr]    Compiling rama-tls-rustls v0.2.0
[INFO] [stderr]    Compiling rama-tcp v0.2.0
[INFO] [stderr]    Compiling rama-ua v0.2.0
[INFO] [stderr]    Compiling rama-http v0.2.0
[INFO] [stderr]    Compiling rama-http-core v0.2.0
[INFO] [stderr]    Compiling rama-http-backend v0.2.0
[INFO] [stderr]    Compiling httpward-core v0.0.1-alpha.1
[INFO] [stderr]    Compiling httpward v0.0.1-alpha.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> src/core/middleware/basic/request_enricher.rs:9:22
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tracing::{debug, info, trace, warn};
[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: `HttpWardMiddlewareError`
[INFO] [stdout]   --> src/core/middleware/basic/error_handler.rs:10:59
[INFO] [stdout]    |
[INFO] [stdout] 10 | use httpward_core::httpward_middleware::{IsHttpWardError, HttpWardMiddlewareError};
[INFO] [stdout]    |                                                           ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/core/middleware/route/route.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GlobalConfig`
[INFO] [stdout]   --> src/core/middleware/route/route.rs:11:29
[INFO] [stdout]    |
[INFO] [stdout] 11 | use httpward_core::config::{GlobalConfig, Redirect, Route};
[INFO] [stdout]    |                             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `httpward_core::core::server_models::server_instance::ServerInstance`
[INFO] [stdout]   --> src/core/middleware/route/route.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use httpward_core::core::server_models::server_instance::ServerInstance;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `httpward_core::core::server_models::listener::ListenerKey`
[INFO] [stdout]   --> src/core/middleware/route/route.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use httpward_core::core::server_models::listener::ListenerKey;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SiteManager`
[INFO] [stdout]   --> src/core/middleware/route/route.rs:21:42
[INFO] [stdout]    |
[INFO] [stdout] 21 | use httpward_core::core::server_models::{SiteManager, SiteManagerError};
[INFO] [stdout]    |                                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/core/middleware/route/static_files.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MatcherType`
[INFO] [stdout]  --> src/core/middleware/route/static_files.rs:8:56
[INFO] [stdout]   |
[INFO] [stdout] 8 | use httpward_core::core::server_models::{MatchedRoute, MatcherType};
[INFO] [stdout]   |                                                        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]  --> src/main.rs:8:28
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tracing::{info, debug, warn};
[INFO] [stdout]   |                            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `httpward_core::httpward_middleware::middleware_trait::HttpWardMiddleware`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use httpward_core::httpward_middleware::middleware_trait::HttpWardMiddleware;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/middleware/basic/request_enricher.rs:234:13
[INFO] [stdout]     |
[INFO] [stdout] 234 |         let mut enriched_context = HttpWardContext {
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/server/http_server.rs:53:45
[INFO] [stdout]    |
[INFO] [stdout] 53 |         let base_service = service_fn(move |ctx: Context<()>, _req: Request<Body>| {
[INFO] [stdout]    |                                             ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `header_fp` is never read
[INFO] [stdout]    --> src/core/middleware/basic/request_enricher.rs:194:29
[INFO] [stdout]     |
[INFO] [stdout] 194 |         let mut header_fp = None;
[INFO] [stdout]     |                             ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `update_domains_certificate` is never used
[INFO] [stdout]    --> src/server/tls/tls.rs:172:12
[INFO] [stdout]     |
[INFO] [stdout] 129 | impl FallbackSniResolver {
[INFO] [stdout]     | ------------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 172 |     pub fn update_domains_certificate(&self, domains: Vec<String>, cert: Arc<CertifiedKey>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_with_async_callback` is never used
[INFO] [stdout]   --> src/server/tls/tls_watcher.rs:96:12
[INFO] [stdout]    |
[INFO] [stdout] 80 | impl TlsFileWatcher {
[INFO] [stdout]    | ------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 96 |     pub fn new_with_async_callback(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `find`, `first_cert`, `remove_domain`, and `update_domains` are never used
[INFO] [stdout]    --> src/server/tls/domain_store.rs:70:12
[INFO] [stdout]     |
[INFO] [stdout]  44 | impl DomainStore {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  70 |     pub fn find(&self, host: &str) -> Option<&Vec<Cert>> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     pub fn first_cert(&self) -> Option<&Cert> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 174 |     pub fn remove_domain(&mut self, domain: &str) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 196 |     pub fn update_domains(&mut self, domains: &[String], new_cert: Cert) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `with_pipe`, `add_layer`, `add_boxed_layer`, `has_middleware`, `pipe`, and `get_layer_by_name` are never used
[INFO] [stdout]    --> src/core/middleware/basic/dynamic_module_loader.rs:83:12
[INFO] [stdout]     |
[INFO] [stdout]  26 | impl DynamicModuleLoaderLayer {
[INFO] [stdout]     | ----------------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  83 |     pub fn with_pipe(pipe: HttpWardMiddlewarePipe) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  90 |     pub fn add_layer<T>(mut self, layer: T) -> Self
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     pub fn add_boxed_layer(&mut self, boxed: Arc<dyn httpward_core::httpward_middleware::HttpWardMiddleware + Send + Sync>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 112 |     pub fn has_middleware(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn pipe(&self) -> &HttpWardMiddlewarePipe {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 122 |     pub fn get_layer_by_name(&self, name: &str) -> Option<std::sync::Arc<dyn httpward_core::httpward_middleware::HttpWardMiddleware...
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `middleware_count`, `pipe`, and `get_layer_by_name` are never used
[INFO] [stdout]    --> src/core/middleware/basic/dynamic_module_loader.rs:174:12
[INFO] [stdout]     |
[INFO] [stdout] 162 | / impl<S> DynamicModuleLoaderService<S>
[INFO] [stdout] 163 | | where
[INFO] [stdout] 164 | |     S: Service<(), Request<Body>, Response = Response<Body>> + Send + Sync + 'static,
[INFO] [stdout]     | |_____________________________________________________________________________________- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 174 |       pub fn middleware_count(&self) -> usize {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 179 |       pub fn pipe(&self) -> &HttpWardMiddlewarePipe {
[INFO] [stdout]     |              ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 184 |       pub fn get_layer_by_name(&self, name: &str) -> Option<std::sync::Arc<dyn httpward_core::httpward_middleware::HttpWardMiddlewa...
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `destroy` is never used
[INFO] [stdout]    --> src/core/middleware/basic/middleware_module_instance.rs:120:19
[INFO] [stdout]     |
[INFO] [stdout]  44 | impl MiddlewareModuleInstance {
[INFO] [stdout]     | ----------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 120 |     pub unsafe fn destroy(mut self) {
[INFO] [stdout]     |                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/core/middleware/basic/middleware_module_load_manager.rs:79:12
[INFO] [stdout]     |
[INFO] [stdout]  21 | impl MiddlewareModuleLoadManager {
[INFO] [stdout]     | -------------------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  79 |     pub fn from_server_instance(server_instance: &ServerInstance) -> Result<Self, Box<dyn std::error::Error + Send + Sync>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  84 |     pub fn from_server_instance_with_dir<P: AsRef<Path>>(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |     fn extract_middleware_names(server_instance: &ServerInstance) -> Vec<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 200 |     pub fn is_module_loaded(&self, name: &str) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 212 |     pub fn modules_dir(&self) -> &PathBuf {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 217 |     pub fn set_modules_dir<P: AsRef<Path>>(&mut self, modules_dir: P) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 226 |     pub fn with_modules_dir<P: AsRef<Path>>(modules_dir: P) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 233 |     pub fn load_from_server_instance<P: AsRef<Path>>(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 253 |     pub fn get_middleware_instance(&self, name: &str) -> Option<Arc<dyn HttpWardMiddleware + Send + Sync>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 281 |     pub fn reload_module(&mut self, name: &str) -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 289 |     pub fn unload_module(&mut self, name: &str) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `library` and `path` are never read
[INFO] [stdout]   --> src/core/middleware/basic/middleware_global_module_storage.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct ModuleRecord {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 13 |     pub name: String,
[INFO] [stdout] 14 |     pub library: Option<Arc<Library>>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 15 |     pub instance: Arc<dyn HttpWardMiddleware + Send + Sync>,
[INFO] [stdout] 16 |     pub path: std::path::PathBuf,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ModuleRegistry` is never used
[INFO] [stdout]   --> src/core/middleware/basic/middleware_global_module_storage.rs:50:11
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub trait ModuleRegistry {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `remove_module` is never used
[INFO] [stdout]   --> src/core/middleware/basic/middleware_global_module_storage.rs:95:12
[INFO] [stdout]    |
[INFO] [stdout] 64 | impl GlobalModuleStorage {
[INFO] [stdout]    | ------------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 95 |     pub fn remove_module(&mut self, name: &str) -> Option<ModuleRecord> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_global_storage_initialized` is never used
[INFO] [stdout]    --> src/core/middleware/basic/middleware_global_module_storage.rs:167:8
[INFO] [stdout]     |
[INFO] [stdout] 167 | pub fn is_global_storage_initialized() -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_global_storage_stats` is never used
[INFO] [stdout]    --> src/core/middleware/basic/middleware_global_module_storage.rs:172:8
[INFO] [stdout]     |
[INFO] [stdout] 172 | pub fn get_global_storage_stats() -> Option<(usize, Vec<String>)> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `proxy_request` is never used
[INFO] [stdout]    --> src/core/middleware/route/proxy.rs:214:18
[INFO] [stdout]     |
[INFO] [stdout] 176 | impl ProxyHandler {
[INFO] [stdout]     | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 214 |     pub async fn proxy_request(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `is_websocket_request` and `has_required_headers` are never used
[INFO] [stdout]    --> src/core/middleware/route/websocket.rs:275:12
[INFO] [stdout]     |
[INFO] [stdout]  35 | impl WebSocketHandler {
[INFO] [stdout]     | --------------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 275 |     pub fn is_websocket_request(req: &RamaRequest<RamaBody>) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 280 |     pub fn has_required_headers(req: &RamaRequest<RamaBody>) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Redirect` and `Other` are never constructed
[INFO] [stdout]   --> src/core/middleware/route/route.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub enum RouteError {
[INFO] [stdout]    |          ---------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 34 |     Redirect(String),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 35 |     #[error("other: {0}")]
[INFO] [stdout] 36 |     Other(String),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RouteError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 29s
[INFO] running `Command { std: "docker" "inspect" "656ed3109a0d627e92ef721d9f760bead9ecf8b1322e007eca2ee79bb4601528", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "656ed3109a0d627e92ef721d9f760bead9ecf8b1322e007eca2ee79bb4601528", kill_on_drop: false }`
[INFO] [stdout] 656ed3109a0d627e92ef721d9f760bead9ecf8b1322e007eca2ee79bb4601528
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d82bdb00c8576ad45bab94d4b28ea198ba3e485f67b46fdc4dc39d855ca1dc5d
[INFO] running `Command { std: "docker" "start" "-a" "d82bdb00c8576ad45bab94d4b28ea198ba3e485f67b46fdc4dc39d855ca1dc5d", kill_on_drop: false }`
[INFO] [stderr]    Compiling httpward v0.0.1-alpha.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> src/core/middleware/basic/request_enricher.rs:9:22
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tracing::{debug, info, trace, warn};
[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: `HttpWardMiddlewareError`
[INFO] [stdout]   --> src/core/middleware/basic/error_handler.rs:10:59
[INFO] [stdout]    |
[INFO] [stdout] 10 | use httpward_core::httpward_middleware::{IsHttpWardError, HttpWardMiddlewareError};
[INFO] [stdout]    |                                                           ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/core/middleware/route/route.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GlobalConfig`
[INFO] [stdout]   --> src/core/middleware/route/route.rs:11:29
[INFO] [stdout]    |
[INFO] [stdout] 11 | use httpward_core::config::{GlobalConfig, Redirect, Route};
[INFO] [stdout]    |                             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `httpward_core::core::server_models::server_instance::ServerInstance`
[INFO] [stdout]   --> src/core/middleware/route/route.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use httpward_core::core::server_models::server_instance::ServerInstance;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `httpward_core::core::server_models::listener::ListenerKey`
[INFO] [stdout]   --> src/core/middleware/route/route.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use httpward_core::core::server_models::listener::ListenerKey;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MatcherType`
[INFO] [stdout]  --> src/core/middleware/route/static_files.rs:8:56
[INFO] [stdout]   |
[INFO] [stdout] 8 | use httpward_core::core::server_models::{MatchedRoute, MatcherType};
[INFO] [stdout]   |                                                        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]  --> src/main.rs:8:28
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tracing::{info, debug, warn};
[INFO] [stdout]   |                            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `httpward_core::httpward_middleware::middleware_trait::HttpWardMiddleware`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use httpward_core::httpward_middleware::middleware_trait::HttpWardMiddleware;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/middleware/basic/request_enricher.rs:234:13
[INFO] [stdout]     |
[INFO] [stdout] 234 |         let mut enriched_context = HttpWardContext {
[INFO] [stdout]     |             ----^^^^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ctx`
[INFO] [stdout]   --> src/server/http_server.rs:53:45
[INFO] [stdout]    |
[INFO] [stdout] 53 |         let base_service = service_fn(move |ctx: Context<()>, _req: Request<Body>| {
[INFO] [stdout]    |                                             ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `header_fp` is never read
[INFO] [stdout]    --> src/core/middleware/basic/request_enricher.rs:194:29
[INFO] [stdout]     |
[INFO] [stdout] 194 |         let mut header_fp = None;
[INFO] [stdout]     |                             ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/middleware/route/proxy.rs:444:13
[INFO] [stdout]     |
[INFO] [stdout] 444 |         let mut req = RamaRequest::builder()
[INFO] [stdout]     |             ----^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/core/middleware/route/proxy.rs:455:13
[INFO] [stdout]     |
[INFO] [stdout] 455 |         let mut req2 = RamaRequest::builder()
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `update_domains_certificate` is never used
[INFO] [stdout]    --> src/server/tls/tls.rs:172:12
[INFO] [stdout]     |
[INFO] [stdout] 129 | impl FallbackSniResolver {
[INFO] [stdout]     | ------------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 172 |     pub fn update_domains_certificate(&self, domains: Vec<String>, cert: Arc<CertifiedKey>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new_with_async_callback` is never used
[INFO] [stdout]   --> src/server/tls/tls_watcher.rs:96:12
[INFO] [stdout]    |
[INFO] [stdout] 80 | impl TlsFileWatcher {
[INFO] [stdout]    | ------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 96 |     pub fn new_with_async_callback(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `find`, `first_cert`, `remove_domain`, and `update_domains` are never used
[INFO] [stdout]    --> src/server/tls/domain_store.rs:70:12
[INFO] [stdout]     |
[INFO] [stdout]  44 | impl DomainStore {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  70 |     pub fn find(&self, host: &str) -> Option<&Vec<Cert>> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     pub fn first_cert(&self) -> Option<&Cert> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 174 |     pub fn remove_domain(&mut self, domain: &str) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 196 |     pub fn update_domains(&mut self, domains: &[String], new_cert: Cert) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `with_pipe`, `add_layer`, `add_boxed_layer`, `has_middleware`, `pipe`, and `get_layer_by_name` are never used
[INFO] [stdout]    --> src/core/middleware/basic/dynamic_module_loader.rs:83:12
[INFO] [stdout]     |
[INFO] [stdout]  26 | impl DynamicModuleLoaderLayer {
[INFO] [stdout]     | ----------------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  83 |     pub fn with_pipe(pipe: HttpWardMiddlewarePipe) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  90 |     pub fn add_layer<T>(mut self, layer: T) -> Self
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     pub fn add_boxed_layer(&mut self, boxed: Arc<dyn httpward_core::httpward_middleware::HttpWardMiddleware + Send + Sync>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 112 |     pub fn has_middleware(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn pipe(&self) -> &HttpWardMiddlewarePipe {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 122 |     pub fn get_layer_by_name(&self, name: &str) -> Option<std::sync::Arc<dyn httpward_core::httpward_middleware::HttpWardMiddleware...
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `middleware_count`, `pipe`, and `get_layer_by_name` are never used
[INFO] [stdout]    --> src/core/middleware/basic/dynamic_module_loader.rs:174:12
[INFO] [stdout]     |
[INFO] [stdout] 162 | / impl<S> DynamicModuleLoaderService<S>
[INFO] [stdout] 163 | | where
[INFO] [stdout] 164 | |     S: Service<(), Request<Body>, Response = Response<Body>> + Send + Sync + 'static,
[INFO] [stdout]     | |_____________________________________________________________________________________- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 174 |       pub fn middleware_count(&self) -> usize {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 179 |       pub fn pipe(&self) -> &HttpWardMiddlewarePipe {
[INFO] [stdout]     |              ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 184 |       pub fn get_layer_by_name(&self, name: &str) -> Option<std::sync::Arc<dyn httpward_core::httpward_middleware::HttpWardMiddlewa...
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `destroy` is never used
[INFO] [stdout]    --> src/core/middleware/basic/middleware_module_instance.rs:120:19
[INFO] [stdout]     |
[INFO] [stdout]  44 | impl MiddlewareModuleInstance {
[INFO] [stdout]     | ----------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 120 |     pub unsafe fn destroy(mut self) {
[INFO] [stdout]     |                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/core/middleware/basic/middleware_module_load_manager.rs:79:12
[INFO] [stdout]     |
[INFO] [stdout]  21 | impl MiddlewareModuleLoadManager {
[INFO] [stdout]     | -------------------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  79 |     pub fn from_server_instance(server_instance: &ServerInstance) -> Result<Self, Box<dyn std::error::Error + Send + Sync>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  84 |     pub fn from_server_instance_with_dir<P: AsRef<Path>>(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |     fn extract_middleware_names(server_instance: &ServerInstance) -> Vec<String> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 200 |     pub fn is_module_loaded(&self, name: &str) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 212 |     pub fn modules_dir(&self) -> &PathBuf {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 217 |     pub fn set_modules_dir<P: AsRef<Path>>(&mut self, modules_dir: P) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 226 |     pub fn with_modules_dir<P: AsRef<Path>>(modules_dir: P) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 233 |     pub fn load_from_server_instance<P: AsRef<Path>>(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 253 |     pub fn get_middleware_instance(&self, name: &str) -> Option<Arc<dyn HttpWardMiddleware + Send + Sync>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 281 |     pub fn reload_module(&mut self, name: &str) -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 289 |     pub fn unload_module(&mut self, name: &str) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `library` and `path` are never read
[INFO] [stdout]   --> src/core/middleware/basic/middleware_global_module_storage.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct ModuleRecord {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 13 |     pub name: String,
[INFO] [stdout] 14 |     pub library: Option<Arc<Library>>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 15 |     pub instance: Arc<dyn HttpWardMiddleware + Send + Sync>,
[INFO] [stdout] 16 |     pub path: std::path::PathBuf,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ModuleRegistry` is never used
[INFO] [stdout]   --> src/core/middleware/basic/middleware_global_module_storage.rs:50:11
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub trait ModuleRegistry {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `remove_module` is never used
[INFO] [stdout]   --> src/core/middleware/basic/middleware_global_module_storage.rs:95:12
[INFO] [stdout]    |
[INFO] [stdout] 64 | impl GlobalModuleStorage {
[INFO] [stdout]    | ------------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 95 |     pub fn remove_module(&mut self, name: &str) -> Option<ModuleRecord> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_global_storage_initialized` is never used
[INFO] [stdout]    --> src/core/middleware/basic/middleware_global_module_storage.rs:167:8
[INFO] [stdout]     |
[INFO] [stdout] 167 | pub fn is_global_storage_initialized() -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_global_storage_stats` is never used
[INFO] [stdout]    --> src/core/middleware/basic/middleware_global_module_storage.rs:172:8
[INFO] [stdout]     |
[INFO] [stdout] 172 | pub fn get_global_storage_stats() -> Option<(usize, Vec<String>)> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `proxy_request` is never used
[INFO] [stdout]    --> src/core/middleware/route/proxy.rs:214:18
[INFO] [stdout]     |
[INFO] [stdout] 176 | impl ProxyHandler {
[INFO] [stdout]     | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 214 |     pub async fn proxy_request(
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Redirect` and `Other` are never constructed
[INFO] [stdout]   --> src/core/middleware/route/route.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub enum RouteError {
[INFO] [stdout]    |          ---------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 34 |     Redirect(String),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 35 |     #[error("other: {0}")]
[INFO] [stdout] 36 |     Other(String),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RouteError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> src/core/middleware/basic/dynamic_module_loader.rs:323:17
[INFO] [stdout]     |
[INFO] [stdout] 323 |         assert!(middleware_count >= 0);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 10.51s
[INFO] running `Command { std: "docker" "inspect" "d82bdb00c8576ad45bab94d4b28ea198ba3e485f67b46fdc4dc39d855ca1dc5d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d82bdb00c8576ad45bab94d4b28ea198ba3e485f67b46fdc4dc39d855ca1dc5d", kill_on_drop: false }`
[INFO] [stdout] d82bdb00c8576ad45bab94d4b28ea198ba3e485f67b46fdc4dc39d855ca1dc5d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 35b85bda28813608c424023fd20049aca10051b267df5e26beb204754ce77953
[INFO] running `Command { std: "docker" "start" "-a" "35b85bda28813608c424023fd20049aca10051b267df5e26beb204754ce77953", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `info`
[INFO] [stderr]  --> src/core/middleware/basic/request_enricher.rs:9:22
[INFO] [stderr]   |
[INFO] [stderr] 9 | use tracing::{debug, info, trace, warn};
[INFO] [stderr]   |                      ^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `HttpWardMiddlewareError`
[INFO] [stderr]   --> src/core/middleware/basic/error_handler.rs:10:59
[INFO] [stderr]    |
[INFO] [stderr] 10 | use httpward_core::httpward_middleware::{IsHttpWardError, HttpWardMiddlewareError};
[INFO] [stderr]    |                                                           ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::sync::Arc`
[INFO] [stderr]  --> src/core/middleware/route/route.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use std::sync::Arc;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `GlobalConfig`
[INFO] [stderr]   --> src/core/middleware/route/route.rs:11:29
[INFO] [stderr]    |
[INFO] [stderr] 11 | use httpward_core::config::{GlobalConfig, Redirect, Route};
[INFO] [stderr]    |                             ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `httpward_core::core::server_models::server_instance::ServerInstance`
[INFO] [stderr]   --> src/core/middleware/route/route.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | use httpward_core::core::server_models::server_instance::ServerInstance;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `httpward_core::core::server_models::listener::ListenerKey`
[INFO] [stderr]   --> src/core/middleware/route/route.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 | use httpward_core::core::server_models::listener::ListenerKey;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `MatcherType`
[INFO] [stderr]  --> src/core/middleware/route/static_files.rs:8:56
[INFO] [stderr]   |
[INFO] [stderr] 8 | use httpward_core::core::server_models::{MatchedRoute, MatcherType};
[INFO] [stderr]   |                                                        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::sync::Arc`
[INFO] [stderr]  --> src/main.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use std::sync::Arc;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `warn`
[INFO] [stderr]  --> src/main.rs:8:28
[INFO] [stderr]   |
[INFO] [stderr] 8 | use tracing::{info, debug, warn};
[INFO] [stderr]   |                            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `httpward_core::httpward_middleware::middleware_trait::HttpWardMiddleware`
[INFO] [stderr]   --> src/main.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 | use httpward_core::httpward_middleware::middleware_trait::HttpWardMiddleware;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/core/middleware/basic/request_enricher.rs:234:13
[INFO] [stderr]     |
[INFO] [stderr] 234 |         let mut enriched_context = HttpWardContext {
[INFO] [stderr]     |             ----^^^^^^^^^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]   --> src/server/http_server.rs:53:45
[INFO] [stderr]    |
[INFO] [stderr] 53 |         let base_service = service_fn(move |ctx: Context<()>, _req: Request<Body>| {
[INFO] [stderr]    |                                             ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `header_fp` is never read
[INFO] [stderr]    --> src/core/middleware/basic/request_enricher.rs:194:29
[INFO] [stderr]     |
[INFO] [stderr] 194 |         let mut header_fp = None;
[INFO] [stderr]     |                             ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/core/middleware/route/proxy.rs:444:13
[INFO] [stderr]     |
[INFO] [stderr] 444 |         let mut req = RamaRequest::builder()
[INFO] [stderr]     |             ----^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/core/middleware/route/proxy.rs:455:13
[INFO] [stderr]     |
[INFO] [stderr] 455 |         let mut req2 = RamaRequest::builder()
[INFO] [stderr]     |             ----^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: method `update_domains_certificate` is never used
[INFO] [stderr]    --> src/server/tls/tls.rs:172:12
[INFO] [stderr]     |
[INFO] [stderr] 129 | impl FallbackSniResolver {
[INFO] [stderr]     | ------------------------ method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 172 |     pub fn update_domains_certificate(&self, domains: Vec<String>, cert: Arc<CertifiedKey>) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new_with_async_callback` is never used
[INFO] [stderr]   --> src/server/tls/tls_watcher.rs:96:12
[INFO] [stderr]    |
[INFO] [stderr] 80 | impl TlsFileWatcher {
[INFO] [stderr]    | ------------------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 96 |     pub fn new_with_async_callback(
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `find`, `first_cert`, `remove_domain`, and `update_domains` are never used
[INFO] [stderr]    --> src/server/tls/domain_store.rs:70:12
[INFO] [stderr]     |
[INFO] [stderr]  44 | impl DomainStore {
[INFO] [stderr]     | ---------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr]  70 |     pub fn find(&self, host: &str) -> Option<&Vec<Cert>> {
[INFO] [stderr]     |            ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 102 |     pub fn first_cert(&self) -> Option<&Cert> {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 174 |     pub fn remove_domain(&mut self, domain: &str) -> bool {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 196 |     pub fn update_domains(&mut self, domains: &[String], new_cert: Cert) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `with_pipe`, `add_layer`, `add_boxed_layer`, `has_middleware`, `pipe`, and `get_layer_by_name` are never used
[INFO] [stderr]    --> src/core/middleware/basic/dynamic_module_loader.rs:83:12
[INFO] [stderr]     |
[INFO] [stderr]  26 | impl DynamicModuleLoaderLayer {
[INFO] [stderr]     | ----------------------------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr]  83 |     pub fn with_pipe(pipe: HttpWardMiddlewarePipe) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  90 |     pub fn add_layer<T>(mut self, layer: T) -> Self
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 100 |     pub fn add_boxed_layer(&mut self, boxed: Arc<dyn httpward_core::httpward_middleware::HttpWardMiddleware + Send + Sync>) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 112 |     pub fn has_middleware(&self) -> bool {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 117 |     pub fn pipe(&self) -> &HttpWardMiddlewarePipe {
[INFO] [stderr]     |            ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 122 |     pub fn get_layer_by_name(&self, name: &str) -> Option<std::sync::Arc<dyn httpward_core::httpward_middleware::HttpWardMiddleware...
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `middleware_count`, `pipe`, and `get_layer_by_name` are never used
[INFO] [stderr]    --> src/core/middleware/basic/dynamic_module_loader.rs:174:12
[INFO] [stderr]     |
[INFO] [stderr] 162 | / impl<S> DynamicModuleLoaderService<S>
[INFO] [stderr] 163 | | where
[INFO] [stderr] 164 | |     S: Service<(), Request<Body>, Response = Response<Body>> + Send + Sync + 'static,
[INFO] [stderr]     | |_____________________________________________________________________________________- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 174 |       pub fn middleware_count(&self) -> usize {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 179 |       pub fn pipe(&self) -> &HttpWardMiddlewarePipe {
[INFO] [stderr]     |              ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 184 |       pub fn get_layer_by_name(&self, name: &str) -> Option<std::sync::Arc<dyn httpward_core::httpward_middleware::HttpWardMiddlewa...
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `destroy` is never used
[INFO] [stderr]    --> src/core/middleware/basic/middleware_module_instance.rs:120:19
[INFO] [stderr]     |
[INFO] [stderr]  44 | impl MiddlewareModuleInstance {
[INFO] [stderr]     | ----------------------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 120 |     pub unsafe fn destroy(mut self) {
[INFO] [stderr]     |                   ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated items are never used
[INFO] [stderr]    --> src/core/middleware/basic/middleware_module_load_manager.rs:79:12
[INFO] [stderr]     |
[INFO] [stderr]  21 | impl MiddlewareModuleLoadManager {
[INFO] [stderr]     | -------------------------------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr]  79 |     pub fn from_server_instance(server_instance: &ServerInstance) -> Result<Self, Box<dyn std::error::Error + Send + Sync>> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  84 |     pub fn from_server_instance_with_dir<P: AsRef<Path>>(
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 116 |     fn extract_middleware_names(server_instance: &ServerInstance) -> Vec<String> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 200 |     pub fn is_module_loaded(&self, name: &str) -> bool {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 212 |     pub fn modules_dir(&self) -> &PathBuf {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 217 |     pub fn set_modules_dir<P: AsRef<Path>>(&mut self, modules_dir: P) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 226 |     pub fn with_modules_dir<P: AsRef<Path>>(modules_dir: P) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 233 |     pub fn load_from_server_instance<P: AsRef<Path>>(
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 253 |     pub fn get_middleware_instance(&self, name: &str) -> Option<Arc<dyn HttpWardMiddleware + Send + Sync>> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 281 |     pub fn reload_module(&mut self, name: &str) -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 289 |     pub fn unload_module(&mut self, name: &str) -> bool {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `library` and `path` are never read
[INFO] [stderr]   --> src/core/middleware/basic/middleware_global_module_storage.rs:14:9
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub struct ModuleRecord {
[INFO] [stderr]    |            ------------ fields in this struct
[INFO] [stderr] 13 |     pub name: String,
[INFO] [stderr] 14 |     pub library: Option<Arc<Library>>,
[INFO] [stderr]    |         ^^^^^^^
[INFO] [stderr] 15 |     pub instance: Arc<dyn HttpWardMiddleware + Send + Sync>,
[INFO] [stderr] 16 |     pub path: std::path::PathBuf,
[INFO] [stderr]    |         ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `ModuleRegistry` is never used
[INFO] [stderr]   --> src/core/middleware/basic/middleware_global_module_storage.rs:50:11
[INFO] [stderr]    |
[INFO] [stderr] 50 | pub trait ModuleRegistry {
[INFO] [stderr]    |           ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `remove_module` is never used
[INFO] [stderr]   --> src/core/middleware/basic/middleware_global_module_storage.rs:95:12
[INFO] [stderr]    |
[INFO] [stderr] 64 | impl GlobalModuleStorage {
[INFO] [stderr]    | ------------------------ method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 95 |     pub fn remove_module(&mut self, name: &str) -> Option<ModuleRecord> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `is_global_storage_initialized` is never used
[INFO] [stderr]    --> src/core/middleware/basic/middleware_global_module_storage.rs:167:8
[INFO] [stderr]     |
[INFO] [stderr] 167 | pub fn is_global_storage_initialized() -> bool {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_global_storage_stats` is never used
[INFO] [stderr]    --> src/core/middleware/basic/middleware_global_module_storage.rs:172:8
[INFO] [stderr]     |
[INFO] [stderr] 172 | pub fn get_global_storage_stats() -> Option<(usize, Vec<String>)> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `proxy_request` is never used
[INFO] [stderr]    --> src/core/middleware/route/proxy.rs:214:18
[INFO] [stderr]     |
[INFO] [stderr] 176 | impl ProxyHandler {
[INFO] [stderr]     | ----------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 214 |     pub async fn proxy_request(
[INFO] [stderr]     |                  ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variants `Redirect` and `Other` are never constructed
[INFO] [stderr]   --> src/core/middleware/route/route.rs:34:5
[INFO] [stderr]    |
[INFO] [stderr] 24 | pub enum RouteError {
[INFO] [stderr]    |          ---------- variants in this enum
[INFO] [stderr] ...
[INFO] [stderr] 34 |     Redirect(String),
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr] 35 |     #[error("other: {0}")]
[INFO] [stderr] 36 |     Other(String),
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `RouteError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: comparison is useless due to type limits
[INFO] [stderr]    --> src/core/middleware/basic/dynamic_module_loader.rs:323:17
[INFO] [stderr]     |
[INFO] [stderr] 323 |         assert!(middleware_count >= 0);
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `httpward` (bin "httpward" test) generated 30 warnings (run `cargo fix --bin "httpward" -p httpward --tests` to apply 14 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.58s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/httpward-e83299a3d749a17f)
[INFO] [stdout] 
[INFO] [stdout] running 31 tests
[INFO] [stdout] test core::middleware::basic::dynamic_module_loader::tests::test_default_implementation ... ok
[INFO] [stdout] test core::middleware::basic::dynamic_module_loader::tests::test_collect_unique_middleware_names ... ok
[INFO] [stdout] test core::middleware::basic::dynamic_module_loader::tests::test_collect_unique_middleware_names_includes_on ... ok
[INFO] [stdout] test core::middleware::basic::request_enricher::tests::test_find_site_by_domain_host_header_takes_precedence ... ok
[INFO] [stdout] test core::middleware::basic::request_enricher::tests::test_find_site_by_domain_with_port_in_host_header ... ok
[INFO] [stdout] test core::middleware::route::proxy::tests::test_grpc_detection ... ok
[INFO] [stdout] test core::middleware::route::proxy::tests::test_grpc_detection_does_not_match_plain_http2 ... ok
[INFO] [stdout] test core::middleware::route::proxy::tests::test_full_matcher_functionality ... ok
[INFO] [stdout] test core::middleware::route::proxy::tests::test_build_upstream_url_user_case ... ok
[INFO] [stdout] test core::middleware::route::proxy::tests::test_process_backend_url_with_params ... ok
[INFO] [stdout] test core::middleware::basic::request_enricher::tests::test_find_site_by_domain_with_host_header ... ok
[INFO] [stdout] test core::middleware::basic::request_enricher::tests::test_find_site_by_domain_prefer_domain_match_over_unrestricted ... ok
[INFO] [stdout] test core::middleware::basic::request_enricher::tests::test_find_site_by_domain_with_unrestricted_site ... ok
[INFO] [stdout] test core::middleware::route::proxy::tests::test_normalize_http_headers_removes_te ... ok
[INFO] [stdout] test core::middleware::basic::dynamic_module_loader::tests::test_empty_server_instance ... ok
[INFO] [stdout] test core::middleware::route::proxy::tests::test_normalize_grpc_headers_preserves_te_trailers ... ok
[INFO] [stdout] test core::middleware::route::route::tests::test_redirect_parameter_substitution ... ok
[INFO] [stdout] test core::middleware::route::websocket::tests::test_build_upstream_request_preserves_important_headers ... ok
[INFO] [stdout] test core::middleware::route::route::tests::test_redirect_url_generation_with_wildcard ... ok
[INFO] [stdout] test core::middleware::route::websocket::tests::test_http_to_ws_url ... ok
[INFO] [stdout] test core::middleware::route::route::tests::test_static_route_matching ... ok
[INFO] [stdout] test core::middleware::route::static_files::tests::test_process_static_dir_with_params ... ok
[INFO] [stdout] test core::middleware::route::proxy::tests::test_build_upstream_url ... ok
[INFO] [stdout] test core::middleware::basic::dynamic_module_loader::tests::test_dynamic_module_loader_layer_creation ... ok
[INFO] [stdout] test core::middleware::route::static_files::tests::test_static_file_with_params ... ok
[INFO] [stdout] test core::middleware::route::websocket::tests::test_generate_accept_key ... ok
[INFO] [stdout] test core::middleware::route::websocket::tests::test_relay_websocket_streams_bidirectional ... ok
[INFO] [stdout] test core::middleware::route::websocket::tests::test_websocket_detection ... ok
[INFO] [stdout] test core::middleware::route::proxy::tests::test_normalize_response_headers_preserves_grpc_metadata ... ok
[INFO] [stdout] test core::middleware::route::proxy::tests::test_websocket_detection ... ok
[INFO] [stdout] test core::middleware::route::proxy::tests::test_normalize_response_headers_removes_hop_by_hop ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 31 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "35b85bda28813608c424023fd20049aca10051b267df5e26beb204754ce77953", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "35b85bda28813608c424023fd20049aca10051b267df5e26beb204754ce77953", kill_on_drop: false }`
[INFO] [stdout] 35b85bda28813608c424023fd20049aca10051b267df5e26beb204754ce77953
