[INFO] fetching crate iflytek-sys 0.0.4... [INFO] checking iflytek-sys-0.0.4 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate iflytek-sys 0.0.4 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate iflytek-sys 0.0.4 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 iflytek-sys 0.0.4 [INFO] finished tweaking crates.io crate iflytek-sys 0.0.4 [INFO] tweaked toml for crates.io crate iflytek-sys 0.0.4 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 58 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.59.2 (available: v0.70.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.18) [INFO] [stderr] Adding env_logger v0.9.3 (available: v0.11.5) [INFO] [stderr] Adding hermit-abi v0.1.19 (available: v0.4.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding peeking_take_while v0.1.2 (available: v1.0.0) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding strsim v0.8.0 (available: v0.11.1) [INFO] [stderr] Adding textwrap v0.11.0 (available: v0.16.1) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding which v4.4.2 (available: v6.0.3) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b37b5d5c33e9aec11a63cd5b6a51ceed194c7d12847ce943e194264c924b715 [INFO] running `Command { std: "docker" "start" "-a" "1b37b5d5c33e9aec11a63cd5b6a51ceed194c7d12847ce943e194264c924b715", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b37b5d5c33e9aec11a63cd5b6a51ceed194c7d12847ce943e194264c924b715", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b37b5d5c33e9aec11a63cd5b6a51ceed194c7d12847ce943e194264c924b715", kill_on_drop: false }` [INFO] [stdout] 1b37b5d5c33e9aec11a63cd5b6a51ceed194c7d12847ce943e194264c924b715 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e11ed11122c52601a573085991c59b693452e3fc0fff5b3ba8a076b7f0a1cefd [INFO] running `Command { std: "docker" "start" "-a" "e11ed11122c52601a573085991c59b693452e3fc0fff5b3ba8a076b7f0a1cefd", 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 libc v0.2.159 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling iflytek-sys v0.0.4 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed /opt/rustwide/target/debug/build/iflytek-sys-6db82f063c0c8021/out/bindings.rs (37 fixes) [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:665 [INFO] [stdout] | [INFO] [stdout] 3 | ...eq ! (unsafe { & (* (:: std :: ptr :: null :: < max_align_t > ())) . __clang_max_align_nonce1 as * const _ as usize } , 0usize , conca... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:911 [INFO] [stdout] | [INFO] [stdout] 3 | ...eq ! (unsafe { & (* (:: std :: ptr :: null :: < max_align_t > ())) . __clang_max_align_nonce2 as * const _ as usize } , 16usize , conc... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.34s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling iflytek-sys v0.0.4 (/tmp/fixit) [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:5859 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tWchar2Mbytes"] # [doc = " @brief\twchar to mbytes"] # [doc = ""] # [doc = " User login."] # [doc = ""] # [doc = " @return\tint MSPAPI\t\t\t\t- Return 0 in success, otherwise return error code."] # [doc = " @param\tconst wchar_t* wcstr\t- [in] Null-terminated source string(wchar_t *)."] # [doc = " @param\tchar* mbstr\t\t\t\t- [in] Destination string(char *)."] # [doc = " @param int len\t\t\t\t\t- [in] The maximum number of bytes that can be stored in the multibyte output string."] # [doc = " @see"] pub fn Wchar2Mbytes (wcstr : * const wchar_t) -> * mut :: std :: os :: raw :: c_char ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:5859 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tWchar2Mbytes"] # [doc = " @brief\twchar to mbytes"] # [doc = ""] # [doc = " User login."] # [doc = ""] # [doc = " @return\tint MSPAPI\t\t\t\t- Return 0 in success, otherwise return error code."] # [doc = " @param\tconst wchar_t* wcstr\t- [in] Null-terminated source string(wchar_t *)."] # [doc = " @param\tchar* mbstr\t\t\t\t- [in] Destination string(char *)."] # [doc = " @param int len\t\t\t\t\t- [in] The maximum number of bytes that can be stored in the multibyte output string."] # [doc = " @see"] pub fn Wchar2Mbytes (wcstr : * const wchar_t) -> * mut :: std :: os :: raw :: c_char ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:6485 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @fn\t\tMbytes2Wchar"] # [doc = " @brief\tmbytes to wchar"] # [doc = ""] # [doc = " User login."] # [doc = ""] # [doc = " @return\tint MSPAPI\t\t\t\t- Return 0 in success, otherwise return error code."] # [doc = " @param\tconst char* mbstr\t\t- [in] Null-terminated source string(char *)."] # [doc = " @param\twchar_t* wcstr\t\t\t- [in] Destination string(wchar_t *)."] # [doc = " @param int wlen\t\t\t\t- [in] The maximum number of multibyte characters to convert."] # [doc = " @see"] pub fn Mbytes2Wchar (mbstr : * const :: std :: os :: raw :: c_char) -> * mut wchar_t ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:6485 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @fn\t\tMbytes2Wchar"] # [doc = " @brief\tmbytes to wchar"] # [doc = ""] # [doc = " User login."] # [doc = ""] # [doc = " @return\tint MSPAPI\t\t\t\t- Return 0 in success, otherwise return error code."] # [doc = " @param\tconst char* mbstr\t\t- [in] Null-terminated source string(char *)."] # [doc = " @param\twchar_t* wcstr\t\t\t- [in] Destination string(wchar_t *)."] # [doc = " @param int wlen\t\t\t\t- [in] The maximum number of multibyte characters to convert."] # [doc = " @see"] pub fn Mbytes2Wchar (mbstr : * const :: std :: os :: raw :: c_char) -> * mut wchar_t ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:7086 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @fn\t\tMSPLogin"] # [doc = " @brief\tuser login interface"] # [doc = ""] # [doc = " User login."] # [doc = ""] # [doc = " @return\tint MSPAPI\t\t\t- Return 0 in success, otherwise return error code."] # [doc = " @param\tconst char* usr\t\t- [in] user name."] # [doc = " @param\tconst char* pwd\t\t- [in] password."] # [doc = " @param\tconst char* params\t- [in] parameters when user login."] # [doc = " @see"] pub fn MSPLogin (usr : * const :: std :: os :: raw :: c_char , pwd : * const :: std :: os :: raw :: c_char , params : * const :: std :: os :: raw :: c_char) -> :: 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/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:7086 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @fn\t\tMSPLogin"] # [doc = " @brief\tuser login interface"] # [doc = ""] # [doc = " User login."] # [doc = ""] # [doc = " @return\tint MSPAPI\t\t\t- Return 0 in success, otherwise return error code."] # [doc = " @param\tconst char* usr\t\t- [in] user name."] # [doc = " @param\tconst char* pwd\t\t- [in] password."] # [doc = " @param\tconst char* params\t- [in] parameters when user login."] # [doc = " @see"] pub fn MSPLogin (usr : * const :: std :: os :: raw :: c_char , pwd : * const :: std :: os :: raw :: c_char , params : * const :: std :: os :: raw :: c_char) -> :: 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/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:7966 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { pub fn MSPLoginW (usr : * const wchar_t , pwd : * const wchar_t , params : * const wchar_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/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:7966 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { pub fn MSPLoginW (usr : * const wchar_t , pwd : * const wchar_t , params : * const wchar_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/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:8294 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tMSPLogout"] # [doc = " @brief\tuser logout interface"] # [doc = ""] # [doc = " User logout"] # [doc = ""] # [doc = " @return\tint MSPAPI\t\t\t- Return 0 in success, otherwise return error code."] # [doc = " @see"] pub fn MSPLogout () -> :: 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/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:8294 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tMSPLogout"] # [doc = " @brief\tuser logout interface"] # [doc = ""] # [doc = " User logout"] # [doc = ""] # [doc = " @return\tint MSPAPI\t\t\t- Return 0 in success, otherwise return error code."] # [doc = " @see"] pub fn MSPLogout () -> :: 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/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:8711 [INFO] [stdout] | [INFO] [stdout] 3 | ...: std :: os :: raw :: c_int > ; extern "C" { pub fn MSPLogoutW () -> :: std :: os :: raw :: c_int ; } pub type Proc_MSPLogoutW = :: st... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:8711 [INFO] [stdout] | [INFO] [stdout] 3 | ...: std :: os :: raw :: c_int > ; extern "C" { pub fn MSPLogoutW () -> :: std :: os :: raw :: c_int ; } pub type Proc_MSPLogoutW = :: st... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:8897 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tMSPUpload"] # [doc = " @brief\tUpload User Specific Data"] # [doc = ""] # [doc = " Upload data such as user config, custom grammar, etc."] # [doc = ""] # [doc = " @return\tint MSPAPI\t\t\t\t- Return 0 in success, otherwise return error code."] # [doc = " @param\tconst char* dataName\t- [in] data name, should be unique to diff other data."] # [doc = " @param\tconst char* params\t\t- [in] parameters about uploading data."] # [doc = " @param\tconst char* dataID\t\t- [in] id of the data to be operated."] # [doc = " @see"] pub fn MSPUpload (dataName : * const :: std :: os :: raw :: c_char , params : * const :: std :: os :: raw :: c_char , dataID : * const :: std :: os :: raw :: c_char) -> :: 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/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:8897 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tMSPUpload"] # [doc = " @brief\tUpload User Specific Data"] # [doc = ""] # [doc = " Upload data such as user config, custom grammar, etc."] # [doc = ""] # [doc = " @return\tint MSPAPI\t\t\t\t- Return 0 in success, otherwise return error code."] # [doc = " @param\tconst char* dataName\t- [in] data name, should be unique to diff other data."] # [doc = " @param\tconst char* params\t\t- [in] parameters about uploading data."] # [doc = " @param\tconst char* dataID\t\t- [in] id of the data to be operated."] # [doc = " @see"] pub fn MSPUpload (dataName : * const :: std :: os :: raw :: c_char , params : * const :: std :: os :: raw :: c_char , dataID : * const :: std :: os :: raw :: c_char) -> :: 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/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:10825 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { pub fn MSPDownload (dataName : * const :: std :: os :: raw :: c_char , params : * const :: std :: os :: raw :: c_char , statusCb : DownloadStatusCB , resultCb : DownloadResultCB , userData : * mut :: std :: os :: raw :: c_void) -> :: 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/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:10825 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { pub fn MSPDownload (dataName : * const :: std :: os :: raw :: c_char , params : * const :: std :: os :: raw :: c_char , statusCb : DownloadStatusCB , resultCb : DownloadResultCB , userData : * mut :: std :: os :: raw :: c_void) -> :: 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/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:11425 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { pub fn MSPDownloadW (wdataName : * const wchar_t , wparams : * const wchar_t , statusCb : DownloadStatusCB , resultCb : DownloadResultCB , userData : * mut :: std :: os :: raw :: c_void) -> :: 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/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:11425 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { pub fn MSPDownloadW (wdataName : * const wchar_t , wparams : * const wchar_t , statusCb : DownloadStatusCB , resultCb : DownloadResultCB , userData : * mut :: std :: os :: raw :: c_void) -> :: 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/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:11943 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tMSPAppendData"] # [doc = " @brief\tAppend Data."] # [doc = ""] # [doc = " Write data to msc, such as data to be uploaded, searching text, etc."] # [doc = ""] # [doc = " @return\tint MSPAPI\t\t\t\t\t- Return 0 in success, otherwise return error code."] # [doc = " @param\tvoid* data\t\t\t\t\t- [in] the data buffer pointer, data could be binary."] # [doc = " @param\tunsigned int dataLen\t\t- [in] length of data."] # [doc = " @param\tunsigned int dataStatus\t\t- [in] data status, 2: first or continuous, 4: last."] # [doc = " @see"] pub fn MSPAppendData (data : * mut :: std :: os :: raw :: c_void , dataLen : :: std :: os :: raw :: c_uint , dataStatus : :: std :: os :: raw :: c_uint) -> :: 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/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:11943 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tMSPAppendData"] # [doc = " @brief\tAppend Data."] # [doc = ""] # [doc = " Write data to msc, such as data to be uploaded, searching text, etc."] # [doc = ""] # [doc = " @return\tint MSPAPI\t\t\t\t\t- Return 0 in success, otherwise return error code."] # [doc = " @param\tvoid* data\t\t\t\t\t- [in] the data buffer pointer, data could be binary."] # [doc = " @param\tunsigned int dataLen\t\t- [in] length of data."] # [doc = " @param\tunsigned int dataStatus\t\t- [in] data status, 2: first or continuous, 4: last."] # [doc = " @see"] pub fn MSPAppendData (data : * mut :: std :: os :: raw :: c_void , dataLen : :: std :: os :: raw :: c_uint , dataStatus : :: std :: os :: raw :: c_uint) -> :: 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/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:12946 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tMSPGetResult"] # [doc = " @brief\tGet Result"] # [doc = ""] # [doc = " Get result of uploading, downloading or searching, etc."] # [doc = ""] # [doc = " @return\tconst char* MSPAPI\t\t- Return result of uploading, downloading or searching, etc."] # [doc = " @param\tint* rsltLen\t\t\t- [out] Length of result returned."] # [doc = " @param\tint* rsltStatus\t\t\t- [out] Status of result returned."] # [doc = " @param\tint* errorCode\t\t\t- [out] Return 0 in success, otherwise return error code."] # [doc = " @see"] pub fn MSPGetResult (rsltLen : * mut :: std :: os :: raw :: c_uint , rsltStatus : * mut :: std :: os :: raw :: c_int , errorCode : * mut :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char ; } pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:13976 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tMSPSetParam"] # [doc = " @brief\tset params of msc"] # [doc = ""] # [doc = " set param of msc"] # [doc = ""] # [doc = " @return\tint\t- Return 0 if success, otherwise return errcode."] # [doc = " @param\tconst char* paramName\t- [in] param name."] # [doc = " @param\tconst char* paramValue\t- [in] param value"] # [doc = " @see"] pub fn MSPSetParam (paramName : * const :: std :: os :: raw :: c_char , paramValue : * const :: std :: os :: raw :: c_char) -> :: 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/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:12946 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tMSPGetResult"] # [doc = " @brief\tGet Result"] # [doc = ""] # [doc = " Get result of uploading, downloading or searching, etc."] # [doc = ""] # [doc = " @return\tconst char* MSPAPI\t\t- Return result of uploading, downloading or searching, etc."] # [doc = " @param\tint* rsltLen\t\t\t- [out] Length of result returned."] # [doc = " @param\tint* rsltStatus\t\t\t- [out] Status of result returned."] # [doc = " @param\tint* errorCode\t\t\t- [out] Return 0 in success, otherwise return error code."] # [doc = " @see"] pub fn MSPGetResult (rsltLen : * mut :: std :: os :: raw :: c_uint , rsltStatus : * mut :: std :: os :: raw :: c_int , errorCode : * mut :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char ; } pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:13976 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tMSPSetParam"] # [doc = " @brief\tset params of msc"] # [doc = ""] # [doc = " set param of msc"] # [doc = ""] # [doc = " @return\tint\t- Return 0 if success, otherwise return errcode."] # [doc = " @param\tconst char* paramName\t- [in] param name."] # [doc = " @param\tconst char* paramValue\t- [in] param value"] # [doc = " @see"] pub fn MSPSetParam (paramName : * const :: std :: os :: raw :: c_char , paramValue : * const :: std :: os :: raw :: c_char) -> :: 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/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:14717 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tMSPGetParam"] # [doc = " @brief\tget params of msc"] # [doc = ""] # [doc = " get param of msc"] # [doc = ""] # [doc = " @return\tint\t- Return 0 if success, otherwise return errcode."] # [doc = " @param\tconst char* paramName\t- [in] param name."] # [doc = " @param\tconst char* paramValue\t- [out] param value"] # [doc = " @param\tconst char* valueLen\t- [in/out] param value (buffer) length"] # [doc = " @see"] pub fn MSPGetParam (paramName : * const :: std :: os :: raw :: c_char , paramValue : * mut :: std :: os :: raw :: c_char , valueLen : * mut :: std :: os :: raw :: c_uint) -> :: 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/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:14717 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tMSPGetParam"] # [doc = " @brief\tget params of msc"] # [doc = ""] # [doc = " get param of msc"] # [doc = ""] # [doc = " @return\tint\t- Return 0 if success, otherwise return errcode."] # [doc = " @param\tconst char* paramName\t- [in] param name."] # [doc = " @param\tconst char* paramValue\t- [out] param value"] # [doc = " @param\tconst char* valueLen\t- [in/out] param value (buffer) length"] # [doc = " @see"] pub fn MSPGetParam (paramName : * const :: std :: os :: raw :: c_char , paramValue : * mut :: std :: os :: raw :: c_char , valueLen : * mut :: std :: os :: raw :: c_uint) -> :: 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/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:15635 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tMSPUploadData"] # [doc = " @brief\tUpload User Specific Data"] # [doc = ""] # [doc = " Upload data such as user config, custom grammar, etc."] # [doc = ""] # [doc = " @return\tconst char* MSPAPI\t\t- data id returned by Server, used for special command."] # [doc = " @param\tconst char* dataName\t- [in] data name, should be unique to diff other data."] # [doc = " @param\tvoid* data\t\t\t\t- [in] the data buffer pointer, data could be binary."] # [doc = " @param\tunsigned int dataLen\t- [in] length of data."] # [doc = " @param\tconst char* params\t\t- [in] parameters about uploading data."] # [doc = " @param\tint* errorCode\t\t\t- [out] Return 0 in success, otherwise return error code."] # [doc = " @see"] pub fn MSPUploadData (dataName : * const :: std :: os :: raw :: c_char , data : * mut :: std :: os :: raw :: c_void , dataLen : :: std :: os :: raw :: c_uint , params : * const :: std :: os :: raw :: c_char , errorCode : * mut :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char ; } pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:15635 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tMSPUploadData"] # [doc = " @brief\tUpload User Specific Data"] # [doc = ""] # [doc = " Upload data such as user config, custom grammar, etc."] # [doc = ""] # [doc = " @return\tconst char* MSPAPI\t\t- data id returned by Server, used for special command."] # [doc = " @param\tconst char* dataName\t- [in] data name, should be unique to diff other data."] # [doc = " @param\tvoid* data\t\t\t\t- [in] the data buffer pointer, data could be binary."] # [doc = " @param\tunsigned int dataLen\t- [in] length of data."] # [doc = " @param\tconst char* params\t\t- [in] parameters about uploading data."] # [doc = " @param\tint* errorCode\t\t\t- [out] Return 0 in success, otherwise return error code."] # [doc = " @see"] pub fn MSPUploadData (dataName : * const :: std :: os :: raw :: c_char , data : * mut :: std :: os :: raw :: c_void , dataLen : :: std :: os :: raw :: c_uint , params : * const :: std :: os :: raw :: c_char , errorCode : * mut :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char ; } pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:17043 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tMSPDownloadData"] # [doc = " @brief\tDownload User Specific Data"] # [doc = ""] # [doc = " Download data such as user config, etc."] # [doc = ""] # [doc = " @return\tconst void*\tMSPAPI\t\t- received data buffer pointer, data could be binary, NULL if failed or data does not exsit."] # [doc = " @param\tconst char* params\t\t- [in] parameters about data to be downloaded."] # [doc = " @param\tunsigned int* dataLen\t- [out] length of received data."] # [doc = " @param\tint* errorCode\t\t\t- [out] Return 0 in success, otherwise return error code."] # [doc = " @see"] pub fn MSPDownloadData (params : * const :: std :: os :: raw :: c_char , dataLen : * mut :: std :: os :: raw :: c_uint , errorCode : * mut :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_void ; } pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:17043 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tMSPDownloadData"] # [doc = " @brief\tDownload User Specific Data"] # [doc = ""] # [doc = " Download data such as user config, etc."] # [doc = ""] # [doc = " @return\tconst void*\tMSPAPI\t\t- received data buffer pointer, data could be binary, NULL if failed or data does not exsit."] # [doc = " @param\tconst char* params\t\t- [in] parameters about data to be downloaded."] # [doc = " @param\tunsigned int* dataLen\t- [out] length of received data."] # [doc = " @param\tint* errorCode\t\t\t- [out] Return 0 in success, otherwise return error code."] # [doc = " @see"] pub fn MSPDownloadData (params : * const :: std :: os :: raw :: c_char , dataLen : * mut :: std :: os :: raw :: c_uint , errorCode : * mut :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_void ; } pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:18130 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { pub fn MSPDownloadDataW (params : * const wchar_t , dataLen : * mut :: std :: os :: raw :: c_uint , errorCode : * mut :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_void ; } pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:18130 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { pub fn MSPDownloadDataW (params : * const wchar_t , dataLen : * mut :: std :: os :: raw :: c_uint , errorCode : * mut :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_void ; } pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:18588 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tMSPSearch"] # [doc = " @brief\tSearch text for result"] # [doc = ""] # [doc = " Search text content, and got text result"] # [doc = ""] # [doc = " @return\tconst void*\tMSPAPI\t\t- received data buffer pointer, data could be binary, NULL if failed or data does not exsit."] # [doc = " @param\tconst char* params\t\t- [in] parameters about data to be downloaded."] # [doc = " @param\tunsigned int* dataLen\t- [out] length of received data."] # [doc = " @param\tint* errorCode\t\t\t- [out] Return 0 in success, otherwise return error code."] # [doc = " @see"] pub fn MSPSearch (params : * const :: std :: os :: raw :: c_char , text : * const :: std :: os :: raw :: c_char , dataLen : * mut :: std :: os :: raw :: c_uint , errorCode : * mut :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char ; } pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:18588 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tMSPSearch"] # [doc = " @brief\tSearch text for result"] # [doc = ""] # [doc = " Search text content, and got text result"] # [doc = ""] # [doc = " @return\tconst void*\tMSPAPI\t\t- received data buffer pointer, data could be binary, NULL if failed or data does not exsit."] # [doc = " @param\tconst char* params\t\t- [in] parameters about data to be downloaded."] # [doc = " @param\tunsigned int* dataLen\t- [out] length of received data."] # [doc = " @param\tint* errorCode\t\t\t- [out] Return 0 in success, otherwise return error code."] # [doc = " @see"] pub fn MSPSearch (params : * const :: std :: os :: raw :: c_char , text : * const :: std :: os :: raw :: c_char , dataLen : * mut :: std :: os :: raw :: c_uint , errorCode : * mut :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char ; } pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:20131 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { pub fn MSPNlpSearch (params : * const :: std :: os :: raw :: c_char , text : * const :: std :: os :: raw :: c_char , textLen : :: std :: os :: raw :: c_uint , errorCode : * mut :: std :: os :: raw :: c_int , callback : NLPSearchCB , userData : * mut :: std :: os :: raw :: c_void) -> * const :: std :: os :: raw :: c_char ; } pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:20131 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { pub fn MSPNlpSearch (params : * const :: std :: os :: raw :: c_char , text : * const :: std :: os :: raw :: c_char , textLen : :: std :: os :: raw :: c_uint , errorCode : * mut :: std :: os :: raw :: c_int , callback : NLPSearchCB , userData : * mut :: std :: os :: raw :: c_void) -> * const :: std :: os :: raw :: c_char ; } pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:20855 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { pub fn MSPNlpSchCancel (sessionID : * const :: std :: os :: raw :: c_char , hints : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } # ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:20855 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { pub fn MSPNlpSchCancel (sessionID : * const :: std :: os :: raw :: c_char , hints : * const :: std :: os :: raw :: c_char) -> :: std :: os :: raw :: c_int ; } # ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:21687 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { pub fn MSPRegisterNotify (statusCb : msp_status_ntf_handler , userData : * mut :: std :: os :: raw :: c_void) -> :: 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/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:22060 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tMSPGetVersion"] # [doc = " @brief\tGet version of MSC or Local Engine"] # [doc = ""] # [doc = " Get version of MSC or Local Engine"] # [doc = ""] # [doc = " @return\tconst char * MSPAPI\t\t- Return version value if success, NULL if fail."] # [doc = " @param\tconst char *verName\t\t- [in] version name, could be \"msc\", \"aitalk\", \"aisound\", \"ivw\"."] # [doc = " @param\tint *errorCode\t\t\t- [out] Return 0 in success, otherwise return error code."] # [doc = " @see"] pub fn MSPGetVersion (verName : * const :: std :: os :: raw :: c_char , errorCode : * mut :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char ; } pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:21687 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { pub fn MSPRegisterNotify (statusCb : msp_status_ntf_handler , userData : * mut :: std :: os :: raw :: c_void) -> :: 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/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:22060 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tMSPGetVersion"] # [doc = " @brief\tGet version of MSC or Local Engine"] # [doc = ""] # [doc = " Get version of MSC or Local Engine"] # [doc = ""] # [doc = " @return\tconst char * MSPAPI\t\t- Return version value if success, NULL if fail."] # [doc = " @param\tconst char *verName\t\t- [in] version name, could be \"msc\", \"aitalk\", \"aisound\", \"ivw\"."] # [doc = " @param\tint *errorCode\t\t\t- [out] Return 0 in success, otherwise return error code."] # [doc = " @see"] pub fn MSPGetVersion (verName : * const :: std :: os :: raw :: c_char , errorCode : * mut :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char ; } pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:57289 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tQISESessionBegin"] # [doc = " @brief\tBegin a Evaluation Session"] # [doc = ""] # [doc = " Create a evaluation session to evaluate audio data"] # [doc = ""] # [doc = " @return\tconst char* MSPAPI\t\t- Return the new session id in success, otherwise return NULL."] # [doc = " @param\tconst char* params\t\t- [in] Parameters to create session."] # [doc = " @param\tconst char* userModelId\t- [in] user model id."] # [doc = " @param\tint *errorCode\t\t\t- [out] Return 0 in success, otherwise return error code."] # [doc = " @see"] pub fn QISESessionBegin (params : * const :: std :: os :: raw :: c_char , userModelId : * const :: std :: os :: raw :: c_char , errorCode : * mut :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char ; } pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:57289 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tQISESessionBegin"] # [doc = " @brief\tBegin a Evaluation Session"] # [doc = ""] # [doc = " Create a evaluation session to evaluate audio data"] # [doc = ""] # [doc = " @return\tconst char* MSPAPI\t\t- Return the new session id in success, otherwise return NULL."] # [doc = " @param\tconst char* params\t\t- [in] Parameters to create session."] # [doc = " @param\tconst char* userModelId\t- [in] user model id."] # [doc = " @param\tint *errorCode\t\t\t- [out] Return 0 in success, otherwise return error code."] # [doc = " @see"] pub fn QISESessionBegin (params : * const :: std :: os :: raw :: c_char , userModelId : * const :: std :: os :: raw :: c_char , errorCode : * mut :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char ; } pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:58351 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tQISEPaperCheck"] # [doc = " @brief\tPaper Check"] # [doc = ""] # [doc = " Checking the papaer ."] # [doc = ""] # [doc = " @return\tint MSPAPI\t\t\t\t- Return 0 in success, otherwise return error code."] # [doc = " @param\tvoid *data\t- [in] Text buffer."] # [doc = " @param\tunsigned int* dataLen\t- [in] Text length in bytes,[out] Length of result returned"] # [doc = " @param\tconst char* params\t\t- [in] Parameters describing the text."] # [doc = " @see"] pub fn QISEPaperCheck (data : * mut :: std :: os :: raw :: c_void , dataLen : * mut :: std :: os :: raw :: c_uint , params : * const :: std :: os :: raw :: c_char , errorCode : * mut :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:59101 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @fn\t\tQISETextPut"] # [doc = " @brief\tPut Text"] # [doc = ""] # [doc = " Writing text string to evaluator."] # [doc = ""] # [doc = " @return\tint MSPAPI\t\t\t\t- Return 0 in success, otherwise return error code."] # [doc = " @param\tconst char* sessionID\t- [in] The session id returned by QISESessionBegin."] # [doc = " @param\tconst char* textString\t- [in] Text buffer."] # [doc = " @param\tunsigned int textLen\t- [in] Text length in bytes."] # [doc = " @param\tconst char* params\t\t- [in] Parameters describing the text."] # [doc = " @see"] pub fn QISETextPut (sessionID : * const :: std :: os :: raw :: c_char , textString : * const :: std :: os :: raw :: c_char , textLen : :: std :: os :: raw :: c_uint , params : * const :: std :: os :: raw :: c_char) -> :: 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/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:58351 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tQISEPaperCheck"] # [doc = " @brief\tPaper Check"] # [doc = ""] # [doc = " Checking the papaer ."] # [doc = ""] # [doc = " @return\tint MSPAPI\t\t\t\t- Return 0 in success, otherwise return error code."] # [doc = " @param\tvoid *data\t- [in] Text buffer."] # [doc = " @param\tunsigned int* dataLen\t- [in] Text length in bytes,[out] Length of result returned"] # [doc = " @param\tconst char* params\t\t- [in] Parameters describing the text."] # [doc = " @see"] pub fn QISEPaperCheck (data : * mut :: std :: os :: raw :: c_void , dataLen : * mut :: std :: os :: raw :: c_uint , params : * const :: std :: os :: raw :: c_char , errorCode : * mut :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:60236 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tQISEAudioWrite"] # [doc = " @brief\tWrite Audio"] # [doc = ""] # [doc = " Writing binary audio data to evaluator."] # [doc = ""] # [doc = " @return\tint MSPAPI\t\t\t\t- Return 0 in success, otherwise return error code."] # [doc = " @param\tconst char* sessionID\t- [in] The session id returned by QISESessionBegin."] # [doc = " @param\tconst void* waveData\t- [in] Audio data to write."] # [doc = " @param\tunsigned int waveLen\t- [in] Audio length in bytes."] # [doc = " @param\tint audioStatus\t\t\t- [in] Audio status."] # [doc = " @param\tint *epStatus\t\t\t- [out] EP or vad status."] # [doc = " @param\tint *evlStatus\t\t\t- [out] Status of evaluation result, 0: success, 1: no match, 2: incomplete, 5:speech complete."] # [doc = " @see"] pub fn QISEAudioWrite (sessionID : * const :: std :: os :: raw :: c_char , waveData : * const :: std :: os :: raw :: c_void , waveLen : :: std :: os :: raw :: c_uint , audioStatus : :: std :: os :: raw :: c_int , epStatus : * mut :: std :: os :: raw :: c_int , Status : * mut :: std :: os :: raw :: c_int) -> :: 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/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:59101 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @fn\t\tQISETextPut"] # [doc = " @brief\tPut Text"] # [doc = ""] # [doc = " Writing text string to evaluator."] # [doc = ""] # [doc = " @return\tint MSPAPI\t\t\t\t- Return 0 in success, otherwise return error code."] # [doc = " @param\tconst char* sessionID\t- [in] The session id returned by QISESessionBegin."] # [doc = " @param\tconst char* textString\t- [in] Text buffer."] # [doc = " @param\tunsigned int textLen\t- [in] Text length in bytes."] # [doc = " @param\tconst char* params\t\t- [in] Parameters describing the text."] # [doc = " @see"] pub fn QISETextPut (sessionID : * const :: std :: os :: raw :: c_char , textString : * const :: std :: os :: raw :: c_char , textLen : :: std :: os :: raw :: c_uint , params : * const :: std :: os :: raw :: c_char) -> :: 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/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:61761 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tQISEGetResult"] # [doc = " @brief\tGet Evaluation Result"] # [doc = ""] # [doc = " Get evaluation result."] # [doc = ""] # [doc = " @return\tint MSPAPI\t\t\t\t- Return 0 in success, otherwise return error code."] # [doc = " @param\tconst char* sessionID\t- [in] The session id returned by QISESessionBegin."] # [doc = " @param\tint* rsltLen\t\t\t- [out] Length of result returned."] # [doc = " @param\tint* rsltStatus\t\t\t- [out] Status of evaluation result returned."] # [doc = " @param\tint* errorCode\t\t\t- [out] Return 0 in success, otherwise return error code."] # [doc = " @see"] pub fn QISEGetResult (sessionID : * const :: std :: os :: raw :: c_char , rsltLen : * mut :: std :: os :: raw :: c_uint , rsltStatus : * mut :: std :: os :: raw :: c_int , errorCode : * mut :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char ; } pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:60236 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tQISEAudioWrite"] # [doc = " @brief\tWrite Audio"] # [doc = ""] # [doc = " Writing binary audio data to evaluator."] # [doc = ""] # [doc = " @return\tint MSPAPI\t\t\t\t- Return 0 in success, otherwise return error code."] # [doc = " @param\tconst char* sessionID\t- [in] The session id returned by QISESessionBegin."] # [doc = " @param\tconst void* waveData\t- [in] Audio data to write."] # [doc = " @param\tunsigned int waveLen\t- [in] Audio length in bytes."] # [doc = " @param\tint audioStatus\t\t\t- [in] Audio status."] # [doc = " @param\tint *epStatus\t\t\t- [out] EP or vad status."] # [doc = " @param\tint *evlStatus\t\t\t- [out] Status of evaluation result, 0: success, 1: no match, 2: incomplete, 5:speech complete."] # [doc = " @see"] pub fn QISEAudioWrite (sessionID : * const :: std :: os :: raw :: c_char , waveData : * const :: std :: os :: raw :: c_void , waveLen : :: std :: os :: raw :: c_uint , audioStatus : :: std :: os :: raw :: c_int , epStatus : * mut :: std :: os :: raw :: c_int , Status : * mut :: std :: os :: raw :: c_int) -> :: 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/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:62970 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tQISEResultInfo"] # [doc = " @brief\tGet Result Info"] # [doc = ""] # [doc = " Get info of evaluation result."] # [doc = ""] # [doc = " @return\tconst char *\t\t\t- The session id returned by QISESessionBegin."] # [doc = " @param\tconst char* sessionID\t- [in] session id returned by QISESessionBegin."] # [doc = " @see"] pub fn QISEResultInfo (sessionID : * const :: std :: os :: raw :: c_char , errorCode : * mut :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char ; } pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:61761 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tQISEGetResult"] # [doc = " @brief\tGet Evaluation Result"] # [doc = ""] # [doc = " Get evaluation result."] # [doc = ""] # [doc = " @return\tint MSPAPI\t\t\t\t- Return 0 in success, otherwise return error code."] # [doc = " @param\tconst char* sessionID\t- [in] The session id returned by QISESessionBegin."] # [doc = " @param\tint* rsltLen\t\t\t- [out] Length of result returned."] # [doc = " @param\tint* rsltStatus\t\t\t- [out] Status of evaluation result returned."] # [doc = " @param\tint* errorCode\t\t\t- [out] Return 0 in success, otherwise return error code."] # [doc = " @see"] pub fn QISEGetResult (sessionID : * const :: std :: os :: raw :: c_char , rsltLen : * mut :: std :: os :: raw :: c_uint , rsltStatus : * mut :: std :: os :: raw :: c_int , errorCode : * mut :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char ; } pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:63718 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tQISESessionEnd"] # [doc = " @brief\tEnd a ISR Session"] # [doc = ""] # [doc = " End a evaluation session, release all resource."] # [doc = ""] # [doc = " @return\tint MSPAPI\t\t\t\t- Return 0 in success, otherwise return error code."] # [doc = " @param\tconst char* sessionID\t- [in] The session id returned by QISESessionBegin."] # [doc = " @param\tconst char* hints\t\t- [in] Reason to end current session."] # [doc = " @see"] pub fn QISESessionEnd (sessionID : * const :: std :: os :: raw :: c_char , hints : * const :: std :: os :: raw :: c_char) -> :: 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/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:62970 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tQISEResultInfo"] # [doc = " @brief\tGet Result Info"] # [doc = ""] # [doc = " Get info of evaluation result."] # [doc = ""] # [doc = " @return\tconst char *\t\t\t- The session id returned by QISESessionBegin."] # [doc = " @param\tconst char* sessionID\t- [in] session id returned by QISESessionBegin."] # [doc = " @see"] pub fn QISEResultInfo (sessionID : * const :: std :: os :: raw :: c_char , errorCode : * mut :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char ; } pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:64554 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tQISEGetParam"] # [doc = " @brief\tget params related with msc"] # [doc = ""] # [doc = " the params could be local or server param, we only support netflow params \"upflow\" & \"downflow\" now"] # [doc = ""] # [doc = " @return\tint\tMSPAPI\t\t\t\t- Return 0 in success, otherwise return error code."] # [doc = " @param\tconst char* sessionID\t- [in] session id of related param, set NULL to got global param"] # [doc = " @param\tconst char* paramName\t- [in] param name,could pass more than one param splited by ',' ';' or '\\n'."] # [doc = " @param\tconst char* paramValue\t- [in] param value buffer, malloced by user."] # [doc = " @param\tint *valueLen\t\t\t- [in, out] in: length of value buffer, out: length of value string."] # [doc = " @see"] pub fn QISEGetParam (sessionID : * const :: std :: os :: raw :: c_char , paramName : * const :: std :: os :: raw :: c_char , paramValue : * mut :: std :: os :: raw :: c_char , valueLen : * mut :: std :: os :: raw :: c_uint) -> :: 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/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:63718 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tQISESessionEnd"] # [doc = " @brief\tEnd a ISR Session"] # [doc = ""] # [doc = " End a evaluation session, release all resource."] # [doc = ""] # [doc = " @return\tint MSPAPI\t\t\t\t- Return 0 in success, otherwise return error code."] # [doc = " @param\tconst char* sessionID\t- [in] The session id returned by QISESessionBegin."] # [doc = " @param\tconst char* hints\t\t- [in] Reason to end current session."] # [doc = " @see"] pub fn QISESessionEnd (sessionID : * const :: std :: os :: raw :: c_char , hints : * const :: std :: os :: raw :: c_char) -> :: 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/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:65913 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tQTTSSessionBegin"] # [doc = " @brief\tBegin a TTS Session"] # [doc = ""] # [doc = " Create a tts session to synthesize data."] # [doc = ""] # [doc = " @return\tconst char* - Return the new session id in success, otherwise return NULL, error code."] # [doc = " @param\tconst char* params\t\t\t- [in] parameters when the session created."] # [doc = " @param\tconst char** sessionID\t\t- [out] return a string to this session."] # [doc = " @see"] pub fn QTTSSessionBegin (params : * const :: std :: os :: raw :: c_char , errorCode : * mut :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char ; } pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:64554 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tQISEGetParam"] # [doc = " @brief\tget params related with msc"] # [doc = ""] # [doc = " the params could be local or server param, we only support netflow params \"upflow\" & \"downflow\" now"] # [doc = ""] # [doc = " @return\tint\tMSPAPI\t\t\t\t- Return 0 in success, otherwise return error code."] # [doc = " @param\tconst char* sessionID\t- [in] session id of related param, set NULL to got global param"] # [doc = " @param\tconst char* paramName\t- [in] param name,could pass more than one param splited by ',' ';' or '\\n'."] # [doc = " @param\tconst char* paramValue\t- [in] param value buffer, malloced by user."] # [doc = " @param\tint *valueLen\t\t\t- [in, out] in: length of value buffer, out: length of value string."] # [doc = " @see"] pub fn QISEGetParam (sessionID : * const :: std :: os :: raw :: c_char , paramName : * const :: std :: os :: raw :: c_char , paramValue : * mut :: std :: os :: raw :: c_char , valueLen : * mut :: std :: os :: raw :: c_uint) -> :: 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/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:66782 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tQTTSTextPut"] # [doc = " @brief\tPut Text Buffer to TTS Session"] # [doc = ""] # [doc = " Writing text string to synthesizer."] # [doc = ""] # [doc = " @return\tint MSPAPI\t- Return 0 in success, otherwise return error code."] # [doc = " @param\tconst char* sessionID\t- [in] The session id returned by sesson begin"] # [doc = " @param\tconst char* textString\t- [in] text buffer"] # [doc = " @param\tunsigned int textLen\t- [in] text size in bytes"] # [doc = " @see"] pub fn QTTSTextPut (sessionID : * const :: std :: os :: raw :: c_char , textString : * const :: std :: os :: raw :: c_char , textLen : :: std :: os :: raw :: c_uint , params : * const :: std :: os :: raw :: c_char) -> :: 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/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:65913 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tQTTSSessionBegin"] # [doc = " @brief\tBegin a TTS Session"] # [doc = ""] # [doc = " Create a tts session to synthesize data."] # [doc = ""] # [doc = " @return\tconst char* - Return the new session id in success, otherwise return NULL, error code."] # [doc = " @param\tconst char* params\t\t\t- [in] parameters when the session created."] # [doc = " @param\tconst char** sessionID\t\t- [out] return a string to this session."] # [doc = " @see"] pub fn QTTSSessionBegin (params : * const :: std :: os :: raw :: c_char , errorCode : * mut :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_char ; } pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:67844 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tQTTSAudioGet"] # [doc = " @brief\tSynthesize text to audio"] # [doc = ""] # [doc = " Synthesize text to audio, and return audio information."] # [doc = ""] # [doc = " @return\tconst void*\t- Return current synthesized audio data buffer, size returned by QTTSTextSynth."] # [doc = " @param\tconst char* sessionID\t- [in] session id returned by session begin"] # [doc = " @param\tunsigned int* audioLen \t- [out] synthesized audio size in bytes"] # [doc = " @param\tint* synthStatus\t- [out] synthesizing status"] # [doc = " @param\tint* errorCode\t- [out] error code if failed, 0 to success."] # [doc = " @see"] pub fn QTTSAudioGet (sessionID : * const :: std :: os :: raw :: c_char , audioLen : * mut :: std :: os :: raw :: c_uint , synthStatus : * mut :: std :: os :: raw :: c_int , errorCode : * mut :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_void ; } pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:66782 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tQTTSTextPut"] # [doc = " @brief\tPut Text Buffer to TTS Session"] # [doc = ""] # [doc = " Writing text string to synthesizer."] # [doc = ""] # [doc = " @return\tint MSPAPI\t- Return 0 in success, otherwise return error code."] # [doc = " @param\tconst char* sessionID\t- [in] The session id returned by sesson begin"] # [doc = " @param\tconst char* textString\t- [in] text buffer"] # [doc = " @param\tunsigned int textLen\t- [in] text size in bytes"] # [doc = " @see"] pub fn QTTSTextPut (sessionID : * const :: std :: os :: raw :: c_char , textString : * const :: std :: os :: raw :: c_char , textLen : :: std :: os :: raw :: c_uint , params : * const :: std :: os :: raw :: c_char) -> :: 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/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:69078 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tQTTSAudioInfo"] # [doc = " @brief\tGet Synthesized Audio information"] # [doc = ""] # [doc = " Get synthesized audio data information."] # [doc = ""] # [doc = " @return\tconst char * - Return audio info string."] # [doc = " @param\tconst char* sessionID\t- [in] session id returned by session begin"] # [doc = " @see"] pub fn QTTSAudioInfo (sessionID : * const :: std :: os :: raw :: c_char) -> * const :: std :: os :: raw :: c_char ; } pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:67844 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tQTTSAudioGet"] # [doc = " @brief\tSynthesize text to audio"] # [doc = ""] # [doc = " Synthesize text to audio, and return audio information."] # [doc = ""] # [doc = " @return\tconst void*\t- Return current synthesized audio data buffer, size returned by QTTSTextSynth."] # [doc = " @param\tconst char* sessionID\t- [in] session id returned by session begin"] # [doc = " @param\tunsigned int* audioLen \t- [out] synthesized audio size in bytes"] # [doc = " @param\tint* synthStatus\t- [out] synthesizing status"] # [doc = " @param\tint* errorCode\t- [out] error code if failed, 0 to success."] # [doc = " @see"] pub fn QTTSAudioGet (sessionID : * const :: std :: os :: raw :: c_char , audioLen : * mut :: std :: os :: raw :: c_uint , synthStatus : * mut :: std :: os :: raw :: c_int , errorCode : * mut :: std :: os :: raw :: c_int) -> * const :: std :: os :: raw :: c_void ; } pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:69724 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tQTTSSessionEnd"] # [doc = " @brief\tEnd a Recognizer Session"] # [doc = ""] # [doc = " End the recognizer session, release all resource."] # [doc = ""] # [doc = " @return\tint MSPAPI\t- Return 0 in success, otherwise return error code."] # [doc = " @param\tconst char* session_id\t- [in] session id string to end"] # [doc = " @param\tconst char* hints\t- [in] user hints to end session, hints will be logged to CallLog"] # [doc = " @see"] pub fn QTTSSessionEnd (sessionID : * const :: std :: os :: raw :: c_char , hints : * const :: std :: os :: raw :: c_char) -> :: 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/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:69078 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tQTTSAudioInfo"] # [doc = " @brief\tGet Synthesized Audio information"] # [doc = ""] # [doc = " Get synthesized audio data information."] # [doc = ""] # [doc = " @return\tconst char * - Return audio info string."] # [doc = " @param\tconst char* sessionID\t- [in] session id returned by session begin"] # [doc = " @see"] pub fn QTTSAudioInfo (sessionID : * const :: std :: os :: raw :: c_char) -> * const :: std :: os :: raw :: c_char ; } pu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:70570 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tQTTSGetParam"] # [doc = " @brief\tget params related with msc"] # [doc = ""] # [doc = " the params could be local or server param, we only support netflow params \"upflow\" & \"downflow\" now"] # [doc = ""] # [doc = " @return\tint\t- Return 0 if success, otherwise return errcode."] # [doc = " @param\tconst char* sessionID\t- [in] session id of related param, set NULL to got global param"] # [doc = " @param\tconst char* paramName\t- [in] param name,could pass more than one param split by ','';'or'\\n'"] # [doc = " @param\tconst char* paramValue\t- [in] param value buffer, malloced by user"] # [doc = " @param\tint *valueLen\t\t\t- [in, out] pass in length of value buffer, and return length of value string"] # [doc = " @see"] pub fn QTTSGetParam (sessionID : * const :: std :: os :: raw :: c_char , paramName : * const :: std :: os :: raw :: c_char , paramValue : * mut :: std :: os :: raw :: c_char , valueLen : * mut :: std :: os :: raw :: c_uint) -> :: 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/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:69724 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tQTTSSessionEnd"] # [doc = " @brief\tEnd a Recognizer Session"] # [doc = ""] # [doc = " End the recognizer session, release all resource."] # [doc = ""] # [doc = " @return\tint MSPAPI\t- Return 0 in success, otherwise return error code."] # [doc = " @param\tconst char* session_id\t- [in] session id string to end"] # [doc = " @param\tconst char* hints\t- [in] user hints to end session, hints will be logged to CallLog"] # [doc = " @see"] pub fn QTTSSessionEnd (sessionID : * const :: std :: os :: raw :: c_char , hints : * const :: std :: os :: raw :: c_char) -> :: 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/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:71914 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tQTTSSetParam"] # [doc = " @brief\tset params related with msc"] # [doc = ""] # [doc = " the params could be local or server param, we only support netflow params \"upflow\" & \"downflow\" now"] # [doc = ""] # [doc = " @return\tint\t- Return 0 if success, otherwise return errcode."] # [doc = " @param\tconst char* sessionID\t- [in] session id of related param, set NULL to got global param"] # [doc = " @param\tconst char* paramName\t- [in] param name,could pass more than one param split by ','';'or'\\n'"] # [doc = " @param\tconst char* paramValue\t- [in] param value buffer, malloced by user"] # [doc = " @see"] pub fn QTTSSetParam (sessionID : * const :: std :: os :: raw :: c_char , paramName : * const :: std :: os :: raw :: c_char , paramValue : * const :: std :: os :: raw :: c_char) -> :: 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/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:70570 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tQTTSGetParam"] # [doc = " @brief\tget params related with msc"] # [doc = ""] # [doc = " the params could be local or server param, we only support netflow params \"upflow\" & \"downflow\" now"] # [doc = ""] # [doc = " @return\tint\t- Return 0 if success, otherwise return errcode."] # [doc = " @param\tconst char* sessionID\t- [in] session id of related param, set NULL to got global param"] # [doc = " @param\tconst char* paramName\t- [in] param name,could pass more than one param split by ','';'or'\\n'"] # [doc = " @param\tconst char* paramValue\t- [in] param value buffer, malloced by user"] # [doc = " @param\tint *valueLen\t\t\t- [in, out] pass in length of value buffer, and return length of value string"] # [doc = " @see"] pub fn QTTSGetParam (sessionID : * const :: std :: os :: raw :: c_char , paramName : * const :: std :: os :: raw :: c_char , paramValue : * mut :: std :: os :: raw :: c_char , valueLen : * mut :: std :: os :: raw :: c_uint) -> :: 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/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:71914 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { # [doc = " @fn\t\tQTTSSetParam"] # [doc = " @brief\tset params related with msc"] # [doc = ""] # [doc = " the params could be local or server param, we only support netflow params \"upflow\" & \"downflow\" now"] # [doc = ""] # [doc = " @return\tint\t- Return 0 if success, otherwise return errcode."] # [doc = " @param\tconst char* sessionID\t- [in] session id of related param, set NULL to got global param"] # [doc = " @param\tconst char* paramName\t- [in] param name,could pass more than one param split by ','';'or'\\n'"] # [doc = " @param\tconst char* paramValue\t- [in] param value buffer, malloced by user"] # [doc = " @see"] pub fn QTTSSetParam (sessionID : * const :: std :: os :: raw :: c_char , paramName : * const :: std :: os :: raw :: c_char , paramValue : * const :: std :: os :: raw :: c_char) -> :: 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/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:74140 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { pub fn QTTSRegisterNotify (sessionID : * const :: std :: os :: raw :: c_char , rsltCb : tts_result_ntf_handler , statusCb : tts_status_ntf_handler , errCb : tts_error_ntf_handler , userData : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/iflytek-sys-6db82f063c0c8021/out/bindings.rs:3:74140 [INFO] [stdout] | [INFO] [stdout] 3 | ... ; extern "C" { pub fn QTTSRegisterNotify (sessionID : * const :: std :: os :: raw :: c_char , rsltCb : tts_result_ntf_handler , statusCb : tts_status_ntf_handler , errCb : tts_error_ntf_handler , userData : * mut :: std :: os :: raw :: c_void) -> :: std :: os :: raw :: c_int ; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 37 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 37 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `iflytek-sys` (lib) due to 38 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `iflytek-sys` (lib test) due to 38 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" "e11ed11122c52601a573085991c59b693452e3fc0fff5b3ba8a076b7f0a1cefd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e11ed11122c52601a573085991c59b693452e3fc0fff5b3ba8a076b7f0a1cefd", kill_on_drop: false }` [INFO] [stdout] e11ed11122c52601a573085991c59b693452e3fc0fff5b3ba8a076b7f0a1cefd