[INFO] updating cached repository https://github.com/uglyog/pact-stub-server [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] ce7093f3639bd2deab6e937a1dcc3926ccae9e47 [INFO] testing uglyog/pact-stub-server against try#41997647ba6a77908f6ef64401414feb00bccf16 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuglyog%2Fpact-stub-server" "/workspace/builds/worker-7/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/uglyog/pact-stub-server on toolchain 41997647ba6a77908f6ef64401414feb00bccf16 [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/uglyog/pact-stub-server [INFO] finished tweaking git repo https://github.com/uglyog/pact-stub-server [INFO] tweaked toml for git repo https://github.com/uglyog/pact-stub-server written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/uglyog/pact-stub-server already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-7/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pact_matching v0.5.11 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 84dd3c86d87911eb082082a904cb3ea61d27fe9becf5b89ffbbd70d3a58b2a67 [INFO] running `"docker" "start" "-a" "84dd3c86d87911eb082082a904cb3ea61d27fe9becf5b89ffbbd70d3a58b2a67"` [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 v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling bindgen v0.50.1 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling typed-arena v1.7.0 [INFO] [stderr] Compiling peresil v0.3.0 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling maplit v0.1.6 [INFO] [stderr] Compiling hex v0.2.0 [INFO] [stderr] Compiling indextree v1.3.0 [INFO] [stderr] Compiling difference v1.0.0 [INFO] [stderr] Compiling base64 v0.12.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling semver v0.7.0 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling sxd-document v0.2.6 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling base64 v0.7.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling openssl-sys v0.9.55 [INFO] [stderr] Compiling backtrace-sys v0.1.36 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling uuid v0.5.1 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling term v0.6.1 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling parse-zoneinfo v0.1.1 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling rand_regex v0.12.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling simplelog v0.7.6 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling backtrace v0.3.46 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling failure v0.1.7 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling chrono-tz v0.4.1 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling pin-project-internal v0.4.9 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling tokio v0.2.19 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling pin-project v0.4.9 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling onig_sys v69.2.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.2.4 [INFO] [stderr] Compiling hyper v0.13.5 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling reqwest v0.10.4 [INFO] [stderr] Compiling onig v5.0.0 [INFO] [stderr] Compiling pact_matching v0.5.11 [INFO] [stderr] Compiling pact-stub-server v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/pact_support.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | / ((name.as_str().into(), parsed_vals.iter().cloned() [INFO] [stderr] 31 | | .filter(|val| val.is_ok()) [INFO] [stderr] 32 | | .map(|val| val.unwrap_or_default()) [INFO] [stderr] 33 | | .collect())) [INFO] [stderr] | |______________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 30 | (name.as_str().into(), parsed_vals.iter().cloned() [INFO] [stderr] 31 | .filter(|val| val.is_ok()) [INFO] [stderr] 32 | .map(|val| val.unwrap_or_default()) [INFO] [stderr] 33 | .collect()) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 58s [INFO] running `"docker" "inspect" "84dd3c86d87911eb082082a904cb3ea61d27fe9becf5b89ffbbd70d3a58b2a67"` [INFO] running `"docker" "rm" "-f" "84dd3c86d87911eb082082a904cb3ea61d27fe9becf5b89ffbbd70d3a58b2a67"` [INFO] [stdout] 84dd3c86d87911eb082082a904cb3ea61d27fe9becf5b89ffbbd70d3a58b2a67 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2480d604b9922b09512ff0cd762e53c962cc5b84d56295c906d6a3f67b0d8ac8 [INFO] running `"docker" "start" "-a" "2480d604b9922b09512ff0cd762e53c962cc5b84d56295c906d6a3f67b0d8ac8"` [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling expectest v0.12.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling quickcheck v0.9.2 [INFO] [stderr] Compiling pact-stub-server v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/pact_support.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | / ((name.as_str().into(), parsed_vals.iter().cloned() [INFO] [stderr] 31 | | .filter(|val| val.is_ok()) [INFO] [stderr] 32 | | .map(|val| val.unwrap_or_default()) [INFO] [stderr] 33 | | .collect())) [INFO] [stderr] | |______________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 30 | (name.as_str().into(), parsed_vals.iter().cloned() [INFO] [stderr] 31 | .filter(|val| val.is_ok()) [INFO] [stderr] 32 | .map(|val| val.unwrap_or_default()) [INFO] [stderr] 33 | .collect()) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 21.28s [INFO] running `"docker" "inspect" "2480d604b9922b09512ff0cd762e53c962cc5b84d56295c906d6a3f67b0d8ac8"` [INFO] running `"docker" "rm" "-f" "2480d604b9922b09512ff0cd762e53c962cc5b84d56295c906d6a3f67b0d8ac8"` [INFO] [stdout] 2480d604b9922b09512ff0cd762e53c962cc5b84d56295c906d6a3f67b0d8ac8 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e796b56809a8723d00e62e561db8a78b46e4ee6ad51df304786eea42e277a6b1 [INFO] running `"docker" "start" "-a" "e796b56809a8723d00e62e561db8a78b46e4ee6ad51df304786eea42e277a6b1"` [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/pact_support.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | / ((name.as_str().into(), parsed_vals.iter().cloned() [INFO] [stderr] 31 | | .filter(|val| val.is_ok()) [INFO] [stderr] 32 | | .map(|val| val.unwrap_or_default()) [INFO] [stderr] 33 | | .collect())) [INFO] [stderr] | |______________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 30 | (name.as_str().into(), parsed_vals.iter().cloned() [INFO] [stderr] 31 | .filter(|val| val.is_ok()) [INFO] [stderr] 32 | .map(|val| val.unwrap_or_default()) [INFO] [stderr] 33 | .collect()) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.97s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/pact_stub_server-c8beca38a5e438f5 [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test pact_support::test::test_response ... ok [INFO] [stdout] test pact_support::test::test_response_with_content_type ... ok [INFO] [stdout] test pact_support::test::only_add_a_cors_origin_header_if_one_has_not_already_been_provided ... ok [INFO] [stdout] test pact_support::test::adds_a_content_type_if_there_is_not_one_and_there_is_a_body ... ok [INFO] [stdout] test server::test::handles_repeated_headers_values ... ok [INFO] [stdout] test server::test::match_request_finds_the_most_appropriate_response ... ok [INFO] [stdout] test server::test::match_request_excludes_requests_with_different_query_params ... ok [INFO] [stdout] test server::test::match_request_excludes_requests_with_different_methods ... ok [INFO] [stdout] test server::test::with_auto_cors_return_200_with_an_option_request ... ok [INFO] [stdout] test server::test::match_request_with_query_params ... ok [INFO] [stdout] test server::test::match_request_excludes_requests_with_different_paths ... ok [INFO] [stdout] test server::test::match_request_returns_the_closest_match ... ok [INFO] [stdout] test test::validates_regex_value ... ok [INFO] [stdout] test server::test::match_request_filters_interactions_if_provider_state_filter_is_provided ... ok [INFO] [stdout] test server::test::match_request_excludes_put_or_post_requests_with_different_bodies ... ok [INFO] [stdout] test test::validates_integer_value ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "e796b56809a8723d00e62e561db8a78b46e4ee6ad51df304786eea42e277a6b1"` [INFO] running `"docker" "rm" "-f" "e796b56809a8723d00e62e561db8a78b46e4ee6ad51df304786eea42e277a6b1"` [INFO] [stdout] e796b56809a8723d00e62e561db8a78b46e4ee6ad51df304786eea42e277a6b1