[INFO] fetching crate pact_mock_server_ffi 0.1.0... [INFO] checking pact_mock_server_ffi-0.1.0 against try#ddfd70ee3c3748e597b32f416b0d15a4f6e37685 for pr-87050 [INFO] extracting crate pact_mock_server_ffi 0.1.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate pact_mock_server_ffi 0.1.0 on toolchain ddfd70ee3c3748e597b32f416b0d15a4f6e37685 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "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-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "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-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "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] c35cb824278ea16a1c254123f82d73f474fc8d017673744a224c3c7d8ae9c4f2 [INFO] running `Command { std: "docker" "start" "-a" "c35cb824278ea16a1c254123f82d73f474fc8d017673744a224c3c7d8ae9c4f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c35cb824278ea16a1c254123f82d73f474fc8d017673744a224c3c7d8ae9c4f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c35cb824278ea16a1c254123f82d73f474fc8d017673744a224c3c7d8ae9c4f2", kill_on_drop: false }` [INFO] [stdout] c35cb824278ea16a1c254123f82d73f474fc8d017673744a224c3c7d8ae9c4f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a51043a9e01ad65035896d9328e89054aee2576f2bdc70dbfdbcf1790bba7aaa [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" "a51043a9e01ad65035896d9328e89054aee2576f2bdc70dbfdbcf1790bba7aaa", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling semver v1.0.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Checking ucd-trie v0.1.3 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking typed-arena v1.7.0 [INFO] [stderr] Checking peresil v0.3.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Compiling cbindgen v0.14.3 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Checking indextree v4.3.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Compiling onig_sys v69.7.0 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking pest v2.1.3 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking sxd-document v0.3.2 [INFO] [stderr] Checking encoding_rs v0.8.28 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking bitvec v0.19.5 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Checking regex v1.4.6 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling tokio v1.8.2 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking fern v0.6.0 [INFO] [stderr] Compiling os_info v3.0.6 [INFO] [stderr] Checking lexical-core v0.7.6 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking lenient_semver_version_builder v0.4.2 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking lenient_semver_parser v0.4.2 [INFO] [stderr] Checking semver-parser v0.10.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling pact_matching_ffi v0.0.5 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Checking lenient_semver v0.4.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Checking semver v0.11.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking expectest v0.12.0 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking ct-logs v0.8.0 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking rand_regex v0.15.1 [INFO] [stderr] Checking multipart v0.17.1 [INFO] [stderr] Compiling chrono-tz v0.5.3 [INFO] [stderr] Compiling pact_models v0.0.5 [INFO] [stderr] Checking onig v6.2.0 [INFO] [stderr] Checking tree_magic_mini v2.0.0 [INFO] [stderr] Checking rustls-native-certs v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking serde v1.0.126 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking http-body v0.4.2 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Compiling pact_mock_server_ffi v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking hyper v0.14.10 [INFO] [stderr] Checking hyper-rustls v0.22.1 [INFO] [stderr] Checking reqwest v0.11.4 [INFO] [stderr] Checking pact_matching v0.9.4 [INFO] [stderr] Checking 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[E0432]: unresolved imports `pact_matching::generators`, `pact_matching::matchingrules_list` [INFO] [stdout] --> src/bodies.rs:286:23 [INFO] [stdout] | [INFO] [stdout] 286 | use pact_matching::{generators, matchingrules_list}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ no `matchingrules_list` in the root [INFO] [stdout] | | [INFO] [stdout] | no `generators` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pact_matching::models::generators::Generators` [INFO] [stdout] --> src/bodies.rs:287:54 [INFO] [stdout] | [INFO] [stdout] 287 | use pact_matching::models::generators::{Generator, 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] [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[E0603]: module `generators` is private [INFO] [stdout] --> src/bodies.rs:287:30 [INFO] [stdout] | [INFO] [stdout] 287 | use pact_matching::models::generators::{Generator, 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:288:30 [INFO] [stdout] | [INFO] [stdout] 288 | use pact_matching::models::matchingrules::{MatchingRule, MatchingRuleCategory}; [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] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/bodies.rs:281:7 [INFO] [stdout] | [INFO] [stdout] 281 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [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[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 26 previous errors; 1 warning emitted [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] [stderr] warning: build failed, waiting for other jobs to finish... [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: build failed [INFO] running `Command { std: "docker" "inspect" "a51043a9e01ad65035896d9328e89054aee2576f2bdc70dbfdbcf1790bba7aaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a51043a9e01ad65035896d9328e89054aee2576f2bdc70dbfdbcf1790bba7aaa", kill_on_drop: false }` [INFO] [stdout] a51043a9e01ad65035896d9328e89054aee2576f2bdc70dbfdbcf1790bba7aaa