[INFO] fetching crate tower-http 0.1.1... [INFO] testing tower-http-0.1.1 against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] extracting crate tower-http 0.1.1 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate tower-http 0.1.1 on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tower-http 0.1.1 [INFO] finished tweaking crates.io crate tower-http 0.1.1 [INFO] tweaked toml for crates.io crate tower-http 0.1.1 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ca4fd1e9544a80e6b266ca9a7860381a68ff0967b590d02971ebcfb80ff3428 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5ca4fd1e9544a80e6b266ca9a7860381a68ff0967b590d02971ebcfb80ff3428", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ca4fd1e9544a80e6b266ca9a7860381a68ff0967b590d02971ebcfb80ff3428", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ca4fd1e9544a80e6b266ca9a7860381a68ff0967b590d02971ebcfb80ff3428", kill_on_drop: false }` [INFO] [stdout] 5ca4fd1e9544a80e6b266ca9a7860381a68ff0967b590d02971ebcfb80ff3428 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6456dca9b454c90a83e2361891f6f67557d9448f6bb524a249addd782071f17e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6456dca9b454c90a83e2361891f6f67557d9448f6bb524a249addd782071f17e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling tower-http v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 21.72s [INFO] running `Command { std: "docker" "inspect" "6456dca9b454c90a83e2361891f6f67557d9448f6bb524a249addd782071f17e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6456dca9b454c90a83e2361891f6f67557d9448f6bb524a249addd782071f17e", kill_on_drop: false }` [INFO] [stdout] 6456dca9b454c90a83e2361891f6f67557d9448f6bb524a249addd782071f17e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2bcb377bbd385d73d4815d51bc7fcba34f3eeee395f881ecd5e484cb3758fa60 [INFO] running `Command { std: "docker" "start" "-a" "2bcb377bbd385d73d4815d51bc7fcba34f3eeee395f881ecd5e484cb3758fa60", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling tokio v1.8.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling sharded-slab v0.1.1 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling tracing-subscriber v0.2.19 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling tower v0.4.8 [INFO] [stderr] Compiling hyper v0.14.10 [INFO] [stderr] Compiling tower-http v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 44.41s [INFO] running `Command { std: "docker" "inspect" "2bcb377bbd385d73d4815d51bc7fcba34f3eeee395f881ecd5e484cb3758fa60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bcb377bbd385d73d4815d51bc7fcba34f3eeee395f881ecd5e484cb3758fa60", kill_on_drop: false }` [INFO] [stdout] 2bcb377bbd385d73d4815d51bc7fcba34f3eeee395f881ecd5e484cb3758fa60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4997f3c024999fb69b216a4c7802c3acafa4f4d35c8453c3c40d6087b68282dc [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4997f3c024999fb69b216a4c7802c3acafa4f4d35c8453c3c40d6087b68282dc", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/tower_http-7592efb5e6e823cd) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test classify::status_in_range_is_error::tests::basic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests tower-http [INFO] [stderr] warning: lint `broken_intra_doc_links` has been renamed to `rustdoc::broken_intra_doc_links` [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:213:26 [INFO] [stderr] | [INFO] [stderr] 213 | #![deny(unreachable_pub, broken_intra_doc_links, private_in_public)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::broken_intra_doc_links` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - (line 93) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 17) - compile ... FAILED [INFO] [stdout] test src/classify/mod.rs - classify::ClassifyResponse::map_failure_class (line 185) ... ok [INFO] [stdout] test src/classify/mod.rs - classify::SharedClassifier (line 52) ... ok [INFO] [stdout] test src/classify/status_in_range_is_error.rs - classify::status_in_range_is_error::StatusInRangeAsFailures (line 12) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 93) stdout ---- [INFO] [stdout] error[E0432]: unresolved imports `tower_http::decompression`, `tower_http::set_header`, `tower_http::trace` [INFO] [stdout] --> src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 4 | decompression::DecompressionLayer, [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `decompression` in `tower_http` [INFO] [stdout] 5 | set_header::SetRequestHeaderLayer, [INFO] [stdout] | ^^^^^^^^^^ could not find `set_header` in `tower_http` [INFO] [stdout] 6 | trace::TraceLayer, [INFO] [stdout] | ^^^^^ could not find `trace` in `tower_http` [INFO] [stdout] [INFO] [stdout] error: aborting due to 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 17) stdout ---- [INFO] [stdout] error[E0432]: unresolved imports `tower_http::add_extension`, `tower_http::compression`, `tower_http::propagate_header`, `tower_http::auth`, `tower_http::sensitive_headers`, `tower_http::set_header`, `tower_http::trace` [INFO] [stdout] --> src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 4 | add_extension::AddExtensionLayer, [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `add_extension` in `tower_http` [INFO] [stdout] 5 | compression::CompressionLayer, [INFO] [stdout] | ^^^^^^^^^^^ could not find `compression` in `tower_http` [INFO] [stdout] 6 | propagate_header::PropagateHeaderLayer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ could not find `propagate_header` in `tower_http` [INFO] [stdout] 7 | auth::RequireAuthorizationLayer, [INFO] [stdout] | ^^^^ could not find `auth` 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] [INFO] [stdout] error: aborting due to 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:13:18 [INFO] [stdout] | [INFO] [stdout] 4 | use tower_http::{trace::TraceLayer, classify::StatusInRangeAsFailures}; [INFO] [stdout] | ^^^^^ could not find `trace` in `tower_http` [INFO] [stdout] [INFO] [stdout] error: aborting due to 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 93) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.40s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "4997f3c024999fb69b216a4c7802c3acafa4f4d35c8453c3c40d6087b68282dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4997f3c024999fb69b216a4c7802c3acafa4f4d35c8453c3c40d6087b68282dc", kill_on_drop: false }` [INFO] [stdout] 4997f3c024999fb69b216a4c7802c3acafa4f4d35c8453c3c40d6087b68282dc