[INFO] fetching crate pact-stub-server 0.4.3... [INFO] testing pact-stub-server-0.4.3 against 1.49.0 for beta-1.50-1 [INFO] extracting crate pact-stub-server 0.4.3 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate pact-stub-server 0.4.3 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 crates.io crate pact-stub-server 0.4.3 [INFO] finished tweaking crates.io crate pact-stub-server 0.4.3 [INFO] tweaked toml for crates.io crate pact-stub-server 0.4.3 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate crates.io crate pact-stub-server 0.4.3 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] [stdout] 8ef29e5d8c323055afe5b20f37535f661614c396f90844c9a71c6ad8caabfd75 [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" "8ef29e5d8c323055afe5b20f37535f661614c396f90844c9a71c6ad8caabfd75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ef29e5d8c323055afe5b20f37535f661614c396f90844c9a71c6ad8caabfd75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ef29e5d8c323055afe5b20f37535f661614c396f90844c9a71c6ad8caabfd75", kill_on_drop: false }` [INFO] [stdout] 8ef29e5d8c323055afe5b20f37535f661614c396f90844c9a71c6ad8caabfd75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] 4e580974e1883c2d2fa7275ec03bc164cbd2fa3cbd12cf58438af1a8a9e2569d [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" "4e580974e1883c2d2fa7275ec03bc164cbd2fa3cbd12cf58438af1a8a9e2569d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling difference v1.0.0 [INFO] [stderr] Compiling indextree v1.3.0 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling onig_sys v69.1.0 [INFO] [stderr] Compiling semver v0.7.0 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling tracing v0.1.16 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling pact_matching v0.6.4 [INFO] [stderr] Compiling futures-task v0.3.5 [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 openssl-sys v0.9.58 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand_os v0.1.3 [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 clap v2.33.1 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling futures-util v0.3.5 [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 uuid v0.5.1 [INFO] [stderr] Compiling tree_magic v0.2.3 [INFO] [stderr] Compiling rand_regex v0.12.0 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling buf-read-ext v0.3.0 [INFO] [stderr] Compiling chrono-tz v0.5.2 [INFO] [stderr] Compiling simplelog v0.8.0 [INFO] [stderr] Compiling onig v4.3.3 [INFO] [stderr] Compiling webpki v0.21.3 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling rustls v0.17.0 [INFO] [stderr] Compiling webpki-roots v0.19.0 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures 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.13.1 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling textnonce v0.6.5 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.56 [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.20.0 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.6 [INFO] [stderr] Compiling pact-stub-server v0.4.3 (/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 3m 02s [INFO] running `Command { std: "docker" "inspect" "4e580974e1883c2d2fa7275ec03bc164cbd2fa3cbd12cf58438af1a8a9e2569d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e580974e1883c2d2fa7275ec03bc164cbd2fa3cbd12cf58438af1a8a9e2569d", kill_on_drop: false }` [INFO] [stdout] 4e580974e1883c2d2fa7275ec03bc164cbd2fa3cbd12cf58438af1a8a9e2569d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] [stdout] 1ee71fe12fd4911a767d301ccd02304f1ba1be815e88916a2fa1b0bb112ca4f5 [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" "1ee71fe12fd4911a767d301ccd02304f1ba1be815e88916a2fa1b0bb112ca4f5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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.3 (/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 18.65s [INFO] running `Command { std: "docker" "inspect" "1ee71fe12fd4911a767d301ccd02304f1ba1be815e88916a2fa1b0bb112ca4f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ee71fe12fd4911a767d301ccd02304f1ba1be815e88916a2fa1b0bb112ca4f5", kill_on_drop: false }` [INFO] [stdout] 1ee71fe12fd4911a767d301ccd02304f1ba1be815e88916a2fa1b0bb112ca4f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] 08c2ec802c8eeb0b0e17289eecd5c2384331a2b99084a9e81eff568d5f085635 [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" "08c2ec802c8eeb0b0e17289eecd5c2384331a2b99084a9e81eff568d5f085635", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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.33s [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/pact_stub_server-07aeaca5dc9d2139 [INFO] [stdout] running 17 tests [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 pact_support::test::test_response_with_content_type ... ok [INFO] [stdout] test server::test::match_request_excludes_requests_with_different_methods ... 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_excludes_put_or_post_requests_with_different_bodies ... ok [INFO] [stdout] test server::test::match_request_returns_the_closest_match ... 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_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 server::test::match_request_with_query_params ... 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 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" "08c2ec802c8eeb0b0e17289eecd5c2384331a2b99084a9e81eff568d5f085635", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08c2ec802c8eeb0b0e17289eecd5c2384331a2b99084a9e81eff568d5f085635", kill_on_drop: false }` [INFO] [stdout] 08c2ec802c8eeb0b0e17289eecd5c2384331a2b99084a9e81eff568d5f085635