[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 master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuglyog%2Fpact-stub-server" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/uglyog/pact-stub-server on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "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-4/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" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-4/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" "+28742a1146f10a4f09369baad027a464acb7a766" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+28742a1146f10a4f09369baad027a464acb7a766" "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] 242543ac2246986483dce0a3ad3e78e6816ea969cbb78d62c6170760f4382bda [INFO] running `"docker" "start" "-a" "242543ac2246986483dce0a3ad3e78e6816ea969cbb78d62c6170760f4382bda"` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling arc-swap v0.4.6 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling bindgen v0.50.1 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling typed-arena v1.7.0 [INFO] [stderr] Compiling peresil v0.3.0 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling maplit v0.1.6 [INFO] [stderr] Compiling indextree v1.3.0 [INFO] [stderr] Compiling hex v0.2.0 [INFO] [stderr] Compiling difference v1.0.0 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling base64 v0.12.0 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling openssl-sys v0.9.55 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling semver v0.7.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling sxd-document v0.2.6 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [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 fxhash v0.2.1 [INFO] [stderr] Compiling base64 v0.7.0 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling uuid v0.5.1 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [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 failure v0.1.7 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling rand_regex v0.12.0 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling simplelog v0.7.6 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling parse-zoneinfo v0.1.1 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling pin-project-internal v0.4.9 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling chrono-tz v0.4.1 [INFO] [stderr] Compiling tokio v0.2.19 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling pin-project v0.4.9 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.0 [INFO] [stderr] Compiling onig_sys v69.2.0 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling h2 v0.2.4 [INFO] [stderr] Compiling hyper v0.13.5 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling onig v5.0.0 [INFO] [stderr] Compiling reqwest v0.10.4 [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 52s [INFO] running `"docker" "inspect" "242543ac2246986483dce0a3ad3e78e6816ea969cbb78d62c6170760f4382bda"` [INFO] running `"docker" "rm" "-f" "242543ac2246986483dce0a3ad3e78e6816ea969cbb78d62c6170760f4382bda"` [INFO] [stdout] 242543ac2246986483dce0a3ad3e78e6816ea969cbb78d62c6170760f4382bda [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+28742a1146f10a4f09369baad027a464acb7a766" "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] c63c4fb7ef8646d057ab6e2616d509405f956aa958bd4c0c7395e5350ecac7a2 [INFO] running `"docker" "start" "-a" "c63c4fb7ef8646d057ab6e2616d509405f956aa958bd4c0c7395e5350ecac7a2"` [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 20.55s [INFO] running `"docker" "inspect" "c63c4fb7ef8646d057ab6e2616d509405f956aa958bd4c0c7395e5350ecac7a2"` [INFO] running `"docker" "rm" "-f" "c63c4fb7ef8646d057ab6e2616d509405f956aa958bd4c0c7395e5350ecac7a2"` [INFO] [stdout] c63c4fb7ef8646d057ab6e2616d509405f956aa958bd4c0c7395e5350ecac7a2 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+28742a1146f10a4f09369baad027a464acb7a766" "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] 7ccda1d107ddb398f0c244198adffdde6c55563542c0832c4fe6348a0d6dea62 [INFO] running `"docker" "start" "-a" "7ccda1d107ddb398f0c244198adffdde6c55563542c0832c4fe6348a0d6dea62"` [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.65s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/pact_stub_server-c8beca38a5e438f5 [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test server::test::handles_repeated_headers_values ... ok [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::adds_a_content_type_if_there_is_not_one_and_there_is_a_body ... ok [INFO] [stdout] test pact_support::test::only_add_a_cors_origin_header_if_one_has_not_already_been_provided ... ok [INFO] [stdout] test server::test::match_request_excludes_put_or_post_requests_with_different_bodies ... 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::match_request_finds_the_most_appropriate_response ... ok [INFO] [stdout] test server::test::with_auto_cors_return_200_with_an_option_request ... ok [INFO] [stdout] test test::validates_regex_value ... ok [INFO] [stdout] test server::test::match_request_excludes_requests_with_different_paths ... ok [INFO] [stdout] test server::test::match_request_with_query_params ... ok [INFO] [stdout] test server::test::match_request_returns_the_closest_match ... ok [INFO] [stdout] test server::test::match_request_filters_interactions_if_provider_state_filter_is_provided ... 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" "7ccda1d107ddb398f0c244198adffdde6c55563542c0832c4fe6348a0d6dea62"` [INFO] running `"docker" "rm" "-f" "7ccda1d107ddb398f0c244198adffdde6c55563542c0832c4fe6348a0d6dea62"` [INFO] [stdout] 7ccda1d107ddb398f0c244198adffdde6c55563542c0832c4fe6348a0d6dea62