[INFO] fetching crate ibverbs-sys 0.2.1+52.0... [INFO] checking ibverbs-sys-0.2.1+52.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate ibverbs-sys 0.2.1+52.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate ibverbs-sys 0.2.1+52.0 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ibverbs-sys 0.2.1+52.0 [INFO] finished tweaking crates.io crate ibverbs-sys 0.2.1+52.0 [INFO] tweaked toml for crates.io crate ibverbs-sys 0.2.1+52.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 45 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.69.4 (available: v0.70.1) [INFO] [stderr] Adding itertools v0.12.1 (available: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding which v4.4.2 (available: v6.0.3) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 086e995536f3e720a59c3d6df580c0dae013f66761df31ab6073a854ef9bd7d4 [INFO] running `Command { std: "docker" "start" "-a" "086e995536f3e720a59c3d6df580c0dae013f66761df31ab6073a854ef9bd7d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "086e995536f3e720a59c3d6df580c0dae013f66761df31ab6073a854ef9bd7d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "086e995536f3e720a59c3d6df580c0dae013f66761df31ab6073a854ef9bd7d4", kill_on_drop: false }` [INFO] [stdout] 086e995536f3e720a59c3d6df580c0dae013f66761df31ab6073a854ef9bd7d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "RUSTDOCFLAGS=--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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80b3e6f89e1454d2edc661a7055b491c5e5d654d6d2e5074bb18986c325f2e63 [INFO] running `Command { std: "docker" "start" "-a" "80b3e6f89e1454d2edc661a7055b491c5e5d654d6d2e5074bb18986c325f2e63", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling ibverbs-sys v0.2.1+52.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs (64 fixes) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.85s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling ibverbs-sys v0.2.1+52.0 (/tmp/fixit) [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:77555 [INFO] [stdout] | [INFO] [stdout] 3 | ...= 23 ; } extern "C" { pub fn ibv_wc_status_str (status : ibv_wc_status :: Type) -> * const :: std :: os :: raw :: c_char ; } pub mod i... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:100625 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " ibv_rate_to_mult - Convert the IB rate enum to a multiple of the\n base rate of 2.5 Gbit/sec. For example, IBV_RATE_5_GBPS will be\n converted to 2, since 5 Gbit/sec is 2 * 2.5 Gbit/sec.\n @rate: rate to convert."] pub fn ibv_rate_to_mult (rate : ibv_rate) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:100943 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_rate_to_mbps - Convert the IB rate enum to Mbit/sec.\n For example, IBV_RATE_5_GBPS will return the value 5000.\n @rate: rate to convert."] pub fn ibv_rate_to_mbps (rate : ibv_rate) -> :: std :: os :: raw :: c_int ; } # ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:147930 [INFO] [stdout] | [INFO] [stdout] 3 | ...= 15 ; } extern "C" { pub fn ibv_wr_opcode_str (opcode : ibv_wr_opcode :: Type) -> * const :: std :: os :: raw :: c_char ; } impl ibv_... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:197169 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; s . assume_init () } } } extern "C" { pub fn ibv_qp_to_qp_ex (qp : * mut ibv_qp) -> * mut ibv_qp_ex ; } # [repr (C)] # [derive (Deb... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:295870 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_get_device_list - Get list of IB devices currently available\n @num_devices: optional. if non-NULL, set to the number of devices\n returned in the array.\n\n Return a NULL-terminated array of IB devices. The array can be\n released with ibv_free_device_list()."] pub fn ibv_get_device_list (num_devices : * mut :: std :: os :: raw :: c_int) -> * mut * mut ibv_device ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:296271 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_free_device_list - Free list from ibv_get_device_list()\n\n Free an array of devices returned from ibv_get_device_list(). Once\n the array is freed, pointers to devices that were not opened with\n ibv_open_device() are no longer valid. Client code must open all\n devices it intends to use before calling ibv_free_device_list()."] pub fn ibv_free_device_list (list : * mut * mut ibv_device) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:296696 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_get_device_name - Return kernel device name"] pub fn ibv_get_device_name (device : * mut ibv_device) -> * const :: std :: os :: raw :: c_char ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:296870 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_get_device_index - Return kernel device index\n\n Available for the kernel with support of IB device query\n over netlink interface. For the unsupported kernels, the\n relevant -1 will be returned."] pub fn ibv_get_device_index (device : * mut ibv_device) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:297190 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_get_device_guid - Return device's node GUID"] pub fn ibv_get_device_guid (device : * mut ibv_device) -> __be64 ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:297333 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_open_device - Initialize device for use"] pub fn ibv_open_device (device : * mut ibv_device) -> * mut ibv_context ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:297479 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_close_device - Release device"] pub fn ibv_close_device (context : * mut ibv_context) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:297629 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_import_device - Import device"] pub fn ibv_import_device (cmd_fd : :: std :: os :: raw :: c_int) -> * mut ibv_context ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:297779 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_import_pd - Import a protetion domain"] pub fn ibv_import_pd (context : * mut ibv_context , pd_handle : u32) -> * mut ibv_pd ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:297936 [INFO] [stdout] | [INFO] [stdout] 3 | ..._pd ; } extern "C" { # [doc = " ibv_unimport_pd - Unimport a protetion domain"] pub fn ibv_unimport_pd (pd : * mut ibv_pd) ; } extern ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:298055 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_import_mr - Import a memory region"] pub fn ibv_import_mr (pd : * mut ibv_pd , mr_handle : u32) -> * mut ibv_mr ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:298199 [INFO] [stdout] | [INFO] [stdout] 3 | ...v_mr ; } extern "C" { # [doc = " ibv_unimport_mr - Unimport a memory region"] pub fn ibv_unimport_mr (mr : * mut ibv_mr) ; } extern "C... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:298315 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_import_dm - Import a device memory"] pub fn ibv_import_dm (context : * mut ibv_context , dm_handle : u32) -> * mut ibv_dm ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:298469 [INFO] [stdout] | [INFO] [stdout] 3 | ...v_dm ; } extern "C" { # [doc = " ibv_unimport_dm - Unimport a device memory"] pub fn ibv_unimport_dm (dm : * mut ibv_dm) ; } extern "C... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:298585 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_get_async_event - Get next async event\n @event: Pointer to use to return async event\n\n All async events returned by ibv_get_async_event() must eventually\n be acknowledged with ibv_ack_async_event()."] pub fn ibv_get_async_event (context : * mut ibv_context , event : * mut ibv_async_event) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:298943 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_ack_async_event - Acknowledge an async event\n @event: Event to be acknowledged.\n\n All async events which are returned by ibv_get_async_event() must\n be acknowledged. To avoid races, destroying an object (CQ, SRQ or\n QP) will wait for all affiliated events to be acknowledged, so\n there should be a one-to-one correspondence between acks and\n successful gets."] pub fn ibv_ack_async_event (event : * mut ibv_async_event) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:299403 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_query_device - Get device properties"] pub fn ibv_query_device (context : * mut ibv_context , device_attr : * mut ibv_device_attr) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:299598 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_query_port - Get port properties"] pub fn ibv_query_port (context : * mut ibv_context , port_num : u8 , port_attr : * mut _compat_ibv_port_attr) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:299807 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_query_gid - Get a GID table entry"] pub fn ibv_query_gid (context : * mut ibv_context , port_num : u8 , index : :: std :: os :: raw :: c_int , gid : * mut ibv_gid) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:300035 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_query_pkey - Get a P_Key table entry"] pub fn ibv_query_pkey (context : * mut ibv_context , port_num : u8 , index : :: std :: os :: raw :: c_int , pkey : * mut __be16) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:300267 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_get_pkey_index - Translate a P_Key into a P_Key index"] pub fn ibv_get_pkey_index (context : * mut ibv_context , port_num : u8 , pkey : __be16) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:300475 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_alloc_pd - Allocate a protection domain"] pub fn ibv_alloc_pd (context : * mut ibv_context) -> * mut ibv_pd ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:300615 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_dealloc_pd - Free a protection domain"] pub fn ibv_dealloc_pd (pd : * mut ibv_pd) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:300761 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_reg_mr_iova2 - Register memory region with a virtual offset address\n\n This version will be called if ibv_reg_mr or ibv_reg_mr_iova were called\n with at least one potential access flag from the IBV_OPTIONAL_ACCESS_RANGE\n flags range The optional access flags will be masked if running over kernel\n that does not support passing them."] pub fn ibv_reg_mr_iova2 (pd : * mut ibv_pd , addr : * mut :: std :: os :: raw :: c_void , length : usize , iova : u64 , access : :: std :: os :: raw :: c_uint) -> * mut ibv_mr ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:301309 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_reg_mr - Register a memory region"] pub fn ibv_reg_mr (pd : * mut ibv_pd , addr : * mut :: std :: os :: raw :: c_void , length : usize , access : :: std :: os :: raw :: c_int) -> * mut ibv_mr ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:301533 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_reg_mr_iova - Register a memory region with a virtual offset\n address"] pub fn ibv_reg_mr_iova (pd : * mut ibv_pd , addr : * mut :: std :: os :: raw :: c_void , length : usize , iova : u64 , access : :: std :: os :: raw :: c_int) -> * mut ibv_mr ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:301812 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_reg_dmabuf_mr - Register a dmabuf-based memory region"] pub fn ibv_reg_dmabuf_mr (pd : * mut ibv_pd , offset : u64 , length : usize , iova : u64 , fd : :: std :: os :: raw :: c_int , access : :: std :: os :: raw :: c_int) -> * mut ibv_mr ; } pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:302497 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " ibv_rereg_mr - Re-Register a memory region"] pub fn ibv_rereg_mr (mr : * mut ibv_mr , flags : :: std :: os :: raw :: c_int , pd : * mut ibv_pd , addr : * mut :: std :: os :: raw :: c_void , length : usize , access : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:302803 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_dereg_mr - Deregister a memory region"] pub fn ibv_dereg_mr (mr : * mut ibv_mr) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:302947 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_create_comp_channel - Create a completion event channel"] pub fn ibv_create_comp_channel (context : * mut ibv_context) -> * mut ibv_comp_channel ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:77555 [INFO] [stdout] | [INFO] [stdout] 3 | ...= 23 ; } extern "C" { pub fn ibv_wc_status_str (status : ibv_wc_status :: Type) -> * const :: std :: os :: raw :: c_char ; } pub mod i... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:303124 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_destroy_comp_channel - Destroy a completion event channel"] pub fn ibv_destroy_comp_channel (channel : * mut ibv_comp_channel) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:100625 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " ibv_rate_to_mult - Convert the IB rate enum to a multiple of the\n base rate of 2.5 Gbit/sec. For example, IBV_RATE_5_GBPS will be\n converted to 2, since 5 Gbit/sec is 2 * 2.5 Gbit/sec.\n @rate: rate to convert."] pub fn ibv_rate_to_mult (rate : ibv_rate) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:303315 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_create_cq - Create a completion queue\n @context - Context CQ will be attached to\n @cqe - Minimum number of entries required for CQ\n @cq_context - Consumer-supplied context returned for completion events\n @channel - Completion channel where completion events will be queued.\n May be NULL if completion events will not be used.\n @comp_vector - Completion vector used to signal completion events.\n Must be >= 0 and < context->num_comp_vectors."] pub fn ibv_create_cq (context : * mut ibv_context , cqe : :: std :: os :: raw :: c_int , cq_context : * mut :: std :: os :: raw :: c_void , channel : * mut ibv_comp_channel , comp_vector : :: std :: os :: raw :: c_int) -> * mut ibv_cq ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:100943 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_rate_to_mbps - Convert the IB rate enum to Mbit/sec.\n For example, IBV_RATE_5_GBPS will return the value 5000.\n @rate: rate to convert."] pub fn ibv_rate_to_mbps (rate : ibv_rate) -> :: std :: os :: raw :: c_int ; } # ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:304040 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_resize_cq - Modifies the capacity of the CQ.\n @cq: The CQ to resize.\n @cqe: The minimum size of the CQ.\n\n Users can examine the cq structure to determine the actual CQ size."] pub fn ibv_resize_cq (cq : * mut ibv_cq , cqe : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:147930 [INFO] [stdout] | [INFO] [stdout] 3 | ...= 15 ; } extern "C" { pub fn ibv_wr_opcode_str (opcode : ibv_wr_opcode :: Type) -> * const :: std :: os :: raw :: c_char ; } impl ibv_... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:304362 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_destroy_cq - Destroy a completion queue"] pub fn ibv_destroy_cq (cq : * mut ibv_cq) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:197169 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; s . assume_init () } } } extern "C" { pub fn ibv_qp_to_qp_ex (qp : * mut ibv_qp) -> * mut ibv_qp_ex ; } # [repr (C)] # [derive (Deb... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:304510 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_get_cq_event - Read next CQ event\n @channel: Channel to get next event from.\n @cq: Used to return pointer to CQ.\n @cq_context: Used to return consumer-supplied CQ context.\n\n All completion events returned by ibv_get_cq_event() must\n eventually be acknowledged with ibv_ack_cq_events()."] pub fn ibv_get_cq_event (channel : * mut ibv_comp_channel , cq : * mut * mut ibv_cq , cq_context : * mut * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:305010 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_ack_cq_events - Acknowledge CQ completion events\n @cq: CQ to acknowledge events for\n @nevents: Number of events to acknowledge.\n\n All completion events which are returned by ibv_get_cq_event() must\n be acknowledged. To avoid races, ibv_destroy_cq() will wait for\n all completion events to be acknowledged, so there should be a\n one-to-one correspondence between acks and successful gets. An\n application may accumulate multiple completion events and\n acknowledge them in a single call to ibv_ack_cq_events() by passing\n the number of events to ack in @nevents."] pub fn ibv_ack_cq_events (cq : * mut ibv_cq , nevents : :: std :: os :: raw :: c_uint) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:305704 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_create_srq - Creates a SRQ associated with the specified protection\n domain.\n @pd: The protection domain associated with the SRQ.\n @srq_init_attr: A list of initial attributes required to create the SRQ.\n\n srq_attr->max_wr and srq_attr->max_sge are read the determine the\n requested size of the SRQ, and set to the actual values allocated\n on return. If ibv_create_srq() succeeds, then max_wr and max_sge\n will always be at least as large as the requested values."] pub fn ibv_create_srq (pd : * mut ibv_pd , srq_init_attr : * mut ibv_srq_init_attr) -> * mut ibv_srq ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:295870 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_get_device_list - Get list of IB devices currently available\n @num_devices: optional. if non-NULL, set to the number of devices\n returned in the array.\n\n Return a NULL-terminated array of IB devices. The array can be\n released with ibv_free_device_list()."] pub fn ibv_get_device_list (num_devices : * mut :: std :: os :: raw :: c_int) -> * mut * mut ibv_device ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:306314 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_modify_srq - Modifies the attributes for the specified SRQ.\n @srq: The SRQ to modify.\n @srq_attr: On input, specifies the SRQ attributes to modify. On output,\n the current values of selected SRQ attributes are returned.\n @srq_attr_mask: A bit-mask used to specify which attributes of the SRQ\n are being modified.\n\n The mask may contain IBV_SRQ_MAX_WR to resize the SRQ and/or\n IBV_SRQ_LIMIT to set the SRQ's limit and request notification when\n the number of receives queued drops below the limit."] pub fn ibv_modify_srq (srq : * mut ibv_srq , srq_attr : * mut ibv_srq_attr , srq_attr_mask : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:307015 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_query_srq - Returns the attribute list and current values for the\n specified SRQ.\n @srq: The SRQ to query.\n @srq_attr: The attributes of the specified SRQ."] pub fn ibv_query_srq (srq : * mut ibv_srq , srq_attr : * mut ibv_srq_attr) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:296271 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_free_device_list - Free list from ibv_get_device_list()\n\n Free an array of devices returned from ibv_get_device_list(). Once\n the array is freed, pointers to devices that were not opened with\n ibv_open_device() are no longer valid. Client code must open all\n devices it intends to use before calling ibv_free_device_list()."] pub fn ibv_free_device_list (list : * mut * mut ibv_device) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:307317 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_destroy_srq - Destroys the specified SRQ.\n @srq: The SRQ to destroy."] pub fn ibv_destroy_srq (srq : * mut ibv_srq) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:307498 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_create_qp - Create a queue pair."] pub fn ibv_create_qp (pd : * mut ibv_pd , qp_init_attr : * mut ibv_qp_init_attr) -> * mut ibv_qp ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:296696 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_get_device_name - Return kernel device name"] pub fn ibv_get_device_name (device : * mut ibv_device) -> * const :: std :: os :: raw :: c_char ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:307662 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_modify_qp - Modify a queue pair."] pub fn ibv_modify_qp (qp : * mut ibv_qp , attr : * mut ibv_qp_attr , attr_mask : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:296870 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_get_device_index - Return kernel device index\n\n Available for the kernel with support of IB device query\n over netlink interface. For the unsupported kernels, the\n relevant -1 will be returned."] pub fn ibv_get_device_index (device : * mut ibv_device) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:307872 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_query_qp_data_in_order - Checks whether the data is guaranteed to be\n written in-order.\n @qp: The QP to query.\n @op: Operation type.\n @flags: Flags are used to select a query type.\n For IBV_QUERY_QP_DATA_IN_ORDER_RETURN_CAPS, the function will return a\n capabilities vector. If 0, will query for IBV_QUERY_QP_DATA_IN_ORDER_WHOLE_MSG\n support and return 0/1 result.\n\n Return Value\n ibv_query_qp_data_in_order() return value is determined by flags.\n For each capability bit, 1 is returned if the data is guaranteed to be\n written in-order for selected operation and type, 0 otherwise."] pub fn ibv_query_qp_data_in_order (qp : * mut ibv_qp , op : ibv_wr_opcode :: Type , flags : u32) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:308632 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_query_qp - Returns the attribute list and current values for the\n specified QP.\n @qp: The QP to query.\n @attr: The attributes of the specified QP.\n @attr_mask: A bit-mask used to select specific attributes to query.\n @init_attr: Additional attributes of the selected QP.\n\n The qp_attr_mask may be used to limit the query to gathering only the\n selected attributes."] pub fn ibv_query_qp (qp : * mut ibv_qp , attr : * mut ibv_qp_attr , attr_mask : :: std :: os :: raw :: c_int , init_attr : * mut ibv_qp_init_attr) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:297190 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_get_device_guid - Return device's node GUID"] pub fn ibv_get_device_guid (device : * mut ibv_device) -> __be64 ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:309220 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_destroy_qp - Destroy a queue pair."] pub fn ibv_destroy_qp (qp : * mut ibv_qp) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:309363 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_create_ah - Create an address handle."] pub fn ibv_create_ah (pd : * mut ibv_pd , attr : * mut ibv_ah_attr) -> * mut ibv_ah ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:297333 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_open_device - Initialize device for use"] pub fn ibv_open_device (device : * mut ibv_device) -> * mut ibv_context ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:309519 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_init_ah_from_wc - Initializes address handle attributes from a\n work completion.\n @context: Device context on which the received message arrived.\n @port_num: Port on which the received message arrived.\n @wc: Work completion associated with the received message.\n @grh: References the received global route header. This parameter is\n ignored unless the work completion indicates that the GRH is valid.\n @ah_attr: Returned attributes that can be used when creating an address\n handle for replying to the message."] pub fn ibv_init_ah_from_wc (context : * mut ibv_context , port_num : u8 , wc : * mut ibv_wc , grh : * mut ibv_grh , ah_attr : * mut ibv_ah_attr) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:310256 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_create_ah_from_wc - Creates an address handle associated with the\n sender of the specified work completion.\n @pd: The protection domain associated with the address handle.\n @wc: Work completion information associated with a received message.\n @grh: References the received global route header. This parameter is\n ignored unless the work completion indicates that the GRH is valid.\n @port_num: The outbound port number to associate with the address.\n\n The address handle is used to reference a local or global destination\n in all UD QP post sends."] pub fn ibv_create_ah_from_wc (pd : * mut ibv_pd , wc : * mut ibv_wc , grh : * mut ibv_grh , port_num : u8) -> * mut ibv_ah ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:297479 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_close_device - Release device"] pub fn ibv_close_device (context : * mut ibv_context) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:310974 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_destroy_ah - Destroy an address handle."] pub fn ibv_destroy_ah (ah : * mut ibv_ah) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:311122 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_attach_mcast - Attaches the specified QP to a multicast group.\n @qp: QP to attach to the multicast group. The QP must be a UD QP.\n @gid: Multicast group GID.\n @lid: Multicast group LID in host byte order.\n\n In order to route multicast packets correctly, subnet\n administration must have created the multicast group and configured\n the fabric appropriately. The port associated with the specified\n QP must also be a member of the multicast group."] pub fn ibv_attach_mcast (qp : * mut ibv_qp , gid : * const ibv_gid , lid : u16) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:297629 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_import_device - Import device"] pub fn ibv_import_device (cmd_fd : :: std :: os :: raw :: c_int) -> * mut ibv_context ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:311724 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_detach_mcast - Detaches the specified QP from a multicast group.\n @qp: QP to detach from the multicast group.\n @gid: Multicast group GID.\n @lid: Multicast group LID in host byte order."] pub fn ibv_detach_mcast (qp : * mut ibv_qp , gid : * const ibv_gid , lid : u16) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:297779 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_import_pd - Import a protetion domain"] pub fn ibv_import_pd (context : * mut ibv_context , pd_handle : u32) -> * mut ibv_pd ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:312058 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_fork_init - Prepare data structures so that fork() may be used\n safely. If this function is not called or returns a non-zero\n status, then libibverbs data structures are not fork()-safe and the\n effect of an application calling fork() is undefined."] pub fn ibv_fork_init () -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:312401 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_is_fork_initialized - Check if fork support\n (ibv_fork_init) was enabled."] pub fn ibv_is_fork_initialized () -> ibv_fork_status ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:297936 [INFO] [stdout] | [INFO] [stdout] 3 | ..._pd ; } extern "C" { # [doc = " ibv_unimport_pd - Unimport a protetion domain"] pub fn ibv_unimport_pd (pd : * mut ibv_pd) ; } extern ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:312563 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_node_type_str - Return string describing node_type enum value"] pub fn ibv_node_type_str (node_type : ibv_node_type) -> * const :: std :: os :: raw :: c_char ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:312753 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_port_state_str - Return string describing port_state enum value"] pub fn ibv_port_state_str (port_state : ibv_port_state :: Type) -> * const :: std :: os :: raw :: c_char ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:298055 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_import_mr - Import a memory region"] pub fn ibv_import_mr (pd : * mut ibv_pd , mr_handle : u32) -> * mut ibv_mr ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:312956 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_event_type_str - Return string describing event_type enum value"] pub fn ibv_event_type_str (event : ibv_event_type) -> * const :: std :: os :: raw :: c_char ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:313146 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn ibv_resolve_eth_l2_from_gid (context : * mut ibv_context , attr : * mut ibv_ah_attr , eth_mac : * mut u8 , vid : * mut u16) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:298199 [INFO] [stdout] | [INFO] [stdout] 3 | ...v_mr ; } extern "C" { # [doc = " ibv_unimport_mr - Unimport a memory region"] pub fn ibv_unimport_mr (mr : * mut ibv_mr) ; } extern "C... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:313326 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_set_ece - Set ECE options"] pub fn ibv_set_ece (qp : * mut ibv_qp , ece : * mut ibv_ece) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:298315 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_import_dm - Import a device memory"] pub fn ibv_import_dm (context : * mut ibv_context , dm_handle : u32) -> * mut ibv_dm ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:313479 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_query_ece - Get accepted ECE options"] pub fn ibv_query_ece (qp : * mut ibv_qp , ece : * mut ibv_ece) -> :: std :: os :: raw :: c_int ; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:298469 [INFO] [stdout] | [INFO] [stdout] 3 | ...v_dm ; } extern "C" { # [doc = " ibv_unimport_dm - Unimport a device memory"] pub fn ibv_unimport_dm (dm : * mut ibv_dm) ; } extern "C... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:298585 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_get_async_event - Get next async event\n @event: Pointer to use to return async event\n\n All async events returned by ibv_get_async_event() must eventually\n be acknowledged with ibv_ack_async_event()."] pub fn ibv_get_async_event (context : * mut ibv_context , event : * mut ibv_async_event) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:298943 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_ack_async_event - Acknowledge an async event\n @event: Event to be acknowledged.\n\n All async events which are returned by ibv_get_async_event() must\n be acknowledged. To avoid races, destroying an object (CQ, SRQ or\n QP) will wait for all affiliated events to be acknowledged, so\n there should be a one-to-one correspondence between acks and\n successful gets."] pub fn ibv_ack_async_event (event : * mut ibv_async_event) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:299403 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_query_device - Get device properties"] pub fn ibv_query_device (context : * mut ibv_context , device_attr : * mut ibv_device_attr) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:299598 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_query_port - Get port properties"] pub fn ibv_query_port (context : * mut ibv_context , port_num : u8 , port_attr : * mut _compat_ibv_port_attr) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:299807 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_query_gid - Get a GID table entry"] pub fn ibv_query_gid (context : * mut ibv_context , port_num : u8 , index : :: std :: os :: raw :: c_int , gid : * mut ibv_gid) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:300035 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_query_pkey - Get a P_Key table entry"] pub fn ibv_query_pkey (context : * mut ibv_context , port_num : u8 , index : :: std :: os :: raw :: c_int , pkey : * mut __be16) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:300267 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_get_pkey_index - Translate a P_Key into a P_Key index"] pub fn ibv_get_pkey_index (context : * mut ibv_context , port_num : u8 , pkey : __be16) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:300475 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_alloc_pd - Allocate a protection domain"] pub fn ibv_alloc_pd (context : * mut ibv_context) -> * mut ibv_pd ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:300615 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_dealloc_pd - Free a protection domain"] pub fn ibv_dealloc_pd (pd : * mut ibv_pd) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:300761 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_reg_mr_iova2 - Register memory region with a virtual offset address\n\n This version will be called if ibv_reg_mr or ibv_reg_mr_iova were called\n with at least one potential access flag from the IBV_OPTIONAL_ACCESS_RANGE\n flags range The optional access flags will be masked if running over kernel\n that does not support passing them."] pub fn ibv_reg_mr_iova2 (pd : * mut ibv_pd , addr : * mut :: std :: os :: raw :: c_void , length : usize , iova : u64 , access : :: std :: os :: raw :: c_uint) -> * mut ibv_mr ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:301309 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_reg_mr - Register a memory region"] pub fn ibv_reg_mr (pd : * mut ibv_pd , addr : * mut :: std :: os :: raw :: c_void , length : usize , access : :: std :: os :: raw :: c_int) -> * mut ibv_mr ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:301533 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_reg_mr_iova - Register a memory region with a virtual offset\n address"] pub fn ibv_reg_mr_iova (pd : * mut ibv_pd , addr : * mut :: std :: os :: raw :: c_void , length : usize , iova : u64 , access : :: std :: os :: raw :: c_int) -> * mut ibv_mr ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 64 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:301812 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_reg_dmabuf_mr - Register a dmabuf-based memory region"] pub fn ibv_reg_dmabuf_mr (pd : * mut ibv_pd , offset : u64 , length : usize , iova : u64 , fd : :: std :: os :: raw :: c_int , access : :: std :: os :: raw :: c_int) -> * mut ibv_mr ; } pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ibverbs-sys` (lib) due to 65 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:302497 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " ibv_rereg_mr - Re-Register a memory region"] pub fn ibv_rereg_mr (mr : * mut ibv_mr , flags : :: std :: os :: raw :: c_int , pd : * mut ibv_pd , addr : * mut :: std :: os :: raw :: c_void , length : usize , access : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:302803 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_dereg_mr - Deregister a memory region"] pub fn ibv_dereg_mr (mr : * mut ibv_mr) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:302947 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_create_comp_channel - Create a completion event channel"] pub fn ibv_create_comp_channel (context : * mut ibv_context) -> * mut ibv_comp_channel ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:303124 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_destroy_comp_channel - Destroy a completion event channel"] pub fn ibv_destroy_comp_channel (channel : * mut ibv_comp_channel) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:303315 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_create_cq - Create a completion queue\n @context - Context CQ will be attached to\n @cqe - Minimum number of entries required for CQ\n @cq_context - Consumer-supplied context returned for completion events\n @channel - Completion channel where completion events will be queued.\n May be NULL if completion events will not be used.\n @comp_vector - Completion vector used to signal completion events.\n Must be >= 0 and < context->num_comp_vectors."] pub fn ibv_create_cq (context : * mut ibv_context , cqe : :: std :: os :: raw :: c_int , cq_context : * mut :: std :: os :: raw :: c_void , channel : * mut ibv_comp_channel , comp_vector : :: std :: os :: raw :: c_int) -> * mut ibv_cq ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:304040 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_resize_cq - Modifies the capacity of the CQ.\n @cq: The CQ to resize.\n @cqe: The minimum size of the CQ.\n\n Users can examine the cq structure to determine the actual CQ size."] pub fn ibv_resize_cq (cq : * mut ibv_cq , cqe : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:304362 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_destroy_cq - Destroy a completion queue"] pub fn ibv_destroy_cq (cq : * mut ibv_cq) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:304510 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_get_cq_event - Read next CQ event\n @channel: Channel to get next event from.\n @cq: Used to return pointer to CQ.\n @cq_context: Used to return consumer-supplied CQ context.\n\n All completion events returned by ibv_get_cq_event() must\n eventually be acknowledged with ibv_ack_cq_events()."] pub fn ibv_get_cq_event (channel : * mut ibv_comp_channel , cq : * mut * mut ibv_cq , cq_context : * mut * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:305010 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_ack_cq_events - Acknowledge CQ completion events\n @cq: CQ to acknowledge events for\n @nevents: Number of events to acknowledge.\n\n All completion events which are returned by ibv_get_cq_event() must\n be acknowledged. To avoid races, ibv_destroy_cq() will wait for\n all completion events to be acknowledged, so there should be a\n one-to-one correspondence between acks and successful gets. An\n application may accumulate multiple completion events and\n acknowledge them in a single call to ibv_ack_cq_events() by passing\n the number of events to ack in @nevents."] pub fn ibv_ack_cq_events (cq : * mut ibv_cq , nevents : :: std :: os :: raw :: c_uint) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:305704 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_create_srq - Creates a SRQ associated with the specified protection\n domain.\n @pd: The protection domain associated with the SRQ.\n @srq_init_attr: A list of initial attributes required to create the SRQ.\n\n srq_attr->max_wr and srq_attr->max_sge are read the determine the\n requested size of the SRQ, and set to the actual values allocated\n on return. If ibv_create_srq() succeeds, then max_wr and max_sge\n will always be at least as large as the requested values."] pub fn ibv_create_srq (pd : * mut ibv_pd , srq_init_attr : * mut ibv_srq_init_attr) -> * mut ibv_srq ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:306314 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_modify_srq - Modifies the attributes for the specified SRQ.\n @srq: The SRQ to modify.\n @srq_attr: On input, specifies the SRQ attributes to modify. On output,\n the current values of selected SRQ attributes are returned.\n @srq_attr_mask: A bit-mask used to specify which attributes of the SRQ\n are being modified.\n\n The mask may contain IBV_SRQ_MAX_WR to resize the SRQ and/or\n IBV_SRQ_LIMIT to set the SRQ's limit and request notification when\n the number of receives queued drops below the limit."] pub fn ibv_modify_srq (srq : * mut ibv_srq , srq_attr : * mut ibv_srq_attr , srq_attr_mask : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:307015 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_query_srq - Returns the attribute list and current values for the\n specified SRQ.\n @srq: The SRQ to query.\n @srq_attr: The attributes of the specified SRQ."] pub fn ibv_query_srq (srq : * mut ibv_srq , srq_attr : * mut ibv_srq_attr) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:307317 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_destroy_srq - Destroys the specified SRQ.\n @srq: The SRQ to destroy."] pub fn ibv_destroy_srq (srq : * mut ibv_srq) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:307498 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_create_qp - Create a queue pair."] pub fn ibv_create_qp (pd : * mut ibv_pd , qp_init_attr : * mut ibv_qp_init_attr) -> * mut ibv_qp ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:307662 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_modify_qp - Modify a queue pair."] pub fn ibv_modify_qp (qp : * mut ibv_qp , attr : * mut ibv_qp_attr , attr_mask : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:307872 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_query_qp_data_in_order - Checks whether the data is guaranteed to be\n written in-order.\n @qp: The QP to query.\n @op: Operation type.\n @flags: Flags are used to select a query type.\n For IBV_QUERY_QP_DATA_IN_ORDER_RETURN_CAPS, the function will return a\n capabilities vector. If 0, will query for IBV_QUERY_QP_DATA_IN_ORDER_WHOLE_MSG\n support and return 0/1 result.\n\n Return Value\n ibv_query_qp_data_in_order() return value is determined by flags.\n For each capability bit, 1 is returned if the data is guaranteed to be\n written in-order for selected operation and type, 0 otherwise."] pub fn ibv_query_qp_data_in_order (qp : * mut ibv_qp , op : ibv_wr_opcode :: Type , flags : u32) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:308632 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_query_qp - Returns the attribute list and current values for the\n specified QP.\n @qp: The QP to query.\n @attr: The attributes of the specified QP.\n @attr_mask: A bit-mask used to select specific attributes to query.\n @init_attr: Additional attributes of the selected QP.\n\n The qp_attr_mask may be used to limit the query to gathering only the\n selected attributes."] pub fn ibv_query_qp (qp : * mut ibv_qp , attr : * mut ibv_qp_attr , attr_mask : :: std :: os :: raw :: c_int , init_attr : * mut ibv_qp_init_attr) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:309220 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_destroy_qp - Destroy a queue pair."] pub fn ibv_destroy_qp (qp : * mut ibv_qp) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:309363 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_create_ah - Create an address handle."] pub fn ibv_create_ah (pd : * mut ibv_pd , attr : * mut ibv_ah_attr) -> * mut ibv_ah ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:309519 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_init_ah_from_wc - Initializes address handle attributes from a\n work completion.\n @context: Device context on which the received message arrived.\n @port_num: Port on which the received message arrived.\n @wc: Work completion associated with the received message.\n @grh: References the received global route header. This parameter is\n ignored unless the work completion indicates that the GRH is valid.\n @ah_attr: Returned attributes that can be used when creating an address\n handle for replying to the message."] pub fn ibv_init_ah_from_wc (context : * mut ibv_context , port_num : u8 , wc : * mut ibv_wc , grh : * mut ibv_grh , ah_attr : * mut ibv_ah_attr) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:310256 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_create_ah_from_wc - Creates an address handle associated with the\n sender of the specified work completion.\n @pd: The protection domain associated with the address handle.\n @wc: Work completion information associated with a received message.\n @grh: References the received global route header. This parameter is\n ignored unless the work completion indicates that the GRH is valid.\n @port_num: The outbound port number to associate with the address.\n\n The address handle is used to reference a local or global destination\n in all UD QP post sends."] pub fn ibv_create_ah_from_wc (pd : * mut ibv_pd , wc : * mut ibv_wc , grh : * mut ibv_grh , port_num : u8) -> * mut ibv_ah ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:310974 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_destroy_ah - Destroy an address handle."] pub fn ibv_destroy_ah (ah : * mut ibv_ah) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:311122 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_attach_mcast - Attaches the specified QP to a multicast group.\n @qp: QP to attach to the multicast group. The QP must be a UD QP.\n @gid: Multicast group GID.\n @lid: Multicast group LID in host byte order.\n\n In order to route multicast packets correctly, subnet\n administration must have created the multicast group and configured\n the fabric appropriately. The port associated with the specified\n QP must also be a member of the multicast group."] pub fn ibv_attach_mcast (qp : * mut ibv_qp , gid : * const ibv_gid , lid : u16) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:311724 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_detach_mcast - Detaches the specified QP from a multicast group.\n @qp: QP to detach from the multicast group.\n @gid: Multicast group GID.\n @lid: Multicast group LID in host byte order."] pub fn ibv_detach_mcast (qp : * mut ibv_qp , gid : * const ibv_gid , lid : u16) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:312058 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_fork_init - Prepare data structures so that fork() may be used\n safely. If this function is not called or returns a non-zero\n status, then libibverbs data structures are not fork()-safe and the\n effect of an application calling fork() is undefined."] pub fn ibv_fork_init () -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:312401 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_is_fork_initialized - Check if fork support\n (ibv_fork_init) was enabled."] pub fn ibv_is_fork_initialized () -> ibv_fork_status ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:312563 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_node_type_str - Return string describing node_type enum value"] pub fn ibv_node_type_str (node_type : ibv_node_type) -> * const :: std :: os :: raw :: c_char ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:312753 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_port_state_str - Return string describing port_state enum value"] pub fn ibv_port_state_str (port_state : ibv_port_state :: Type) -> * const :: std :: os :: raw :: c_char ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:312956 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_event_type_str - Return string describing event_type enum value"] pub fn ibv_event_type_str (event : ibv_event_type) -> * const :: std :: os :: raw :: c_char ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:313146 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn ibv_resolve_eth_l2_from_gid (context : * mut ibv_context , attr : * mut ibv_ah_attr , eth_mac : * mut u8 , vid : * mut u16) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:313326 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_set_ece - Set ECE options"] pub fn ibv_set_ece (qp : * mut ibv_qp , ece : * mut ibv_ece) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/ibverbs-sys-7a1f8e169a508c7e/out/bindings.rs:3:313479 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " ibv_query_ece - Get accepted ECE options"] pub fn ibv_query_ece (qp : * mut ibv_qp , ece : * mut ibv_ece) -> :: std :: os :: raw :: c_int ; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 64 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ibverbs-sys` (lib test) due to 65 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "80b3e6f89e1454d2edc661a7055b491c5e5d654d6d2e5074bb18986c325f2e63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80b3e6f89e1454d2edc661a7055b491c5e5d654d6d2e5074bb18986c325f2e63", kill_on_drop: false }` [INFO] [stdout] 80b3e6f89e1454d2edc661a7055b491c5e5d654d6d2e5074bb18986c325f2e63