[INFO] cloning repository https://github.com/uglyog/pact-stub-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/uglyog/pact-stub-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuglyog%2Fpact-stub-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuglyog%2Fpact-stub-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9717506468c575d6962d8a36943bfa766c8fe285 [INFO] testing uglyog/pact-stub-server against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuglyog%2Fpact-stub-server" "/workspace/builds/worker-7/source", kill_on_drop: false }` [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 beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mime_multipart v0.5.2 [INFO] [stderr] Downloaded textnonce v0.6.5 [INFO] [stderr] Downloaded pact_matching v0.6.4 [INFO] [stderr] Downloaded formdata v0.12.3 [INFO] [stderr] Downloaded expectest v0.12.0 [INFO] [stderr] Downloaded rand_regex v0.12.0 [INFO] running `Command { std: "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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5b353b01860e7b9305d570b1cf702fa5e1c1933026d9e5bacbe46af6a492472c [INFO] running `Command { std: "docker" "start" "-a" "5b353b01860e7b9305d570b1cf702fa5e1c1933026d9e5bacbe46af6a492472c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b353b01860e7b9305d570b1cf702fa5e1c1933026d9e5bacbe46af6a492472c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b353b01860e7b9305d570b1cf702fa5e1c1933026d9e5bacbe46af6a492472c", kill_on_drop: false }` [INFO] [stdout] 5b353b01860e7b9305d570b1cf702fa5e1c1933026d9e5bacbe46af6a492472c [INFO] running `Command { std: "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=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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 341599e2d34fffc9c6c84c10334ac7021ceda1466fbffbe5ed1a9aff2b0e4c66 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "341599e2d34fffc9c6c84c10334ac7021ceda1466fbffbe5ed1a9aff2b0e4c66", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling lexical-core v0.7.4 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling maplit v0.1.6 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling typed-arena v1.7.0 [INFO] [stderr] Compiling peresil v0.3.0 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling difference v1.0.0 [INFO] [stderr] Compiling hex v0.2.0 [INFO] [stderr] Compiling indextree v1.3.0 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling onig_sys v69.1.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling semver v0.7.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling sxd-document v0.3.2 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling clap v2.33.2 [INFO] [stderr] Compiling chrono-tz v0.5.2 [INFO] [stderr] Compiling pact_matching v0.6.4 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling webpki v0.21.3 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling simplelog v0.8.0 [INFO] [stderr] Compiling rand_regex v0.12.0 [INFO] [stderr] Compiling tree_magic v0.2.3 [INFO] [stderr] Compiling uuid v0.5.1 [INFO] [stderr] Compiling rustls v0.18.0 [INFO] [stderr] Compiling webpki-roots v0.19.0 [INFO] [stderr] Compiling onig v4.3.3 [INFO] [stderr] Compiling buf-read-ext v0.3.0 [INFO] [stderr] Compiling pin-project v0.4.23 [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 tokio-rustls v0.14.0 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling textnonce v0.6.5 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling mime_multipart v0.5.2 [INFO] [stderr] Compiling formdata v0.12.3 [INFO] [stderr] Compiling hyper v0.13.7 [INFO] [stderr] Compiling hyper-rustls v0.21.0 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.7 [INFO] [stderr] Compiling pact-stub-server v0.4.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item 'pact_matching::match_request': Use the version that returns a match result (match_request_result) [INFO] [stdout] --> src/server.rs:54:28 [INFO] [stdout] | [INFO] [stdout] 54 | .map(|i| (i.clone(), pact_matching::match_request(i.request.clone(), request.clone()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'pact_matching::models::HttpPart::content_type': Use method that returns ContentType struct instead [INFO] [stdout] --> src/pact_support.rs:77:76 [INFO] [stdout] | [INFO] [stdout] 77 | let content_type = content_type.clone().unwrap_or_else(|| response.content_type()); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 51s [INFO] running `Command { std: "docker" "inspect" "341599e2d34fffc9c6c84c10334ac7021ceda1466fbffbe5ed1a9aff2b0e4c66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "341599e2d34fffc9c6c84c10334ac7021ceda1466fbffbe5ed1a9aff2b0e4c66", kill_on_drop: false }` [INFO] [stdout] 341599e2d34fffc9c6c84c10334ac7021ceda1466fbffbe5ed1a9aff2b0e4c66 [INFO] running `Command { std: "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=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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9236d9f1c8c22fb23e6aed2f20e9abd44912a2e0bc3f4968e41d38f086d286bc [INFO] running `Command { std: "docker" "start" "-a" "9236d9f1c8c22fb23e6aed2f20e9abd44912a2e0bc3f4968e41d38f086d286bc", kill_on_drop: false }` [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.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item 'pact_matching::match_request': Use the version that returns a match result (match_request_result) [INFO] [stdout] --> src/server.rs:54:28 [INFO] [stdout] | [INFO] [stdout] 54 | .map(|i| (i.clone(), pact_matching::match_request(i.request.clone(), request.clone()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'pact_matching::models::HttpPart::content_type': Use method that returns ContentType struct instead [INFO] [stdout] --> src/pact_support.rs:77:76 [INFO] [stdout] | [INFO] [stdout] 77 | let content_type = content_type.clone().unwrap_or_else(|| response.content_type()); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 19.78s [INFO] running `Command { std: "docker" "inspect" "9236d9f1c8c22fb23e6aed2f20e9abd44912a2e0bc3f4968e41d38f086d286bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9236d9f1c8c22fb23e6aed2f20e9abd44912a2e0bc3f4968e41d38f086d286bc", kill_on_drop: false }` [INFO] [stdout] 9236d9f1c8c22fb23e6aed2f20e9abd44912a2e0bc3f4968e41d38f086d286bc [INFO] running `Command { std: "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=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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 776731365ffce18ef8dc1f2be3a948285759781b76fe8c8d3aa22ec26fc4d5b7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "776731365ffce18ef8dc1f2be3a948285759781b76fe8c8d3aa22ec26fc4d5b7", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated item 'pact_matching::match_request': Use the version that returns a match result (match_request_result) [INFO] [stderr] --> src/server.rs:54:28 [INFO] [stderr] | [INFO] [stderr] 54 | .map(|i| (i.clone(), pact_matching::match_request(i.request.clone(), request.clone()))) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'pact_matching::models::HttpPart::content_type': Use method that returns ContentType struct instead [INFO] [stderr] --> src/pact_support.rs:77:76 [INFO] [stderr] | [INFO] [stderr] 77 | let content_type = content_type.clone().unwrap_or_else(|| response.content_type()); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.39s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/pact_stub_server-54017cf26d7ef607 [INFO] [stdout] [INFO] [stdout] running 17 tests [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::test_response ... ok [INFO] [stdout] test server::test::handles_repeated_headers_values ... ok [INFO] [stdout] test server::test::match_request_excludes_requests_with_different_paths ... ok [INFO] [stdout] test server::test::match_request_excludes_requests_with_different_methods ... ok [INFO] [stdout] test server::test::match_request_excludes_requests_with_different_query_params ... ok [INFO] [stdout] test test::validates_regex_value ... ok [INFO] [stdout] test server::test::match_request_with_query_params ... ok [INFO] [stdout] test server::test::match_request_finds_the_most_appropriate_response ... ok [INFO] [stdout] test server::test::match_request_filters_interactions_if_provider_state_filter_is_provided_and_empty_values_included ... ok [INFO] [stdout] test server::test::with_auto_cors_return_200_with_an_option_request ... ok [INFO] [stdout] test server::test::match_request_filters_interactions_if_provider_state_filter_is_provided ... 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 server::test::match_request_excludes_put_or_post_requests_with_different_bodies ... 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. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "776731365ffce18ef8dc1f2be3a948285759781b76fe8c8d3aa22ec26fc4d5b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "776731365ffce18ef8dc1f2be3a948285759781b76fe8c8d3aa22ec26fc4d5b7", kill_on_drop: false }` [INFO] [stdout] 776731365ffce18ef8dc1f2be3a948285759781b76fe8c8d3aa22ec26fc4d5b7