[INFO] fetching crate pact_mock_server 0.7.5... [INFO] checking pact_mock_server-0.7.5 against try#f6e2f78768c57172b99c3e85892f867894dc7e30 for pr-75502 [INFO] extracting crate pact_mock_server 0.7.5 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate pact_mock_server 0.7.5 on toolchain f6e2f78768c57172b99c3e85892f867894dc7e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate pact_mock_server 0.7.5 [INFO] finished tweaking crates.io crate pact_mock_server 0.7.5 [INFO] tweaked toml for crates.io crate pact_mock_server 0.7.5 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded expectest v0.9.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "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] 9391a371629df3e328ca0041942e51e525a1a46a4279647394bea826d019c25c [INFO] running `Command { std: "docker" "start" "-a" "9391a371629df3e328ca0041942e51e525a1a46a4279647394bea826d019c25c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9391a371629df3e328ca0041942e51e525a1a46a4279647394bea826d019c25c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9391a371629df3e328ca0041942e51e525a1a46a4279647394bea826d019c25c", kill_on_drop: false }` [INFO] [stdout] 9391a371629df3e328ca0041942e51e525a1a46a4279647394bea826d019c25c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3aac0a559822f203f7d66e3b56da0b01f66344539427dfe470b80aae06ae8bf [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" "e3aac0a559822f203f7d66e3b56da0b01f66344539427dfe470b80aae06ae8bf", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling cc v1.0.59 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking tinyvec v0.3.4 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking futures v0.1.29 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Compiling encoding_rs v0.8.24 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling lexical-core v0.7.4 [INFO] [stderr] Checking dtoa v0.4.6 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Compiling maplit v0.1.6 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking either v1.6.0 [INFO] [stderr] Checking typed-arena v1.7.0 [INFO] [stderr] Checking peresil v0.3.0 [INFO] [stderr] Checking hex v0.2.0 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking indextree v1.3.0 [INFO] [stderr] Checking difference v1.0.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking tracing-core v0.1.15 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking semver v0.7.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking sxd-document v0.3.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking tracing v0.1.19 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling onig_sys v69.1.0 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking expectest v0.9.2 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking chrono v0.4.15 [INFO] [stderr] Checking uuid v0.5.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling chrono-tz v0.5.2 [INFO] [stderr] Compiling pact_matching v0.6.5 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking rand_regex v0.12.0 [INFO] [stderr] Checking buf-read-ext v0.3.0 [INFO] [stderr] Checking env_logger v0.3.5 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking quickcheck v0.4.1 [INFO] [stderr] Checking webpki v0.21.3 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking tree_magic v0.2.3 [INFO] [stderr] Checking rustls v0.18.1 [INFO] [stderr] Checking webpki-roots v0.19.0 [INFO] [stderr] Checking rustls v0.17.0 [INFO] [stderr] Checking onig v4.3.3 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling test-env-log v0.2.2 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking pin-project v0.4.23 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.14.0 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.13.1 [INFO] [stderr] Checking h2 v0.2.6 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking textnonce v0.6.5 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking mime_multipart v0.5.2 [INFO] [stderr] Checking hyper v0.13.7 [INFO] [stderr] Checking formdata v0.12.3 [INFO] [stderr] Checking hyper-rustls v0.21.0 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking reqwest v0.10.8 [INFO] [stderr] Checking pact_mock_server v0.7.5 (/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/matching.rs:110:30 [INFO] [stdout] | [INFO] [stdout] 110 | .map(|i| (i.clone(), pact_matching::match_request(i.request.clone(), req.clone()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [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/matching.rs:110:30 [INFO] [stdout] | [INFO] [stdout] 110 | .map(|i| (i.clone(), pact_matching::match_request(i.request.clone(), req.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/hyper_server.rs:73:58 [INFO] [stdout] | [INFO] [stdout] 73 | OptionalBody::Present(bytes.to_vec(), Some(request.content_type())) [INFO] [stdout] | ^^^^^^^^^^^^ [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/hyper_server.rs:73:58 [INFO] [stdout] | [INFO] [stdout] 73 | OptionalBody::Present(bytes.to_vec(), Some(request.content_type())) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:101:14 [INFO] [stdout] | [INFO] [stdout] 101 | pact_json: &str, [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::net::SocketAddr`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | addr: std::net::SocketAddr [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:103:6 [INFO] [stdout] | [INFO] [stdout] 103 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:128:14 [INFO] [stdout] | [INFO] [stdout] 128 | pact_json: &str, [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::net::SocketAddr`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | addr: std::net::SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:131:6 [INFO] [stdout] | [INFO] [stdout] 131 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::option::Option`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:165:64 [INFO] [stdout] | [INFO] [stdout] 165 | pub extern fn mock_server_mismatches(mock_server_port: i32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::option::Option`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:190:65 [INFO] [stdout] | [INFO] [stdout] 190 | pub extern fn write_pact_file(mock_server_port: i32, directory: Option) -> Result<(), WritePactFileErr> { [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), WritePactFileErr>`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:190:84 [INFO] [stdout] | [INFO] [stdout] 190 | pub extern fn write_pact_file(mock_server_port: i32, directory: Option) -> Result<(), WritePactFileErr> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:101:14 [INFO] [stdout] | [INFO] [stdout] 101 | pact_json: &str, [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::net::SocketAddr`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | addr: std::net::SocketAddr [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:103:6 [INFO] [stdout] | [INFO] [stdout] 103 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:128:14 [INFO] [stdout] | [INFO] [stdout] 128 | pact_json: &str, [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::net::SocketAddr`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | addr: std::net::SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:131:6 [INFO] [stdout] | [INFO] [stdout] 131 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::option::Option`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:165:64 [INFO] [stdout] | [INFO] [stdout] 165 | pub extern fn mock_server_mismatches(mock_server_port: i32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::option::Option`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:190:65 [INFO] [stdout] | [INFO] [stdout] 190 | pub extern fn write_pact_file(mock_server_port: i32, directory: Option) -> Result<(), WritePactFileErr> { [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::result::Result<(), WritePactFileErr>`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:190:84 [INFO] [stdout] | [INFO] [stdout] 190 | pub extern fn write_pact_file(mock_server_port: i32, directory: Option) -> Result<(), WritePactFileErr> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 40s [INFO] running `Command { std: "docker" "inspect" "e3aac0a559822f203f7d66e3b56da0b01f66344539427dfe470b80aae06ae8bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3aac0a559822f203f7d66e3b56da0b01f66344539427dfe470b80aae06ae8bf", kill_on_drop: false }` [INFO] [stdout] e3aac0a559822f203f7d66e3b56da0b01f66344539427dfe470b80aae06ae8bf