[INFO] fetching crate pact-stub-server 0.4.3... [INFO] testing pact-stub-server-0.4.3 against beta-2020-07-24 for beta-1.46-1 [INFO] extracting crate pact-stub-server 0.4.3 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate pact-stub-server 0.4.3 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 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-13/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" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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] [stdout] b31f5c29c6ae67d1b77782138460d32a6073ffc60fb5498bc8f5f9165640e47b [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" "b31f5c29c6ae67d1b77782138460d32a6073ffc60fb5498bc8f5f9165640e47b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b31f5c29c6ae67d1b77782138460d32a6073ffc60fb5498bc8f5f9165640e47b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b31f5c29c6ae67d1b77782138460d32a6073ffc60fb5498bc8f5f9165640e47b", kill_on_drop: false }` [INFO] [stdout] b31f5c29c6ae67d1b77782138460d32a6073ffc60fb5498bc8f5f9165640e47b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ec64d89a884923bd6531b67821796d7ff1dbe1380d6f565bb2fc30b3765caaaa [INFO] running `Command { std: "docker" "start" "-a" "ec64d89a884923bd6531b67821796d7ff1dbe1380d6f565bb2fc30b3765caaaa", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Compiling syn v1.0.34 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling bytes v0.5.5 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling maplit v0.1.6 [INFO] [stderr] Compiling peresil v0.3.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling hex v0.2.0 [INFO] [stderr] Compiling indextree v1.3.0 [INFO] [stderr] Compiling difference v1.0.0 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling tracing-core v0.1.11 [INFO] [stderr] Compiling onig_sys v69.1.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling semver v0.7.0 [INFO] [stderr] Compiling sxd-document v0.3.2 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling tracing v0.1.16 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling chrono-tz v0.5.2 [INFO] [stderr] Compiling pact_matching v0.6.4 [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 rand v0.4.6 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling socket2 v0.3.12 [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 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 clap v2.33.1 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling buf-read-ext v0.3.0 [INFO] [stderr] Compiling simplelog v0.8.0 [INFO] [stderr] Compiling uuid v0.5.1 [INFO] [stderr] Compiling rand_regex v0.12.0 [INFO] [stderr] Compiling tree_magic v0.2.3 [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 tokio-macros v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling pin-project v0.4.22 [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.13.1 [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.56 [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.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 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 4m 06s [INFO] running `Command { std: "docker" "inspect" "ec64d89a884923bd6531b67821796d7ff1dbe1380d6f565bb2fc30b3765caaaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec64d89a884923bd6531b67821796d7ff1dbe1380d6f565bb2fc30b3765caaaa", kill_on_drop: false }` [INFO] [stdout] ec64d89a884923bd6531b67821796d7ff1dbe1380d6f565bb2fc30b3765caaaa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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] [stdout] 633bc0ad1e559efaa3ce9cf8af241ae5626e887d1525ffb568a071a250a5afcb [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" "633bc0ad1e559efaa3ce9cf8af241ae5626e887d1525ffb568a071a250a5afcb", 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 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 17.48s [INFO] running `Command { std: "docker" "inspect" "633bc0ad1e559efaa3ce9cf8af241ae5626e887d1525ffb568a071a250a5afcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "633bc0ad1e559efaa3ce9cf8af241ae5626e887d1525ffb568a071a250a5afcb", kill_on_drop: false }` [INFO] [stdout] 633bc0ad1e559efaa3ce9cf8af241ae5626e887d1525ffb568a071a250a5afcb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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] a0d36e592137ac01e991385f35447941d5122cd9d90c5853a358f79f868d73d3 [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" "a0d36e592137ac01e991385f35447941d5122cd9d90c5853a358f79f868d73d3", 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.45s [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/pact_stub_server-7dded0e0ba19db16 [INFO] [stdout] running 17 tests [INFO] [stdout] test server::test::match_request_with_query_params ... 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_and_empty_values_included ... 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::match_request_finds_the_most_appropriate_response ... ok [INFO] [stdout] test pact_support::test::test_response ... ok [INFO] [stdout] test server::test::match_request_excludes_requests_with_different_methods ... ok [INFO] [stdout] test server::test::handles_repeated_headers_values ... ok [INFO] [stdout] test pact_support::test::test_response_with_content_type ... ok [INFO] [stdout] test server::test::match_request_excludes_requests_with_different_query_params ... 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_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_regex_value ... ok [INFO] [stdout] test server::test::match_request_excludes_put_or_post_requests_with_different_bodies ... 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" "a0d36e592137ac01e991385f35447941d5122cd9d90c5853a358f79f868d73d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0d36e592137ac01e991385f35447941d5122cd9d90c5853a358f79f868d73d3", kill_on_drop: false }` [INFO] [stdout] a0d36e592137ac01e991385f35447941d5122cd9d90c5853a358f79f868d73d3