[INFO] fetching crate xwiimote-sys 0.1.6... [INFO] checking xwiimote-sys-0.1.6 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate xwiimote-sys 0.1.6 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate xwiimote-sys 0.1.6 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 xwiimote-sys 0.1.6 [INFO] finished tweaking crates.io crate xwiimote-sys 0.1.6 [INFO] tweaked toml for crates.io crate xwiimote-sys 0.1.6 written to /workspace/builds/worker-6-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.68.1 (available: v0.70.1) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding peeking_take_while v0.1.2 (available: v1.0.0) [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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 6add0e597d9ed3ffac5ff251a5499a0326c6573c1ae35ebd1f9ee38b36dceb8f [INFO] running `Command { std: "docker" "start" "-a" "6add0e597d9ed3ffac5ff251a5499a0326c6573c1ae35ebd1f9ee38b36dceb8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6add0e597d9ed3ffac5ff251a5499a0326c6573c1ae35ebd1f9ee38b36dceb8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6add0e597d9ed3ffac5ff251a5499a0326c6573c1ae35ebd1f9ee38b36dceb8f", kill_on_drop: false }` [INFO] [stdout] 6add0e597d9ed3ffac5ff251a5499a0326c6573c1ae35ebd1f9ee38b36dceb8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 3abf24e38f82450d7a3f4929d60f75fffeb868609a534fa1dfb754a5504d9926 [INFO] running `Command { std: "docker" "start" "-a" "3abf24e38f82450d7a3f4929d60f75fffeb868609a534fa1dfb754a5504d9926", 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 unicode-ident v1.0.13 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling bindgen v0.68.1 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling clang-sys v1.8.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 which v4.4.2 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling xwiimote-sys v0.1.6 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] warning: xwiimote-sys@0.1.6: vendor/lib/core.c: In function 'xwii_iface_read_nodes': [INFO] [stderr] warning: xwiimote-sys@0.1.6: vendor/lib/core.c:289:31: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] [INFO] [stderr] warning: xwiimote-sys@0.1.6: 289 | ret = asprintf(&dev->led_attrs[i], "%s/%s", [INFO] [stderr] warning: xwiimote-sys@0.1.6: | ^~~~~~~~ [INFO] [stderr] warning: xwiimote-sys@0.1.6: | vsprintf [INFO] [stderr] warning: xwiimote-sys@0.1.6: vendor/lib/core.c: In function 'xwii_iface_poll': [INFO] [stderr] warning: xwiimote-sys@0.1.6: vendor/lib/core.c:1728:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: xwiimote-sys@0.1.6: 1728 | if (ret > siz) [INFO] [stderr] warning: xwiimote-sys@0.1.6: | ^ [INFO] [stderr] warning: xwiimote-sys@0.1.6: vendor/lib/core.c: In function 'xwii_iface_dispatch': [INFO] [stderr] warning: xwiimote-sys@0.1.6: vendor/lib/core.c:1763:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: xwiimote-sys@0.1.6: 1763 | if (ret > siz) [INFO] [stderr] warning: xwiimote-sys@0.1.6: | ^ [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed /opt/rustwide/target/debug/build/xwiimote-sys-71fd7d134d436c47/out/bindings.rs (26 fixes) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.55s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling xwiimote-sys v0.1.6 (/tmp/fixit) [INFO] [stderr] warning: xwiimote-sys@0.1.6: vendor/lib/core.c: In function 'xwii_iface_read_nodes': [INFO] [stderr] warning: xwiimote-sys@0.1.6: vendor/lib/core.c:289:31: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] [INFO] [stderr] warning: xwiimote-sys@0.1.6: 289 | ret = asprintf(&dev->led_attrs[i], "%s/%s", [INFO] [stderr] warning: xwiimote-sys@0.1.6: | ^~~~~~~~ [INFO] [stderr] warning: xwiimote-sys@0.1.6: | vsprintf [INFO] [stderr] warning: xwiimote-sys@0.1.6: vendor/lib/core.c: In function 'xwii_iface_poll': [INFO] [stderr] warning: xwiimote-sys@0.1.6: vendor/lib/core.c:1728:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: xwiimote-sys@0.1.6: 1728 | if (ret > siz) [INFO] [stderr] warning: xwiimote-sys@0.1.6: | ^ [INFO] [stderr] warning: xwiimote-sys@0.1.6: vendor/lib/core.c: In function 'xwii_iface_dispatch': [INFO] [stderr] warning: xwiimote-sys@0.1.6: vendor/lib/core.c:1763:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: xwiimote-sys@0.1.6: 1763 | if (ret > siz) [INFO] [stderr] warning: xwiimote-sys@0.1.6: | ^ [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:22629 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " Return name of a given interface\n\n @param[in] iface A single interface of type @ref xwii_iface_type\n\n Returns the name of a single given interface. If the interface is invalid,\n NULL is returned. The returned names are the same as the XWII_NAME_*\n constants of the kernel ABI.\n\n @returns constant string if @p iface is known or NULL if unknown."] pub fn xwii_get_iface_name (iface : :: std :: os :: raw :: c_uint) -> * const :: std :: os :: raw :: c_char ; } pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:23376 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " Create new device object from syspath path\n\n @param[out] dev Pointer to new opaque device is stored here\n @param[in] syspath Sysfs path to root device node\n\n Creates a new device object. No interfaces on the device are opened by\n default. @p syspath must be a valid path to a wiimote device, either\n retrieved via a @ref monitor \"monitor object\" or via udev. It must point to\n the hid device, which is normally /sys/bus/hid/devices/[dev].\n\n If this function fails, @p dev is not touched at all (and not cleared!). A\n new object always has an initial ref-count of 1.\n\n @returns 0 on success, negative error code on failure"] pub fn xwii_iface_new (dev : * mut * mut xwii_iface , syspath : * const :: std :: os :: raw :: c_char) -> :: 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/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:24178 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Increase ref-count by 1\n\n @param[in] dev Valid device object"] pub fn xwii_iface_ref (dev : * mut xwii_iface) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:22629 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " Return name of a given interface\n\n @param[in] iface A single interface of type @ref xwii_iface_type\n\n Returns the name of a single given interface. If the interface is invalid,\n NULL is returned. The returned names are the same as the XWII_NAME_*\n constants of the kernel ABI.\n\n @returns constant string if @p iface is known or NULL if unknown."] pub fn xwii_get_iface_name (iface : :: std :: os :: raw :: c_uint) -> * const :: std :: os :: raw :: c_char ; } pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:24318 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Decrease ref-count by 1\n\n @param[in] dev Valid device object\n\n If the ref-count drops below 1, the object is destroyed immediately. All\n open interfaces are automatically closed and all allocated objects released\n when the object is destroyed."] pub fn xwii_iface_unref (dev : * mut xwii_iface) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:23376 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " Create new device object from syspath path\n\n @param[out] dev Pointer to new opaque device is stored here\n @param[in] syspath Sysfs path to root device node\n\n Creates a new device object. No interfaces on the device are opened by\n default. @p syspath must be a valid path to a wiimote device, either\n retrieved via a @ref monitor \"monitor object\" or via udev. It must point to\n the hid device, which is normally /sys/bus/hid/devices/[dev].\n\n If this function fails, @p dev is not touched at all (and not cleared!). A\n new object always has an initial ref-count of 1.\n\n @returns 0 on success, negative error code on failure"] pub fn xwii_iface_new (dev : * mut * mut xwii_iface , syspath : * const :: std :: os :: raw :: c_char) -> :: 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/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:24647 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Return device syspath\n\n @param[in] dev Valid device object\n\n This returns the sysfs path of the underlying device. It is not neccesarily\n the same as the one during xwii_iface_new(). However, it is guaranteed to\n point at the same device (symlinks may be resolved).\n\n @returns NULL on failure, otherwise a constant device syspath is returned."] pub fn xwii_iface_get_syspath (dev : * mut xwii_iface) -> * 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/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:24178 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Increase ref-count by 1\n\n @param[in] dev Valid device object"] pub fn xwii_iface_ref (dev : * mut xwii_iface) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:25124 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Return file-descriptor\n\n @param[in] dev Valid device object\n\n Return the file-descriptor used by this device. If multiple file-descriptors\n are used internally, they are multi-plexed through an epoll descriptor.\n Therefore, this always returns the same single file-descriptor. You need to\n watch this for readable-events (POLLIN/EPOLLIN) and call\n xwii_iface_dispatch() whenever it is readable.\n\n This function always returns a valid file-descriptor."] pub fn xwii_iface_get_fd (dev : * mut xwii_iface) -> :: 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/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:24318 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Decrease ref-count by 1\n\n @param[in] dev Valid device object\n\n If the ref-count drops below 1, the object is destroyed immediately. All\n open interfaces are automatically closed and all allocated objects released\n when the object is destroyed."] pub fn xwii_iface_unref (dev : * mut xwii_iface) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:25697 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Watch device for hotplug events\n\n @param[in] dev Valid device object\n @param[in] watch Whether to watch for hotplug events or not\n\n Toggle whether hotplug events should be reported or not. By default, no\n hotplug events are reported so this is off.\n\n Note that this requires a separate udev-monitor for each device. Therefore,\n if your application uses its own udev-monitor, you should instead integrate\n the hotplug-detection into your udev-monitor.\n\n @returns 0 on success, negative error code on failure"] pub fn xwii_iface_watch (dev : * mut xwii_iface , watch : bool) -> :: 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/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:24647 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Return device syspath\n\n @param[in] dev Valid device object\n\n This returns the sysfs path of the underlying device. It is not neccesarily\n the same as the one during xwii_iface_new(). However, it is guaranteed to\n point at the same device (symlinks may be resolved).\n\n @returns NULL on failure, otherwise a constant device syspath is returned."] pub fn xwii_iface_get_syspath (dev : * mut xwii_iface) -> * 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/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:26342 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Open interfaces on this device\n\n @param[in] dev Valid device object\n @param[in] ifaces Bitmask of interfaces of type enum xwii_iface_type\n\n Open all the requested interfaces. If @ref XWII_IFACE_WRITABLE is also set,\n the interfaces are opened with write-access. Note that interfaces that are\n already opened are ignored and not touched.\n If _any_ interface fails to open, this function still tries to open the other\n requested interfaces and then returns the error afterwards. Hence, if this\n function fails, you should use xwii_iface_opened() to get a bitmask of opened\n interfaces and see which failed (if that is of interest).\n\n Note that interfaces may be closed automatically during runtime if the\n kernel removes the interface or on error conditions. You always get an\n @ref XWII_EVENT_WATCH event which you should react on. This is returned\n regardless whether xwii_iface_watch() was enabled or not.\n\n @returns 0 on success, negative error code on failure."] pub fn xwii_iface_open (dev : * mut xwii_iface , ifaces : :: std :: os :: raw :: c_uint) -> :: 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/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:25124 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Return file-descriptor\n\n @param[in] dev Valid device object\n\n Return the file-descriptor used by this device. If multiple file-descriptors\n are used internally, they are multi-plexed through an epoll descriptor.\n Therefore, this always returns the same single file-descriptor. You need to\n watch this for readable-events (POLLIN/EPOLLIN) and call\n xwii_iface_dispatch() whenever it is readable.\n\n This function always returns a valid file-descriptor."] pub fn xwii_iface_get_fd (dev : * mut xwii_iface) -> :: 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/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:27475 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Close interfaces on this device\n\n @param[in] dev Valid device object\n @param[in] ifaces Bitmask of interfaces of type enum xwii_iface_type\n\n Close the requested interfaces. This never fails."] pub fn xwii_iface_close (dev : * mut xwii_iface , ifaces : :: 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/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:25697 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Watch device for hotplug events\n\n @param[in] dev Valid device object\n @param[in] watch Whether to watch for hotplug events or not\n\n Toggle whether hotplug events should be reported or not. By default, no\n hotplug events are reported so this is off.\n\n Note that this requires a separate udev-monitor for each device. Therefore,\n if your application uses its own udev-monitor, you should instead integrate\n the hotplug-detection into your udev-monitor.\n\n @returns 0 on success, negative error code on failure"] pub fn xwii_iface_watch (dev : * mut xwii_iface , watch : bool) -> :: 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/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:27791 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Return bitmask of opened interfaces\n\n @param[in] dev Valid device object\n\n Returns a bitmask of opened interfaces. Interfaces may be closed due to\n error-conditions at any time. However, interfaces are never opened\n automatically.\n\n You will get notified whenever this bitmask changes, except on explicit\n calls to xwii_iface_open() and xwii_iface_close(). See the\n @ref XWII_EVENT_WATCH event for more information."] pub fn xwii_iface_opened (dev : * mut xwii_iface) -> :: 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/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:26342 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Open interfaces on this device\n\n @param[in] dev Valid device object\n @param[in] ifaces Bitmask of interfaces of type enum xwii_iface_type\n\n Open all the requested interfaces. If @ref XWII_IFACE_WRITABLE is also set,\n the interfaces are opened with write-access. Note that interfaces that are\n already opened are ignored and not touched.\n If _any_ interface fails to open, this function still tries to open the other\n requested interfaces and then returns the error afterwards. Hence, if this\n function fails, you should use xwii_iface_opened() to get a bitmask of opened\n interfaces and see which failed (if that is of interest).\n\n Note that interfaces may be closed automatically during runtime if the\n kernel removes the interface or on error conditions. You always get an\n @ref XWII_EVENT_WATCH event which you should react on. This is returned\n regardless whether xwii_iface_watch() was enabled or not.\n\n @returns 0 on success, negative error code on failure."] pub fn xwii_iface_open (dev : * mut xwii_iface , ifaces : :: std :: os :: raw :: c_uint) -> :: 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/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:28330 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Return bitmask of available interfaces\n\n @param[in] dev Valid device object\n\n Return a bitmask of available devices. These devices can be opened and are\n guaranteed to be present on the hardware at this time. If you watch your\n device for hotplug events (see xwii_iface_watch()) you will get notified\n whenever this bitmask changes. See the @ref XWII_EVENT_WATCH event for more\n information."] pub fn xwii_iface_available (dev : * mut xwii_iface) -> :: 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/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:27475 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Close interfaces on this device\n\n @param[in] dev Valid device object\n @param[in] ifaces Bitmask of interfaces of type enum xwii_iface_type\n\n Close the requested interfaces. This never fails."] pub fn xwii_iface_close (dev : * mut xwii_iface , ifaces : :: 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/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:28846 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Read incoming event-queue\n\n @param[in] dev Valid device object\n @param[out] ev Pointer where to store a new event or NULL\n\n You should call this whenever the file-descriptor returned by\n xwii_iface_get_fd() is reported as being readable. This function will perform\n all non-blocking outstanding tasks and then return.\n\n This function always performs any background tasks and outgoing event-writes\n if they don't block. It returns an error if they fail.\n If @p ev is NULL, this function returns 0 on success after this has been\n done.\n\n If @p ev is non-NULL, this function then tries to read a single incoming\n event. If no event is available, it returns -EAGAIN and you should watch the\n file-desciptor again until it is readable. Otherwise, you should call this\n function in a row as long as it returns 0. It stores the event in @p ev which\n you can then handle in your application.\n\n @returns 0 on success, -EAGAIN if no event can be read and @p ev is non-NULL\n and a negative error-code on failure"] pub fn xwii_iface_poll (dev : * mut xwii_iface , ev : * mut xwii_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/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:27791 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Return bitmask of opened interfaces\n\n @param[in] dev Valid device object\n\n Returns a bitmask of opened interfaces. Interfaces may be closed due to\n error-conditions at any time. However, interfaces are never opened\n automatically.\n\n You will get notified whenever this bitmask changes, except on explicit\n calls to xwii_iface_open() and xwii_iface_close(). See the\n @ref XWII_EVENT_WATCH event for more information."] pub fn xwii_iface_opened (dev : * mut xwii_iface) -> :: 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/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:28330 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Return bitmask of available interfaces\n\n @param[in] dev Valid device object\n\n Return a bitmask of available devices. These devices can be opened and are\n guaranteed to be present on the hardware at this time. If you watch your\n device for hotplug events (see xwii_iface_watch()) you will get notified\n whenever this bitmask changes. See the @ref XWII_EVENT_WATCH event for more\n information."] pub fn xwii_iface_available (dev : * mut xwii_iface) -> :: 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/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:30002 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Read incoming event-queue\n\n @param[in] dev Valid device object\n @param[out] ev Pointer where to store a new event or NULL\n @param[in] size Size of @p ev if @p ev is non-NULL\n\n You should call this whenever the file-descriptor returned by\n xwii_iface_get_fd() is reported as being readable. This function will perform\n all non-blocking outstanding tasks and then return.\n\n This function always performs any background tasks and outgoing event-writes\n if they don't block. It returns an error if they fail.\n If @p ev is NULL, this function returns 0 on success after this has been\n done.\n\n If @p ev is non-NULL, this function then tries to read a single incoming\n event. If no event is available, it returns -EAGAIN and you should watch the\n file-desciptor again until it is readable. Otherwise, you should call this\n function in a row as long as it returns 0. It stores the event in @p ev which\n you can then handle in your application.\n\n This function is the successor or xwii_iface_poll(). It takes an additional\n @p size argument to provide backwards compatibility.\n\n @returns 0 on success, -EAGAIN if no event can be read and @p ev is non-NULL\n and a negative error-code on failure"] pub fn xwii_iface_dispatch (dev : * mut xwii_iface , ev : * mut xwii_event , size : usize) -> :: 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/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:28846 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Read incoming event-queue\n\n @param[in] dev Valid device object\n @param[out] ev Pointer where to store a new event or NULL\n\n You should call this whenever the file-descriptor returned by\n xwii_iface_get_fd() is reported as being readable. This function will perform\n all non-blocking outstanding tasks and then return.\n\n This function always performs any background tasks and outgoing event-writes\n if they don't block. It returns an error if they fail.\n If @p ev is NULL, this function returns 0 on success after this has been\n done.\n\n If @p ev is non-NULL, this function then tries to read a single incoming\n event. If no event is available, it returns -EAGAIN and you should watch the\n file-desciptor again until it is readable. Otherwise, you should call this\n function in a row as long as it returns 0. It stores the event in @p ev which\n you can then handle in your application.\n\n @returns 0 on success, -EAGAIN if no event can be read and @p ev is non-NULL\n and a negative error-code on failure"] pub fn xwii_iface_poll (dev : * mut xwii_iface , ev : * mut xwii_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/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:31365 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Toggle rumble motor\n\n @param[in] dev Valid device object\n @param[in] on New rumble motor state\n\n Toggle the rumble motor. This requires the core-interface to be opened in\n writable mode.\n\n @returns 0 on success, negative error code on failure."] pub fn xwii_iface_rumble (dev : * mut xwii_iface , on : bool) -> :: 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/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:30002 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Read incoming event-queue\n\n @param[in] dev Valid device object\n @param[out] ev Pointer where to store a new event or NULL\n @param[in] size Size of @p ev if @p ev is non-NULL\n\n You should call this whenever the file-descriptor returned by\n xwii_iface_get_fd() is reported as being readable. This function will perform\n all non-blocking outstanding tasks and then return.\n\n This function always performs any background tasks and outgoing event-writes\n if they don't block. It returns an error if they fail.\n If @p ev is NULL, this function returns 0 on success after this has been\n done.\n\n If @p ev is non-NULL, this function then tries to read a single incoming\n event. If no event is available, it returns -EAGAIN and you should watch the\n file-desciptor again until it is readable. Otherwise, you should call this\n function in a row as long as it returns 0. It stores the event in @p ev which\n you can then handle in your application.\n\n This function is the successor or xwii_iface_poll(). It takes an additional\n @p size argument to provide backwards compatibility.\n\n @returns 0 on success, -EAGAIN if no event can be read and @p ev is non-NULL\n and a negative error-code on failure"] pub fn xwii_iface_dispatch (dev : * mut xwii_iface , ev : * mut xwii_event , size : usize) -> :: 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/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:31741 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Read LED state\n\n @param[in] dev Valid device object\n @param[in] led LED constant defined in enum xwii_led\n @param[out] state Pointer where state should be written to\n\n Reads the current LED state of the given LED. @p state will be either true or\n false depending on whether the LED is on or off.\n\n LEDs are a static interface that does not have to be opened first.\n\n @returns 0 on success, negative error code on failure"] pub fn xwii_iface_get_led (dev : * mut xwii_iface , led : :: std :: os :: raw :: c_uint , state : * mut bool) -> :: 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/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:31365 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Toggle rumble motor\n\n @param[in] dev Valid device object\n @param[in] on New rumble motor state\n\n Toggle the rumble motor. This requires the core-interface to be opened in\n writable mode.\n\n @returns 0 on success, negative error code on failure."] pub fn xwii_iface_rumble (dev : * mut xwii_iface , on : bool) -> :: 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/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:32345 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Set LED state\n\n @param[in] dev Valid device object\n @param[in] led LED constant defined in enum xwii_led\n @param[in] state State to set on the LED\n\n Changes the current LED state of the given LED. This has immediate effect.\n\n LEDs are a static interface that does not have to be opened first.\n\n @returns 0 on success, negative error code on failure"] pub fn xwii_iface_set_led (dev : * mut xwii_iface , led : :: std :: os :: raw :: c_uint , state : bool) -> :: 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/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:31741 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Read LED state\n\n @param[in] dev Valid device object\n @param[in] led LED constant defined in enum xwii_led\n @param[out] state Pointer where state should be written to\n\n Reads the current LED state of the given LED. @p state will be either true or\n false depending on whether the LED is on or off.\n\n LEDs are a static interface that does not have to be opened first.\n\n @returns 0 on success, negative error code on failure"] pub fn xwii_iface_get_led (dev : * mut xwii_iface , led : :: std :: os :: raw :: c_uint , state : * mut bool) -> :: 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/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:32870 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Read battery state\n\n @param[in] dev Valid device object\n @param[out] capacity Pointer where state should be written to\n\n Reads the current battery capacity and write it into @p capacity. This is\n a value between 0 and 100, which describes the current capacity in per-cent.\n\n Batteries are a static interface that does not have to be opened first.\n\n @returns 0 on success, negative error code on failure"] pub fn xwii_iface_get_battery (dev : * mut xwii_iface , capacity : * mut u8) -> :: 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/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:32345 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Set LED state\n\n @param[in] dev Valid device object\n @param[in] led LED constant defined in enum xwii_led\n @param[in] state State to set on the LED\n\n Changes the current LED state of the given LED. This has immediate effect.\n\n LEDs are a static interface that does not have to be opened first.\n\n @returns 0 on success, negative error code on failure"] pub fn xwii_iface_set_led (dev : * mut xwii_iface , led : :: std :: os :: raw :: c_uint , state : bool) -> :: 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/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:33422 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Read device type\n\n @param[in] dev Valid device object\n @param[out] devtype Pointer where the device type should be stored\n\n Reads the current device-type, allocates a string and stores a pointer to\n the string in @p devtype. You must free it via free() after you are done.\n\n This is a static interface that does not have to be opened first.\n\n @returns 0 on success, negative error code on failure"] pub fn xwii_iface_get_devtype (dev : * mut xwii_iface , devtype : * mut * mut :: std :: os :: raw :: c_char) -> :: 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/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:32870 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Read battery state\n\n @param[in] dev Valid device object\n @param[out] capacity Pointer where state should be written to\n\n Reads the current battery capacity and write it into @p capacity. This is\n a value between 0 and 100, which describes the current capacity in per-cent.\n\n Batteries are a static interface that does not have to be opened first.\n\n @returns 0 on success, negative error code on failure"] pub fn xwii_iface_get_battery (dev : * mut xwii_iface , capacity : * mut u8) -> :: 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/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:34000 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Read extension type\n\n @param[in] dev Valid device object\n @param[out] extension Pointer where the extension type should be stored\n\n Reads the current extension type, allocates a string and stores a pointer\n to the string in @p extension. You must free it via free() after you are\n done.\n\n This is a static interface that does not have to be opened first.\n\n @returns 0 on success, negative error code on failure"] pub fn xwii_iface_get_extension (dev : * mut xwii_iface , extension : * mut * mut :: std :: os :: raw :: c_char) -> :: 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/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:33422 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Read device type\n\n @param[in] dev Valid device object\n @param[out] devtype Pointer where the device type should be stored\n\n Reads the current device-type, allocates a string and stores a pointer to\n the string in @p devtype. You must free it via free() after you are done.\n\n This is a static interface that does not have to be opened first.\n\n @returns 0 on success, negative error code on failure"] pub fn xwii_iface_get_devtype (dev : * mut xwii_iface , devtype : * mut * mut :: std :: os :: raw :: c_char) -> :: 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/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:34597 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Set MP normalization and calibration\n\n @param[in] dev Valid device object\n @param[in] x x-value to use or 0\n @param[in] y y-value to use or 0\n @param[in] z z-value to use or 0\n @param[in] factor factor-value to use or 0\n\n Set MP-normalization and calibration values. The Motion-Plus sensor is very\n sensitive and may return really crappy values. This interfaces allows to\n apply 3 absolute offsets x, y and z which are subtracted from any MP data\n before it is returned to the application. That is, if you set these values\n to 0, this has no effect (which is also the initial state).\n\n The calibration factor @p factor is used to perform runtime calibration. If\n it is 0 (the initial state), no runtime calibration is performed. Otherwise,\n the factor is used to re-calibrate the zero-point of MP data depending on MP\n input. This is an angoing calibration which modifies the internal state of\n the x, y and z values."] pub fn xwii_iface_set_mp_normalization (dev : * mut xwii_iface , x : i32 , y : i32 , z : i32 , factor : i32) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:35672 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Read MP normalization and calibration\n\n @param[in] dev Valid device object\n @param[out] x Pointer where to store x-value or NULL\n @param[out] y Pointer where to store y-value or NULL\n @param[out] z Pointer where to store z-value or NULL\n @param[out] factor Pointer where to store factor-value or NULL\n\n Reads the MP normalization and calibration values. Please see\n xwii_iface_set_mp_normalization() how this is handled.\n\n Note that if the calibration factor is not 0, the normalization values may\n change depending on incoming MP data. Therefore, the data read via this\n function may differ from the values that you wrote to previously. However,\n apart from applied calibration, these value are the same as were set\n previously via xwii_iface_set_mp_normalization() and you can feed them back\n in later."] pub fn xwii_iface_get_mp_normalization (dev : * mut xwii_iface , x : * mut i32 , y : * mut i32 , z : * mut i32 , factor : * mut i32) ; } # ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:34000 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Read extension type\n\n @param[in] dev Valid device object\n @param[out] extension Pointer where the extension type should be stored\n\n Reads the current extension type, allocates a string and stores a pointer\n to the string in @p extension. You must free it via free() after you are\n done.\n\n This is a static interface that does not have to be opened first.\n\n @returns 0 on success, negative error code on failure"] pub fn xwii_iface_get_extension (dev : * mut xwii_iface , extension : * mut * mut :: std :: os :: raw :: c_char) -> :: 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/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:36984 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Create a new monitor\n\n Creates a new monitor and returns a pointer to the opaque object. NULL is\n returned on failure.\n\n @param[in] poll True if this monitor should watch for hotplug events\n @param[in] direct True if kernel uevents should be used instead of udevd\n\n A monitor always provides all devices that are available on a system. If\n @p poll is true, the monitor also sets up a system-monitor to watch the\n system for new hotplug events so new devices can be detected.\n\n A new monitor always has a ref-count of 1."] pub fn xwii_monitor_new (poll : bool , direct : bool) -> * mut xwii_monitor ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:34597 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Set MP normalization and calibration\n\n @param[in] dev Valid device object\n @param[in] x x-value to use or 0\n @param[in] y y-value to use or 0\n @param[in] z z-value to use or 0\n @param[in] factor factor-value to use or 0\n\n Set MP-normalization and calibration values. The Motion-Plus sensor is very\n sensitive and may return really crappy values. This interfaces allows to\n apply 3 absolute offsets x, y and z which are subtracted from any MP data\n before it is returned to the application. That is, if you set these values\n to 0, this has no effect (which is also the initial state).\n\n The calibration factor @p factor is used to perform runtime calibration. If\n it is 0 (the initial state), no runtime calibration is performed. Otherwise,\n the factor is used to re-calibrate the zero-point of MP data depending on MP\n input. This is an angoing calibration which modifies the internal state of\n the x, y and z values."] pub fn xwii_iface_set_mp_normalization (dev : * mut xwii_iface , x : i32 , y : i32 , z : i32 , factor : i32) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:37622 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Increase monitor ref-count by 1\n\n @param[in] mon Valid monitor object"] pub fn xwii_monitor_ref (mon : * mut xwii_monitor) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:35672 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Read MP normalization and calibration\n\n @param[in] dev Valid device object\n @param[out] x Pointer where to store x-value or NULL\n @param[out] y Pointer where to store y-value or NULL\n @param[out] z Pointer where to store z-value or NULL\n @param[out] factor Pointer where to store factor-value or NULL\n\n Reads the MP normalization and calibration values. Please see\n xwii_iface_set_mp_normalization() how this is handled.\n\n Note that if the calibration factor is not 0, the normalization values may\n change depending on incoming MP data. Therefore, the data read via this\n function may differ from the values that you wrote to previously. However,\n apart from applied calibration, these value are the same as were set\n previously via xwii_iface_set_mp_normalization() and you can feed them back\n in later."] pub fn xwii_iface_get_mp_normalization (dev : * mut xwii_iface , x : * mut i32 , y : * mut i32 , z : * mut i32 , factor : * mut i32) ; } # ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:37775 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Decrease monitor ref-count by 1\n\n @param[in] mon Valid monitor object\n\n If the ref-count drops below 1, the object is destroyed immediately."] pub fn xwii_monitor_unref (mon : * mut xwii_monitor) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:36984 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Create a new monitor\n\n Creates a new monitor and returns a pointer to the opaque object. NULL is\n returned on failure.\n\n @param[in] poll True if this monitor should watch for hotplug events\n @param[in] direct True if kernel uevents should be used instead of udevd\n\n A monitor always provides all devices that are available on a system. If\n @p poll is true, the monitor also sets up a system-monitor to watch the\n system for new hotplug events so new devices can be detected.\n\n A new monitor always has a ref-count of 1."] pub fn xwii_monitor_new (poll : bool , direct : bool) -> * mut xwii_monitor ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:38003 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Return internal fd\n\n @param[in] monitor A valid monitor object\n @param[in] blocking True to set the monitor in blocking mode\n\n Returns the file-descriptor used by this monitor. If @p blocking is true,\n the FD is set into blocking mode. If false, it is set into non-blocking mode.\n Only one file-descriptor exists, that is, this function always returns the\n same descriptor.\n\n This returns -1 if this monitor was not created with a hotplug-monitor. So\n you need this function only if you want to watch the system for hotplug\n events. Whenever this descriptor is readable, you should call\n xwii_monitor_poll() to read new incoming events."] pub fn xwii_monitor_get_fd (monitor : * mut xwii_monitor , blocking : bool) -> :: 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/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:37622 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Increase monitor ref-count by 1\n\n @param[in] mon Valid monitor object"] pub fn xwii_monitor_ref (mon : * mut xwii_monitor) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:38791 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Read incoming events\n\n @param[in] monitor A valid monitor object\n\n This returns a single device-name on each call. A device-name is actually\n an absolute sysfs path to the device's root-node. This is normally a path\n to /sys/bus/hid/devices/[dev]/. You can use this path to create a new\n struct xwii_iface object.\n\n After a monitor was created, this function returns all currently available\n devices. After all devices have been returned, this function returns NULL\n _once_. After that, this function polls the monitor for hotplug events and\n returns hotplugged devices, if the monitor was opened to watch the system for\n hotplug events.\n Use xwii_monitor_get_fd() to get notified when a new event is available. If\n the fd is in non-blocking mode, this function never blocks but returns NULL\n if no new event is available.\n\n The returned string must be freed with free() by the caller."] pub fn xwii_monitor_poll (monitor : * mut xwii_monitor) -> * mut :: std :: os :: raw :: c_char ; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:37775 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Decrease monitor ref-count by 1\n\n @param[in] mon Valid monitor object\n\n If the ref-count drops below 1, the object is destroyed immediately."] pub fn xwii_monitor_unref (mon : * mut xwii_monitor) ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:38003 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Return internal fd\n\n @param[in] monitor A valid monitor object\n @param[in] blocking True to set the monitor in blocking mode\n\n Returns the file-descriptor used by this monitor. If @p blocking is true,\n the FD is set into blocking mode. If false, it is set into non-blocking mode.\n Only one file-descriptor exists, that is, this function always returns the\n same descriptor.\n\n This returns -1 if this monitor was not created with a hotplug-monitor. So\n you need this function only if you want to watch the system for hotplug\n events. Whenever this descriptor is readable, you should call\n xwii_monitor_poll() to read new incoming events."] pub fn xwii_monitor_get_fd (monitor : * mut xwii_monitor , blocking : bool) -> :: 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/xwiimote-sys-71fd7d134d436c47/out/bindings.rs:3:38791 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " Read incoming events\n\n @param[in] monitor A valid monitor object\n\n This returns a single device-name on each call. A device-name is actually\n an absolute sysfs path to the device's root-node. This is normally a path\n to /sys/bus/hid/devices/[dev]/. You can use this path to create a new\n struct xwii_iface object.\n\n After a monitor was created, this function returns all currently available\n devices. After all devices have been returned, this function returns NULL\n _once_. After that, this function polls the monitor for hotplug events and\n returns hotplugged devices, if the monitor was opened to watch the system for\n hotplug events.\n Use xwii_monitor_get_fd() to get notified when a new event is available. If\n the fd is in non-blocking mode, this function never blocks but returns NULL\n if no new event is available.\n\n The returned string must be freed with free() by the caller."] pub fn xwii_monitor_poll (monitor : * mut xwii_monitor) -> * mut :: std :: os :: raw :: c_char ; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: xwiimote-sys@0.1.6: vendor/lib/core.c: In function 'xwii_iface_read_nodes': [INFO] [stderr] warning: xwiimote-sys@0.1.6: vendor/lib/core.c:289:31: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] [INFO] [stderr] warning: xwiimote-sys@0.1.6: 289 | ret = asprintf(&dev->led_attrs[i], "%s/%s", [INFO] [stderr] warning: xwiimote-sys@0.1.6: | ^~~~~~~~ [INFO] [stderr] warning: xwiimote-sys@0.1.6: | vsprintf [INFO] [stderr] warning: xwiimote-sys@0.1.6: vendor/lib/core.c: In function 'xwii_iface_poll': [INFO] [stderr] warning: xwiimote-sys@0.1.6: vendor/lib/core.c:1728:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: xwiimote-sys@0.1.6: 1728 | if (ret > siz) [INFO] [stderr] warning: xwiimote-sys@0.1.6: | ^ [INFO] [stderr] warning: xwiimote-sys@0.1.6: vendor/lib/core.c: In function 'xwii_iface_dispatch': [INFO] [stderr] warning: xwiimote-sys@0.1.6: vendor/lib/core.c:1763:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: xwiimote-sys@0.1.6: 1763 | if (ret > siz) [INFO] [stderr] warning: xwiimote-sys@0.1.6: | ^ [INFO] [stderr] [INFO] [stderr] error: could not compile `xwiimote-sys` (lib) due to 27 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 26 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: xwiimote-sys@0.1.6: vendor/lib/core.c: In function 'xwii_iface_read_nodes': [INFO] [stderr] warning: xwiimote-sys@0.1.6: vendor/lib/core.c:289:31: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] [INFO] [stderr] warning: xwiimote-sys@0.1.6: 289 | ret = asprintf(&dev->led_attrs[i], "%s/%s", [INFO] [stderr] warning: xwiimote-sys@0.1.6: | ^~~~~~~~ [INFO] [stderr] warning: xwiimote-sys@0.1.6: | vsprintf [INFO] [stderr] warning: xwiimote-sys@0.1.6: vendor/lib/core.c: In function 'xwii_iface_poll': [INFO] [stderr] warning: xwiimote-sys@0.1.6: vendor/lib/core.c:1728:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: xwiimote-sys@0.1.6: 1728 | if (ret > siz) [INFO] [stderr] warning: xwiimote-sys@0.1.6: | ^ [INFO] [stderr] warning: xwiimote-sys@0.1.6: vendor/lib/core.c: In function 'xwii_iface_dispatch': [INFO] [stderr] warning: xwiimote-sys@0.1.6: vendor/lib/core.c:1763:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: xwiimote-sys@0.1.6: 1763 | if (ret > siz) [INFO] [stderr] warning: xwiimote-sys@0.1.6: | ^ [INFO] [stderr] [INFO] [stderr] error: could not compile `xwiimote-sys` (lib test) due to 27 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" "3abf24e38f82450d7a3f4929d60f75fffeb868609a534fa1dfb754a5504d9926", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3abf24e38f82450d7a3f4929d60f75fffeb868609a534fa1dfb754a5504d9926", kill_on_drop: false }` [INFO] [stdout] 3abf24e38f82450d7a3f4929d60f75fffeb868609a534fa1dfb754a5504d9926