[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] 3083fa14be892bff2676a8ce26493a5283b08cd3 [INFO] testing uglyog/pact-stub-server against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuglyog%2Fpact-stub-server" "/workspace/builds/worker-9/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/uglyog/pact-stub-server on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "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-9/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" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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" "+beta-2020-06-03" "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] 70c8e11c3a28e6534a1d042429e2e3bbb41e55a523cdac27db9f45f479ca7950 [INFO] running `"docker" "start" "-a" "70c8e11c3a28e6534a1d042429e2e3bbb41e55a523cdac27db9f45f479ca7950"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling proc-macro2 v1.0.13 [INFO] [stderr] Compiling syn v1.0.23 [INFO] [stderr] Compiling typed-arena v1.7.0 [INFO] [stderr] Compiling peresil v0.3.0 [INFO] [stderr] Compiling difference v1.0.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 openssl-sys v0.9.56 [INFO] [stderr] Compiling onig_sys v69.1.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling semver v0.7.0 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling sxd-document v0.2.6 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling parse-zoneinfo v0.1.1 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling tree_magic v0.2.3 [INFO] [stderr] Compiling rand_regex v0.12.0 [INFO] [stderr] Compiling uuid v0.5.1 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling simplelog v0.8.0 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling onig v4.3.3 [INFO] [stderr] Compiling chrono-tz v0.4.1 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling pin-project-internal v0.4.17 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling pin-project v0.4.17 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling hyper v0.13.5 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling reqwest v0.10.4 [INFO] [stderr] Compiling pact_matching v0.5.14 [INFO] [stderr] Compiling pact-stub-server v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `maplit::*` [INFO] [stderr] --> src/pact_support.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use maplit::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/pact_support.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | / ((name.as_str().into(), parsed_vals.iter().cloned() [INFO] [stderr] 34 | | .filter(|val| val.is_ok()) [INFO] [stderr] 35 | | .map(|val| val.unwrap_or_default()) [INFO] [stderr] 36 | | .collect())) [INFO] [stderr] | |______________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 33 | (name.as_str().into(), parsed_vals.iter().cloned() [INFO] [stderr] 34 | .filter(|val| val.is_ok()) [INFO] [stderr] 35 | .map(|val| val.unwrap_or_default()) [INFO] [stderr] 36 | .collect()) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 30s [INFO] running `"docker" "inspect" "70c8e11c3a28e6534a1d042429e2e3bbb41e55a523cdac27db9f45f479ca7950"` [INFO] running `"docker" "rm" "-f" "70c8e11c3a28e6534a1d042429e2e3bbb41e55a523cdac27db9f45f479ca7950"` [INFO] [stdout] 70c8e11c3a28e6534a1d042429e2e3bbb41e55a523cdac27db9f45f479ca7950 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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" "+beta-2020-06-03" "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] dd03a356c03562f9d8080ccbbb122216fc8273909797af4192a7f7794d848af8 [INFO] running `"docker" "start" "-a" "dd03a356c03562f9d8080ccbbb122216fc8273909797af4192a7f7794d848af8"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling getrandom v0.1.14 [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:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | / ((name.as_str().into(), parsed_vals.iter().cloned() [INFO] [stderr] 34 | | .filter(|val| val.is_ok()) [INFO] [stderr] 35 | | .map(|val| val.unwrap_or_default()) [INFO] [stderr] 36 | | .collect())) [INFO] [stderr] | |______________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 33 | (name.as_str().into(), parsed_vals.iter().cloned() [INFO] [stderr] 34 | .filter(|val| val.is_ok()) [INFO] [stderr] 35 | .map(|val| val.unwrap_or_default()) [INFO] [stderr] 36 | .collect()) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 16.91s [INFO] running `"docker" "inspect" "dd03a356c03562f9d8080ccbbb122216fc8273909797af4192a7f7794d848af8"` [INFO] running `"docker" "rm" "-f" "dd03a356c03562f9d8080ccbbb122216fc8273909797af4192a7f7794d848af8"` [INFO] [stdout] dd03a356c03562f9d8080ccbbb122216fc8273909797af4192a7f7794d848af8 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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" "+beta-2020-06-03" "test" "--frozen"` [INFO] [stdout] 78bfaee4d6a19d24fc63ed85be53ca82bf2c751155dafeb9474c68b9510126db [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "78bfaee4d6a19d24fc63ed85be53ca82bf2c751155dafeb9474c68b9510126db"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/pact_support.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | / ((name.as_str().into(), parsed_vals.iter().cloned() [INFO] [stderr] 34 | | .filter(|val| val.is_ok()) [INFO] [stderr] 35 | | .map(|val| val.unwrap_or_default()) [INFO] [stderr] 36 | | .collect())) [INFO] [stderr] | |______________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 33 | (name.as_str().into(), parsed_vals.iter().cloned() [INFO] [stderr] 34 | .filter(|val| val.is_ok()) [INFO] [stderr] 35 | .map(|val| val.unwrap_or_default()) [INFO] [stderr] 36 | .collect()) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.73s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/pact_stub_server-47356a1f89540673 [INFO] [stdout] [INFO] [stdout] running 16 tests [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::test_response ... 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_requests_with_different_paths ... ok [INFO] [stdout] test server::test::with_auto_cors_return_200_with_an_option_request ... ok [INFO] [stdout] test server::test::match_request_excludes_requests_with_different_query_params ... 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_methods ... ok [INFO] [stdout] test server::test::match_request_excludes_put_or_post_requests_with_different_bodies ... ok [INFO] [stdout] test server::test::match_request_with_query_params ... ok [INFO] [stdout] test test::validates_regex_value ... ok [INFO] [stdout] test server::test::handles_repeated_headers_values ... ok [INFO] [stdout] test server::test::match_request_filters_interactions_if_provider_state_filter_is_provided ... ok [INFO] [stdout] test server::test::match_request_returns_the_closest_match ... 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" "78bfaee4d6a19d24fc63ed85be53ca82bf2c751155dafeb9474c68b9510126db"` [INFO] running `"docker" "rm" "-f" "78bfaee4d6a19d24fc63ed85be53ca82bf2c751155dafeb9474c68b9510126db"` [INFO] [stdout] 78bfaee4d6a19d24fc63ed85be53ca82bf2c751155dafeb9474c68b9510126db