[INFO] fetching crate product-os-router 0.0.35... [INFO] testing product-os-router-0.0.35 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate product-os-router 0.0.35 into /workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate product-os-router 0.0.35 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_html_form v0.2.8 [INFO] [stderr] Downloaded serde_path_to_error v0.1.20 [INFO] [stderr] Downloaded tokio-tungstenite v0.28.0 [INFO] [stderr] Downloaded product-os-http-body v0.0.23 [INFO] [stderr] Downloaded axum-core v0.5.5 [INFO] [stderr] Downloaded product-os-http v0.0.8 [INFO] [stderr] Downloaded tungstenite v0.28.0 [INFO] [stderr] Downloaded core-error v0.0.1-rc4 [INFO] [stderr] Downloaded product-os-request v0.0.48 [INFO] [stderr] Downloaded axum v0.8.6 [INFO] [stderr] Downloaded axum-extra v0.10.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56018799d5b61785328b08023586ea2524837a1f6f4f5b0796a377a38046cca1 [INFO] running `Command { std: "docker" "start" "-a" "56018799d5b61785328b08023586ea2524837a1f6f4f5b0796a377a38046cca1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56018799d5b61785328b08023586ea2524837a1f6f4f5b0796a377a38046cca1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56018799d5b61785328b08023586ea2524837a1f6f4f5b0796a377a38046cca1", kill_on_drop: false }` [INFO] [stdout] 56018799d5b61785328b08023586ea2524837a1f6f4f5b0796a377a38046cca1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 189072ddffee35301aec725db84c06d40bebac5d2d7584a61237d00c83cc533d [INFO] running `Command { std: "docker" "start" "-a" "189072ddffee35301aec725db84c06d40bebac5d2d7584a61237d00c83cc533d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling core-error v0.0.1-rc4 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling axum-core v0.5.5 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling no-std-compat v0.4.1 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling product-os-http v0.0.8 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling serde_html_form v0.2.8 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [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 regex-automata v0.4.11 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling tungstenite v0.28.0 [INFO] [stderr] Compiling product-os-http-body v0.0.23 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling regex v1.11.3 [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 tokio-tungstenite v0.28.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling axum v0.8.6 [INFO] [stderr] Compiling axum-extra v0.10.3 [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: 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 `dev` profile [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "189072ddffee35301aec725db84c06d40bebac5d2d7584a61237d00c83cc533d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "189072ddffee35301aec725db84c06d40bebac5d2d7584a61237d00c83cc533d", kill_on_drop: false }` [INFO] [stdout] 189072ddffee35301aec725db84c06d40bebac5d2d7584a61237d00c83cc533d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66f6fb36cf5e96cad956805641ba5e35ce68a02675cfd81db46f124a12936697 [INFO] running `Command { std: "docker" "start" "-a" "66f6fb36cf5e96cad956805641ba5e35ce68a02675cfd81db46f124a12936697", kill_on_drop: false }` [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: 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] [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.61s [INFO] running `Command { std: "docker" "inspect" "66f6fb36cf5e96cad956805641ba5e35ce68a02675cfd81db46f124a12936697", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66f6fb36cf5e96cad956805641ba5e35ce68a02675cfd81db46f124a12936697", kill_on_drop: false }` [INFO] [stdout] 66f6fb36cf5e96cad956805641ba5e35ce68a02675cfd81db46f124a12936697 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f7bd1d89426f532ade9c104a7d5411f8b1492d8fd7e8e413f306913cd31164ab [INFO] running `Command { std: "docker" "start" "-a" "f7bd1d89426f532ade9c104a7d5411f8b1492d8fd7e8e413f306913cd31164ab", kill_on_drop: false }` [INFO] [stderr] warning: ambiguous glob re-exports [INFO] [stderr] --> src/lib.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | pub use axum::{ [INFO] [stderr] | _________^ [INFO] [stderr] 34 | | routing::*, [INFO] [stderr] 35 | | middleware::*, [INFO] [stderr] | | ------------- but the name `future` in the type namespace is also re-exported here [INFO] [stderr] 36 | | handler::Handler, [INFO] [stderr] ... | [INFO] [stderr] 47 | | http::Uri [INFO] [stderr] 48 | | }; [INFO] [stderr] | |_^ the name `future` in the type namespace is first re-exported here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `axum::Extension` [INFO] [stderr] --> src/extractors.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use axum::Extension; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Request` [INFO] [stderr] --> src/extractors.rs:9:34 [INFO] [stderr] | [INFO] [stderr] 9 | use axum::http::{request::Parts, Request}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `product_os_request::Method::PUT` [INFO] [stderr] --> src/extractors.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use product_os_request::Method::PUT; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures_util::ready` [INFO] [stderr] --> src/default_headers.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use futures_util::ready; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Request` [INFO] [stderr] --> src/default_headers.rs:10:37 [INFO] [stderr] | [INFO] [stderr] 10 | use axum::http::{header::HeaderMap, Request, Response}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures_util::ready` [INFO] [stderr] --> src/service_wrapper.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use futures_util::ready; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `product_os_http_body::BodyBytes` [INFO] [stderr] --> src/service_wrapper.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use product_os_http_body::BodyBytes; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `product_os_request::BodyExt` [INFO] [stderr] --> src/service_wrapper.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use product_os_request::BodyExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Bytes` [INFO] [stderr] --> src/service_wrapper.rs:20:29 [INFO] [stderr] | [INFO] [stderr] 20 | use crate::{Body, BoxError, Bytes, IntoResponse, StatusCode}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/extractors.rs:23:46 [INFO] [stderr] | [INFO] [stderr] 23 | fn from_request_parts(parts: &mut Parts, state: &S) -> impl Future> + Send { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `axum::RequestExt` [INFO] [stderr] --> src/lib.rs:58:5 [INFO] [stderr] | [INFO] [stderr] 58 | use axum::RequestExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `prefix` [INFO] [stderr] --> src/lib.rs:205:22 [INFO] [stderr] | [INFO] [stderr] 205 | for (value, [prefix, variable_name]) in param_matcher.captures_iter(path).map(|c| c.extract()) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stderr] [INFO] [stderr] warning: associated functions `add_handler_to_method_router_no_state` and `convert_handler_to_method_router_no_state` are never used [INFO] [stderr] --> src/lib.rs:383:8 [INFO] [stderr] | [INFO] [stderr] 195 | impl ProductOSRouter<()> { [INFO] [stderr] | ------------------------ associated functions in this implementation [INFO] [stderr] ... [INFO] [stderr] 383 | fn add_handler_to_method_router_no_state(method_router: MethodRouter, method: Method, handler: H) -> MethodRouter [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 402 | fn convert_handler_to_method_router_no_state(method: Method, handler: H) -> MethodRouter [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `inner_layer` is never read [INFO] [stderr] --> src/service_wrapper.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 24 | pub struct WrapperLayer { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 25 | inner_layer: L, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `WrapperLayer` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variants `Tls` and `Plain` are never constructed [INFO] [stderr] --> src/dual_protocol.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 20 | pub enum Protocol { [INFO] [stderr] | -------- variants in this enum [INFO] [stderr] 21 | /// This connection is encrypted with TLS. [INFO] [stderr] 22 | Tls, [INFO] [stderr] | ^^^ [INFO] [stderr] 23 | /// This connection is unencrypted. [INFO] [stderr] 24 | Plain, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Protocol` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `product-os-router` (lib) generated 16 warnings (run `cargo fix --lib -p product-os-router` to apply 9 suggestions) [INFO] [stderr] warning: `product-os-router` (lib test) generated 16 warnings (16 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/product_os_router-c3a995c11898e440) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests product_os_router [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f7bd1d89426f532ade9c104a7d5411f8b1492d8fd7e8e413f306913cd31164ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7bd1d89426f532ade9c104a7d5411f8b1492d8fd7e8e413f306913cd31164ab", kill_on_drop: false }` [INFO] [stdout] f7bd1d89426f532ade9c104a7d5411f8b1492d8fd7e8e413f306913cd31164ab