[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 1.49.0 for beta-1.50-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 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "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" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+1.49.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "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] cfefc183b049757f05bc11b60a80e6869cb16da27efc5d15cf957a50a327c0f1 [INFO] running `Command { std: "docker" "start" "-a" "cfefc183b049757f05bc11b60a80e6869cb16da27efc5d15cf957a50a327c0f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cfefc183b049757f05bc11b60a80e6869cb16da27efc5d15cf957a50a327c0f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfefc183b049757f05bc11b60a80e6869cb16da27efc5d15cf957a50a327c0f1", kill_on_drop: false }` [INFO] [stdout] cfefc183b049757f05bc11b60a80e6869cb16da27efc5d15cf957a50a327c0f1 [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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15d29ccf09b2cf3f3d6ece34bb61ac507db1019ba7f319031706470aefe19986 [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" "15d29ccf09b2cf3f3d6ece34bb61ac507db1019ba7f319031706470aefe19986", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling futures-core v0.3.8 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling futures-io v0.3.8 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling pin-project-lite v0.2.1 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling futures v0.1.30 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling smallvec v1.6.0 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling lexical-core v0.7.4 [INFO] [stderr] Compiling maplit v0.1.6 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling typed-arena v1.7.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling peresil v0.3.0 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling difference v1.0.0 [INFO] [stderr] Compiling hex v0.2.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling indextree v1.3.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling tracing-core v0.1.17 [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 futures-task v0.3.8 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling http v0.2.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling semver v0.7.0 [INFO] [stderr] Compiling sxd-document v0.3.2 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling ring v0.16.19 [INFO] [stderr] Compiling onig_sys v69.1.0 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling socket2 v0.3.19 [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 mime v0.2.6 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling parking_lot v0.10.2 [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 url v1.7.2 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling uuid v0.5.1 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling rand_regex v0.12.0 [INFO] [stderr] Compiling buf-read-ext v0.3.0 [INFO] [stderr] Compiling onig v4.3.3 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling tree_magic v0.2.3 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling simplelog v0.8.0 [INFO] [stderr] Compiling rustls v0.18.1 [INFO] [stderr] Compiling webpki-roots v0.20.0 [INFO] [stderr] Compiling chrono-tz v0.5.3 [INFO] [stderr] Compiling pact_matching v0.6.5 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling pin-project-internal v1.0.3 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling tokio v0.2.24 [INFO] [stderr] Compiling pin-project v1.0.3 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.14.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling futures-executor v0.3.8 [INFO] [stderr] Compiling futures v0.3.8 [INFO] [stderr] Compiling textnonce v0.6.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling mime_multipart v0.5.2 [INFO] [stderr] Compiling formdata v0.12.3 [INFO] [stderr] Compiling hyper v0.13.9 [INFO] [stderr] Compiling hyper-rustls v0.21.0 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.10 [INFO] [stderr] Compiling pact-stub-server v0.4.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `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 associated function `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 4m 32s [INFO] running `Command { std: "docker" "inspect" "15d29ccf09b2cf3f3d6ece34bb61ac507db1019ba7f319031706470aefe19986", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15d29ccf09b2cf3f3d6ece34bb61ac507db1019ba7f319031706470aefe19986", kill_on_drop: false }` [INFO] [stdout] 15d29ccf09b2cf3f3d6ece34bb61ac507db1019ba7f319031706470aefe19986 [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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "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] cf4464a69b8aa8608b6122c2126e58d8d19137de7d45ddee39f4e30aafe6b167 [INFO] running `Command { std: "docker" "start" "-a" "cf4464a69b8aa8608b6122c2126e58d8d19137de7d45ddee39f4e30aafe6b167", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [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 function `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 associated function `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 22.20s [INFO] running `Command { std: "docker" "inspect" "cf4464a69b8aa8608b6122c2126e58d8d19137de7d45ddee39f4e30aafe6b167", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf4464a69b8aa8608b6122c2126e58d8d19137de7d45ddee39f4e30aafe6b167", kill_on_drop: false }` [INFO] [stdout] cf4464a69b8aa8608b6122c2126e58d8d19137de7d45ddee39f4e30aafe6b167 [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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] faf5c898b5a3e58148e1424e30545d956f0cbb2db53b5adf24489f8be6f29c62 [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" "faf5c898b5a3e58148e1424e30545d956f0cbb2db53b5adf24489f8be6f29c62", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated function `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 associated function `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.63s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/pact_stub_server-71c4d08b7aea84d3 [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test server::test::match_request_excludes_requests_with_different_methods ... ok [INFO] [stdout] test pact_support::test::test_response ... ok [INFO] [stdout] test server::test::match_request_filters_interactions_if_provider_state_filter_is_provided ... ok [INFO] [stdout] test server::test::handles_repeated_headers_values ... 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_paths ... ok [INFO] [stdout] test server::test::match_request_excludes_requests_with_different_query_params ... ok [INFO] [stdout] test server::test::match_request_filters_interactions_if_provider_state_filter_is_provided_and_empty_values_included ... 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 pact_support::test::test_response_with_content_type ... ok [INFO] [stdout] test server::test::with_auto_cors_return_200_with_an_option_request ... ok [INFO] [stdout] test server::test::match_request_finds_the_most_appropriate_response ... 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::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" "faf5c898b5a3e58148e1424e30545d956f0cbb2db53b5adf24489f8be6f29c62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "faf5c898b5a3e58148e1424e30545d956f0cbb2db53b5adf24489f8be6f29c62", kill_on_drop: false }` [INFO] [stdout] faf5c898b5a3e58148e1424e30545d956f0cbb2db53b5adf24489f8be6f29c62