[INFO] fetching crate pact_mock_server_ffi 0.1.0... [INFO] testing pact_mock_server_ffi-0.1.0 against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] extracting crate pact_mock_server_ffi 0.1.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate pact_mock_server_ffi 0.1.0 on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pact_mock_server_ffi 0.1.0 [INFO] finished tweaking crates.io crate pact_mock_server_ffi 0.1.0 [INFO] tweaked toml for crates.io crate pact_mock_server_ffi 0.1.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pact_matching_ffi v0.0.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "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] 97c9f575b9352f33a94a840e68f182a9d9d100f9e6a954fb2d8a8942357d199c [INFO] running `Command { std: "docker" "start" "-a" "97c9f575b9352f33a94a840e68f182a9d9d100f9e6a954fb2d8a8942357d199c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97c9f575b9352f33a94a840e68f182a9d9d100f9e6a954fb2d8a8942357d199c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97c9f575b9352f33a94a840e68f182a9d9d100f9e6a954fb2d8a8942357d199c", kill_on_drop: false }` [INFO] [stdout] 97c9f575b9352f33a94a840e68f182a9d9d100f9e6a954fb2d8a8942357d199c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=forbid" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04c8875f34deb5ea2dfa7694cff596e58fd956e975c2596e1e93626e7841c990 [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" "04c8875f34deb5ea2dfa7694cff596e58fd956e975c2596e1e93626e7841c990", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling semver v1.0.3 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling peresil v0.3.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling typed-arena v1.7.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling cbindgen v0.14.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling indextree v4.3.1 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling tokio v1.8.1 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling sxd-document v0.3.2 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling os_info v3.0.6 [INFO] [stderr] Compiling fern v0.6.0 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling lenient_semver_version_builder v0.4.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling onig_sys v69.7.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling lenient_semver_parser v0.4.2 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling pact_matching_ffi v0.0.5 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling regex v1.4.6 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling lenient_semver v0.4.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling rand_regex v0.15.1 [INFO] [stderr] Compiling multipart v0.17.1 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling ct-logs v0.8.0 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling tree_magic_mini v2.0.0 [INFO] [stderr] Compiling chrono-tz v0.5.3 [INFO] [stderr] Compiling pact_models v0.0.5 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling onig v6.2.0 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling rustls-native-certs v0.5.0 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling pact_mock_server_ffi v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling hyper v0.14.10 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling reqwest v0.11.4 [INFO] [stderr] Compiling pact_matching v0.9.4 [INFO] [stderr] Compiling pact_mock_server v0.7.19 [INFO] [stdout] error[E0432]: unresolved import `pact_matching::models::generators::Generators` [INFO] [stdout] --> src/lib.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | use pact_matching::models::generators::Generators; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `Generator` [INFO] [stdout] | no `Generators` in `models::generators` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pact_matching::models::matchingrules::RuleLogic` [INFO] [stdout] --> src/lib.rs:71:58 [INFO] [stdout] | [INFO] [stdout] 71 | use pact_matching::models::matchingrules::{MatchingRule, RuleLogic}; [INFO] [stdout] | ^^^^^^^^^ no `RuleLogic` in `models::matchingrules` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pact_matching::models::matchingrules::MatchingRules` [INFO] [stdout] --> src/lib.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | use pact_matching::models::matchingrules::MatchingRules; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `MatchingRule` [INFO] [stdout] | no `MatchingRules` in `models::matchingrules` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `pact_matching::models::generators::GeneratorCategory`, `pact_matching::models::generators::Generators` [INFO] [stdout] --> src/bodies.rs:11:52 [INFO] [stdout] | [INFO] [stdout] 11 | use pact_matching::models::generators::{Generator, GeneratorCategory, Generators}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | no `Generators` in `models::generators` [INFO] [stdout] | | help: a similar name exists in the module: `Generator` [INFO] [stdout] | no `GeneratorCategory` in `models::generators` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pact_matching::models::matchingrules::RuleLogic` [INFO] [stdout] --> src/bodies.rs:12:80 [INFO] [stdout] | [INFO] [stdout] 12 | use pact_matching::models::matchingrules::{MatchingRule, MatchingRuleCategory, RuleLogic}; [INFO] [stdout] | ^^^^^^^^^ no `RuleLogic` in `models::matchingrules` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: trait `HttpPart` is private [INFO] [stdout] --> src/lib.rs:69:29 [INFO] [stdout] | [INFO] [stdout] 69 | use pact_matching::models::{HttpPart, Pact, RequestResponseInteraction}; [INFO] [stdout] | ^^^^^^^^ private trait [INFO] [stdout] | [INFO] [stdout] note: the trait `HttpPart` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pact_matching-0.9.4/src/models/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use pact_models::http_parts::HttpPart; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `generators` is private [INFO] [stdout] --> src/lib.rs:70:28 [INFO] [stdout] | [INFO] [stdout] 70 | use pact_matching::models::generators::Generators; [INFO] [stdout] | ^^^^^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `generators` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pact_matching-0.9.4/src/models/mod.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub(crate) mod generators; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `matchingrules` is private [INFO] [stdout] --> src/lib.rs:71:28 [INFO] [stdout] | [INFO] [stdout] 71 | use pact_matching::models::matchingrules::{MatchingRule, RuleLogic}; [INFO] [stdout] | ^^^^^^^^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `matchingrules` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pact_matching-0.9.4/src/models/mod.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) mod matchingrules; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `matchingrules` is private [INFO] [stdout] --> src/lib.rs:72:28 [INFO] [stdout] | [INFO] [stdout] 72 | use pact_matching::models::matchingrules::MatchingRules; [INFO] [stdout] | ^^^^^^^^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `matchingrules` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pact_matching-0.9.4/src/models/mod.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) mod matchingrules; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Request` is private [INFO] [stdout] --> src/bodies.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | use pact_matching::models::{Request, Response}; [INFO] [stdout] | ^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Request` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pact_matching-0.9.4/src/models/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use pact_models::request::Request; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Response` is private [INFO] [stdout] --> src/bodies.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | use pact_matching::models::{Request, Response}; [INFO] [stdout] | ^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Response` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pact_matching-0.9.4/src/models/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use pact_models::response::Response; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `generators` is private [INFO] [stdout] --> src/bodies.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | use pact_matching::models::generators::{Generator, GeneratorCategory, Generators}; [INFO] [stdout] | ^^^^^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `generators` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pact_matching-0.9.4/src/models/mod.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | pub(crate) mod generators; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `matchingrules` is private [INFO] [stdout] --> src/bodies.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | use pact_matching::models::matchingrules::{MatchingRule, MatchingRuleCategory, RuleLogic}; [INFO] [stdout] | ^^^^^^^^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `matchingrules` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pact_matching-0.9.4/src/models/mod.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) mod matchingrules; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_header` found for struct `Request` in the current scope [INFO] [stdout] --> src/lib.rs:817:27 [INFO] [stdout] | [INFO] [stdout] 817 | if !inner.request.has_header(&content_type_header) { [INFO] [stdout] | ^^^^^^^^^^ method not found in `Request` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pact_models-0.0.5/src/http_parts.rs:67:6 [INFO] [stdout] | [INFO] [stdout] 67 | fn has_header(&self, header_name: &str) -> bool { [INFO] [stdout] | ---------- the method is available for `Request` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 46 | use pact_models::http_parts::HttpPart; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `content_type` found for struct `Request` in the current scope [INFO] [stdout] --> src/lib.rs:827:37 [INFO] [stdout] | [INFO] [stdout] 827 | let body = if inner.request.content_type().unwrap_or_default().is_json() { [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Request` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pact_models-0.0.5/src/http_parts.rs:51:6 [INFO] [stdout] | [INFO] [stdout] 51 | fn content_type(&self) -> Option { [INFO] [stdout] | ------------ the method is available for `Request` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 46 | use pact_models::http_parts::HttpPart; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_header` found for struct `Response` in the current scope [INFO] [stdout] --> src/lib.rs:836:28 [INFO] [stdout] | [INFO] [stdout] 836 | if !inner.response.has_header(&content_type_header) { [INFO] [stdout] | ^^^^^^^^^^ method not found in `Response` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pact_models-0.0.5/src/http_parts.rs:67:6 [INFO] [stdout] | [INFO] [stdout] 67 | fn has_header(&self, header_name: &str) -> bool { [INFO] [stdout] | ---------- the method is available for `Response` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 46 | use pact_models::http_parts::HttpPart; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `content_type` found for struct `Response` in the current scope [INFO] [stdout] --> src/lib.rs:846:38 [INFO] [stdout] | [INFO] [stdout] 846 | let body = if inner.response.content_type().unwrap_or_default().is_json() { [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Response` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pact_models-0.0.5/src/http_parts.rs:51:6 [INFO] [stdout] | [INFO] [stdout] 51 | fn content_type(&self) -> Option { [INFO] [stdout] | ------------ the method is available for `Response` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 46 | use pact_models::http_parts::HttpPart; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_header` found for struct `Request` in the current scope [INFO] [stdout] --> src/lib.rs:1047:31 [INFO] [stdout] | [INFO] [stdout] 1047 | if !inner.request.has_header(&content_type_header) { [INFO] [stdout] | ^^^^^^^^^^ method not found in `Request` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pact_models-0.0.5/src/http_parts.rs:67:6 [INFO] [stdout] | [INFO] [stdout] 67 | fn has_header(&self, header_name: &str) -> bool { [INFO] [stdout] | ---------- the method is available for `Request` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 46 | use pact_models::http_parts::HttpPart; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `has_header` found for struct `Response` in the current scope [INFO] [stdout] --> src/lib.rs:1061:32 [INFO] [stdout] | [INFO] [stdout] 1061 | if !inner.response.has_header(&content_type_header) { [INFO] [stdout] | ^^^^^^^^^^ method not found in `Response` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pact_models-0.0.5/src/http_parts.rs:67:6 [INFO] [stdout] | [INFO] [stdout] 67 | fn has_header(&self, header_name: &str) -> bool { [INFO] [stdout] | ---------- the method is available for `Response` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 46 | use pact_models::http_parts::HttpPart; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1294:77 [INFO] [stdout] | [INFO] [stdout] 1294 | message.with_message(&|_, inner| inner.metadata.insert(key.to_string(), value.to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `Value`, found struct `std::string::String` [INFO] [stdout] | help: try using a variant of the expected enum: `serde_json::Value::String(value.to_string())` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `body` found for mutable reference `&mut Message` in the current scope [INFO] [stdout] --> src/lib.rs:1305:17 [INFO] [stdout] | [INFO] [stdout] 1305 | match inner.body() { [INFO] [stdout] | ^^^^ method not found in `&mut Message` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 46 | use pact_models::http_parts::HttpPart; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bodies.rs:72:48 [INFO] [stdout] | [INFO] [stdout] 72 | Value::Array(array) => process_array(array, matching_rules, generators, path, true, skip_matchers), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&[Value]`, found struct `Vec` [INFO] [stdout] | help: consider borrowing here: `&array` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Value]` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pact_mock_server_ffi` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "04c8875f34deb5ea2dfa7694cff596e58fd956e975c2596e1e93626e7841c990", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04c8875f34deb5ea2dfa7694cff596e58fd956e975c2596e1e93626e7841c990", kill_on_drop: false }` [INFO] [stdout] 04c8875f34deb5ea2dfa7694cff596e58fd956e975c2596e1e93626e7841c990