[INFO] fetching crate product-os-router 0.0.35... [INFO] building product-os-router-0.0.35 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate product-os-router 0.0.35 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate product-os-router 0.0.35 [INFO] finished tweaking crates.io crate product-os-router 0.0.35 [INFO] tweaked toml for crates.io crate product-os-router 0.0.35 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate product-os-router 0.0.35 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 121 packages to latest compatible versions [INFO] [stderr] Adding matchit v0.8.4 (available: v0.8.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30eb8b20e6a5fcd07247d17ae4bf71cf05dc8d43c2829dc7e86c75b1cbf0ac1e [INFO] running `Command { std: "docker" "start" "-a" "30eb8b20e6a5fcd07247d17ae4bf71cf05dc8d43c2829dc7e86c75b1cbf0ac1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30eb8b20e6a5fcd07247d17ae4bf71cf05dc8d43c2829dc7e86c75b1cbf0ac1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30eb8b20e6a5fcd07247d17ae4bf71cf05dc8d43c2829dc7e86c75b1cbf0ac1e", kill_on_drop: false }` [INFO] [stdout] 30eb8b20e6a5fcd07247d17ae4bf71cf05dc8d43c2829dc7e86c75b1cbf0ac1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08610673df4109b1a341d42b3aca02cae63939122b8a2106cb630f9b39ee3f71 [INFO] running `Command { std: "docker" "start" "-a" "08610673df4109b1a341d42b3aca02cae63939122b8a2106cb630f9b39ee3f71", kill_on_drop: false }` [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling core-error v0.0.1-rc4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling no-std-compat v0.4.1 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling product-os-http v0.0.8 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling serde_html_form v0.2.8 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling tungstenite v0.26.2 [INFO] [stderr] Compiling product-os-http-body v0.0.23 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling product-os-request v0.0.48 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-tungstenite v0.26.2 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling axum-extra v0.10.1 [INFO] [stderr] Compiling product-os-router v0.0.35 (/opt/rustwide/workdir) [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub use axum::{ [INFO] [stdout] | _________^ [INFO] [stdout] 34 | | routing::*, [INFO] [stdout] 35 | | middleware::*, [INFO] [stdout] | | ------------- but the name `future` in the type namespace is also re-exported here [INFO] [stdout] 36 | | handler::Handler, [INFO] [stdout] ... | [INFO] [stdout] 47 | | http::Uri [INFO] [stdout] 48 | | }; [INFO] [stdout] | |_^ the name `future` in the type namespace is first re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::Extension` [INFO] [stdout] --> src/extractors.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use axum::Extension; [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: `Request` [INFO] [stdout] --> src/extractors.rs:9:34 [INFO] [stdout] | [INFO] [stdout] 9 | use axum::http::{request::Parts, Request}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `product_os_request::Method::PUT` [INFO] [stdout] --> src/extractors.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use product_os_request::Method::PUT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::ready` [INFO] [stdout] --> src/default_headers.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use futures_util::ready; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Request` [INFO] [stdout] --> src/default_headers.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | use axum::http::{header::HeaderMap, Request, Response}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::ready` [INFO] [stdout] --> src/service_wrapper.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use futures_util::ready; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `product_os_http_body::BodyBytes` [INFO] [stdout] --> src/service_wrapper.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use product_os_http_body::BodyBytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `product_os_request::BodyExt` [INFO] [stdout] --> src/service_wrapper.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use product_os_request::BodyExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bytes` [INFO] [stdout] --> src/service_wrapper.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::{Body, BoxError, Bytes, IntoResponse, StatusCode}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/extractors.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | fn from_request_parts(parts: &mut Parts, state: &S) -> impl Future> + Send { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::RequestExt` [INFO] [stdout] --> src/lib.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | use axum::RequestExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> src/lib.rs:205:22 [INFO] [stdout] | [INFO] [stdout] 205 | for (value, [prefix, variable_name]) in param_matcher.captures_iter(path).map(|c| c.extract()) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `add_handler_to_method_router_no_state` and `convert_handler_to_method_router_no_state` are never used [INFO] [stdout] --> src/lib.rs:383:8 [INFO] [stdout] | [INFO] [stdout] 195 | impl ProductOSRouter<()> { [INFO] [stdout] | ------------------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 383 | fn add_handler_to_method_router_no_state(method_router: MethodRouter, method: Method, handler: H) -> MethodRouter [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 402 | fn convert_handler_to_method_router_no_state(method: Method, handler: H) -> MethodRouter [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Tls` and `Plain` are never constructed [INFO] [stdout] --> src/dual_protocol.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum Protocol { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 21 | /// This connection is encrypted with TLS. [INFO] [stdout] 22 | Tls, [INFO] [stdout] | ^^^ [INFO] [stdout] 23 | /// This connection is unencrypted. [INFO] [stdout] 24 | Plain, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Protocol` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner_layer` is never read [INFO] [stdout] --> src/service_wrapper.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct WrapperLayer { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 25 | inner_layer: L, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WrapperLayer` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.15s [INFO] running `Command { std: "docker" "inspect" "08610673df4109b1a341d42b3aca02cae63939122b8a2106cb630f9b39ee3f71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08610673df4109b1a341d42b3aca02cae63939122b8a2106cb630f9b39ee3f71", kill_on_drop: false }` [INFO] [stdout] 08610673df4109b1a341d42b3aca02cae63939122b8a2106cb630f9b39ee3f71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cabc9359905929f29b8cbbaebc5f11c3e2d2014b5cfc2d83494bd12435ca5b26 [INFO] running `Command { std: "docker" "start" "-a" "cabc9359905929f29b8cbbaebc5f11c3e2d2014b5cfc2d83494bd12435ca5b26", kill_on_drop: false }` [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub use axum::{ [INFO] [stdout] | _________^ [INFO] [stdout] 34 | | routing::*, [INFO] [stdout] 35 | | middleware::*, [INFO] [stdout] | | ------------- but the name `future` in the type namespace is also re-exported here [INFO] [stdout] 36 | | handler::Handler, [INFO] [stdout] ... | [INFO] [stdout] 47 | | http::Uri [INFO] [stdout] 48 | | }; [INFO] [stdout] | |_^ the name `future` in the type namespace is first re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::Extension` [INFO] [stdout] --> src/extractors.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use axum::Extension; [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: `Request` [INFO] [stdout] --> src/extractors.rs:9:34 [INFO] [stdout] | [INFO] [stdout] 9 | use axum::http::{request::Parts, Request}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `product_os_request::Method::PUT` [INFO] [stdout] --> src/extractors.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use product_os_request::Method::PUT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::ready` [INFO] [stdout] --> src/default_headers.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use futures_util::ready; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Request` [INFO] [stdout] --> src/default_headers.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | use axum::http::{header::HeaderMap, Request, Response}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::ready` [INFO] [stdout] --> src/service_wrapper.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use futures_util::ready; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `product_os_http_body::BodyBytes` [INFO] [stdout] --> src/service_wrapper.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use product_os_http_body::BodyBytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling product-os-router v0.0.35 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `product_os_request::BodyExt` [INFO] [stdout] --> src/service_wrapper.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use product_os_request::BodyExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bytes` [INFO] [stdout] --> src/service_wrapper.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::{Body, BoxError, Bytes, IntoResponse, StatusCode}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/extractors.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | fn from_request_parts(parts: &mut Parts, state: &S) -> impl Future> + Send { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::RequestExt` [INFO] [stdout] --> src/lib.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | use axum::RequestExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> src/lib.rs:205:22 [INFO] [stdout] | [INFO] [stdout] 205 | for (value, [prefix, variable_name]) in param_matcher.captures_iter(path).map(|c| c.extract()) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `add_handler_to_method_router_no_state` and `convert_handler_to_method_router_no_state` are never used [INFO] [stdout] --> src/lib.rs:383:8 [INFO] [stdout] | [INFO] [stdout] 195 | impl ProductOSRouter<()> { [INFO] [stdout] | ------------------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 383 | fn add_handler_to_method_router_no_state(method_router: MethodRouter, method: Method, handler: H) -> MethodRouter [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 402 | fn convert_handler_to_method_router_no_state(method: Method, handler: H) -> MethodRouter [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Tls` and `Plain` are never constructed [INFO] [stdout] --> src/dual_protocol.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum Protocol { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 21 | /// This connection is encrypted with TLS. [INFO] [stdout] 22 | Tls, [INFO] [stdout] | ^^^ [INFO] [stdout] 23 | /// This connection is unencrypted. [INFO] [stdout] 24 | Plain, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Protocol` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner_layer` is never read [INFO] [stdout] --> src/service_wrapper.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct WrapperLayer { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 25 | inner_layer: L, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WrapperLayer` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub use axum::{ [INFO] [stdout] | _________^ [INFO] [stdout] 34 | | routing::*, [INFO] [stdout] 35 | | middleware::*, [INFO] [stdout] | | ------------- but the name `future` in the type namespace is also re-exported here [INFO] [stdout] 36 | | handler::Handler, [INFO] [stdout] ... | [INFO] [stdout] 47 | | http::Uri [INFO] [stdout] 48 | | }; [INFO] [stdout] | |_^ the name `future` in the type namespace is first re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::Extension` [INFO] [stdout] --> src/extractors.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use axum::Extension; [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: `Request` [INFO] [stdout] --> src/extractors.rs:9:34 [INFO] [stdout] | [INFO] [stdout] 9 | use axum::http::{request::Parts, Request}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `product_os_request::Method::PUT` [INFO] [stdout] --> src/extractors.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use product_os_request::Method::PUT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::ready` [INFO] [stdout] --> src/default_headers.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use futures_util::ready; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Request` [INFO] [stdout] --> src/default_headers.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | use axum::http::{header::HeaderMap, Request, Response}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::ready` [INFO] [stdout] --> src/service_wrapper.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use futures_util::ready; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `product_os_http_body::BodyBytes` [INFO] [stdout] --> src/service_wrapper.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use product_os_http_body::BodyBytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `product_os_request::BodyExt` [INFO] [stdout] --> src/service_wrapper.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use product_os_request::BodyExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bytes` [INFO] [stdout] --> src/service_wrapper.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::{Body, BoxError, Bytes, IntoResponse, StatusCode}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/extractors.rs:23:46 [INFO] [stdout] | [INFO] [stdout] 23 | fn from_request_parts(parts: &mut Parts, state: &S) -> impl Future> + Send { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::RequestExt` [INFO] [stdout] --> src/lib.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | use axum::RequestExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> src/lib.rs:205:22 [INFO] [stdout] | [INFO] [stdout] 205 | for (value, [prefix, variable_name]) in param_matcher.captures_iter(path).map(|c| c.extract()) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `add_handler_to_method_router_no_state` and `convert_handler_to_method_router_no_state` are never used [INFO] [stdout] --> src/lib.rs:383:8 [INFO] [stdout] | [INFO] [stdout] 195 | impl ProductOSRouter<()> { [INFO] [stdout] | ------------------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 383 | fn add_handler_to_method_router_no_state(method_router: MethodRouter, method: Method, handler: H) -> MethodRouter [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 402 | fn convert_handler_to_method_router_no_state(method: Method, handler: H) -> MethodRouter [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 `inner_layer` is never read [INFO] [stdout] --> src/service_wrapper.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct WrapperLayer { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 25 | inner_layer: L, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WrapperLayer` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Tls` and `Plain` are never constructed [INFO] [stdout] --> src/dual_protocol.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum Protocol { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 21 | /// This connection is encrypted with TLS. [INFO] [stdout] 22 | Tls, [INFO] [stdout] | ^^^ [INFO] [stdout] 23 | /// This connection is unencrypted. [INFO] [stdout] 24 | Plain, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Protocol` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.78s [INFO] running `Command { std: "docker" "inspect" "cabc9359905929f29b8cbbaebc5f11c3e2d2014b5cfc2d83494bd12435ca5b26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cabc9359905929f29b8cbbaebc5f11c3e2d2014b5cfc2d83494bd12435ca5b26", kill_on_drop: false }` [INFO] [stdout] cabc9359905929f29b8cbbaebc5f11c3e2d2014b5cfc2d83494bd12435ca5b26