[INFO] fetching crate cameraunit_fli 0.0.7... [INFO] checking cameraunit_fli-0.0.7 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate cameraunit_fli 0.0.7 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate cameraunit_fli 0.0.7 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 cameraunit_fli 0.0.7 [INFO] finished tweaking crates.io crate cameraunit_fli 0.0.7 [INFO] tweaked toml for crates.io crate cameraunit_fli 0.0.7 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate cameraunit_fli 0.0.7 already has a lockfile, it will not be regenerated [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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] ebe7cea29af7792417773a689e002cfe5c02edb82376870c022de2c0621199ef [INFO] running `Command { std: "docker" "start" "-a" "ebe7cea29af7792417773a689e002cfe5c02edb82376870c022de2c0621199ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebe7cea29af7792417773a689e002cfe5c02edb82376870c022de2c0621199ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebe7cea29af7792417773a689e002cfe5c02edb82376870c022de2c0621199ef", kill_on_drop: false }` [INFO] [stdout] ebe7cea29af7792417773a689e002cfe5c02edb82376870c022de2c0621199ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 64b9af956497ee8e7774c6fa913a54c3caeffe7e9ecd393d577c6cd31071c2a6 [INFO] running `Command { std: "docker" "start" "-a" "64b9af956497ee8e7774c6fa913a54c3caeffe7e9ecd393d577c6cd31071c2a6", 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.79 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling anyhow v1.0.83 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling prettyplease v0.2.17 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling built v0.7.2 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking half v2.4.0 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Compiling jobserver v0.1.28 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Checking bitstream-io v2.3.0 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking imgref v1.10.1 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Compiling serialimage v4.0.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking exr v1.72.0 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking avif-serialize v0.8.1 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling autotools v0.2.6 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking num-bigint v0.4.5 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking zune-jpeg v0.4.11 [INFO] [stderr] Checking chrono v0.4.37 [INFO] [stderr] Checking configparser v3.0.4 [INFO] [stderr] Compiling fitsio-sys v0.5.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Checking fitsio v0.21.2 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Checking ctrlc v3.4.4 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Checking image-webp v0.1.2 [INFO] [stderr] Compiling cameraunit_fli v0.0.7 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking ravif v0.11.5 [INFO] [stderr] Checking image v0.25.1 [INFO] [stderr] warning: cameraunit_fli@0.0.7: Compiler version doesn't include clang or GCC: "cc" "--version" [INFO] [stderr] warning: cameraunit_fli@0.0.7: In file included from /usr/include/string.h:535, [INFO] [stderr] warning: cameraunit_fli@0.0.7: from clib/libfli-camera-usb.c:55: [INFO] [stderr] warning: cameraunit_fli@0.0.7: In function 'strncpy', [INFO] [stderr] warning: cameraunit_fli@0.0.7: inlined from 'fli_camera_usb_open' at clib/libfli-camera-usb.c:200:4: [INFO] [stderr] warning: cameraunit_fli@0.0.7: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' output may be truncated copying 30 bytes from a string of length 63 [-Wstringop-truncation] [INFO] [stderr] warning: cameraunit_fli@0.0.7: 95 | return __builtin___strncpy_chk (__dest, __src, __len, [INFO] [stderr] warning: cameraunit_fli@0.0.7: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: cameraunit_fli@0.0.7: 96 | __glibc_objsize (__dest)); [INFO] [stderr] warning: cameraunit_fli@0.0.7: | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: cameraunit_fli@0.0.7: In function 'strncpy', [INFO] [stderr] warning: cameraunit_fli@0.0.7: inlined from 'fli_camera_usb_open' at clib/libfli-camera-usb.c:201:4: [INFO] [stderr] warning: cameraunit_fli@0.0.7: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' output may be truncated copying 30 bytes from a string of length 63 [-Wstringop-truncation] [INFO] [stderr] warning: cameraunit_fli@0.0.7: 95 | return __builtin___strncpy_chk (__dest, __src, __len, [INFO] [stderr] warning: cameraunit_fli@0.0.7: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: cameraunit_fli@0.0.7: 96 | __glibc_objsize (__dest)); [INFO] [stderr] warning: cameraunit_fli@0.0.7: | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: cameraunit_fli@0.0.7: In function 'strncpy', [INFO] [stderr] warning: cameraunit_fli@0.0.7: inlined from 'fli_camera_usb_get_camera_mode_string' at clib/libfli-camera-usb.c:2735:5: [INFO] [stderr] warning: cameraunit_fli@0.0.7: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' output may be truncated copying between 0 and 31 bytes from a string of length 63 [-Wstringop-truncation] [INFO] [stderr] warning: cameraunit_fli@0.0.7: 95 | return __builtin___strncpy_chk (__dest, __src, __len, [INFO] [stderr] warning: cameraunit_fli@0.0.7: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: cameraunit_fli@0.0.7: 96 | __glibc_objsize (__dest)); [INFO] [stderr] warning: cameraunit_fli@0.0.7: | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] Checking cameraunit v5.1.0 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `cameraunit_fli` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/flihandle.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/flihandle.rs:16:20 [INFO] [stderr] | [INFO] [stderr] 16 | ($func:ident($($arg:expr_2021),*)) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:15999 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { pub fn select (__nfds : :: std :: os :: raw :: c_int , __readfds : * mut fd_set , __writefds : * mut fd_set , __exceptfds : * mut fd_set , __timeout : * mut timeval) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: `--force-warn missing-unsafe-on-extern` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:16214 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn pselect (__nfds : :: std :: os :: raw :: c_int , __readfds : * mut fd_set , __writefds : * mut fd_set , __exceptfds : * mut fd_set , __timeout : * const timespec , __sigmask : * const __sigset_t) -> :: std :: os :: raw :: c_int ; } pu... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:43480 [INFO] [stdout] | [INFO] [stdout] 3 | ...ng ; extern "C" { pub fn FLIDebug (level : :: std :: os :: raw :: c_int , format : * mut :: std :: os :: raw :: c_char , ...) ; } exte... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:43605 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get a handle to an FLI device. This function requires the filename and domain of the requested device. Valid device filenames can be obtained using the `FLIList()` function. An application may use any number of handles associated with the same physical device. When doing so, it is important to lock the appropriate device to ensure that multiple accesses to the same device do not occur during critical operations.\n\n @param dev Pointer to where a handle to the device will be stored.\n @param name Pointer to a string where the device filename to be opened is stored.\n For parallel port devices that are not probed by `FLIList()` (Win 9x), place the address of the parallel port in a string in ASCII form, e.g. \"0x378\".\n @param domain Domain to apply to `name` for device opening. This is a bitwise OR of the interface method and device type. Valid interfaces are `FLIDOMAIN_PARALLEL_PORT`, `FLIDOMAIN_USB`, `FLIDOMAIN_SERIAL`, and `FLIDOMAIN_INET`. Valid device types are `FLIDEVICE_CAMERA`, `FLIDOMAIN_FILTERWHEEL`, and `FLIDOMAIN_FOCUSER`.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIOpen (dev : * mut flidev_t , name : * mut :: std :: os :: raw :: c_char , domain : flidomain_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:44900 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Enable debugging of API operations and communications. Use this function in\n combination with FLIDebug to assist in diagnosing problems that may be encountered\n during programming.\n\n When usings Microsoft Windows operating systems, creating an empty file\n `C:\\\\FLIDBG.TXT` will override this option. All debug output will then\n be directed to this file.\n\n @param host Name of the file to send debug output to. This parameter is ignored on Linux where `syslog(3)` is used to send debug output to the system log (see `syslog.conf(5)` to confugure `syslogd`).\n @param level Debug level. This parameter is a bitwise OR of the following values:\n - `FLIDEBUG_NONE` - No debug output.\n - `FLIDEBUG_INFO` - Informational messages.\n - `FLIDEBUG_WARN` - Warning messages.\n - `FLIDEBUG_FAIL` - Error messages.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLISetDebugLevel (host : * mut :: std :: os :: raw :: c_char , level : flidebug_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:45943 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Close a handle to an FLI device. This function releases the handle to the device and frees any resources associated with it.\n\n @param dev Handle to the device to close.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIClose (dev : flidev_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:46286 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the current library version. This function copies up to `len - 1` characters of the library version string to the buffer pointed to by `ver`. The string is null-terminated.\n\n @param ver Pointer to a character buffer where the library version string will be stored.\n @param len The size of the buffer in bytes.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetLibVersion (ver : * mut :: std :: os :: raw :: c_char , len : usize) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:46824 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the model of a given device. This function copies up to `len - 1` characters of the device model string to the buffer pointed to by `model`. The string is null-terminated.\n\n @param dev Device handle.\n @param model Pointer to a character buffer where the device model string will be stored.\n @param len The size of the buffer in bytes.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetModel (dev : flidev_t , model : * mut :: std :: os :: raw :: c_char , len : usize) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:47402 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Find the dimensions of a pixel in the device's CCD array. This function returns the dimensions of a pixel in the device's CCD array in microns. The values are stored in the variables pointed to by `pixel_x` and `pixel_y`.\n\n @param dev Camera handle.\n @param pixel_x Pointer to a double where the pixel width will be stored.\n @param pixel_y Pointer to a double where the pixel height will be stored.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetPixelSize (dev : flidev_t , pixel_x : * mut f64 , pixel_y : * mut f64) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:48028 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the hardware revision of a given device. This function returns the hardware revision of the device in the variable pointed to by `hwrev`.\n\n @param dev Device handle.\n @param hwrev Pointer to a long where the hardware revision will be stored.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetHWRevision (dev : flidev_t , hwrev : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:48503 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the firmware revision of a given device. This function returns the firmware revision of the device in the variable pointed to by `fwrev`.\n\n @param dev Device handle.\n @param fwrev Pointer to a long where the firmware revision will be stored.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetFWRevision (dev : flidev_t , fwrev : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:48978 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the array area of a given device. This function returns the array area of the device in the variables pointed to by `ul_x`, `ul_y`, `lr_x`, and `lr_y`.\n\n @param dev Camera handle.\n @param ul_x Upper-left x-coordinate.\n @param ul_y Upper-left y-coordinate.\n @param lr_x Lower-right x-coordinate.\n @param lr_y Lower-right y-coordinate.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetArrayArea (dev : flidev_t , ul_x : * mut :: std :: os :: raw :: c_long , ul_y : * mut :: std :: os :: raw :: c_long , lr_x : * mut :: std :: os :: raw :: c_long , lr_y : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:49681 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the visible area of a given device. This function returns the visible area of the device in the variables pointed to by `ul_x`, `ul_y`, `lr_x`, and `lr_y`.\n\n @param dev Camera handle.\n @param ul_x Upper-left x-coordinate.\n @param ul_y Upper-left y-coordinate.\n @param lr_x Lower-right x-coordinate.\n @param lr_y Lower-right y-coordinate.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetVisibleArea (dev : flidev_t , ul_x : * mut :: std :: os :: raw :: c_long , ul_y : * mut :: std :: os :: raw :: c_long , lr_x : * mut :: std :: os :: raw :: c_long , lr_y : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:50390 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Set the exposure time for a given device. This function sets the exposure time for the device to `exptime` milliseconds.\n\n @param dev Camera handle.\n @param exptime Exposure time in milliseconds.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLISetExposureTime (dev : flidev_t , exptime : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:50813 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Set the region of interest for a given device. This function sets the region of interest for the device to the rectangle defined by the upper-left corner `(ul_x, ul_y)` and the lower-right corner `(lr_x, lr_y)`.\n\n @param dev Camera handle.\n @param ul_x Upper-left x-coordinate (unbinned coordinates).\n @param ul_y Upper-left y-coordinate (unbinned coordinates).\n @param lr_x Lower-right x-coordinate (binned coordinates).\n @param lr_y Lower-right y-coordinate (binned coordinates).\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLISetImageArea (dev : flidev_t , ul_x : :: std :: os :: raw :: c_long , ul_y : :: std :: os :: raw :: c_long , lr_x : :: std :: os :: raw :: c_long , lr_y : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:51636 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Set the horizontal binning for a given device. This function sets the horizontal binning for the device to `hbin`.\n\n @param dev Camera handle.\n @param hbin Horizontal bin value. Valid values are between 1 and 16.\n @return LIBFLIAPI"] pub fn FLISetHBin (dev : flidev_t , hbin : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:52016 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Set the vertical binning for a given device. This function sets the vertical binning for the device to `vbin`.\n\n @param dev Camera handle.\n @param vbin Vertical bin value. Valid values are between 1 and 16.\n @return LIBFLIAPI"] pub fn FLISetVBin (dev : flidev_t , vbin : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:52390 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Set the frame type for a given device. This function sets the frame type for the device to `frametype`.\n\n @param dev Camera handle.\n @param frametype Frame type. Valid values are `FLI_FRAME_TYPE_NORMAL` (shutter open) and `FLI_FRAME_TYPE_DARK` (shutter closed).\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLISetFrameType (dev : flidev_t , frametype : fliframe_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:52859 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Cancel an ongoing exposure.\n\n @param dev Camera handle.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLICancelExposure (dev : flidev_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:53098 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the remaining exposure time in milliseconds.\n\n @param dev Camera handle.\n @param timeleft Pointer to a long where the remaining exposure time will be stored.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetExposureStatus (dev : flidev_t , timeleft : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:53496 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Set the temperature of a given device.\n\n @param dev Camera handle.\n @param temperature Temperture set point in degrees Celsius. Valid values are between -55 and 45.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLISetTemperature (dev : flidev_t , temperature : f64) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:53865 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the current temperature of a given device.\n\n @param dev Camerea handle.\n @param temperature Temperature of the camera cold finger in degrees Celsius.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetTemperature (dev : flidev_t , temperature : * mut f64) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:54229 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the current power of the cooler in milliwatts.\n\n @param dev Device handle.\n @param power Power of the cooler in milliwatts.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetCoolerPower (dev : flidev_t , power : * mut f64) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:54561 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Grab a row of an image. This function grabs the next available row of the image from the\n camera device `dev`. The row of width `width` is stored in the buffer pointed to by `buff`.\n The size of the buffer pointed to by `buff` must take into account the bit depth of the image,\n meaning the buffer must be at least `width` bytes long for 8-bit images and `2 * width` bytes for\n 16-bit images.\n\n @param dev Camera handle.\n @param buff Pointer to where the next row of the image will be stored.\n @param width Row width in pixels.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGrabRow (dev : flidev_t , buff : * mut :: std :: os :: raw :: c_void , width : usize) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:55332 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Expose a frame for a given camera. This function exposes a frame according to\n the settings (image area, exposure time, bit depth etc.) of the camera `dev`. The settings\n of `dev` must be valid for the camera device. They are set by calling the appropriate `set`\n library functions.\n Note: This function returns after the exposure has started.\n\n @param dev Camera handle.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIExposeFrame (dev : flidev_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:55888 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Flush a number of rows for a given camera. This function flushes `rows` rows of the image\n from the camera device `dev`. The rows are flushed `repeat` times.\n\n @param dev Camera handle.\n @param rows Number of rows to flush.\n @param repeat Number of times to repeat the flush.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIFlushRow (dev : flidev_t , rows : :: std :: os :: raw :: c_long , repeat : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:56424 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Set the number of flushes for a given camera. This function sets the number of flushes\n for the camera device `dev` to `nflushes`.\n\n @param dev Camera handle.\n @param nflushes Number of flushes.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLISetNFlushes (dev : flidev_t , nflushes : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:56844 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Set the bit depth for a given camera. This function sets the bit depth for the camera\n device `dev` to `bitdepth`.\n\n @param dev Camera handle.\n @param bitdepth Bit depth. Valid values are `FLI_MODE_8BIT` and `FLI_MODE_16BIT`.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLISetBitDepth (dev : flidev_t , bitdepth : flibitdepth_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:57279 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIReadIOPort (dev : flidev_t , ioportset : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:57417 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIWriteIOPort (dev : flidev_t , ioportset : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:57550 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIConfigureIOPort (dev : flidev_t , ioportset : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:57687 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Acquire an exclusive lock (`mutex`) on the device `dev`. This function\n prevents other threads or processes from accessing the device while the lock is held.\n\n @param dev Device handle.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLILockDevice (dev : flidev_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:58053 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Release the lock (`mutex`) on the device `dev`. This function allows other threads\n or processes to access the device.\n\n @param dev Device handle.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIUnlockDevice (dev : flidev_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:58382 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Control the shutter on a camera.\n\n @param dev Camera handle.\n @param shutter How to control the shutter. Valid values are\n - `FLI_SHUTTER_CLOSE`: Close the shutter,\n - `FLI_SHUTTER_OPEN`: Open the shutter,\n - `FLI_SHUTTER_EXTERNAL_TRIGGER`: Exposure starts on logic low on `I/O[0]`,\n - `FLI_SHUTTER_EXTERNAL_TRIGGER_LOW`: Same as `FLI_SHUTTER_EXTERNAL_TRIGGER`,\n - `FLI_SHUTTER_EXTERNAL_TRIGGER_HIGH`: Exposure starts on logic high on `I/O[0]`. May not be available on all cameras.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIControlShutter (dev : flidev_t , shutter : flishutter_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:59093 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Enables background flushing of the CCD array. This function\n enables or disables background flushing of the CCD array. The background\n flushing is stopped whenever `FLIExposeFrame()`/`FLIControlShutter()` is called.\n Note: This function is only available on some cameras.\n\n @param dev Camera handle.\n @param bgflush Enable or disable background flushing. Valid values are\n - `FLI_BGFLUSH_STOP`: Disable background flushing,\n - `FLI_BGFLUSH_START`: Enable background flushing.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIControlBackgroundFlush (dev : flidev_t , bgflush : flibgflush_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:59795 [INFO] [stdout] | [INFO] [stdout] 3 | ...; } extern "C" { pub fn FLISetDAC (dev : flidev_t , dacset : :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_long ; } exte... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:59921 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief List all available devices in the given domain.\n This function returns a NULL-terminated list of all\n available devices in the given domain. The list is\n stored in the variable pointed to by `names`.\n\n @param domain Domain to list devices for. Valid domains are\n - `FLIDOMAIN_PARALLEL_PORT`,\n - `FLIDOMAIN_USB`,\n - `FLIDOMAIN_SERIAL`, and\n - `FLIDOMAIN_INET`.\n Valid device types are\n - `FLIDEVICE_CAMERA`,\n - `FLIDOMAIN_FILTERWHEEL`, and\n - `FLIDOMAIN_FOCUSER`.\n @param names Pointer to where the list of device names will be stored.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIList (domain : flidomain_t , names : * mut * mut * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:60712 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Free a list of device names. This function frees the memory\n allocated for the list of device names.\n\n @param names Pointer to the list of device names.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIFreeList (names : * mut * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:61078 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIGetFilterName (dev : flidev_t , filter : :: std :: os :: raw :: c_long , name : * mut :: std :: os :: raw :: c_char , len : usize) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:61269 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLISetActiveWheel (dev : flidev_t , wheel : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:61401 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIGetActiveWheel (dev : flidev_t , wheel : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:61539 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLISetFilterPos (dev : flidev_t , filter : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:61670 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIGetFilterPos (dev : flidev_t , filter : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:61807 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIGetFilterCount (dev : flidev_t , filter : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:61946 [INFO] [stdout] | [INFO] [stdout] 3 | ...; } extern "C" { pub fn FLIStepMotor (dev : flidev_t , steps : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ext... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:62073 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIStepMotorAsync (dev : flidev_t , steps : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:62205 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIGetStepperPosition (dev : flidev_t , position : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:62350 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIGetStepsRemaining (dev : flidev_t , steps : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:62491 [INFO] [stdout] | [INFO] [stdout] 3 | ...s :: raw :: c_long ; } extern "C" { pub fn FLIHomeFocuser (dev : flidev_t) -> :: std :: os :: raw :: c_long ; } extern "C" { # [doc = ... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:62580 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Create a list of devices in the given domain.\n Use `FLIListFirst()` and `FLIListNext()` to iterate over the list.\n Use `FLIDeleteList()` to free the list.\n\n @param domain Domain to search for devices. Valid domains are\n - `FLIDOMAIN_PARALLEL_PORT`,\n - `FLIDOMAIN_USB`,\n - `FLIDOMAIN_SERIAL`, and\n - `FLIDOMAIN_INET`.\n Supply `0` to search all domains.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLICreateList (domain : flidomain_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:63124 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Delete a list of devices.\n\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIDeleteList () -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:63315 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the first device in the list.\n\n @param domain Pointer to the domain of the first device.\n @param filename Pointer to a character buffer where the filename of the first device will be stored.\n @param fnlen Size of the buffer pointed to by `filename`.\n @param name Pointer to a character buffer where the name of the first device will be stored.\n @param namelen Size of the buffer pointed to by `name`.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIListFirst (domain : * mut flidomain_t , filename : * mut :: std :: os :: raw :: c_char , fnlen : usize , name : * mut :: std :: os :: raw :: c_char , namelen : usize) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:64042 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the next device in the list.\n\n @param domain Pointer to the domain of the next device.\n @param filename Pointer to a character buffer where the filename of the next device will be stored.\n @param fnlen Size of the buffer pointed to by `filename`.\n @param name Pointer to a character buffer where the name of the next device will be stored.\n @param namelen Size of the buffer pointed to by `name`.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIListNext (domain : * mut flidomain_t , filename : * mut :: std :: os :: raw :: c_char , fnlen : usize , name : * mut :: std :: os :: raw :: c_char , namelen : usize) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:64764 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Retrieve temperature from a focuser device.\n\n @param dev Focuser handle.\n @param channel Temperature source. Valid values are\n - `FLI_TEMPERATURE_INTERNAL`: Internal temperature sensor,\n - `FLI_TEMPERATURE_EXTERNAL`: External temperature sensor.\n @param temperature Temperature in degrees Celsius.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIReadTemperature (dev : flidev_t , channel : flichannel_t , temperature : * mut f64) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:65301 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIGetFocuserExtent (dev : flidev_t , extent : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:65442 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIUsbBulkIO (dev : flidev_t , ep : :: std :: os :: raw :: c_int , buf : * mut :: std :: os :: raw :: c_void , len : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:65653 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIGetDeviceStatus (dev : flidev_t , status : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:65793 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIGetCameraModeString (dev : flidev_t , mode_index : flimode_t , mode_string : * mut :: std :: os :: raw :: c_char , siz : usize) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:65981 [INFO] [stdout] | [INFO] [stdout] 3 | ...g ; } extern "C" { pub fn FLIGetCameraMode (dev : flidev_t , mode_index : * mut flimode_t) -> :: std :: os :: raw :: c_long ; } extern... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:66103 [INFO] [stdout] | [INFO] [stdout] 3 | ...long ; } extern "C" { pub fn FLISetCameraMode (dev : flidev_t , mode_index : flimode_t) -> :: std :: os :: raw :: c_long ; } extern "C... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:66219 [INFO] [stdout] | [INFO] [stdout] 3 | ...s :: raw :: c_long ; } extern "C" { pub fn FLIHomeDevice (dev : flidev_t) -> :: std :: os :: raw :: c_long ; } extern "C" { # [doc = "... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:66307 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief NOT IMPLEMENTED.\n\n @param dev\n @param buff\n @param buffsize\n @param bytesgrabbed\n @return LIBFLIAPI"] pub fn FLIGrabFrame (dev : flidev_t , buff : * mut :: std :: os :: raw :: c_void , buffsize : usize , bytesgrabbed : * mut usize) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:66613 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLISetTDI (dev : flidev_t , tdi_rate : flitdirate_t , flags : flitdiflags_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:66747 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Grab a video frame from a camera device. This function grabs a video frame from the camera device `dev` and stores it in the buffer pointed to by `buff`. The size of the buffer pointed to by `buff` must be at least `size` bytes long.\n\n @param dev Camera handle.\n @param buff Buffer where the video frame will be stored.\n @param size Size of the buffer in bytes.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGrabVideoFrame (dev : flidev_t , buff : * mut :: std :: os :: raw :: c_void , size : usize) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:67354 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Stop video mode for a camera device. This function stops video mode for the camera device `dev`.\n\n @param dev Camera handle.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIStopVideoMode (dev : flidev_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:67661 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Start video mode for a camera device. This function starts video mode for the camera device `dev`.\n\n @param dev Camera handle.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIStartVideoMode (dev : flidev_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:67971 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the serial number of a device. This function copies up to `len - 1` characters of the serial number of the device to the buffer pointed to by `serial`. The string is null-terminated.\n\n @param dev Device handle.\n @param serial Pointer to a character buffer where the serial number will be stored.\n @param len Size of the buffer in bytes.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetSerialString (dev : flidev_t , serial : * mut :: std :: os :: raw :: c_char , len : usize) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:68559 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief End an exposure for a given camera. This function causes the\n exposure to end and image download begins immediately.\n\n @param dev Camera handle.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIEndExposure (dev : flidev_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:68885 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Trigger an exposure for a given camera. This function triggers\n an exposure for the camera device `dev` waiting for an external\n trigger signal.\n\n @param dev Camera handle.\n @return LIBFLIAPI"] pub fn FLITriggerExposure (dev : flidev_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:69195 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the current fan speed of a given device.\n\n @param dev Device handle.\n @param fan_speed Fan speed in RPM.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLISetFanSpeed (dev : flidev_t , fan_speed : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:69529 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLISetVerticalTableEntry (dev : flidev_t , index : :: std :: os :: raw :: c_long , height : :: std :: os :: raw :: c_long , bin : :: std :: os :: raw :: c_long , mode : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:69786 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIGetVerticalTableEntry (dev : flidev_t , index : :: std :: os :: raw :: c_long , height : * mut :: std :: os :: raw :: c_long , bin : * mut :: std :: os :: raw :: c_long , mode : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:70061 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the readout dimensions of a given device. This function returns the readout dimensions of the device in the variables pointed to by `width`, `hoffset`, `hbin`, `height`, `voffset`, and `vbin`.\n\n @param dev Camera handle.\n @param width Width of the readout area.\n @param hoffset Horizontal offset of the readout area.\n @param hbin Horizontal binning of the readout area.\n @param height Height of the readout area.\n @param voffset Vertical offset of the readout area.\n @param vbin Vertical binning of the readout area.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetReadoutDimensions (dev : flidev_t , width : * mut :: std :: os :: raw :: c_long , hoffset : * mut :: std :: os :: raw :: c_long , hbin : * mut :: std :: os :: raw :: c_long , height : * mut :: std :: os :: raw :: c_long , voffset : * mut :: std :: os :: raw :: c_long , vbin : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:71056 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIEnableVerticalTable (dev : flidev_t , width : :: std :: os :: raw :: c_long , offset : :: std :: os :: raw :: c_long , flags : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:71274 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIReadUserEEPROM (dev : flidev_t , loc : :: std :: os :: raw :: c_long , address : :: std :: os :: raw :: c_long , length : :: std :: os :: raw :: c_long , rbuf : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:71532 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIWriteUserEEPROM (dev : flidev_t , loc : :: std :: os :: raw :: c_long , address : :: std :: os :: raw :: c_long , length : :: std :: os :: raw :: c_long , wbuf : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_long ; } [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/flihandle.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | ($func:ident($($arg:expr),*)) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 16 | ($func:ident($($arg:expr_2021),*)) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 77 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `cameraunit_fli` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/flihandle.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/flihandle.rs:16:20 [INFO] [stderr] | [INFO] [stderr] 16 | ($func:ident($($arg:expr_2021),*)) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:15999 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { pub fn select (__nfds : :: std :: os :: raw :: c_int , __readfds : * mut fd_set , __writefds : * mut fd_set , __exceptfds : * mut fd_set , __timeout : * mut timeval) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: `--force-warn missing-unsafe-on-extern` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:16214 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn pselect (__nfds : :: std :: os :: raw :: c_int , __readfds : * mut fd_set , __writefds : * mut fd_set , __exceptfds : * mut fd_set , __timeout : * const timespec , __sigmask : * const __sigset_t) -> :: std :: os :: raw :: c_int ; } pu... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:43480 [INFO] [stdout] | [INFO] [stdout] 3 | ...ng ; extern "C" { pub fn FLIDebug (level : :: std :: os :: raw :: c_int , format : * mut :: std :: os :: raw :: c_char , ...) ; } exte... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:43605 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get a handle to an FLI device. This function requires the filename and domain of the requested device. Valid device filenames can be obtained using the `FLIList()` function. An application may use any number of handles associated with the same physical device. When doing so, it is important to lock the appropriate device to ensure that multiple accesses to the same device do not occur during critical operations.\n\n @param dev Pointer to where a handle to the device will be stored.\n @param name Pointer to a string where the device filename to be opened is stored.\n For parallel port devices that are not probed by `FLIList()` (Win 9x), place the address of the parallel port in a string in ASCII form, e.g. \"0x378\".\n @param domain Domain to apply to `name` for device opening. This is a bitwise OR of the interface method and device type. Valid interfaces are `FLIDOMAIN_PARALLEL_PORT`, `FLIDOMAIN_USB`, `FLIDOMAIN_SERIAL`, and `FLIDOMAIN_INET`. Valid device types are `FLIDEVICE_CAMERA`, `FLIDOMAIN_FILTERWHEEL`, and `FLIDOMAIN_FOCUSER`.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIOpen (dev : * mut flidev_t , name : * mut :: std :: os :: raw :: c_char , domain : flidomain_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:44900 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Enable debugging of API operations and communications. Use this function in\n combination with FLIDebug to assist in diagnosing problems that may be encountered\n during programming.\n\n When usings Microsoft Windows operating systems, creating an empty file\n `C:\\\\FLIDBG.TXT` will override this option. All debug output will then\n be directed to this file.\n\n @param host Name of the file to send debug output to. This parameter is ignored on Linux where `syslog(3)` is used to send debug output to the system log (see `syslog.conf(5)` to confugure `syslogd`).\n @param level Debug level. This parameter is a bitwise OR of the following values:\n - `FLIDEBUG_NONE` - No debug output.\n - `FLIDEBUG_INFO` - Informational messages.\n - `FLIDEBUG_WARN` - Warning messages.\n - `FLIDEBUG_FAIL` - Error messages.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLISetDebugLevel (host : * mut :: std :: os :: raw :: c_char , level : flidebug_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:45943 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Close a handle to an FLI device. This function releases the handle to the device and frees any resources associated with it.\n\n @param dev Handle to the device to close.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIClose (dev : flidev_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:46286 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the current library version. This function copies up to `len - 1` characters of the library version string to the buffer pointed to by `ver`. The string is null-terminated.\n\n @param ver Pointer to a character buffer where the library version string will be stored.\n @param len The size of the buffer in bytes.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetLibVersion (ver : * mut :: std :: os :: raw :: c_char , len : usize) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:46824 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the model of a given device. This function copies up to `len - 1` characters of the device model string to the buffer pointed to by `model`. The string is null-terminated.\n\n @param dev Device handle.\n @param model Pointer to a character buffer where the device model string will be stored.\n @param len The size of the buffer in bytes.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetModel (dev : flidev_t , model : * mut :: std :: os :: raw :: c_char , len : usize) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:47402 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Find the dimensions of a pixel in the device's CCD array. This function returns the dimensions of a pixel in the device's CCD array in microns. The values are stored in the variables pointed to by `pixel_x` and `pixel_y`.\n\n @param dev Camera handle.\n @param pixel_x Pointer to a double where the pixel width will be stored.\n @param pixel_y Pointer to a double where the pixel height will be stored.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetPixelSize (dev : flidev_t , pixel_x : * mut f64 , pixel_y : * mut f64) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:48028 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the hardware revision of a given device. This function returns the hardware revision of the device in the variable pointed to by `hwrev`.\n\n @param dev Device handle.\n @param hwrev Pointer to a long where the hardware revision will be stored.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetHWRevision (dev : flidev_t , hwrev : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:48503 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the firmware revision of a given device. This function returns the firmware revision of the device in the variable pointed to by `fwrev`.\n\n @param dev Device handle.\n @param fwrev Pointer to a long where the firmware revision will be stored.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetFWRevision (dev : flidev_t , fwrev : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:48978 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the array area of a given device. This function returns the array area of the device in the variables pointed to by `ul_x`, `ul_y`, `lr_x`, and `lr_y`.\n\n @param dev Camera handle.\n @param ul_x Upper-left x-coordinate.\n @param ul_y Upper-left y-coordinate.\n @param lr_x Lower-right x-coordinate.\n @param lr_y Lower-right y-coordinate.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetArrayArea (dev : flidev_t , ul_x : * mut :: std :: os :: raw :: c_long , ul_y : * mut :: std :: os :: raw :: c_long , lr_x : * mut :: std :: os :: raw :: c_long , lr_y : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:49681 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the visible area of a given device. This function returns the visible area of the device in the variables pointed to by `ul_x`, `ul_y`, `lr_x`, and `lr_y`.\n\n @param dev Camera handle.\n @param ul_x Upper-left x-coordinate.\n @param ul_y Upper-left y-coordinate.\n @param lr_x Lower-right x-coordinate.\n @param lr_y Lower-right y-coordinate.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetVisibleArea (dev : flidev_t , ul_x : * mut :: std :: os :: raw :: c_long , ul_y : * mut :: std :: os :: raw :: c_long , lr_x : * mut :: std :: os :: raw :: c_long , lr_y : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:50390 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Set the exposure time for a given device. This function sets the exposure time for the device to `exptime` milliseconds.\n\n @param dev Camera handle.\n @param exptime Exposure time in milliseconds.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLISetExposureTime (dev : flidev_t , exptime : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:50813 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Set the region of interest for a given device. This function sets the region of interest for the device to the rectangle defined by the upper-left corner `(ul_x, ul_y)` and the lower-right corner `(lr_x, lr_y)`.\n\n @param dev Camera handle.\n @param ul_x Upper-left x-coordinate (unbinned coordinates).\n @param ul_y Upper-left y-coordinate (unbinned coordinates).\n @param lr_x Lower-right x-coordinate (binned coordinates).\n @param lr_y Lower-right y-coordinate (binned coordinates).\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLISetImageArea (dev : flidev_t , ul_x : :: std :: os :: raw :: c_long , ul_y : :: std :: os :: raw :: c_long , lr_x : :: std :: os :: raw :: c_long , lr_y : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:51636 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Set the horizontal binning for a given device. This function sets the horizontal binning for the device to `hbin`.\n\n @param dev Camera handle.\n @param hbin Horizontal bin value. Valid values are between 1 and 16.\n @return LIBFLIAPI"] pub fn FLISetHBin (dev : flidev_t , hbin : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:52016 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Set the vertical binning for a given device. This function sets the vertical binning for the device to `vbin`.\n\n @param dev Camera handle.\n @param vbin Vertical bin value. Valid values are between 1 and 16.\n @return LIBFLIAPI"] pub fn FLISetVBin (dev : flidev_t , vbin : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:52390 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Set the frame type for a given device. This function sets the frame type for the device to `frametype`.\n\n @param dev Camera handle.\n @param frametype Frame type. Valid values are `FLI_FRAME_TYPE_NORMAL` (shutter open) and `FLI_FRAME_TYPE_DARK` (shutter closed).\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLISetFrameType (dev : flidev_t , frametype : fliframe_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:52859 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Cancel an ongoing exposure.\n\n @param dev Camera handle.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLICancelExposure (dev : flidev_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:53098 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the remaining exposure time in milliseconds.\n\n @param dev Camera handle.\n @param timeleft Pointer to a long where the remaining exposure time will be stored.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetExposureStatus (dev : flidev_t , timeleft : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:53496 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Set the temperature of a given device.\n\n @param dev Camera handle.\n @param temperature Temperture set point in degrees Celsius. Valid values are between -55 and 45.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLISetTemperature (dev : flidev_t , temperature : f64) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:53865 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the current temperature of a given device.\n\n @param dev Camerea handle.\n @param temperature Temperature of the camera cold finger in degrees Celsius.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetTemperature (dev : flidev_t , temperature : * mut f64) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:54229 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the current power of the cooler in milliwatts.\n\n @param dev Device handle.\n @param power Power of the cooler in milliwatts.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetCoolerPower (dev : flidev_t , power : * mut f64) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:54561 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Grab a row of an image. This function grabs the next available row of the image from the\n camera device `dev`. The row of width `width` is stored in the buffer pointed to by `buff`.\n The size of the buffer pointed to by `buff` must take into account the bit depth of the image,\n meaning the buffer must be at least `width` bytes long for 8-bit images and `2 * width` bytes for\n 16-bit images.\n\n @param dev Camera handle.\n @param buff Pointer to where the next row of the image will be stored.\n @param width Row width in pixels.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGrabRow (dev : flidev_t , buff : * mut :: std :: os :: raw :: c_void , width : usize) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:55332 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Expose a frame for a given camera. This function exposes a frame according to\n the settings (image area, exposure time, bit depth etc.) of the camera `dev`. The settings\n of `dev` must be valid for the camera device. They are set by calling the appropriate `set`\n library functions.\n Note: This function returns after the exposure has started.\n\n @param dev Camera handle.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIExposeFrame (dev : flidev_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:55888 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Flush a number of rows for a given camera. This function flushes `rows` rows of the image\n from the camera device `dev`. The rows are flushed `repeat` times.\n\n @param dev Camera handle.\n @param rows Number of rows to flush.\n @param repeat Number of times to repeat the flush.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIFlushRow (dev : flidev_t , rows : :: std :: os :: raw :: c_long , repeat : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:56424 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Set the number of flushes for a given camera. This function sets the number of flushes\n for the camera device `dev` to `nflushes`.\n\n @param dev Camera handle.\n @param nflushes Number of flushes.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLISetNFlushes (dev : flidev_t , nflushes : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:56844 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Set the bit depth for a given camera. This function sets the bit depth for the camera\n device `dev` to `bitdepth`.\n\n @param dev Camera handle.\n @param bitdepth Bit depth. Valid values are `FLI_MODE_8BIT` and `FLI_MODE_16BIT`.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLISetBitDepth (dev : flidev_t , bitdepth : flibitdepth_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:57279 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIReadIOPort (dev : flidev_t , ioportset : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:57417 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIWriteIOPort (dev : flidev_t , ioportset : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:57550 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIConfigureIOPort (dev : flidev_t , ioportset : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:57687 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Acquire an exclusive lock (`mutex`) on the device `dev`. This function\n prevents other threads or processes from accessing the device while the lock is held.\n\n @param dev Device handle.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLILockDevice (dev : flidev_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:58053 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Release the lock (`mutex`) on the device `dev`. This function allows other threads\n or processes to access the device.\n\n @param dev Device handle.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIUnlockDevice (dev : flidev_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:58382 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Control the shutter on a camera.\n\n @param dev Camera handle.\n @param shutter How to control the shutter. Valid values are\n - `FLI_SHUTTER_CLOSE`: Close the shutter,\n - `FLI_SHUTTER_OPEN`: Open the shutter,\n - `FLI_SHUTTER_EXTERNAL_TRIGGER`: Exposure starts on logic low on `I/O[0]`,\n - `FLI_SHUTTER_EXTERNAL_TRIGGER_LOW`: Same as `FLI_SHUTTER_EXTERNAL_TRIGGER`,\n - `FLI_SHUTTER_EXTERNAL_TRIGGER_HIGH`: Exposure starts on logic high on `I/O[0]`. May not be available on all cameras.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIControlShutter (dev : flidev_t , shutter : flishutter_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:59093 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Enables background flushing of the CCD array. This function\n enables or disables background flushing of the CCD array. The background\n flushing is stopped whenever `FLIExposeFrame()`/`FLIControlShutter()` is called.\n Note: This function is only available on some cameras.\n\n @param dev Camera handle.\n @param bgflush Enable or disable background flushing. Valid values are\n - `FLI_BGFLUSH_STOP`: Disable background flushing,\n - `FLI_BGFLUSH_START`: Enable background flushing.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIControlBackgroundFlush (dev : flidev_t , bgflush : flibgflush_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:59795 [INFO] [stdout] | [INFO] [stdout] 3 | ...; } extern "C" { pub fn FLISetDAC (dev : flidev_t , dacset : :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_long ; } exte... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:59921 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief List all available devices in the given domain.\n This function returns a NULL-terminated list of all\n available devices in the given domain. The list is\n stored in the variable pointed to by `names`.\n\n @param domain Domain to list devices for. Valid domains are\n - `FLIDOMAIN_PARALLEL_PORT`,\n - `FLIDOMAIN_USB`,\n - `FLIDOMAIN_SERIAL`, and\n - `FLIDOMAIN_INET`.\n Valid device types are\n - `FLIDEVICE_CAMERA`,\n - `FLIDOMAIN_FILTERWHEEL`, and\n - `FLIDOMAIN_FOCUSER`.\n @param names Pointer to where the list of device names will be stored.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIList (domain : flidomain_t , names : * mut * mut * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:60712 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Free a list of device names. This function frees the memory\n allocated for the list of device names.\n\n @param names Pointer to the list of device names.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIFreeList (names : * mut * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:61078 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIGetFilterName (dev : flidev_t , filter : :: std :: os :: raw :: c_long , name : * mut :: std :: os :: raw :: c_char , len : usize) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:61269 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLISetActiveWheel (dev : flidev_t , wheel : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:61401 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIGetActiveWheel (dev : flidev_t , wheel : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:61539 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLISetFilterPos (dev : flidev_t , filter : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:61670 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIGetFilterPos (dev : flidev_t , filter : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:61807 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIGetFilterCount (dev : flidev_t , filter : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:61946 [INFO] [stdout] | [INFO] [stdout] 3 | ...; } extern "C" { pub fn FLIStepMotor (dev : flidev_t , steps : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ext... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:62073 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIStepMotorAsync (dev : flidev_t , steps : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:62205 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIGetStepperPosition (dev : flidev_t , position : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:62350 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIGetStepsRemaining (dev : flidev_t , steps : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:62491 [INFO] [stdout] | [INFO] [stdout] 3 | ...s :: raw :: c_long ; } extern "C" { pub fn FLIHomeFocuser (dev : flidev_t) -> :: std :: os :: raw :: c_long ; } extern "C" { # [doc = ... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:62580 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Create a list of devices in the given domain.\n Use `FLIListFirst()` and `FLIListNext()` to iterate over the list.\n Use `FLIDeleteList()` to free the list.\n\n @param domain Domain to search for devices. Valid domains are\n - `FLIDOMAIN_PARALLEL_PORT`,\n - `FLIDOMAIN_USB`,\n - `FLIDOMAIN_SERIAL`, and\n - `FLIDOMAIN_INET`.\n Supply `0` to search all domains.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLICreateList (domain : flidomain_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:63124 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Delete a list of devices.\n\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIDeleteList () -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:63315 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the first device in the list.\n\n @param domain Pointer to the domain of the first device.\n @param filename Pointer to a character buffer where the filename of the first device will be stored.\n @param fnlen Size of the buffer pointed to by `filename`.\n @param name Pointer to a character buffer where the name of the first device will be stored.\n @param namelen Size of the buffer pointed to by `name`.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIListFirst (domain : * mut flidomain_t , filename : * mut :: std :: os :: raw :: c_char , fnlen : usize , name : * mut :: std :: os :: raw :: c_char , namelen : usize) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:64042 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the next device in the list.\n\n @param domain Pointer to the domain of the next device.\n @param filename Pointer to a character buffer where the filename of the next device will be stored.\n @param fnlen Size of the buffer pointed to by `filename`.\n @param name Pointer to a character buffer where the name of the next device will be stored.\n @param namelen Size of the buffer pointed to by `name`.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIListNext (domain : * mut flidomain_t , filename : * mut :: std :: os :: raw :: c_char , fnlen : usize , name : * mut :: std :: os :: raw :: c_char , namelen : usize) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:64764 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Retrieve temperature from a focuser device.\n\n @param dev Focuser handle.\n @param channel Temperature source. Valid values are\n - `FLI_TEMPERATURE_INTERNAL`: Internal temperature sensor,\n - `FLI_TEMPERATURE_EXTERNAL`: External temperature sensor.\n @param temperature Temperature in degrees Celsius.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIReadTemperature (dev : flidev_t , channel : flichannel_t , temperature : * mut f64) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:65301 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIGetFocuserExtent (dev : flidev_t , extent : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:65442 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIUsbBulkIO (dev : flidev_t , ep : :: std :: os :: raw :: c_int , buf : * mut :: std :: os :: raw :: c_void , len : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:65653 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIGetDeviceStatus (dev : flidev_t , status : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:65793 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIGetCameraModeString (dev : flidev_t , mode_index : flimode_t , mode_string : * mut :: std :: os :: raw :: c_char , siz : usize) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:65981 [INFO] [stdout] | [INFO] [stdout] 3 | ...g ; } extern "C" { pub fn FLIGetCameraMode (dev : flidev_t , mode_index : * mut flimode_t) -> :: std :: os :: raw :: c_long ; } extern... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:66103 [INFO] [stdout] | [INFO] [stdout] 3 | ...long ; } extern "C" { pub fn FLISetCameraMode (dev : flidev_t , mode_index : flimode_t) -> :: std :: os :: raw :: c_long ; } extern "C... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:66219 [INFO] [stdout] | [INFO] [stdout] 3 | ...s :: raw :: c_long ; } extern "C" { pub fn FLIHomeDevice (dev : flidev_t) -> :: std :: os :: raw :: c_long ; } extern "C" { # [doc = "... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:66307 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief NOT IMPLEMENTED.\n\n @param dev\n @param buff\n @param buffsize\n @param bytesgrabbed\n @return LIBFLIAPI"] pub fn FLIGrabFrame (dev : flidev_t , buff : * mut :: std :: os :: raw :: c_void , buffsize : usize , bytesgrabbed : * mut usize) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:66613 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLISetTDI (dev : flidev_t , tdi_rate : flitdirate_t , flags : flitdiflags_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:66747 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Grab a video frame from a camera device. This function grabs a video frame from the camera device `dev` and stores it in the buffer pointed to by `buff`. The size of the buffer pointed to by `buff` must be at least `size` bytes long.\n\n @param dev Camera handle.\n @param buff Buffer where the video frame will be stored.\n @param size Size of the buffer in bytes.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGrabVideoFrame (dev : flidev_t , buff : * mut :: std :: os :: raw :: c_void , size : usize) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:67354 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Stop video mode for a camera device. This function stops video mode for the camera device `dev`.\n\n @param dev Camera handle.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIStopVideoMode (dev : flidev_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:67661 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Start video mode for a camera device. This function starts video mode for the camera device `dev`.\n\n @param dev Camera handle.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIStartVideoMode (dev : flidev_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:67971 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the serial number of a device. This function copies up to `len - 1` characters of the serial number of the device to the buffer pointed to by `serial`. The string is null-terminated.\n\n @param dev Device handle.\n @param serial Pointer to a character buffer where the serial number will be stored.\n @param len Size of the buffer in bytes.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetSerialString (dev : flidev_t , serial : * mut :: std :: os :: raw :: c_char , len : usize) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:68559 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief End an exposure for a given camera. This function causes the\n exposure to end and image download begins immediately.\n\n @param dev Camera handle.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIEndExposure (dev : flidev_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:68885 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Trigger an exposure for a given camera. This function triggers\n an exposure for the camera device `dev` waiting for an external\n trigger signal.\n\n @param dev Camera handle.\n @return LIBFLIAPI"] pub fn FLITriggerExposure (dev : flidev_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:69195 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the current fan speed of a given device.\n\n @param dev Device handle.\n @param fan_speed Fan speed in RPM.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLISetFanSpeed (dev : flidev_t , fan_speed : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:69529 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLISetVerticalTableEntry (dev : flidev_t , index : :: std :: os :: raw :: c_long , height : :: std :: os :: raw :: c_long , bin : :: std :: os :: raw :: c_long , mode : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:69786 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIGetVerticalTableEntry (dev : flidev_t , index : :: std :: os :: raw :: c_long , height : * mut :: std :: os :: raw :: c_long , bin : * mut :: std :: os :: raw :: c_long , mode : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:70061 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the readout dimensions of a given device. This function returns the readout dimensions of the device in the variables pointed to by `width`, `hoffset`, `hbin`, `height`, `voffset`, and `vbin`.\n\n @param dev Camera handle.\n @param width Width of the readout area.\n @param hoffset Horizontal offset of the readout area.\n @param hbin Horizontal binning of the readout area.\n @param height Height of the readout area.\n @param voffset Vertical offset of the readout area.\n @param vbin Vertical binning of the readout area.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetReadoutDimensions (dev : flidev_t , width : * mut :: std :: os :: raw :: c_long , hoffset : * mut :: std :: os :: raw :: c_long , hbin : * mut :: std :: os :: raw :: c_long , height : * mut :: std :: os :: raw :: c_long , voffset : * mut :: std :: os :: raw :: c_long , vbin : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:71056 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIEnableVerticalTable (dev : flidev_t , width : :: std :: os :: raw :: c_long , offset : :: std :: os :: raw :: c_long , flags : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:71274 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIReadUserEEPROM (dev : flidev_t , loc : :: std :: os :: raw :: c_long , address : :: std :: os :: raw :: c_long , length : :: std :: os :: raw :: c_long , rbuf : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:71532 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIWriteUserEEPROM (dev : flidev_t , loc : :: std :: os :: raw :: c_long , address : :: std :: os :: raw :: c_long , length : :: std :: os :: raw :: c_long , wbuf : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_long ; } [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/flihandle.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | ($func:ident($($arg:expr),*)) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 16 | ($func:ident($($arg:expr_2021),*)) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/flicamera.rs:546:12 [INFO] [stdout] | [INFO] [stdout] 546 | if let Ok((cam, _)) = open_first_camera() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/flicamera.rs:550:9 [INFO] [stdout] | [INFO] [stdout] 550 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 546 ~ match open_first_camera() { Ok((cam, _)) => { [INFO] [stdout] 547 | let temp = cam.handle.get_temperature().unwrap(); [INFO] [stdout] 548 | println!("Temperature: {}", temp); [INFO] [stdout] 549 | assert!(temp >= -100.); [INFO] [stdout] 550 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/flicamera.rs:555:12 [INFO] [stdout] | [INFO] [stdout] 555 | if let Ok((cam, _)) = open_first_camera() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/flicamera.rs:557:9 [INFO] [stdout] | [INFO] [stdout] 557 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 555 ~ match open_first_camera() { Ok((cam, _)) => { [INFO] [stdout] 556 | cam.handle.set_temperature(-20.).unwrap(); [INFO] [stdout] 557 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/flicamera.rs:562:12 [INFO] [stdout] | [INFO] [stdout] 562 | if let Ok((cam, _)) = open_first_camera() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/flicamera.rs:566:9 [INFO] [stdout] | [INFO] [stdout] 566 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 562 ~ match open_first_camera() { Ok((cam, _)) => { [INFO] [stdout] 563 | let power = cam.handle.get_cooler_power().unwrap(); [INFO] [stdout] 564 | println!("Cooler power: {}", power); [INFO] [stdout] 565 | assert!(power >= 0.); [INFO] [stdout] 566 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/flicamera.rs:571:12 [INFO] [stdout] | [INFO] [stdout] 571 | if let Ok((cam, _)) = open_first_camera() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/flicamera.rs:575:9 [INFO] [stdout] | [INFO] [stdout] 575 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 571 ~ match open_first_camera() { Ok((cam, _)) => { [INFO] [stdout] 572 | let model = cam.handle.get_model().unwrap(); [INFO] [stdout] 573 | println!("Model: {}", model); [INFO] [stdout] 574 | assert!(!model.is_empty()); [INFO] [stdout] 575 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/flicamera.rs:580:12 [INFO] [stdout] | [INFO] [stdout] 580 | if let Ok((cam, _)) = open_first_camera() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/flicamera.rs:582:9 [INFO] [stdout] | [INFO] [stdout] 582 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 580 ~ match open_first_camera() { Ok((cam, _)) => { [INFO] [stdout] 581 | cam.handle.set_exposure(Duration::from_millis(100)).unwrap(); [INFO] [stdout] 582 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/flicamera.rs:587:12 [INFO] [stdout] | [INFO] [stdout] 587 | if let Ok((cam, _)) = open_first_camera() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/flicamera.rs:591:9 [INFO] [stdout] | [INFO] [stdout] 591 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 587 ~ match open_first_camera() { Ok((cam, _)) => { [INFO] [stdout] 588 | let size = cam.handle.get_array_size().unwrap(); [INFO] [stdout] 589 | println!("Array size: {:?}", size); [INFO] [stdout] 590 | assert!(size.0 > 0 && size.1 > 0); [INFO] [stdout] 591 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/flicamera.rs:596:12 [INFO] [stdout] | [INFO] [stdout] 596 | if let Ok((cam, _)) = open_first_camera() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/flicamera.rs:612:9 [INFO] [stdout] | [INFO] [stdout] 612 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 596 ~ match open_first_camera() { Ok((cam, _)) => { [INFO] [stdout] 597 | println!("{:?}", cam.handle.get_array_size().unwrap()); [INFO] [stdout] ... [INFO] [stdout] 611 | println!("{}", cam.handle.get_readout_dim().unwrap()); [INFO] [stdout] 612 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/flicamera.rs:617:12 [INFO] [stdout] | [INFO] [stdout] 617 | if let Ok((cam, _)) = open_first_camera() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/flicamera.rs:621:9 [INFO] [stdout] | [INFO] [stdout] 621 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 617 ~ match open_first_camera() { Ok((cam, _)) => { [INFO] [stdout] 618 | let serial = cam.handle.get_serial().unwrap(); [INFO] [stdout] 619 | println!("Serial: {}", serial); [INFO] [stdout] 620 | assert!(!serial.is_empty()); [INFO] [stdout] 621 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/flicamera.rs:626:12 [INFO] [stdout] | [INFO] [stdout] 626 | if let Ok((cam, _)) = open_first_camera() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/flicamera.rs:629:9 [INFO] [stdout] | [INFO] [stdout] 629 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 626 ~ match open_first_camera() { Ok((cam, _)) => { [INFO] [stdout] 627 | let mode = cam.handle.list_camera_modes(); [INFO] [stdout] 628 | println!("Camera modes: {:?}", mode); [INFO] [stdout] 629 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/flicamera.rs:634:12 [INFO] [stdout] | [INFO] [stdout] 634 | if let Ok((mut cam, _)) = open_first_camera() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/flicamera.rs:664:9 [INFO] [stdout] | [INFO] [stdout] 664 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 634 ~ match open_first_camera() { Ok((mut cam, _)) => { [INFO] [stdout] 635 | println!("{}", cam.get_roi()); [INFO] [stdout] ... [INFO] [stdout] 663 | img.save("test.png").unwrap(); [INFO] [stdout] 664 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 87 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/main.rs (1 fix) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.93s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling cameraunit_fli v0.0.7 (/tmp/fixit) [INFO] [stderr] warning: cameraunit_fli@0.0.7: Compiler version doesn't include clang or GCC: "cc" "--version" [INFO] [stderr] warning: cameraunit_fli@0.0.7: In file included from /usr/include/string.h:535, [INFO] [stderr] warning: cameraunit_fli@0.0.7: from clib/libfli-camera-usb.c:55: [INFO] [stderr] warning: cameraunit_fli@0.0.7: In function 'strncpy', [INFO] [stderr] warning: cameraunit_fli@0.0.7: inlined from 'fli_camera_usb_open' at clib/libfli-camera-usb.c:200:4: [INFO] [stderr] warning: cameraunit_fli@0.0.7: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' output may be truncated copying 30 bytes from a string of length 63 [-Wstringop-truncation] [INFO] [stderr] warning: cameraunit_fli@0.0.7: 95 | return __builtin___strncpy_chk (__dest, __src, __len, [INFO] [stderr] warning: cameraunit_fli@0.0.7: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: cameraunit_fli@0.0.7: 96 | __glibc_objsize (__dest)); [INFO] [stderr] warning: cameraunit_fli@0.0.7: | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: cameraunit_fli@0.0.7: In function 'strncpy', [INFO] [stderr] warning: cameraunit_fli@0.0.7: inlined from 'fli_camera_usb_open' at clib/libfli-camera-usb.c:201:4: [INFO] [stderr] warning: cameraunit_fli@0.0.7: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' output may be truncated copying 30 bytes from a string of length 63 [-Wstringop-truncation] [INFO] [stderr] warning: cameraunit_fli@0.0.7: 95 | return __builtin___strncpy_chk (__dest, __src, __len, [INFO] [stderr] warning: cameraunit_fli@0.0.7: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: cameraunit_fli@0.0.7: 96 | __glibc_objsize (__dest)); [INFO] [stderr] warning: cameraunit_fli@0.0.7: | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: cameraunit_fli@0.0.7: In function 'strncpy', [INFO] [stderr] warning: cameraunit_fli@0.0.7: inlined from 'fli_camera_usb_get_camera_mode_string' at clib/libfli-camera-usb.c:2735:5: [INFO] [stderr] warning: cameraunit_fli@0.0.7: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' output may be truncated copying between 0 and 31 bytes from a string of length 63 [-Wstringop-truncation] [INFO] [stderr] warning: cameraunit_fli@0.0.7: 95 | return __builtin___strncpy_chk (__dest, __src, __len, [INFO] [stderr] warning: cameraunit_fli@0.0.7: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: cameraunit_fli@0.0.7: 96 | __glibc_objsize (__dest)); [INFO] [stderr] warning: cameraunit_fli@0.0.7: | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:15999 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { pub fn select (__nfds : :: std :: os :: raw :: c_int , __readfds : * mut fd_set , __writefds : * mut fd_set , __exceptfds : * mut fd_set , __timeout : * mut timeval) -> :: 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/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:16214 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn pselect (__nfds : :: std :: os :: raw :: c_int , __readfds : * mut fd_set , __writefds : * mut fd_set , __exceptfds : * mut fd_set , __timeout : * const timespec , __sigmask : * const __sigset_t) -> :: std :: os :: raw :: c_int ; } pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:43480 [INFO] [stdout] | [INFO] [stdout] 3 | ...ng ; extern "C" { pub fn FLIDebug (level : :: std :: os :: raw :: c_int , format : * mut :: std :: os :: raw :: c_char , ...) ; } exte... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:43605 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get a handle to an FLI device. This function requires the filename and domain of the requested device. Valid device filenames can be obtained using the `FLIList()` function. An application may use any number of handles associated with the same physical device. When doing so, it is important to lock the appropriate device to ensure that multiple accesses to the same device do not occur during critical operations.\n\n @param dev Pointer to where a handle to the device will be stored.\n @param name Pointer to a string where the device filename to be opened is stored.\n For parallel port devices that are not probed by `FLIList()` (Win 9x), place the address of the parallel port in a string in ASCII form, e.g. \"0x378\".\n @param domain Domain to apply to `name` for device opening. This is a bitwise OR of the interface method and device type. Valid interfaces are `FLIDOMAIN_PARALLEL_PORT`, `FLIDOMAIN_USB`, `FLIDOMAIN_SERIAL`, and `FLIDOMAIN_INET`. Valid device types are `FLIDEVICE_CAMERA`, `FLIDOMAIN_FILTERWHEEL`, and `FLIDOMAIN_FOCUSER`.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIOpen (dev : * mut flidev_t , name : * mut :: std :: os :: raw :: c_char , domain : flidomain_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:44900 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Enable debugging of API operations and communications. Use this function in\n combination with FLIDebug to assist in diagnosing problems that may be encountered\n during programming.\n\n When usings Microsoft Windows operating systems, creating an empty file\n `C:\\\\FLIDBG.TXT` will override this option. All debug output will then\n be directed to this file.\n\n @param host Name of the file to send debug output to. This parameter is ignored on Linux where `syslog(3)` is used to send debug output to the system log (see `syslog.conf(5)` to confugure `syslogd`).\n @param level Debug level. This parameter is a bitwise OR of the following values:\n - `FLIDEBUG_NONE` - No debug output.\n - `FLIDEBUG_INFO` - Informational messages.\n - `FLIDEBUG_WARN` - Warning messages.\n - `FLIDEBUG_FAIL` - Error messages.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLISetDebugLevel (host : * mut :: std :: os :: raw :: c_char , level : flidebug_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:45943 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Close a handle to an FLI device. This function releases the handle to the device and frees any resources associated with it.\n\n @param dev Handle to the device to close.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIClose (dev : flidev_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:46286 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the current library version. This function copies up to `len - 1` characters of the library version string to the buffer pointed to by `ver`. The string is null-terminated.\n\n @param ver Pointer to a character buffer where the library version string will be stored.\n @param len The size of the buffer in bytes.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetLibVersion (ver : * mut :: std :: os :: raw :: c_char , len : usize) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:46824 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the model of a given device. This function copies up to `len - 1` characters of the device model string to the buffer pointed to by `model`. The string is null-terminated.\n\n @param dev Device handle.\n @param model Pointer to a character buffer where the device model string will be stored.\n @param len The size of the buffer in bytes.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetModel (dev : flidev_t , model : * mut :: std :: os :: raw :: c_char , len : usize) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:15999 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { pub fn select (__nfds : :: std :: os :: raw :: c_int , __readfds : * mut fd_set , __writefds : * mut fd_set , __exceptfds : * mut fd_set , __timeout : * mut timeval) -> :: 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/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:16214 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn pselect (__nfds : :: std :: os :: raw :: c_int , __readfds : * mut fd_set , __writefds : * mut fd_set , __exceptfds : * mut fd_set , __timeout : * const timespec , __sigmask : * const __sigset_t) -> :: std :: os :: raw :: c_int ; } pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:47402 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Find the dimensions of a pixel in the device's CCD array. This function returns the dimensions of a pixel in the device's CCD array in microns. The values are stored in the variables pointed to by `pixel_x` and `pixel_y`.\n\n @param dev Camera handle.\n @param pixel_x Pointer to a double where the pixel width will be stored.\n @param pixel_y Pointer to a double where the pixel height will be stored.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetPixelSize (dev : flidev_t , pixel_x : * mut f64 , pixel_y : * mut f64) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:43480 [INFO] [stdout] | [INFO] [stdout] 3 | ...ng ; extern "C" { pub fn FLIDebug (level : :: std :: os :: raw :: c_int , format : * mut :: std :: os :: raw :: c_char , ...) ; } exte... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:48028 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the hardware revision of a given device. This function returns the hardware revision of the device in the variable pointed to by `hwrev`.\n\n @param dev Device handle.\n @param hwrev Pointer to a long where the hardware revision will be stored.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetHWRevision (dev : flidev_t , hwrev : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:48503 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the firmware revision of a given device. This function returns the firmware revision of the device in the variable pointed to by `fwrev`.\n\n @param dev Device handle.\n @param fwrev Pointer to a long where the firmware revision will be stored.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetFWRevision (dev : flidev_t , fwrev : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:43605 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get a handle to an FLI device. This function requires the filename and domain of the requested device. Valid device filenames can be obtained using the `FLIList()` function. An application may use any number of handles associated with the same physical device. When doing so, it is important to lock the appropriate device to ensure that multiple accesses to the same device do not occur during critical operations.\n\n @param dev Pointer to where a handle to the device will be stored.\n @param name Pointer to a string where the device filename to be opened is stored.\n For parallel port devices that are not probed by `FLIList()` (Win 9x), place the address of the parallel port in a string in ASCII form, e.g. \"0x378\".\n @param domain Domain to apply to `name` for device opening. This is a bitwise OR of the interface method and device type. Valid interfaces are `FLIDOMAIN_PARALLEL_PORT`, `FLIDOMAIN_USB`, `FLIDOMAIN_SERIAL`, and `FLIDOMAIN_INET`. Valid device types are `FLIDEVICE_CAMERA`, `FLIDOMAIN_FILTERWHEEL`, and `FLIDOMAIN_FOCUSER`.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIOpen (dev : * mut flidev_t , name : * mut :: std :: os :: raw :: c_char , domain : flidomain_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:48978 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the array area of a given device. This function returns the array area of the device in the variables pointed to by `ul_x`, `ul_y`, `lr_x`, and `lr_y`.\n\n @param dev Camera handle.\n @param ul_x Upper-left x-coordinate.\n @param ul_y Upper-left y-coordinate.\n @param lr_x Lower-right x-coordinate.\n @param lr_y Lower-right y-coordinate.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetArrayArea (dev : flidev_t , ul_x : * mut :: std :: os :: raw :: c_long , ul_y : * mut :: std :: os :: raw :: c_long , lr_x : * mut :: std :: os :: raw :: c_long , lr_y : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:44900 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Enable debugging of API operations and communications. Use this function in\n combination with FLIDebug to assist in diagnosing problems that may be encountered\n during programming.\n\n When usings Microsoft Windows operating systems, creating an empty file\n `C:\\\\FLIDBG.TXT` will override this option. All debug output will then\n be directed to this file.\n\n @param host Name of the file to send debug output to. This parameter is ignored on Linux where `syslog(3)` is used to send debug output to the system log (see `syslog.conf(5)` to confugure `syslogd`).\n @param level Debug level. This parameter is a bitwise OR of the following values:\n - `FLIDEBUG_NONE` - No debug output.\n - `FLIDEBUG_INFO` - Informational messages.\n - `FLIDEBUG_WARN` - Warning messages.\n - `FLIDEBUG_FAIL` - Error messages.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLISetDebugLevel (host : * mut :: std :: os :: raw :: c_char , level : flidebug_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:49681 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the visible area of a given device. This function returns the visible area of the device in the variables pointed to by `ul_x`, `ul_y`, `lr_x`, and `lr_y`.\n\n @param dev Camera handle.\n @param ul_x Upper-left x-coordinate.\n @param ul_y Upper-left y-coordinate.\n @param lr_x Lower-right x-coordinate.\n @param lr_y Lower-right y-coordinate.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetVisibleArea (dev : flidev_t , ul_x : * mut :: std :: os :: raw :: c_long , ul_y : * mut :: std :: os :: raw :: c_long , lr_x : * mut :: std :: os :: raw :: c_long , lr_y : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:45943 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Close a handle to an FLI device. This function releases the handle to the device and frees any resources associated with it.\n\n @param dev Handle to the device to close.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIClose (dev : flidev_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:50390 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Set the exposure time for a given device. This function sets the exposure time for the device to `exptime` milliseconds.\n\n @param dev Camera handle.\n @param exptime Exposure time in milliseconds.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLISetExposureTime (dev : flidev_t , exptime : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:46286 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the current library version. This function copies up to `len - 1` characters of the library version string to the buffer pointed to by `ver`. The string is null-terminated.\n\n @param ver Pointer to a character buffer where the library version string will be stored.\n @param len The size of the buffer in bytes.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetLibVersion (ver : * mut :: std :: os :: raw :: c_char , len : usize) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:50813 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Set the region of interest for a given device. This function sets the region of interest for the device to the rectangle defined by the upper-left corner `(ul_x, ul_y)` and the lower-right corner `(lr_x, lr_y)`.\n\n @param dev Camera handle.\n @param ul_x Upper-left x-coordinate (unbinned coordinates).\n @param ul_y Upper-left y-coordinate (unbinned coordinates).\n @param lr_x Lower-right x-coordinate (binned coordinates).\n @param lr_y Lower-right y-coordinate (binned coordinates).\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLISetImageArea (dev : flidev_t , ul_x : :: std :: os :: raw :: c_long , ul_y : :: std :: os :: raw :: c_long , lr_x : :: std :: os :: raw :: c_long , lr_y : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:46824 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the model of a given device. This function copies up to `len - 1` characters of the device model string to the buffer pointed to by `model`. The string is null-terminated.\n\n @param dev Device handle.\n @param model Pointer to a character buffer where the device model string will be stored.\n @param len The size of the buffer in bytes.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetModel (dev : flidev_t , model : * mut :: std :: os :: raw :: c_char , len : usize) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:51636 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Set the horizontal binning for a given device. This function sets the horizontal binning for the device to `hbin`.\n\n @param dev Camera handle.\n @param hbin Horizontal bin value. Valid values are between 1 and 16.\n @return LIBFLIAPI"] pub fn FLISetHBin (dev : flidev_t , hbin : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:47402 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Find the dimensions of a pixel in the device's CCD array. This function returns the dimensions of a pixel in the device's CCD array in microns. The values are stored in the variables pointed to by `pixel_x` and `pixel_y`.\n\n @param dev Camera handle.\n @param pixel_x Pointer to a double where the pixel width will be stored.\n @param pixel_y Pointer to a double where the pixel height will be stored.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetPixelSize (dev : flidev_t , pixel_x : * mut f64 , pixel_y : * mut f64) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:52016 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Set the vertical binning for a given device. This function sets the vertical binning for the device to `vbin`.\n\n @param dev Camera handle.\n @param vbin Vertical bin value. Valid values are between 1 and 16.\n @return LIBFLIAPI"] pub fn FLISetVBin (dev : flidev_t , vbin : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:52390 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Set the frame type for a given device. This function sets the frame type for the device to `frametype`.\n\n @param dev Camera handle.\n @param frametype Frame type. Valid values are `FLI_FRAME_TYPE_NORMAL` (shutter open) and `FLI_FRAME_TYPE_DARK` (shutter closed).\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLISetFrameType (dev : flidev_t , frametype : fliframe_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:48028 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the hardware revision of a given device. This function returns the hardware revision of the device in the variable pointed to by `hwrev`.\n\n @param dev Device handle.\n @param hwrev Pointer to a long where the hardware revision will be stored.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetHWRevision (dev : flidev_t , hwrev : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:52859 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Cancel an ongoing exposure.\n\n @param dev Camera handle.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLICancelExposure (dev : flidev_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:48503 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the firmware revision of a given device. This function returns the firmware revision of the device in the variable pointed to by `fwrev`.\n\n @param dev Device handle.\n @param fwrev Pointer to a long where the firmware revision will be stored.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetFWRevision (dev : flidev_t , fwrev : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:53098 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the remaining exposure time in milliseconds.\n\n @param dev Camera handle.\n @param timeleft Pointer to a long where the remaining exposure time will be stored.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetExposureStatus (dev : flidev_t , timeleft : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:48978 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the array area of a given device. This function returns the array area of the device in the variables pointed to by `ul_x`, `ul_y`, `lr_x`, and `lr_y`.\n\n @param dev Camera handle.\n @param ul_x Upper-left x-coordinate.\n @param ul_y Upper-left y-coordinate.\n @param lr_x Lower-right x-coordinate.\n @param lr_y Lower-right y-coordinate.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetArrayArea (dev : flidev_t , ul_x : * mut :: std :: os :: raw :: c_long , ul_y : * mut :: std :: os :: raw :: c_long , lr_x : * mut :: std :: os :: raw :: c_long , lr_y : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:53496 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Set the temperature of a given device.\n\n @param dev Camera handle.\n @param temperature Temperture set point in degrees Celsius. Valid values are between -55 and 45.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLISetTemperature (dev : flidev_t , temperature : f64) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:49681 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the visible area of a given device. This function returns the visible area of the device in the variables pointed to by `ul_x`, `ul_y`, `lr_x`, and `lr_y`.\n\n @param dev Camera handle.\n @param ul_x Upper-left x-coordinate.\n @param ul_y Upper-left y-coordinate.\n @param lr_x Lower-right x-coordinate.\n @param lr_y Lower-right y-coordinate.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetVisibleArea (dev : flidev_t , ul_x : * mut :: std :: os :: raw :: c_long , ul_y : * mut :: std :: os :: raw :: c_long , lr_x : * mut :: std :: os :: raw :: c_long , lr_y : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:53865 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the current temperature of a given device.\n\n @param dev Camerea handle.\n @param temperature Temperature of the camera cold finger in degrees Celsius.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetTemperature (dev : flidev_t , temperature : * mut f64) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:50390 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Set the exposure time for a given device. This function sets the exposure time for the device to `exptime` milliseconds.\n\n @param dev Camera handle.\n @param exptime Exposure time in milliseconds.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLISetExposureTime (dev : flidev_t , exptime : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:54229 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the current power of the cooler in milliwatts.\n\n @param dev Device handle.\n @param power Power of the cooler in milliwatts.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetCoolerPower (dev : flidev_t , power : * mut f64) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:50813 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Set the region of interest for a given device. This function sets the region of interest for the device to the rectangle defined by the upper-left corner `(ul_x, ul_y)` and the lower-right corner `(lr_x, lr_y)`.\n\n @param dev Camera handle.\n @param ul_x Upper-left x-coordinate (unbinned coordinates).\n @param ul_y Upper-left y-coordinate (unbinned coordinates).\n @param lr_x Lower-right x-coordinate (binned coordinates).\n @param lr_y Lower-right y-coordinate (binned coordinates).\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLISetImageArea (dev : flidev_t , ul_x : :: std :: os :: raw :: c_long , ul_y : :: std :: os :: raw :: c_long , lr_x : :: std :: os :: raw :: c_long , lr_y : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:54561 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Grab a row of an image. This function grabs the next available row of the image from the\n camera device `dev`. The row of width `width` is stored in the buffer pointed to by `buff`.\n The size of the buffer pointed to by `buff` must take into account the bit depth of the image,\n meaning the buffer must be at least `width` bytes long for 8-bit images and `2 * width` bytes for\n 16-bit images.\n\n @param dev Camera handle.\n @param buff Pointer to where the next row of the image will be stored.\n @param width Row width in pixels.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGrabRow (dev : flidev_t , buff : * mut :: std :: os :: raw :: c_void , width : usize) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:51636 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Set the horizontal binning for a given device. This function sets the horizontal binning for the device to `hbin`.\n\n @param dev Camera handle.\n @param hbin Horizontal bin value. Valid values are between 1 and 16.\n @return LIBFLIAPI"] pub fn FLISetHBin (dev : flidev_t , hbin : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:55332 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Expose a frame for a given camera. This function exposes a frame according to\n the settings (image area, exposure time, bit depth etc.) of the camera `dev`. The settings\n of `dev` must be valid for the camera device. They are set by calling the appropriate `set`\n library functions.\n Note: This function returns after the exposure has started.\n\n @param dev Camera handle.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIExposeFrame (dev : flidev_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:52016 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Set the vertical binning for a given device. This function sets the vertical binning for the device to `vbin`.\n\n @param dev Camera handle.\n @param vbin Vertical bin value. Valid values are between 1 and 16.\n @return LIBFLIAPI"] pub fn FLISetVBin (dev : flidev_t , vbin : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:55888 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Flush a number of rows for a given camera. This function flushes `rows` rows of the image\n from the camera device `dev`. The rows are flushed `repeat` times.\n\n @param dev Camera handle.\n @param rows Number of rows to flush.\n @param repeat Number of times to repeat the flush.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIFlushRow (dev : flidev_t , rows : :: std :: os :: raw :: c_long , repeat : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:52390 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Set the frame type for a given device. This function sets the frame type for the device to `frametype`.\n\n @param dev Camera handle.\n @param frametype Frame type. Valid values are `FLI_FRAME_TYPE_NORMAL` (shutter open) and `FLI_FRAME_TYPE_DARK` (shutter closed).\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLISetFrameType (dev : flidev_t , frametype : fliframe_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:56424 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Set the number of flushes for a given camera. This function sets the number of flushes\n for the camera device `dev` to `nflushes`.\n\n @param dev Camera handle.\n @param nflushes Number of flushes.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLISetNFlushes (dev : flidev_t , nflushes : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:52859 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Cancel an ongoing exposure.\n\n @param dev Camera handle.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLICancelExposure (dev : flidev_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:56844 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Set the bit depth for a given camera. This function sets the bit depth for the camera\n device `dev` to `bitdepth`.\n\n @param dev Camera handle.\n @param bitdepth Bit depth. Valid values are `FLI_MODE_8BIT` and `FLI_MODE_16BIT`.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLISetBitDepth (dev : flidev_t , bitdepth : flibitdepth_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:53098 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the remaining exposure time in milliseconds.\n\n @param dev Camera handle.\n @param timeleft Pointer to a long where the remaining exposure time will be stored.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetExposureStatus (dev : flidev_t , timeleft : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:57279 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIReadIOPort (dev : flidev_t , ioportset : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:53496 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Set the temperature of a given device.\n\n @param dev Camera handle.\n @param temperature Temperture set point in degrees Celsius. Valid values are between -55 and 45.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLISetTemperature (dev : flidev_t , temperature : f64) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:53865 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the current temperature of a given device.\n\n @param dev Camerea handle.\n @param temperature Temperature of the camera cold finger in degrees Celsius.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetTemperature (dev : flidev_t , temperature : * mut f64) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:57417 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIWriteIOPort (dev : flidev_t , ioportset : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:57550 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIConfigureIOPort (dev : flidev_t , ioportset : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:54229 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the current power of the cooler in milliwatts.\n\n @param dev Device handle.\n @param power Power of the cooler in milliwatts.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetCoolerPower (dev : flidev_t , power : * mut f64) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:57687 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Acquire an exclusive lock (`mutex`) on the device `dev`. This function\n prevents other threads or processes from accessing the device while the lock is held.\n\n @param dev Device handle.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLILockDevice (dev : flidev_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:54561 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Grab a row of an image. This function grabs the next available row of the image from the\n camera device `dev`. The row of width `width` is stored in the buffer pointed to by `buff`.\n The size of the buffer pointed to by `buff` must take into account the bit depth of the image,\n meaning the buffer must be at least `width` bytes long for 8-bit images and `2 * width` bytes for\n 16-bit images.\n\n @param dev Camera handle.\n @param buff Pointer to where the next row of the image will be stored.\n @param width Row width in pixels.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGrabRow (dev : flidev_t , buff : * mut :: std :: os :: raw :: c_void , width : usize) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:58053 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Release the lock (`mutex`) on the device `dev`. This function allows other threads\n or processes to access the device.\n\n @param dev Device handle.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIUnlockDevice (dev : flidev_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:55332 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Expose a frame for a given camera. This function exposes a frame according to\n the settings (image area, exposure time, bit depth etc.) of the camera `dev`. The settings\n of `dev` must be valid for the camera device. They are set by calling the appropriate `set`\n library functions.\n Note: This function returns after the exposure has started.\n\n @param dev Camera handle.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIExposeFrame (dev : flidev_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:58382 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Control the shutter on a camera.\n\n @param dev Camera handle.\n @param shutter How to control the shutter. Valid values are\n - `FLI_SHUTTER_CLOSE`: Close the shutter,\n - `FLI_SHUTTER_OPEN`: Open the shutter,\n - `FLI_SHUTTER_EXTERNAL_TRIGGER`: Exposure starts on logic low on `I/O[0]`,\n - `FLI_SHUTTER_EXTERNAL_TRIGGER_LOW`: Same as `FLI_SHUTTER_EXTERNAL_TRIGGER`,\n - `FLI_SHUTTER_EXTERNAL_TRIGGER_HIGH`: Exposure starts on logic high on `I/O[0]`. May not be available on all cameras.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIControlShutter (dev : flidev_t , shutter : flishutter_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:55888 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Flush a number of rows for a given camera. This function flushes `rows` rows of the image\n from the camera device `dev`. The rows are flushed `repeat` times.\n\n @param dev Camera handle.\n @param rows Number of rows to flush.\n @param repeat Number of times to repeat the flush.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIFlushRow (dev : flidev_t , rows : :: std :: os :: raw :: c_long , repeat : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:59093 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Enables background flushing of the CCD array. This function\n enables or disables background flushing of the CCD array. The background\n flushing is stopped whenever `FLIExposeFrame()`/`FLIControlShutter()` is called.\n Note: This function is only available on some cameras.\n\n @param dev Camera handle.\n @param bgflush Enable or disable background flushing. Valid values are\n - `FLI_BGFLUSH_STOP`: Disable background flushing,\n - `FLI_BGFLUSH_START`: Enable background flushing.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIControlBackgroundFlush (dev : flidev_t , bgflush : flibgflush_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:56424 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Set the number of flushes for a given camera. This function sets the number of flushes\n for the camera device `dev` to `nflushes`.\n\n @param dev Camera handle.\n @param nflushes Number of flushes.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLISetNFlushes (dev : flidev_t , nflushes : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:56844 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Set the bit depth for a given camera. This function sets the bit depth for the camera\n device `dev` to `bitdepth`.\n\n @param dev Camera handle.\n @param bitdepth Bit depth. Valid values are `FLI_MODE_8BIT` and `FLI_MODE_16BIT`.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLISetBitDepth (dev : flidev_t , bitdepth : flibitdepth_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:59795 [INFO] [stdout] | [INFO] [stdout] 3 | ...; } extern "C" { pub fn FLISetDAC (dev : flidev_t , dacset : :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_long ; } exte... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:57279 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIReadIOPort (dev : flidev_t , ioportset : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:59921 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief List all available devices in the given domain.\n This function returns a NULL-terminated list of all\n available devices in the given domain. The list is\n stored in the variable pointed to by `names`.\n\n @param domain Domain to list devices for. Valid domains are\n - `FLIDOMAIN_PARALLEL_PORT`,\n - `FLIDOMAIN_USB`,\n - `FLIDOMAIN_SERIAL`, and\n - `FLIDOMAIN_INET`.\n Valid device types are\n - `FLIDEVICE_CAMERA`,\n - `FLIDOMAIN_FILTERWHEEL`, and\n - `FLIDOMAIN_FOCUSER`.\n @param names Pointer to where the list of device names will be stored.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIList (domain : flidomain_t , names : * mut * mut * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:57417 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIWriteIOPort (dev : flidev_t , ioportset : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:60712 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Free a list of device names. This function frees the memory\n allocated for the list of device names.\n\n @param names Pointer to the list of device names.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIFreeList (names : * mut * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:57550 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIConfigureIOPort (dev : flidev_t , ioportset : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:61078 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIGetFilterName (dev : flidev_t , filter : :: std :: os :: raw :: c_long , name : * mut :: std :: os :: raw :: c_char , len : usize) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:57687 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Acquire an exclusive lock (`mutex`) on the device `dev`. This function\n prevents other threads or processes from accessing the device while the lock is held.\n\n @param dev Device handle.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLILockDevice (dev : flidev_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:61269 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLISetActiveWheel (dev : flidev_t , wheel : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:58053 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Release the lock (`mutex`) on the device `dev`. This function allows other threads\n or processes to access the device.\n\n @param dev Device handle.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIUnlockDevice (dev : flidev_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:61401 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIGetActiveWheel (dev : flidev_t , wheel : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:58382 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Control the shutter on a camera.\n\n @param dev Camera handle.\n @param shutter How to control the shutter. Valid values are\n - `FLI_SHUTTER_CLOSE`: Close the shutter,\n - `FLI_SHUTTER_OPEN`: Open the shutter,\n - `FLI_SHUTTER_EXTERNAL_TRIGGER`: Exposure starts on logic low on `I/O[0]`,\n - `FLI_SHUTTER_EXTERNAL_TRIGGER_LOW`: Same as `FLI_SHUTTER_EXTERNAL_TRIGGER`,\n - `FLI_SHUTTER_EXTERNAL_TRIGGER_HIGH`: Exposure starts on logic high on `I/O[0]`. May not be available on all cameras.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIControlShutter (dev : flidev_t , shutter : flishutter_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:61539 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLISetFilterPos (dev : flidev_t , filter : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:61670 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIGetFilterPos (dev : flidev_t , filter : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:59093 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Enables background flushing of the CCD array. This function\n enables or disables background flushing of the CCD array. The background\n flushing is stopped whenever `FLIExposeFrame()`/`FLIControlShutter()` is called.\n Note: This function is only available on some cameras.\n\n @param dev Camera handle.\n @param bgflush Enable or disable background flushing. Valid values are\n - `FLI_BGFLUSH_STOP`: Disable background flushing,\n - `FLI_BGFLUSH_START`: Enable background flushing.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIControlBackgroundFlush (dev : flidev_t , bgflush : flibgflush_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:61807 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIGetFilterCount (dev : flidev_t , filter : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:59795 [INFO] [stdout] | [INFO] [stdout] 3 | ...; } extern "C" { pub fn FLISetDAC (dev : flidev_t , dacset : :: std :: os :: raw :: c_ulong) -> :: std :: os :: raw :: c_long ; } exte... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:61946 [INFO] [stdout] | [INFO] [stdout] 3 | ...; } extern "C" { pub fn FLIStepMotor (dev : flidev_t , steps : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ext... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:59921 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief List all available devices in the given domain.\n This function returns a NULL-terminated list of all\n available devices in the given domain. The list is\n stored in the variable pointed to by `names`.\n\n @param domain Domain to list devices for. Valid domains are\n - `FLIDOMAIN_PARALLEL_PORT`,\n - `FLIDOMAIN_USB`,\n - `FLIDOMAIN_SERIAL`, and\n - `FLIDOMAIN_INET`.\n Valid device types are\n - `FLIDEVICE_CAMERA`,\n - `FLIDOMAIN_FILTERWHEEL`, and\n - `FLIDOMAIN_FOCUSER`.\n @param names Pointer to where the list of device names will be stored.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIList (domain : flidomain_t , names : * mut * mut * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:62073 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIStepMotorAsync (dev : flidev_t , steps : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:60712 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Free a list of device names. This function frees the memory\n allocated for the list of device names.\n\n @param names Pointer to the list of device names.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIFreeList (names : * mut * mut :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:62205 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIGetStepperPosition (dev : flidev_t , position : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:61078 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIGetFilterName (dev : flidev_t , filter : :: std :: os :: raw :: c_long , name : * mut :: std :: os :: raw :: c_char , len : usize) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:62350 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIGetStepsRemaining (dev : flidev_t , steps : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:61269 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLISetActiveWheel (dev : flidev_t , wheel : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:62491 [INFO] [stdout] | [INFO] [stdout] 3 | ...s :: raw :: c_long ; } extern "C" { pub fn FLIHomeFocuser (dev : flidev_t) -> :: std :: os :: raw :: c_long ; } extern "C" { # [doc = ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:61401 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIGetActiveWheel (dev : flidev_t , wheel : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:62580 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Create a list of devices in the given domain.\n Use `FLIListFirst()` and `FLIListNext()` to iterate over the list.\n Use `FLIDeleteList()` to free the list.\n\n @param domain Domain to search for devices. Valid domains are\n - `FLIDOMAIN_PARALLEL_PORT`,\n - `FLIDOMAIN_USB`,\n - `FLIDOMAIN_SERIAL`, and\n - `FLIDOMAIN_INET`.\n Supply `0` to search all domains.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLICreateList (domain : flidomain_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:61539 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLISetFilterPos (dev : flidev_t , filter : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:63124 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Delete a list of devices.\n\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIDeleteList () -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:61670 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIGetFilterPos (dev : flidev_t , filter : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:63315 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the first device in the list.\n\n @param domain Pointer to the domain of the first device.\n @param filename Pointer to a character buffer where the filename of the first device will be stored.\n @param fnlen Size of the buffer pointed to by `filename`.\n @param name Pointer to a character buffer where the name of the first device will be stored.\n @param namelen Size of the buffer pointed to by `name`.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIListFirst (domain : * mut flidomain_t , filename : * mut :: std :: os :: raw :: c_char , fnlen : usize , name : * mut :: std :: os :: raw :: c_char , namelen : usize) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:61807 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIGetFilterCount (dev : flidev_t , filter : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:64042 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the next device in the list.\n\n @param domain Pointer to the domain of the next device.\n @param filename Pointer to a character buffer where the filename of the next device will be stored.\n @param fnlen Size of the buffer pointed to by `filename`.\n @param name Pointer to a character buffer where the name of the next device will be stored.\n @param namelen Size of the buffer pointed to by `name`.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIListNext (domain : * mut flidomain_t , filename : * mut :: std :: os :: raw :: c_char , fnlen : usize , name : * mut :: std :: os :: raw :: c_char , namelen : usize) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:64764 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Retrieve temperature from a focuser device.\n\n @param dev Focuser handle.\n @param channel Temperature source. Valid values are\n - `FLI_TEMPERATURE_INTERNAL`: Internal temperature sensor,\n - `FLI_TEMPERATURE_EXTERNAL`: External temperature sensor.\n @param temperature Temperature in degrees Celsius.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIReadTemperature (dev : flidev_t , channel : flichannel_t , temperature : * mut f64) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:61946 [INFO] [stdout] | [INFO] [stdout] 3 | ...; } extern "C" { pub fn FLIStepMotor (dev : flidev_t , steps : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ext... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:65301 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIGetFocuserExtent (dev : flidev_t , extent : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:62073 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIStepMotorAsync (dev : flidev_t , steps : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:65442 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIUsbBulkIO (dev : flidev_t , ep : :: std :: os :: raw :: c_int , buf : * mut :: std :: os :: raw :: c_void , len : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:62205 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIGetStepperPosition (dev : flidev_t , position : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:65653 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIGetDeviceStatus (dev : flidev_t , status : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:62350 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIGetStepsRemaining (dev : flidev_t , steps : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:65793 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIGetCameraModeString (dev : flidev_t , mode_index : flimode_t , mode_string : * mut :: std :: os :: raw :: c_char , siz : usize) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:62491 [INFO] [stdout] | [INFO] [stdout] 3 | ...s :: raw :: c_long ; } extern "C" { pub fn FLIHomeFocuser (dev : flidev_t) -> :: std :: os :: raw :: c_long ; } extern "C" { # [doc = ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:65981 [INFO] [stdout] | [INFO] [stdout] 3 | ...g ; } extern "C" { pub fn FLIGetCameraMode (dev : flidev_t , mode_index : * mut flimode_t) -> :: std :: os :: raw :: c_long ; } extern... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:62580 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Create a list of devices in the given domain.\n Use `FLIListFirst()` and `FLIListNext()` to iterate over the list.\n Use `FLIDeleteList()` to free the list.\n\n @param domain Domain to search for devices. Valid domains are\n - `FLIDOMAIN_PARALLEL_PORT`,\n - `FLIDOMAIN_USB`,\n - `FLIDOMAIN_SERIAL`, and\n - `FLIDOMAIN_INET`.\n Supply `0` to search all domains.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLICreateList (domain : flidomain_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:66103 [INFO] [stdout] | [INFO] [stdout] 3 | ...long ; } extern "C" { pub fn FLISetCameraMode (dev : flidev_t , mode_index : flimode_t) -> :: std :: os :: raw :: c_long ; } extern "C... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:63124 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Delete a list of devices.\n\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIDeleteList () -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:66219 [INFO] [stdout] | [INFO] [stdout] 3 | ...s :: raw :: c_long ; } extern "C" { pub fn FLIHomeDevice (dev : flidev_t) -> :: std :: os :: raw :: c_long ; } extern "C" { # [doc = "... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:66307 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief NOT IMPLEMENTED.\n\n @param dev\n @param buff\n @param buffsize\n @param bytesgrabbed\n @return LIBFLIAPI"] pub fn FLIGrabFrame (dev : flidev_t , buff : * mut :: std :: os :: raw :: c_void , buffsize : usize , bytesgrabbed : * mut usize) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:63315 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the first device in the list.\n\n @param domain Pointer to the domain of the first device.\n @param filename Pointer to a character buffer where the filename of the first device will be stored.\n @param fnlen Size of the buffer pointed to by `filename`.\n @param name Pointer to a character buffer where the name of the first device will be stored.\n @param namelen Size of the buffer pointed to by `name`.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIListFirst (domain : * mut flidomain_t , filename : * mut :: std :: os :: raw :: c_char , fnlen : usize , name : * mut :: std :: os :: raw :: c_char , namelen : usize) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:66613 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLISetTDI (dev : flidev_t , tdi_rate : flitdirate_t , flags : flitdiflags_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:64042 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the next device in the list.\n\n @param domain Pointer to the domain of the next device.\n @param filename Pointer to a character buffer where the filename of the next device will be stored.\n @param fnlen Size of the buffer pointed to by `filename`.\n @param name Pointer to a character buffer where the name of the next device will be stored.\n @param namelen Size of the buffer pointed to by `name`.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIListNext (domain : * mut flidomain_t , filename : * mut :: std :: os :: raw :: c_char , fnlen : usize , name : * mut :: std :: os :: raw :: c_char , namelen : usize) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:66747 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Grab a video frame from a camera device. This function grabs a video frame from the camera device `dev` and stores it in the buffer pointed to by `buff`. The size of the buffer pointed to by `buff` must be at least `size` bytes long.\n\n @param dev Camera handle.\n @param buff Buffer where the video frame will be stored.\n @param size Size of the buffer in bytes.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGrabVideoFrame (dev : flidev_t , buff : * mut :: std :: os :: raw :: c_void , size : usize) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:64764 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Retrieve temperature from a focuser device.\n\n @param dev Focuser handle.\n @param channel Temperature source. Valid values are\n - `FLI_TEMPERATURE_INTERNAL`: Internal temperature sensor,\n - `FLI_TEMPERATURE_EXTERNAL`: External temperature sensor.\n @param temperature Temperature in degrees Celsius.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIReadTemperature (dev : flidev_t , channel : flichannel_t , temperature : * mut f64) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:67354 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Stop video mode for a camera device. This function stops video mode for the camera device `dev`.\n\n @param dev Camera handle.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIStopVideoMode (dev : flidev_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:65301 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIGetFocuserExtent (dev : flidev_t , extent : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:67661 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Start video mode for a camera device. This function starts video mode for the camera device `dev`.\n\n @param dev Camera handle.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIStartVideoMode (dev : flidev_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:67971 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the serial number of a device. This function copies up to `len - 1` characters of the serial number of the device to the buffer pointed to by `serial`. The string is null-terminated.\n\n @param dev Device handle.\n @param serial Pointer to a character buffer where the serial number will be stored.\n @param len Size of the buffer in bytes.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetSerialString (dev : flidev_t , serial : * mut :: std :: os :: raw :: c_char , len : usize) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:65442 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIUsbBulkIO (dev : flidev_t , ep : :: std :: os :: raw :: c_int , buf : * mut :: std :: os :: raw :: c_void , len : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:68559 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief End an exposure for a given camera. This function causes the\n exposure to end and image download begins immediately.\n\n @param dev Camera handle.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIEndExposure (dev : flidev_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:65653 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIGetDeviceStatus (dev : flidev_t , status : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:68885 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Trigger an exposure for a given camera. This function triggers\n an exposure for the camera device `dev` waiting for an external\n trigger signal.\n\n @param dev Camera handle.\n @return LIBFLIAPI"] pub fn FLITriggerExposure (dev : flidev_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:65793 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIGetCameraModeString (dev : flidev_t , mode_index : flimode_t , mode_string : * mut :: std :: os :: raw :: c_char , siz : usize) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:69195 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the current fan speed of a given device.\n\n @param dev Device handle.\n @param fan_speed Fan speed in RPM.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLISetFanSpeed (dev : flidev_t , fan_speed : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:69529 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLISetVerticalTableEntry (dev : flidev_t , index : :: std :: os :: raw :: c_long , height : :: std :: os :: raw :: c_long , bin : :: std :: os :: raw :: c_long , mode : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:65981 [INFO] [stdout] | [INFO] [stdout] 3 | ...g ; } extern "C" { pub fn FLIGetCameraMode (dev : flidev_t , mode_index : * mut flimode_t) -> :: std :: os :: raw :: c_long ; } extern... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:69786 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIGetVerticalTableEntry (dev : flidev_t , index : :: std :: os :: raw :: c_long , height : * mut :: std :: os :: raw :: c_long , bin : * mut :: std :: os :: raw :: c_long , mode : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:66103 [INFO] [stdout] | [INFO] [stdout] 3 | ...long ; } extern "C" { pub fn FLISetCameraMode (dev : flidev_t , mode_index : flimode_t) -> :: std :: os :: raw :: c_long ; } extern "C... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:70061 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the readout dimensions of a given device. This function returns the readout dimensions of the device in the variables pointed to by `width`, `hoffset`, `hbin`, `height`, `voffset`, and `vbin`.\n\n @param dev Camera handle.\n @param width Width of the readout area.\n @param hoffset Horizontal offset of the readout area.\n @param hbin Horizontal binning of the readout area.\n @param height Height of the readout area.\n @param voffset Vertical offset of the readout area.\n @param vbin Vertical binning of the readout area.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetReadoutDimensions (dev : flidev_t , width : * mut :: std :: os :: raw :: c_long , hoffset : * mut :: std :: os :: raw :: c_long , hbin : * mut :: std :: os :: raw :: c_long , height : * mut :: std :: os :: raw :: c_long , voffset : * mut :: std :: os :: raw :: c_long , vbin : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:66219 [INFO] [stdout] | [INFO] [stdout] 3 | ...s :: raw :: c_long ; } extern "C" { pub fn FLIHomeDevice (dev : flidev_t) -> :: std :: os :: raw :: c_long ; } extern "C" { # [doc = "... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:71056 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIEnableVerticalTable (dev : flidev_t , width : :: std :: os :: raw :: c_long , offset : :: std :: os :: raw :: c_long , flags : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:66307 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief NOT IMPLEMENTED.\n\n @param dev\n @param buff\n @param buffsize\n @param bytesgrabbed\n @return LIBFLIAPI"] pub fn FLIGrabFrame (dev : flidev_t , buff : * mut :: std :: os :: raw :: c_void , buffsize : usize , bytesgrabbed : * mut usize) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:71274 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIReadUserEEPROM (dev : flidev_t , loc : :: std :: os :: raw :: c_long , address : :: std :: os :: raw :: c_long , length : :: std :: os :: raw :: c_long , rbuf : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:66613 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLISetTDI (dev : flidev_t , tdi_rate : flitdirate_t , flags : flitdiflags_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:71532 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIWriteUserEEPROM (dev : flidev_t , loc : :: std :: os :: raw :: c_long , address : :: std :: os :: raw :: c_long , length : :: std :: os :: raw :: c_long , wbuf : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_long ; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:66747 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Grab a video frame from a camera device. This function grabs a video frame from the camera device `dev` and stores it in the buffer pointed to by `buff`. The size of the buffer pointed to by `buff` must be at least `size` bytes long.\n\n @param dev Camera handle.\n @param buff Buffer where the video frame will be stored.\n @param size Size of the buffer in bytes.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGrabVideoFrame (dev : flidev_t , buff : * mut :: std :: os :: raw :: c_void , size : usize) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:67354 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Stop video mode for a camera device. This function stops video mode for the camera device `dev`.\n\n @param dev Camera handle.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIStopVideoMode (dev : flidev_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:67661 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Start video mode for a camera device. This function starts video mode for the camera device `dev`.\n\n @param dev Camera handle.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIStartVideoMode (dev : flidev_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:67971 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the serial number of a device. This function copies up to `len - 1` characters of the serial number of the device to the buffer pointed to by `serial`. The string is null-terminated.\n\n @param dev Device handle.\n @param serial Pointer to a character buffer where the serial number will be stored.\n @param len Size of the buffer in bytes.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetSerialString (dev : flidev_t , serial : * mut :: std :: os :: raw :: c_char , len : usize) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:68559 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief End an exposure for a given camera. This function causes the\n exposure to end and image download begins immediately.\n\n @param dev Camera handle.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIEndExposure (dev : flidev_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:68885 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Trigger an exposure for a given camera. This function triggers\n an exposure for the camera device `dev` waiting for an external\n trigger signal.\n\n @param dev Camera handle.\n @return LIBFLIAPI"] pub fn FLITriggerExposure (dev : flidev_t) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:69195 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the current fan speed of a given device.\n\n @param dev Device handle.\n @param fan_speed Fan speed in RPM.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLISetFanSpeed (dev : flidev_t , fan_speed : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:69529 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLISetVerticalTableEntry (dev : flidev_t , index : :: std :: os :: raw :: c_long , height : :: std :: os :: raw :: c_long , bin : :: std :: os :: raw :: c_long , mode : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:69786 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIGetVerticalTableEntry (dev : flidev_t , index : :: std :: os :: raw :: c_long , height : * mut :: std :: os :: raw :: c_long , bin : * mut :: std :: os :: raw :: c_long , mode : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:70061 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Get the readout dimensions of a given device. This function returns the readout dimensions of the device in the variables pointed to by `width`, `hoffset`, `hbin`, `height`, `voffset`, and `vbin`.\n\n @param dev Camera handle.\n @param width Width of the readout area.\n @param hoffset Horizontal offset of the readout area.\n @param hbin Horizontal binning of the readout area.\n @param height Height of the readout area.\n @param voffset Vertical offset of the readout area.\n @param vbin Vertical binning of the readout area.\n @return LIBFLIAPI Zero on success, non-zero error code on failure."] pub fn FLIGetReadoutDimensions (dev : flidev_t , width : * mut :: std :: os :: raw :: c_long , hoffset : * mut :: std :: os :: raw :: c_long , hbin : * mut :: std :: os :: raw :: c_long , height : * mut :: std :: os :: raw :: c_long , voffset : * mut :: std :: os :: raw :: c_long , vbin : * mut :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:71056 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIEnableVerticalTable (dev : flidev_t , width : :: std :: os :: raw :: c_long , offset : :: std :: os :: raw :: c_long , flags : :: std :: os :: raw :: c_long) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:71274 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIReadUserEEPROM (dev : flidev_t , loc : :: std :: os :: raw :: c_long , address : :: std :: os :: raw :: c_long , length : :: std :: os :: raw :: c_long , rbuf : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_long ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/cameraunit_fli-39aab565bcc042a8/out/bindings.rs:3:71532 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { pub fn FLIWriteUserEEPROM (dev : flidev_t , loc : :: std :: os :: raw :: c_long , address : :: std :: os :: raw :: c_long , length : :: std :: os :: raw :: c_long , wbuf : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_long ; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 76 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: cameraunit_fli@0.0.7: Compiler version doesn't include clang or GCC: "cc" "--version" [INFO] [stderr] warning: cameraunit_fli@0.0.7: In file included from /usr/include/string.h:535, [INFO] [stderr] warning: cameraunit_fli@0.0.7: from clib/libfli-camera-usb.c:55: [INFO] [stderr] warning: cameraunit_fli@0.0.7: In function 'strncpy', [INFO] [stderr] warning: cameraunit_fli@0.0.7: inlined from 'fli_camera_usb_open' at clib/libfli-camera-usb.c:200:4: [INFO] [stderr] warning: cameraunit_fli@0.0.7: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' output may be truncated copying 30 bytes from a string of length 63 [-Wstringop-truncation] [INFO] [stderr] warning: cameraunit_fli@0.0.7: 95 | return __builtin___strncpy_chk (__dest, __src, __len, [INFO] [stderr] warning: cameraunit_fli@0.0.7: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: cameraunit_fli@0.0.7: 96 | __glibc_objsize (__dest)); [INFO] [stderr] warning: cameraunit_fli@0.0.7: | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: cameraunit_fli@0.0.7: In function 'strncpy', [INFO] [stderr] warning: cameraunit_fli@0.0.7: inlined from 'fli_camera_usb_open' at clib/libfli-camera-usb.c:201:4: [INFO] [stderr] warning: cameraunit_fli@0.0.7: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' output may be truncated copying 30 bytes from a string of length 63 [-Wstringop-truncation] [INFO] [stderr] warning: cameraunit_fli@0.0.7: 95 | return __builtin___strncpy_chk (__dest, __src, __len, [INFO] [stderr] warning: cameraunit_fli@0.0.7: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: cameraunit_fli@0.0.7: 96 | __glibc_objsize (__dest)); [INFO] [stderr] warning: cameraunit_fli@0.0.7: | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: cameraunit_fli@0.0.7: In function 'strncpy', [INFO] [stderr] warning: cameraunit_fli@0.0.7: inlined from 'fli_camera_usb_get_camera_mode_string' at clib/libfli-camera-usb.c:2735:5: [INFO] [stderr] warning: cameraunit_fli@0.0.7: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' output may be truncated copying between 0 and 31 bytes from a string of length 63 [-Wstringop-truncation] [INFO] [stderr] warning: cameraunit_fli@0.0.7: 95 | return __builtin___strncpy_chk (__dest, __src, __len, [INFO] [stderr] warning: cameraunit_fli@0.0.7: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: cameraunit_fli@0.0.7: 96 | __glibc_objsize (__dest)); [INFO] [stderr] warning: cameraunit_fli@0.0.7: | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] error: could not compile `cameraunit_fli` (lib) due to 77 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 76 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: cameraunit_fli@0.0.7: Compiler version doesn't include clang or GCC: "cc" "--version" [INFO] [stderr] warning: cameraunit_fli@0.0.7: In file included from /usr/include/string.h:535, [INFO] [stderr] warning: cameraunit_fli@0.0.7: from clib/libfli-camera-usb.c:55: [INFO] [stderr] warning: cameraunit_fli@0.0.7: In function 'strncpy', [INFO] [stderr] warning: cameraunit_fli@0.0.7: inlined from 'fli_camera_usb_open' at clib/libfli-camera-usb.c:200:4: [INFO] [stderr] warning: cameraunit_fli@0.0.7: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' output may be truncated copying 30 bytes from a string of length 63 [-Wstringop-truncation] [INFO] [stderr] warning: cameraunit_fli@0.0.7: 95 | return __builtin___strncpy_chk (__dest, __src, __len, [INFO] [stderr] warning: cameraunit_fli@0.0.7: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: cameraunit_fli@0.0.7: 96 | __glibc_objsize (__dest)); [INFO] [stderr] warning: cameraunit_fli@0.0.7: | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: cameraunit_fli@0.0.7: In function 'strncpy', [INFO] [stderr] warning: cameraunit_fli@0.0.7: inlined from 'fli_camera_usb_open' at clib/libfli-camera-usb.c:201:4: [INFO] [stderr] warning: cameraunit_fli@0.0.7: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' output may be truncated copying 30 bytes from a string of length 63 [-Wstringop-truncation] [INFO] [stderr] warning: cameraunit_fli@0.0.7: 95 | return __builtin___strncpy_chk (__dest, __src, __len, [INFO] [stderr] warning: cameraunit_fli@0.0.7: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: cameraunit_fli@0.0.7: 96 | __glibc_objsize (__dest)); [INFO] [stderr] warning: cameraunit_fli@0.0.7: | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: cameraunit_fli@0.0.7: In function 'strncpy', [INFO] [stderr] warning: cameraunit_fli@0.0.7: inlined from 'fli_camera_usb_get_camera_mode_string' at clib/libfli-camera-usb.c:2735:5: [INFO] [stderr] warning: cameraunit_fli@0.0.7: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' output may be truncated copying between 0 and 31 bytes from a string of length 63 [-Wstringop-truncation] [INFO] [stderr] warning: cameraunit_fli@0.0.7: 95 | return __builtin___strncpy_chk (__dest, __src, __len, [INFO] [stderr] warning: cameraunit_fli@0.0.7: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: cameraunit_fli@0.0.7: 96 | __glibc_objsize (__dest)); [INFO] [stderr] warning: cameraunit_fli@0.0.7: | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] error: could not compile `cameraunit_fli` (lib test) due to 77 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" "64b9af956497ee8e7774c6fa913a54c3caeffe7e9ecd393d577c6cd31071c2a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64b9af956497ee8e7774c6fa913a54c3caeffe7e9ecd393d577c6cd31071c2a6", kill_on_drop: false }` [INFO] [stdout] 64b9af956497ee8e7774c6fa913a54c3caeffe7e9ecd393d577c6cd31071c2a6