[INFO] fetching crate pact_mock_server_ffi 0.0.7... [INFO] checking pact_mock_server_ffi-0.0.7 against try#05c8870159e4f328578a970e125aa76d24f03b56 for pr-76219 [INFO] extracting crate pact_mock_server_ffi 0.0.7 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate pact_mock_server_ffi 0.0.7 on toolchain 05c8870159e4f328578a970e125aa76d24f03b56 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+05c8870159e4f328578a970e125aa76d24f03b56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate pact_mock_server_ffi 0.0.7 [INFO] finished tweaking crates.io crate pact_mock_server_ffi 0.0.7 [INFO] tweaked toml for crates.io crate pact_mock_server_ffi 0.0.7 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+05c8870159e4f328578a970e125aa76d24f03b56" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+05c8870159e4f328578a970e125aa76d24f03b56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cbindgen v0.14.4 [INFO] [stderr] Downloaded parse-zoneinfo v0.1.1 [INFO] [stderr] Downloaded chrono-tz v0.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+05c8870159e4f328578a970e125aa76d24f03b56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e12cc1e1f5ec4cf46659f09ca2433062bbd076e6ef66ae6cd6e4cbe9f290e8a [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" "3e12cc1e1f5ec4cf46659f09ca2433062bbd076e6ef66ae6cd6e4cbe9f290e8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e12cc1e1f5ec4cf46659f09ca2433062bbd076e6ef66ae6cd6e4cbe9f290e8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e12cc1e1f5ec4cf46659f09ca2433062bbd076e6ef66ae6cd6e4cbe9f290e8a", kill_on_drop: false }` [INFO] [stdout] 3e12cc1e1f5ec4cf46659f09ca2433062bbd076e6ef66ae6cd6e4cbe9f290e8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+05c8870159e4f328578a970e125aa76d24f03b56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1cec5ab749087f7bf59c58d5f4215563c87e090cc1caad044841118e014903c1 [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" "1cec5ab749087f7bf59c58d5f4215563c87e090cc1caad044841118e014903c1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.20 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.40 [INFO] [stderr] Compiling cc v1.0.59 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking tinyvec v0.3.4 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Compiling lexical-core v0.7.4 [INFO] [stderr] Compiling maplit v0.1.6 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Compiling cbindgen v0.14.4 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking typed-arena v1.7.0 [INFO] [stderr] Checking peresil v0.3.0 [INFO] [stderr] Checking indextree v1.3.0 [INFO] [stderr] Checking difference v1.0.0 [INFO] [stderr] Checking hex v0.2.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Checking tracing-core v0.1.16 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Checking semver v0.7.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking sxd-document v0.3.2 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking encoding_rs v0.8.24 [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] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking tracing v0.1.19 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Checking num-integer v0.1.43 [INFO] [stderr] Checking expectest v0.12.0 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking uuid v0.5.1 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling parse-zoneinfo v0.1.1 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking chrono v0.4.15 [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 rand v0.7.3 [INFO] [stderr] Checking buf-read-ext v0.3.0 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking rand_regex v0.12.0 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling chrono-tz v0.4.1 [INFO] [stderr] Compiling chrono-tz v0.5.3 [INFO] [stderr] Compiling pact_matching v0.6.5 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking tree_magic v0.2.3 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Checking webpki v0.21.3 [INFO] [stderr] Checking sct v0.6.0 [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] 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-tls v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.14.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] Compiling toml v0.5.6 [INFO] [stderr] Checking hyper v0.13.7 [INFO] [stderr] Checking formdata v0.12.3 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking hyper-rustls v0.21.0 [INFO] [stderr] Checking reqwest v0.10.8 [INFO] [stderr] Compiling pact_mock_server_ffi v0.0.7 (/opt/rustwide/workdir) [INFO] [stderr] Checking pact_mock_server v0.7.6 [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | / pub unsafe extern fn init(log_env_var: *const c_char) { [INFO] [stdout] 85 | | let log_env_var = if !log_env_var.is_null() { [INFO] [stdout] 86 | | let c_str = CStr::from_ptr(log_env_var); [INFO] [stdout] 87 | | match c_str.to_str() { [INFO] [stdout] ... | [INFO] [stdout] 100 | | builder.try_init().unwrap_or(()); [INFO] [stdout] 101 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(missing_abi)]` on by default [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | / pub extern fn create_mock_server(pact_str: *const c_char, addr_str: *const c_char, tls: bool) -> i32 { [INFO] [stdout] 126 | | let result = catch_unwind(|| { [INFO] [stdout] 127 | | let c_str = unsafe { [INFO] [stdout] 128 | | if pact_str.is_null() { [INFO] [stdout] ... | [INFO] [stdout] 184 | | } [INFO] [stdout] 185 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:208:1 [INFO] [stdout] | [INFO] [stdout] 208 | / pub extern fn create_mock_server_for_pact(pact: handles::PactHandle, addr_str: *const c_char, tls: bool) -> i32 { [INFO] [stdout] 209 | | let result = catch_unwind(|| { [INFO] [stdout] 210 | | let addr_c_str = unsafe { [INFO] [stdout] 211 | | if addr_str.is_null() { [INFO] [stdout] ... | [INFO] [stdout] 261 | | } [INFO] [stdout] 262 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:269:1 [INFO] [stdout] | [INFO] [stdout] 269 | / pub extern fn mock_server_matched(mock_server_port: i32) -> bool { [INFO] [stdout] 270 | | let result = catch_unwind(|| { [INFO] [stdout] 271 | | pact_mock_server::mock_server_matched(mock_server_port) [INFO] [stdout] 272 | | }); [INFO] [stdout] ... | [INFO] [stdout] 280 | | } [INFO] [stdout] 281 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:297:1 [INFO] [stdout] | [INFO] [stdout] 297 | / pub extern fn mock_server_mismatches(mock_server_port: i32) -> *mut c_char { [INFO] [stdout] 298 | | let result = catch_unwind(|| { [INFO] [stdout] 299 | | let result = MANAGER.lock().unwrap() [INFO] [stdout] 300 | | .get_or_insert_with(ServerManager::new) [INFO] [stdout] ... | [INFO] [stdout] 323 | | } [INFO] [stdout] 324 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:334:1 [INFO] [stdout] | [INFO] [stdout] 334 | / pub extern fn cleanup_mock_server(mock_server_port: i32) -> bool { [INFO] [stdout] 335 | | let result = catch_unwind(|| { [INFO] [stdout] 336 | | MANAGER.lock().unwrap() [INFO] [stdout] 337 | | .get_or_insert_with(ServerManager::new) [INFO] [stdout] ... | [INFO] [stdout] 347 | | } [INFO] [stdout] 348 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:367:1 [INFO] [stdout] | [INFO] [stdout] 367 | / pub extern fn write_pact_file(mock_server_port: i32, directory: *const c_char) -> i32 { [INFO] [stdout] 368 | | let result = catch_unwind(|| { [INFO] [stdout] 369 | | let dir = unsafe { [INFO] [stdout] 370 | | if directory.is_null() { [INFO] [stdout] ... | [INFO] [stdout] 399 | | } [INFO] [stdout] 400 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:409:1 [INFO] [stdout] | [INFO] [stdout] 409 | / pub extern fn new_pact(consumer_name: *const c_char, provider_name: *const c_char) -> handles::PactHandle { [INFO] [stdout] 410 | | let consumer = convert_cstr("consumer_name", consumer_name).unwrap_or_else(|| "Consumer"); [INFO] [stdout] 411 | | let provider = convert_cstr("provider_name", provider_name).unwrap_or_else(|| "Provider"); [INFO] [stdout] 412 | | handles::PactHandle::new(consumer, provider) [INFO] [stdout] 413 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:421:1 [INFO] [stdout] | [INFO] [stdout] 421 | / pub extern fn new_interaction(pact: handles::PactHandle, description: *const c_char) -> handles::InteractionHandle { [INFO] [stdout] 422 | | if let Some(description) = convert_cstr("description", description) { [INFO] [stdout] 423 | | pact.with_pact(&|_, inner| { [INFO] [stdout] 424 | | let interaction = Interaction { [INFO] [stdout] ... | [INFO] [stdout] 433 | | } [INFO] [stdout] 434 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:440:1 [INFO] [stdout] | [INFO] [stdout] 440 | / pub extern fn upon_receiving(interaction: handles::InteractionHandle, description: *const c_char) { [INFO] [stdout] 441 | | if let Some(description) = convert_cstr("description", description) { [INFO] [stdout] 442 | | interaction.with_interaction(&|_, inner| { [INFO] [stdout] 443 | | inner.description = description.to_string(); [INFO] [stdout] 444 | | }); [INFO] [stdout] 445 | | } [INFO] [stdout] 446 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:452:1 [INFO] [stdout] | [INFO] [stdout] 452 | / pub extern fn given(interaction: handles::InteractionHandle, description: *const c_char) { [INFO] [stdout] 453 | | if let Some(description) = convert_cstr("description", description) { [INFO] [stdout] 454 | | interaction.with_interaction(&|_, inner| { [INFO] [stdout] 455 | | inner.provider_states.push(ProviderState::default(&description.to_string())); [INFO] [stdout] 456 | | }); [INFO] [stdout] 457 | | } [INFO] [stdout] 458 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:466:1 [INFO] [stdout] | [INFO] [stdout] 466 | / pub extern fn given_with_param(interaction: handles::InteractionHandle, description: *const c_char, [INFO] [stdout] 467 | | name: *const c_char, value: *const c_char) { [INFO] [stdout] 468 | | if let Some(description) = convert_cstr("description", description) { [INFO] [stdout] 469 | | if let Some(name) = convert_cstr("name", name) { [INFO] [stdout] ... | [INFO] [stdout] 487 | | } [INFO] [stdout] 488 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:495:1 [INFO] [stdout] | [INFO] [stdout] 495 | / pub extern fn with_request(interaction: handles::InteractionHandle, method: *const c_char, path: *const c_char) { [INFO] [stdout] 496 | | let method = convert_cstr("method", method).unwrap_or_else(|| "GET"); [INFO] [stdout] 497 | | let path = convert_cstr("path", path).unwrap_or_else(|| "/"); [INFO] [stdout] 498 | | interaction.with_interaction(&|_, inner| { [INFO] [stdout] ... | [INFO] [stdout] 501 | | }); [INFO] [stdout] 502 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:510:1 [INFO] [stdout] | [INFO] [stdout] 510 | / pub extern fn with_query_parameter(interaction: handles::InteractionHandle, [INFO] [stdout] 511 | | name: *const c_char, index: size_t, value: *const c_char) { [INFO] [stdout] 512 | | if let Some(name) = convert_cstr("name", name) { [INFO] [stdout] 513 | | let value = convert_cstr("value", value).unwrap_or_default(); [INFO] [stdout] ... | [INFO] [stdout] 538 | | } [INFO] [stdout] 539 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:548:1 [INFO] [stdout] | [INFO] [stdout] 548 | / pub extern fn with_header(interaction: handles::InteractionHandle, part: InteractionPart, [INFO] [stdout] 549 | | name: *const c_char, index: size_t, value: *const c_char) { [INFO] [stdout] 550 | | if let Some(name) = convert_cstr("name", name) { [INFO] [stdout] 551 | | let value = convert_cstr("value", value).unwrap_or_default(); [INFO] [stdout] ... | [INFO] [stdout] 584 | | } [INFO] [stdout] 585 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:591:1 [INFO] [stdout] | [INFO] [stdout] 591 | / pub extern fn response_status(interaction: handles::InteractionHandle, status: c_ushort) { [INFO] [stdout] 592 | | interaction.with_interaction(&|_, inner| { [INFO] [stdout] 593 | | inner.response.status = status; [INFO] [stdout] 594 | | }); [INFO] [stdout] 595 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | / pub extern fn with_body(interaction: handles::InteractionHandle, part: InteractionPart, [INFO] [stdout] 604 | | content_type: *const c_char, body: *const c_char) { [INFO] [stdout] 605 | | let content_type = convert_cstr("content_type", content_type).unwrap_or_else(|| "text/plain"); [INFO] [stdout] 606 | | let body = convert_cstr("body", body).unwrap_or_default(); [INFO] [stdout] ... | [INFO] [stdout] 651 | | }); [INFO] [stdout] 652 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:699:1 [INFO] [stdout] | [INFO] [stdout] 699 | / pub unsafe extern fn generate_datetime_string(format: *const c_char) -> StringResult { [INFO] [stdout] 700 | | if format.is_null() { [INFO] [stdout] 701 | | let error = CString::new("generate_datetime_string: format is NULL").unwrap(); [INFO] [stdout] 702 | | StringResult::Failed(error.into_raw()) [INFO] [stdout] ... | [INFO] [stdout] 724 | | } [INFO] [stdout] 725 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:733:1 [INFO] [stdout] | [INFO] [stdout] 733 | / pub unsafe extern fn check_regex(regex: *const c_char, example: *const c_char) -> bool { [INFO] [stdout] 734 | | if regex.is_null() { [INFO] [stdout] 735 | | false [INFO] [stdout] 736 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 754 | | } [INFO] [stdout] 755 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:764:1 [INFO] [stdout] | [INFO] [stdout] 764 | / pub unsafe extern fn generate_regex_value(regex: *const c_char) -> StringResult { [INFO] [stdout] 765 | | if regex.is_null() { [INFO] [stdout] 766 | | let error = CString::new("generate_regex_value: regex is NULL").unwrap(); [INFO] [stdout] 767 | | StringResult::Failed(error.into_raw()) [INFO] [stdout] ... | [INFO] [stdout] 792 | | } [INFO] [stdout] 793 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:801:1 [INFO] [stdout] | [INFO] [stdout] 801 | / pub unsafe extern fn free_string(s: *mut c_char) { [INFO] [stdout] 802 | | if s.is_null() { [INFO] [stdout] 803 | | return; [INFO] [stdout] 804 | | } [INFO] [stdout] 805 | | CString::from_raw(s); [INFO] [stdout] 806 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:816:1 [INFO] [stdout] | [INFO] [stdout] 816 | / pub extern fn with_binary_file(interaction: handles::InteractionHandle, part: InteractionPart, [INFO] [stdout] 817 | | content_type: *const c_char, body: *const c_char , size: size_t) { [INFO] [stdout] 818 | | let content_type_header = "Content-Type".to_string(); [INFO] [stdout] 819 | | match convert_cstr("content_type", content_type) { [INFO] [stdout] ... | [INFO] [stdout] 855 | | } [INFO] [stdout] 856 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:867:1 [INFO] [stdout] | [INFO] [stdout] 867 | / pub extern fn with_multipart_file( [INFO] [stdout] 868 | | interaction: handles::InteractionHandle, [INFO] [stdout] 869 | | part: InteractionPart, [INFO] [stdout] 870 | | content_type: *const c_char, [INFO] [stdout] ... | [INFO] [stdout] 908 | | } [INFO] [stdout] 909 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `pact_matching::models::DetectedContentType`: Use ContentType struct instead [INFO] [stdout] --> src/lib.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 64 | use pact_matching::models::{DetectedContentType, HttpPart, Interaction, OptionalBody}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated variant `pact_matching::models::DetectedContentType::Json`: Use ContentType struct instead [INFO] [stdout] --> src/lib.rs:622:11 [INFO] [stdout] | [INFO] [stdout] 622 | DetectedContentType::Json => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated variant `pact_matching::models::DetectedContentType::Json`: Use ContentType struct instead [INFO] [stdout] --> src/lib.rs:642:11 [INFO] [stdout] | [INFO] [stdout] 642 | DetectedContentType::Json => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | / pub unsafe extern fn init(log_env_var: *const c_char) { [INFO] [stdout] 85 | | let log_env_var = if !log_env_var.is_null() { [INFO] [stdout] 86 | | let c_str = CStr::from_ptr(log_env_var); [INFO] [stdout] 87 | | match c_str.to_str() { [INFO] [stdout] ... | [INFO] [stdout] 100 | | builder.try_init().unwrap_or(()); [INFO] [stdout] 101 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(missing_abi)]` on by default [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | / pub extern fn create_mock_server(pact_str: *const c_char, addr_str: *const c_char, tls: bool) -> i32 { [INFO] [stdout] 126 | | let result = catch_unwind(|| { [INFO] [stdout] 127 | | let c_str = unsafe { [INFO] [stdout] 128 | | if pact_str.is_null() { [INFO] [stdout] ... | [INFO] [stdout] 184 | | } [INFO] [stdout] 185 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:208:1 [INFO] [stdout] | [INFO] [stdout] 208 | / pub extern fn create_mock_server_for_pact(pact: handles::PactHandle, addr_str: *const c_char, tls: bool) -> i32 { [INFO] [stdout] 209 | | let result = catch_unwind(|| { [INFO] [stdout] 210 | | let addr_c_str = unsafe { [INFO] [stdout] 211 | | if addr_str.is_null() { [INFO] [stdout] ... | [INFO] [stdout] 261 | | } [INFO] [stdout] 262 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:269:1 [INFO] [stdout] | [INFO] [stdout] 269 | / pub extern fn mock_server_matched(mock_server_port: i32) -> bool { [INFO] [stdout] 270 | | let result = catch_unwind(|| { [INFO] [stdout] 271 | | pact_mock_server::mock_server_matched(mock_server_port) [INFO] [stdout] 272 | | }); [INFO] [stdout] ... | [INFO] [stdout] 280 | | } [INFO] [stdout] 281 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:297:1 [INFO] [stdout] | [INFO] [stdout] 297 | / pub extern fn mock_server_mismatches(mock_server_port: i32) -> *mut c_char { [INFO] [stdout] 298 | | let result = catch_unwind(|| { [INFO] [stdout] 299 | | let result = MANAGER.lock().unwrap() [INFO] [stdout] 300 | | .get_or_insert_with(ServerManager::new) [INFO] [stdout] ... | [INFO] [stdout] 323 | | } [INFO] [stdout] 324 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:334:1 [INFO] [stdout] | [INFO] [stdout] 334 | / pub extern fn cleanup_mock_server(mock_server_port: i32) -> bool { [INFO] [stdout] 335 | | let result = catch_unwind(|| { [INFO] [stdout] 336 | | MANAGER.lock().unwrap() [INFO] [stdout] 337 | | .get_or_insert_with(ServerManager::new) [INFO] [stdout] ... | [INFO] [stdout] 347 | | } [INFO] [stdout] 348 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:367:1 [INFO] [stdout] | [INFO] [stdout] 367 | / pub extern fn write_pact_file(mock_server_port: i32, directory: *const c_char) -> i32 { [INFO] [stdout] 368 | | let result = catch_unwind(|| { [INFO] [stdout] 369 | | let dir = unsafe { [INFO] [stdout] 370 | | if directory.is_null() { [INFO] [stdout] ... | [INFO] [stdout] 399 | | } [INFO] [stdout] 400 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:409:1 [INFO] [stdout] | [INFO] [stdout] 409 | / pub extern fn new_pact(consumer_name: *const c_char, provider_name: *const c_char) -> handles::PactHandle { [INFO] [stdout] 410 | | let consumer = convert_cstr("consumer_name", consumer_name).unwrap_or_else(|| "Consumer"); [INFO] [stdout] 411 | | let provider = convert_cstr("provider_name", provider_name).unwrap_or_else(|| "Provider"); [INFO] [stdout] 412 | | handles::PactHandle::new(consumer, provider) [INFO] [stdout] 413 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:421:1 [INFO] [stdout] | [INFO] [stdout] 421 | / pub extern fn new_interaction(pact: handles::PactHandle, description: *const c_char) -> handles::InteractionHandle { [INFO] [stdout] 422 | | if let Some(description) = convert_cstr("description", description) { [INFO] [stdout] 423 | | pact.with_pact(&|_, inner| { [INFO] [stdout] 424 | | let interaction = Interaction { [INFO] [stdout] ... | [INFO] [stdout] 433 | | } [INFO] [stdout] 434 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:440:1 [INFO] [stdout] | [INFO] [stdout] 440 | / pub extern fn upon_receiving(interaction: handles::InteractionHandle, description: *const c_char) { [INFO] [stdout] 441 | | if let Some(description) = convert_cstr("description", description) { [INFO] [stdout] 442 | | interaction.with_interaction(&|_, inner| { [INFO] [stdout] 443 | | inner.description = description.to_string(); [INFO] [stdout] 444 | | }); [INFO] [stdout] 445 | | } [INFO] [stdout] 446 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:452:1 [INFO] [stdout] | [INFO] [stdout] 452 | / pub extern fn given(interaction: handles::InteractionHandle, description: *const c_char) { [INFO] [stdout] 453 | | if let Some(description) = convert_cstr("description", description) { [INFO] [stdout] 454 | | interaction.with_interaction(&|_, inner| { [INFO] [stdout] 455 | | inner.provider_states.push(ProviderState::default(&description.to_string())); [INFO] [stdout] 456 | | }); [INFO] [stdout] 457 | | } [INFO] [stdout] 458 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:466:1 [INFO] [stdout] | [INFO] [stdout] 466 | / pub extern fn given_with_param(interaction: handles::InteractionHandle, description: *const c_char, [INFO] [stdout] 467 | | name: *const c_char, value: *const c_char) { [INFO] [stdout] 468 | | if let Some(description) = convert_cstr("description", description) { [INFO] [stdout] 469 | | if let Some(name) = convert_cstr("name", name) { [INFO] [stdout] ... | [INFO] [stdout] 487 | | } [INFO] [stdout] 488 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:495:1 [INFO] [stdout] | [INFO] [stdout] 495 | / pub extern fn with_request(interaction: handles::InteractionHandle, method: *const c_char, path: *const c_char) { [INFO] [stdout] 496 | | let method = convert_cstr("method", method).unwrap_or_else(|| "GET"); [INFO] [stdout] 497 | | let path = convert_cstr("path", path).unwrap_or_else(|| "/"); [INFO] [stdout] 498 | | interaction.with_interaction(&|_, inner| { [INFO] [stdout] ... | [INFO] [stdout] 501 | | }); [INFO] [stdout] 502 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:510:1 [INFO] [stdout] | [INFO] [stdout] 510 | / pub extern fn with_query_parameter(interaction: handles::InteractionHandle, [INFO] [stdout] 511 | | name: *const c_char, index: size_t, value: *const c_char) { [INFO] [stdout] 512 | | if let Some(name) = convert_cstr("name", name) { [INFO] [stdout] 513 | | let value = convert_cstr("value", value).unwrap_or_default(); [INFO] [stdout] ... | [INFO] [stdout] 538 | | } [INFO] [stdout] 539 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:548:1 [INFO] [stdout] | [INFO] [stdout] 548 | / pub extern fn with_header(interaction: handles::InteractionHandle, part: InteractionPart, [INFO] [stdout] 549 | | name: *const c_char, index: size_t, value: *const c_char) { [INFO] [stdout] 550 | | if let Some(name) = convert_cstr("name", name) { [INFO] [stdout] 551 | | let value = convert_cstr("value", value).unwrap_or_default(); [INFO] [stdout] ... | [INFO] [stdout] 584 | | } [INFO] [stdout] 585 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:591:1 [INFO] [stdout] | [INFO] [stdout] 591 | / pub extern fn response_status(interaction: handles::InteractionHandle, status: c_ushort) { [INFO] [stdout] 592 | | interaction.with_interaction(&|_, inner| { [INFO] [stdout] 593 | | inner.response.status = status; [INFO] [stdout] 594 | | }); [INFO] [stdout] 595 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:603:1 [INFO] [stdout] | [INFO] [stdout] 603 | / pub extern fn with_body(interaction: handles::InteractionHandle, part: InteractionPart, [INFO] [stdout] 604 | | content_type: *const c_char, body: *const c_char) { [INFO] [stdout] 605 | | let content_type = convert_cstr("content_type", content_type).unwrap_or_else(|| "text/plain"); [INFO] [stdout] 606 | | let body = convert_cstr("body", body).unwrap_or_default(); [INFO] [stdout] ... | [INFO] [stdout] 651 | | }); [INFO] [stdout] 652 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:699:1 [INFO] [stdout] | [INFO] [stdout] 699 | / pub unsafe extern fn generate_datetime_string(format: *const c_char) -> StringResult { [INFO] [stdout] 700 | | if format.is_null() { [INFO] [stdout] 701 | | let error = CString::new("generate_datetime_string: format is NULL").unwrap(); [INFO] [stdout] 702 | | StringResult::Failed(error.into_raw()) [INFO] [stdout] ... | [INFO] [stdout] 724 | | } [INFO] [stdout] 725 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:733:1 [INFO] [stdout] | [INFO] [stdout] 733 | / pub unsafe extern fn check_regex(regex: *const c_char, example: *const c_char) -> bool { [INFO] [stdout] 734 | | if regex.is_null() { [INFO] [stdout] 735 | | false [INFO] [stdout] 736 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 754 | | } [INFO] [stdout] 755 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:764:1 [INFO] [stdout] | [INFO] [stdout] 764 | / pub unsafe extern fn generate_regex_value(regex: *const c_char) -> StringResult { [INFO] [stdout] 765 | | if regex.is_null() { [INFO] [stdout] 766 | | let error = CString::new("generate_regex_value: regex is NULL").unwrap(); [INFO] [stdout] 767 | | StringResult::Failed(error.into_raw()) [INFO] [stdout] ... | [INFO] [stdout] 792 | | } [INFO] [stdout] 793 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:801:1 [INFO] [stdout] | [INFO] [stdout] 801 | / pub unsafe extern fn free_string(s: *mut c_char) { [INFO] [stdout] 802 | | if s.is_null() { [INFO] [stdout] 803 | | return; [INFO] [stdout] 804 | | } [INFO] [stdout] 805 | | CString::from_raw(s); [INFO] [stdout] 806 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:816:1 [INFO] [stdout] | [INFO] [stdout] 816 | / pub extern fn with_binary_file(interaction: handles::InteractionHandle, part: InteractionPart, [INFO] [stdout] 817 | | content_type: *const c_char, body: *const c_char , size: size_t) { [INFO] [stdout] 818 | | let content_type_header = "Content-Type".to_string(); [INFO] [stdout] 819 | | match convert_cstr("content_type", content_type) { [INFO] [stdout] ... | [INFO] [stdout] 855 | | } [INFO] [stdout] 856 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:867:1 [INFO] [stdout] | [INFO] [stdout] 867 | / pub extern fn with_multipart_file( [INFO] [stdout] 868 | | interaction: handles::InteractionHandle, [INFO] [stdout] 869 | | part: InteractionPart, [INFO] [stdout] 870 | | content_type: *const c_char, [INFO] [stdout] ... | [INFO] [stdout] 908 | | } [INFO] [stdout] 909 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `pact_matching::models::DetectedContentType`: Use ContentType struct instead [INFO] [stdout] --> src/lib.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 64 | use pact_matching::models::{DetectedContentType, HttpPart, Interaction, OptionalBody}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated variant `pact_matching::models::DetectedContentType::Json`: Use ContentType struct instead [INFO] [stdout] --> src/lib.rs:622:11 [INFO] [stdout] | [INFO] [stdout] 622 | DetectedContentType::Json => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated variant `pact_matching::models::DetectedContentType::Json`: Use ContentType struct instead [INFO] [stdout] --> src/lib.rs:642:11 [INFO] [stdout] | [INFO] [stdout] 642 | DetectedContentType::Json => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `pact_matching::models::HttpPart::content_type_enum`: Use method that returns ContentType struct instead [INFO] [stdout] --> src/lib.rs:621:40 [INFO] [stdout] | [INFO] [stdout] 621 | let body = match inner.request.content_type_enum() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `pact_matching::models::HttpPart::content_type_enum`: Use method that returns ContentType struct instead [INFO] [stdout] --> src/lib.rs:641:41 [INFO] [stdout] | [INFO] [stdout] 641 | let body = match inner.response.content_type_enum() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `pact_matching::models::HttpPart::content_type_enum`: Use method that returns ContentType struct instead [INFO] [stdout] --> src/lib.rs:621:40 [INFO] [stdout] | [INFO] [stdout] 621 | let body = match inner.request.content_type_enum() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `pact_matching::models::HttpPart::content_type_enum`: Use method that returns ContentType struct instead [INFO] [stdout] --> src/lib.rs:641:41 [INFO] [stdout] | [INFO] [stdout] 641 | let body = match inner.response.content_type_enum() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors; 5 warnings emitted [INFO] [stdout] [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: aborting due to 23 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1cec5ab749087f7bf59c58d5f4215563c87e090cc1caad044841118e014903c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cec5ab749087f7bf59c58d5f4215563c87e090cc1caad044841118e014903c1", kill_on_drop: false }` [INFO] [stdout] 1cec5ab749087f7bf59c58d5f4215563c87e090cc1caad044841118e014903c1