[INFO] fetching crate tower-http 0.1.2... [INFO] testing tower-http-0.1.2 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate tower-http 0.1.2 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate tower-http 0.1.2 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tower-http 0.1.2 [INFO] finished tweaking crates.io crate tower-http 0.1.2 [INFO] tweaked toml for crates.io crate tower-http 0.1.2 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded iri-string v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d660a89b23cdf217379a81a2f9eab54bce453b06c421806c9707e2d8e7640d3 [INFO] running `Command { std: "docker" "start" "-a" "6d660a89b23cdf217379a81a2f9eab54bce453b06c421806c9707e2d8e7640d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d660a89b23cdf217379a81a2f9eab54bce453b06c421806c9707e2d8e7640d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d660a89b23cdf217379a81a2f9eab54bce453b06c421806c9707e2d8e7640d3", kill_on_drop: false }` [INFO] [stdout] 6d660a89b23cdf217379a81a2f9eab54bce453b06c421806c9707e2d8e7640d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10b7f3814c623ea9aaf0e48ed2f4cced062ce8f0c53ba78a803bf62bc2a1aea7 [INFO] running `Command { std: "docker" "start" "-a" "10b7f3814c623ea9aaf0e48ed2f4cced062ce8f0c53ba78a803bf62bc2a1aea7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling tower-http v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.06s [INFO] running `Command { std: "docker" "inspect" "10b7f3814c623ea9aaf0e48ed2f4cced062ce8f0c53ba78a803bf62bc2a1aea7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10b7f3814c623ea9aaf0e48ed2f4cced062ce8f0c53ba78a803bf62bc2a1aea7", kill_on_drop: false }` [INFO] [stdout] 10b7f3814c623ea9aaf0e48ed2f4cced062ce8f0c53ba78a803bf62bc2a1aea7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8cdb21bfca3c839d5a844d1fb6cf4419cae603867468d9dca3b4b98f33d61e7b [INFO] running `Command { std: "docker" "start" "-a" "8cdb21bfca3c839d5a844d1fb6cf4419cae603867468d9dca3b4b98f33d61e7b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling serde_json v1.0.71 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling h2 v0.3.7 [INFO] [stderr] Compiling tower v0.4.11 [INFO] [stderr] Compiling hyper v0.14.15 [INFO] [stderr] Compiling tower-http v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 38.13s [INFO] running `Command { std: "docker" "inspect" "8cdb21bfca3c839d5a844d1fb6cf4419cae603867468d9dca3b4b98f33d61e7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cdb21bfca3c839d5a844d1fb6cf4419cae603867468d9dca3b4b98f33d61e7b", kill_on_drop: false }` [INFO] [stdout] 8cdb21bfca3c839d5a844d1fb6cf4419cae603867468d9dca3b4b98f33d61e7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c81afdd7517b00bb1283432b069491a38a193d286fdf0aa1479d9728f0425f51 [INFO] running `Command { std: "docker" "start" "-a" "c81afdd7517b00bb1283432b069491a38a193d286fdf0aa1479d9728f0425f51", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/tower_http-e6f4e83b14502cea) [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.00s [INFO] [stdout] [INFO] [stderr] Doc-tests tower-http [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - (line 93) - 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/lib.rs - (line 17) - compile ... FAILED [INFO] [stdout] test src/classify/mod.rs - classify::SharedClassifier (line 52) ... ok [INFO] [stdout] test src/classify/mod.rs - classify::ClassifyResponse::map_failure_class (line 185) ... ok [INFO] [stderr] error: test failed, to rerun pass '--doc' [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/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] ---- 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] [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 0.53s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c81afdd7517b00bb1283432b069491a38a193d286fdf0aa1479d9728f0425f51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c81afdd7517b00bb1283432b069491a38a193d286fdf0aa1479d9728f0425f51", kill_on_drop: false }` [INFO] [stdout] c81afdd7517b00bb1283432b069491a38a193d286fdf0aa1479d9728f0425f51