[INFO] fetching crate httptest_server 0.1.0... [INFO] testing httptest_server-0.1.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate httptest_server 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate httptest_server 0.1.0 [INFO] finished tweaking crates.io crate httptest_server 0.1.0 [INFO] tweaked toml for crates.io crate httptest_server 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate httptest_server 0.1.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 64 packages to latest compatible versions [INFO] [stderr] Adding http v0.2.12 (available: v1.3.1) [INFO] [stderr] Adding hyper v0.13.10 (available: v1.7.0) [INFO] [stderr] Adding tokio v0.2.25 (available: v1.48.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded httptest_core v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e665f4e18027f3487cc2917de2293492268c528fc3bc16d0187c8f00e5ab2c4 [INFO] running `Command { std: "docker" "start" "-a" "9e665f4e18027f3487cc2917de2293492268c528fc3bc16d0187c8f00e5ab2c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e665f4e18027f3487cc2917de2293492268c528fc3bc16d0187c8f00e5ab2c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e665f4e18027f3487cc2917de2293492268c528fc3bc16d0187c8f00e5ab2c4", kill_on_drop: false }` [INFO] [stdout] 9e665f4e18027f3487cc2917de2293492268c528fc3bc16d0187c8f00e5ab2c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f2732d274b6a65039593fb2c32a8b129bedae24df1d2d32fa1deaf0bceac3eb [INFO] running `Command { std: "docker" "start" "-a" "3f2732d274b6a65039593fb2c32a8b129bedae24df1d2d32fa1deaf0bceac3eb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling httptest_core v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling httptest_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:138:24 [INFO] [stdout] | [INFO] [stdout] 138 | panic!(format!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 139 | | "Unexpected number of requests for matcher '{:?}'; received {}; expected {:?}", [INFO] [stdout] 140 | | &expectation.matcher, expectation.hit_count, &expectation.cardinality, [INFO] [stdout] 141 | | )); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 138 ~ panic!( [INFO] [stdout] 139 | "Unexpected number of requests for matcher '{:?}'; received {}; expected {:?}", [INFO] [stdout] 140 | &expectation.matcher, expectation.hit_count, &expectation.cardinality, [INFO] [stdout] 141 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | fn lock(&self) -> std::sync::MutexGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 276 | fn lock(&self) -> std::sync::MutexGuard<'_, ServerStateInner> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.62s [INFO] running `Command { std: "docker" "inspect" "3f2732d274b6a65039593fb2c32a8b129bedae24df1d2d32fa1deaf0bceac3eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f2732d274b6a65039593fb2c32a8b129bedae24df1d2d32fa1deaf0bceac3eb", kill_on_drop: false }` [INFO] [stdout] 3f2732d274b6a65039593fb2c32a8b129bedae24df1d2d32fa1deaf0bceac3eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b5c10307396fac5dc87e1af3efffd72ff579ad4dde96cc58693505cb3fb3f11 [INFO] running `Command { std: "docker" "start" "-a" "9b5c10307396fac5dc87e1af3efffd72ff579ad4dde96cc58693505cb3fb3f11", kill_on_drop: false }` [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:138:24 [INFO] [stdout] | [INFO] [stdout] 138 | panic!(format!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 139 | | "Unexpected number of requests for matcher '{:?}'; received {}; expected {:?}", [INFO] [stdout] 140 | | &expectation.matcher, expectation.hit_count, &expectation.cardinality, [INFO] [stdout] 141 | | )); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 138 ~ panic!( [INFO] [stdout] 139 | "Unexpected number of requests for matcher '{:?}'; received {}; expected {:?}", [INFO] [stdout] 140 | &expectation.matcher, expectation.hit_count, &expectation.cardinality, [INFO] [stdout] 141 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | fn lock(&self) -> std::sync::MutexGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 276 | fn lock(&self) -> std::sync::MutexGuard<'_, ServerStateInner> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling httptest_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:138:24 [INFO] [stdout] | [INFO] [stdout] 138 | panic!(format!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 139 | | "Unexpected number of requests for matcher '{:?}'; received {}; expected {:?}", [INFO] [stdout] 140 | | &expectation.matcher, expectation.hit_count, &expectation.cardinality, [INFO] [stdout] 141 | | )); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 138 ~ panic!( [INFO] [stdout] 139 | "Unexpected number of requests for matcher '{:?}'; received {}; expected {:?}", [INFO] [stdout] 140 | &expectation.matcher, expectation.hit_count, &expectation.cardinality, [INFO] [stdout] 141 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | fn lock(&self) -> std::sync::MutexGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 276 | fn lock(&self) -> std::sync::MutexGuard<'_, ServerStateInner> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.56s [INFO] running `Command { std: "docker" "inspect" "9b5c10307396fac5dc87e1af3efffd72ff579ad4dde96cc58693505cb3fb3f11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b5c10307396fac5dc87e1af3efffd72ff579ad4dde96cc58693505cb3fb3f11", kill_on_drop: false }` [INFO] [stdout] 9b5c10307396fac5dc87e1af3efffd72ff579ad4dde96cc58693505cb3fb3f11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0f8cd59d81a9c777bc78731124f9fe62d770d44db5bf8e058ae54769f5392266 [INFO] running `Command { std: "docker" "start" "-a" "0f8cd59d81a9c777bc78731124f9fe62d770d44db5bf8e058ae54769f5392266", kill_on_drop: false }` [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:138:24 [INFO] [stderr] | [INFO] [stderr] 138 | panic!(format!( [INFO] [stderr] | ________________________^ [INFO] [stderr] 139 | | "Unexpected number of requests for matcher '{:?}'; received {}; expected {:?}", [INFO] [stderr] 140 | | &expectation.matcher, expectation.hit_count, &expectation.cardinality, [INFO] [stderr] 141 | | )); [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 138 ~ panic!( [INFO] [stderr] 139 | "Unexpected number of requests for matcher '{:?}'; received {}; expected {:?}", [INFO] [stderr] 140 | &expectation.matcher, expectation.hit_count, &expectation.cardinality, [INFO] [stderr] 141 ~ ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:276:13 [INFO] [stderr] | [INFO] [stderr] 276 | fn lock(&self) -> std::sync::MutexGuard { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 276 | fn lock(&self) -> std::sync::MutexGuard<'_, ServerStateInner> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `httptest_server` (lib) generated 2 warnings (run `cargo fix --lib -p httptest_server` to apply 2 suggestions) [INFO] [stderr] warning: `httptest_server` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/httptest_server-95b0b3ec4d75b8df) [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 httptest_server [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" "0f8cd59d81a9c777bc78731124f9fe62d770d44db5bf8e058ae54769f5392266", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f8cd59d81a9c777bc78731124f9fe62d770d44db5bf8e058ae54769f5392266", kill_on_drop: false }` [INFO] [stdout] 0f8cd59d81a9c777bc78731124f9fe62d770d44db5bf8e058ae54769f5392266