[INFO] fetching crate tower-http 0.6.6... [INFO] testing tower-http-0.6.6 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate tower-http 0.6.6 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate tower-http 0.6.6 [INFO] finished tweaking crates.io crate tower-http 0.6.6 [INFO] tweaked toml for crates.io crate tower-http 0.6.6 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tower-http 0.6.6 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tower-http 0.6.6 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6b3e2f4f916fc59185dd3d740058654b07fe1a292bdbc45ac252e8cb5fbe051 [INFO] running `Command { std: "docker" "start" "-a" "c6b3e2f4f916fc59185dd3d740058654b07fe1a292bdbc45ac252e8cb5fbe051", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6b3e2f4f916fc59185dd3d740058654b07fe1a292bdbc45ac252e8cb5fbe051", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6b3e2f4f916fc59185dd3d740058654b07fe1a292bdbc45ac252e8cb5fbe051", kill_on_drop: false }` [INFO] [stdout] c6b3e2f4f916fc59185dd3d740058654b07fe1a292bdbc45ac252e8cb5fbe051 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25d124ea046654c99eb33d54852db9f1b6c39fde8b5512826bfebe14eef0313a [INFO] running `Command { std: "docker" "start" "-a" "25d124ea046654c99eb33d54852db9f1b6c39fde8b5512826bfebe14eef0313a", kill_on_drop: false }` [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling tower-http v0.6.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.53s [INFO] running `Command { std: "docker" "inspect" "25d124ea046654c99eb33d54852db9f1b6c39fde8b5512826bfebe14eef0313a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25d124ea046654c99eb33d54852db9f1b6c39fde8b5512826bfebe14eef0313a", kill_on_drop: false }` [INFO] [stdout] 25d124ea046654c99eb33d54852db9f1b6c39fde8b5512826bfebe14eef0313a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffb7c4b108ec9837aa28165e55f5a5d4b608bf581a2cd8ae59b3b9c9096911bc [INFO] running `Command { std: "docker" "start" "-a" "ffb7c4b108ec9837aa28165e55f5a5d4b608bf581a2cd8ae59b3b9c9096911bc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling brotli-decompressor v4.0.1 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling brotli v7.0.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling hyper v1.5.1 [INFO] [stderr] Compiling tower v0.5.1 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling tower-http v0.6.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: type alias `BoxBody` is never used [INFO] [stdout] --> src/test_helpers.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | type BoxBody = http_body_util::combinators::UnsyncBoxBody; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Body` is never constructed [INFO] [stdout] --> src/test_helpers.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) struct Body(BoxBody); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `empty`, `from_stream`, and `with_trailers` are never used [INFO] [stdout] --> src/test_helpers.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 20 | impl Body { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 21 | pub(crate) fn new(body: B) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub(crate) fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub(crate) fn from_stream(stream: S) -> Self [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub(crate) fn with_trailers(self, trailers: HeaderMap) -> WithTrailers { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_bytes` is never used [INFO] [stdout] --> src/test_helpers.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 127 | pub(crate) async fn to_bytes(body: T) -> Result [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 59.83s [INFO] running `Command { std: "docker" "inspect" "ffb7c4b108ec9837aa28165e55f5a5d4b608bf581a2cd8ae59b3b9c9096911bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffb7c4b108ec9837aa28165e55f5a5d4b608bf581a2cd8ae59b3b9c9096911bc", kill_on_drop: false }` [INFO] [stdout] ffb7c4b108ec9837aa28165e55f5a5d4b608bf581a2cd8ae59b3b9c9096911bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9cd5c0963f245e4ba68c5554e2482d43b2c9148221d17da57064393bd1a18c09 [INFO] running `Command { std: "docker" "start" "-a" "9cd5c0963f245e4ba68c5554e2482d43b2c9148221d17da57064393bd1a18c09", kill_on_drop: false }` [INFO] [stderr] warning: type alias `BoxBody` is never used [INFO] [stderr] --> src/test_helpers.rs:15:6 [INFO] [stderr] | [INFO] [stderr] 15 | type BoxBody = http_body_util::combinators::UnsyncBoxBody; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Body` is never constructed [INFO] [stderr] --> src/test_helpers.rs:18:19 [INFO] [stderr] | [INFO] [stderr] 18 | pub(crate) struct Body(BoxBody); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `empty`, `from_stream`, and `with_trailers` are never used [INFO] [stderr] --> src/test_helpers.rs:21:19 [INFO] [stderr] | [INFO] [stderr] 20 | impl Body { [INFO] [stderr] | --------- associated items in this implementation [INFO] [stderr] 21 | pub(crate) fn new(body: B) -> Self [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 29 | pub(crate) fn empty() -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 33 | pub(crate) fn from_stream(stream: S) -> Self [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 44 | pub(crate) fn with_trailers(self, trailers: HeaderMap) -> WithTrailers { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `to_bytes` is never used [INFO] [stderr] --> src/test_helpers.rs:127:21 [INFO] [stderr] | [INFO] [stderr] 127 | pub(crate) async fn to_bytes(body: T) -> Result [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `tower-http` (lib test) generated 4 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tower_http-0040f0256bc4d5c3) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test classify::grpc_errors_as_failures::tests::two_success_codes_first_matches ... ok [INFO] [stdout] test classify::grpc_errors_as_failures::tests::basic_ok ... ok [INFO] [stdout] test classify::grpc_errors_as_failures::tests::two_success_codes_none_matches ... ok [INFO] [stdout] test classify::status_in_range_is_error::tests::basic ... ok [INFO] [stdout] test classify::grpc_errors_as_failures::tests::two_success_codes_second_matches ... ok [INFO] [stdout] test classify::grpc_errors_as_failures::tests::basic_error ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests tower_http [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/classify/mod.rs - classify::SharedClassifier (line 56) ... ok [INFO] [stdout] test src/classify/grpc_errors_as_failures.rs - classify::grpc_errors_as_failures::GrpcErrorsAsFailures::with_success (line 164) ... ok [INFO] [stdout] test src/lib.rs - (line 17) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 91) - compile ... FAILED [INFO] [stdout] test src/classify/status_in_range_is_error.rs - classify::status_in_range_is_error::StatusInRangeAsFailures (line 12) - compile ... FAILED [INFO] [stdout] test src/classify/mod.rs - classify::ClassifyResponse::map_failure_class (line 189) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 17) stdout ---- [INFO] [stdout] error[E0432]: unresolved imports `tower_http::add_extension`, `tower_http::compression`, `tower_http::propagate_header`, `tower_http::sensitive_headers`, `tower_http::set_header`, `tower_http::trace`, `tower_http::validate_request` [INFO] [stdout] --> src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 5 | add_extension::AddExtensionLayer, [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `add_extension` in `tower_http` [INFO] [stdout] 6 | compression::CompressionLayer, [INFO] [stdout] | ^^^^^^^^^^^ could not find `compression` in `tower_http` [INFO] [stdout] 7 | propagate_header::PropagateHeaderLayer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ could not find `propagate_header` in `tower_http` [INFO] [stdout] 8 | sensitive_headers::SetSensitiveRequestHeadersLayer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ could not find `sensitive_headers` in `tower_http` [INFO] [stdout] 9 | set_header::SetResponseHeaderLayer, [INFO] [stdout] | ^^^^^^^^^^ could not find `set_header` in `tower_http` [INFO] [stdout] 10 | trace::TraceLayer, [INFO] [stdout] | ^^^^^ could not find `trace` in `tower_http` [INFO] [stdout] 11 | validate_request::ValidateRequestHeaderLayer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ could not find `validate_request` in `tower_http` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 245 | #[cfg(feature = "add-extension")] [INFO] [stdout] | ------------------------- the item is gated behind the `add-extension` feature [INFO] [stdout] 246 | pub mod add_extension; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 237 | #[cfg(any( [INFO] [stdout] | __________- [INFO] [stdout] 238 | | feature = "compression-br", [INFO] [stdout] 239 | | feature = "compression-deflate", [INFO] [stdout] 240 | | feature = "compression-gzip", [INFO] [stdout] 241 | | feature = "compression-zstd", [INFO] [stdout] 242 | | ))] [INFO] [stdout] | |_- the item is gated here [INFO] [stdout] 243 | pub mod compression; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 234 | #[cfg(feature = "propagate-header")] [INFO] [stdout] | ---------------------------- the item is gated behind the `propagate-header` feature [INFO] [stdout] 235 | pub mod propagate_header; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 248 | #[cfg(feature = "sensitive-headers")] [INFO] [stdout] | ----------------------------- the item is gated behind the `sensitive-headers` feature [INFO] [stdout] 249 | pub mod sensitive_headers; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 231 | #[cfg(feature = "set-header")] [INFO] [stdout] | ---------------------- the item is gated behind the `set-header` feature [INFO] [stdout] 232 | pub mod set_header; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 302 | #[cfg(feature = "trace")] [INFO] [stdout] | ----------------- the item is gated behind the `trace` feature [INFO] [stdout] 303 | pub mod trace; [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 344 | #[cfg(feature = "validate-request")] [INFO] [stdout] | ---------------------------- the item is gated behind the `validate-request` feature [INFO] [stdout] 345 | pub mod validate_request; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 91) stdout ---- [INFO] [stdout] error[E0432]: unresolved imports `tower_http::decompression`, `tower_http::set_header`, `tower_http::trace` [INFO] [stdout] --> src/lib.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 5 | decompression::DecompressionLayer, [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `decompression` in `tower_http` [INFO] [stdout] 6 | set_header::SetRequestHeaderLayer, [INFO] [stdout] | ^^^^^^^^^^ could not find `set_header` in `tower_http` [INFO] [stdout] 7 | trace::TraceLayer, [INFO] [stdout] | ^^^^^ could not find `trace` in `tower_http` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 251 | #[cfg(any( [INFO] [stdout] | __________- [INFO] [stdout] 252 | | feature = "decompression-br", [INFO] [stdout] 253 | | feature = "decompression-deflate", [INFO] [stdout] 254 | | feature = "decompression-gzip", [INFO] [stdout] 255 | | feature = "decompression-zstd", [INFO] [stdout] 256 | | ))] [INFO] [stdout] | |_- the item is gated here [INFO] [stdout] 257 | pub mod decompression; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 231 | #[cfg(feature = "set-header")] [INFO] [stdout] | ---------------------- the item is gated behind the `set-header` feature [INFO] [stdout] 232 | pub mod set_header; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 302 | #[cfg(feature = "trace")] [INFO] [stdout] | ----------------- the item is gated behind the `trace` feature [INFO] [stdout] 303 | pub mod trace; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/classify/status_in_range_is_error.rs - classify::status_in_range_is_error::StatusInRangeAsFailures (line 12) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tower_http::trace` [INFO] [stdout] --> src/classify/status_in_range_is_error.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 5 | use tower_http::{trace::TraceLayer, classify::StatusInRangeAsFailures}; [INFO] [stdout] | ^^^^^ could not find `trace` in `tower_http` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 302 | #[cfg(feature = "trace")] [INFO] [stdout] | ----------------- the item is gated behind the `trace` feature [INFO] [stdout] 303 | pub mod trace; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/classify/status_in_range_is_error.rs - classify::status_in_range_is_error::StatusInRangeAsFailures (line 12) [INFO] [stdout] src/lib.rs - (line 17) [INFO] [stdout] src/lib.rs - (line 91) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.58s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "9cd5c0963f245e4ba68c5554e2482d43b2c9148221d17da57064393bd1a18c09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cd5c0963f245e4ba68c5554e2482d43b2c9148221d17da57064393bd1a18c09", kill_on_drop: false }` [INFO] [stdout] 9cd5c0963f245e4ba68c5554e2482d43b2c9148221d17da57064393bd1a18c09