[INFO] fetching crate lzav 0.1.1... [INFO] checking lzav-0.1.1 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate lzav 0.1.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate lzav 0.1.1 on toolchain 65132f36b923285d5da381c2fbafee6ce899e841 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate lzav 0.1.1 [INFO] finished tweaking crates.io crate lzav 0.1.1 [INFO] tweaked toml for crates.io crate lzav 0.1.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 41 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ed90126949ed06d01afb68727f75f841e86efc5bf5aba241713b47d2edf8ea45 [INFO] running `Command { std: "docker" "start" "-a" "ed90126949ed06d01afb68727f75f841e86efc5bf5aba241713b47d2edf8ea45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ed90126949ed06d01afb68727f75f841e86efc5bf5aba241713b47d2edf8ea45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed90126949ed06d01afb68727f75f841e86efc5bf5aba241713b47d2edf8ea45", kill_on_drop: false }` [INFO] [stdout] ed90126949ed06d01afb68727f75f841e86efc5bf5aba241713b47d2edf8ea45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 458a122c80bd31b09ce8307ba5501dc7ffb2b0a2c75f83224cf72a3eee652d91 [INFO] running `Command { std: "docker" "start" "-a" "458a122c80bd31b09ce8307ba5501dc7ffb2b0a2c75f83224cf72a3eee652d91", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling prettyplease v0.2.25 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling yansi-term v0.1.2 [INFO] [stderr] Compiling bindgen v0.70.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling annotate-snippets v0.9.2 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling lzav v0.1.1 (/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/lzav-57804fb6b2d0f28a/out/bindings.rs (7 fixes) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.48s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling lzav v0.1.1 (/tmp/fixit) [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lzav-57804fb6b2d0f28a/out/bindings.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern "C" { # [doc = " @brief Function returns buffer size required for LZAV compression.\n\n @param src_len The length of the source data to be compressed.\n @return The required allocation size for destination compression buffer.\n Always a positive value."] pub fn compress_bound (src_len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lzav-57804fb6b2d0f28a/out/bindings.rs:3:362 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Function returns buffer size required for the higher-ratio LZAV\n compression.\n\n @param src_len The length of the source data to be compressed.\n @return The required allocation size for destination compression buffer.\n Always a positive value."] pub fn compress_bound_hi (src_len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lzav-57804fb6b2d0f28a/out/bindings.rs:3:745 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief LZAV compression function, with external buffer option.\n\n Function performs in-memory data compression using the LZAV compression\n algorithm and stream format. The function produces a \"raw\" compressed data,\n without a header containing data length nor identifier nor checksum.\n\n Note that compression algorithm and its output on the same source data may\n differ between LZAV versions, and may differ between big- and little-endian\n systems. However, the decompression of a compressed data produced by any\n prior compressor version will remain possible.\n\n @param[in] src Source (uncompressed) data pointer, can be 0 if `src_len`\n equals 0. Address alignment is unimportant.\n @param[out] dst Destination (compressed data) buffer pointer. The allocated\n size should be at least lzav_compress_bound() bytes large. Address\n alignment is unimportant. Should be different to `src`.\n @param src_len Source data length, in bytes, can be 0: in this case the\n compressed length is assumed to be 0 as well.\n @param dst_len Destination buffer's capacity, in bytes.\n @param ext_buf External buffer to use for hash-table, set to 0 for the\n function to manage memory itself (via standard `malloc`). Supplying a\n pre-allocated buffer is useful if compression is performed during\n application's operation often: this reduces memory allocation overhead and\n fragmentation. Note that the access to the supplied buffer is not\n implicitly thread-safe. Buffer's address must be aligned to 32 bits.\n @param ext_bufl The capacity of the `ext_buf`, in bytes, should be a\n power-of-2 value. Set to 0 if `ext_buf` is 0. The capacity should not be\n lesser than 4 x `src_len`, and not greater than 1 MiB. Same `ext_bufl` value\n can be used for any smaller source data. The `ext_bufl` value does not\n affect the compression algorithm: the `ext_buf` simply will not be used, if\n it is too small.\n @return The length of compressed data, in bytes. Returns 0 if `src_len` is\n lesser or equal to 0, or if `dst_len` is too small, or if not enough memory."] pub fn compress (src : * const :: std :: os :: raw :: c_void , dst : * mut :: std :: os :: raw :: c_void , src_len : :: std :: os :: raw :: c_int , dst_len : :: std :: os :: raw :: c_int , ext_buf : * mut :: std :: os :: raw :: c_void , ext_buf_len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^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afe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lzav-57804fb6b2d0f28a/out/bindings.rs:3:3147 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Default LZAV compression function.\n\n Function performs in-memory data compression using the LZAV compression\n algorithm, with the default settings.\n\n See the lzav_compress() function for a more detailed description.\n\n @param[in] src Source (uncompressed) data pointer.\n @param[out] dst Destination (compressed data) buffer pointer. The allocated\n size should be at least lzav_compress_bound() bytes large.\n @param src_len Source data length, in bytes.\n @param dst_len Destination buffer's capacity, in bytes.\n @return The length of compressed data, in bytes. Returns 0 if `src_len` is\n lesser or equal to 0, or if `dst_len` is too small, or if not enough memory."] pub fn compress_default (src : * const :: std :: os :: raw :: c_void , dst : * mut :: std :: os :: raw :: c_void , src_len : :: std :: os :: raw :: c_int , dst_len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lzav-57804fb6b2d0f28a/out/bindings.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern "C" { # [doc = " @brief Function returns buffer size required for LZAV compression.\n\n @param src_len The length of the source data to be compressed.\n @return The required allocation size for destination compression buffer.\n Always a positive value."] pub fn compress_bound (src_len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lzav-57804fb6b2d0f28a/out/bindings.rs:3:4088 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Higher-ratio LZAV compression function (much slower).\n\n Function performs in-memory data compression using the higher-ratio LZAV\n compression algorithm.\n\n @param[in] src Source (uncompressed) data pointer.\n @param[out] dst Destination (compressed data) buffer pointer. The allocated\n size should be at least lzav_compress_bound_hi() bytes large.\n @param src_len Source data length, in bytes.\n @param dst_len Destination buffer's capacity, in bytes.\n @return The length of compressed data, in bytes. Returns 0 if `src_len` is\n lesser or equal to 0, or if `dst_len` is too small, or if not enough memory."] pub fn compress_hi (src : * const :: std :: os :: raw :: c_void , dst : * mut :: std :: os :: raw :: c_void , src_len : :: std :: os :: raw :: c_int , dst_len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lzav-57804fb6b2d0f28a/out/bindings.rs:3:4962 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief LZAV decompression function.\n\n Function decompresses \"raw\" data previously compressed into the LZAV stream\n format.\n\n Note that while the function does perform checks to avoid OOB memory\n accesses, and checks for decompressed data length equality, this is not a\n strict guarantee of a valid decompression. In cases when the compressed\n data is stored in a long-term storage without embedded data integrity\n mechanisms (e.g., a database without RAID 1 guarantee, a binary container\n without a digital signature nor CRC), then a checksum (hash) of the\n original uncompressed data should be stored, and then evaluated against\n that of the decompressed data. Also, a separate checksum (hash) of\n application-defined header, which contains uncompressed and compressed data\n lengths, should be checked before decompression. A high-performance\n \"komihash\" hash function can be used to obtain a hash value of the data.\n\n @param[in] src Source (compressed) data pointer, can be 0 if `src_len` is 0.\n Address alignment is unimportant.\n @param[out] dst Destination (decompressed data) buffer pointer. Address\n alignment is unimportant. Should be different to `src`.\n @param src_len Source data length, in bytes, can be 0.\n @param dst_len Expected destination data length, in bytes, can be 0. Should\n not be confused with the actual size of the destination buffer (which may\n be larger).\n @return The length of decompressed data, in bytes, or any negative value if\n some error happened. Always returns a negative value if the resulting\n decompressed data length differs from `dst_len`. This means that error result\n handling requires just a check for a negative return value (see the\n `LZAV_E_` macros for possible values)."] pub fn decompress (src : * const :: std :: os :: raw :: c_void , dst : * mut :: std :: os :: raw :: c_void , src_len : :: std :: os :: raw :: c_int , dst_len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^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^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lzav-57804fb6b2d0f28a/out/bindings.rs:3:362 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Function returns buffer size required for the higher-ratio LZAV\n compression.\n\n @param src_len The length of the source data to be compressed.\n @return The required allocation size for destination compression buffer.\n Always a positive value."] pub fn compress_bound_hi (src_len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lzav-57804fb6b2d0f28a/out/bindings.rs:3:6966 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief LZAV decompression function (partial).\n\n Function decompresses \"raw\" data previously compressed into the LZAV stream\n format, for partial or recovery decompression. For example, this function\n can be used to decompress only an initial segment of a larger data block.\n\n @param[in] src Source (compressed) data pointer, can be 0 if `src_len` is 0.\n Address alignment is unimportant.\n @param[out] dst Destination (decompressed data) buffer pointer. Address\n alignment is unimportant. Should be different to `src`.\n @param src_len Source data length, in bytes, can be 0.\n @param dst_len Destination buffer length, in bytes, can be 0.\n @return The length of decompressed data, in bytes. Always a non-negative\n value (error codes are not returned)."] pub fn decompress_partial (src : * const :: std :: os :: raw :: c_void , dst : * mut :: std :: os :: raw :: c_void , src_len : :: std :: os :: raw :: c_int , dst_len : :: std :: os :: raw :: c_int) -> :: 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/lzav-57804fb6b2d0f28a/out/bindings.rs:3:745 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief LZAV compression function, with external buffer option.\n\n Function performs in-memory data compression using the LZAV compression\n algorithm and stream format. The function produces a \"raw\" compressed data,\n without a header containing data length nor identifier nor checksum.\n\n Note that compression algorithm and its output on the same source data may\n differ between LZAV versions, and may differ between big- and little-endian\n systems. However, the decompression of a compressed data produced by any\n prior compressor version will remain possible.\n\n @param[in] src Source (uncompressed) data pointer, can be 0 if `src_len`\n equals 0. Address alignment is unimportant.\n @param[out] dst Destination (compressed data) buffer pointer. The allocated\n size should be at least lzav_compress_bound() bytes large. Address\n alignment is unimportant. Should be different to `src`.\n @param src_len Source data length, in bytes, can be 0: in this case the\n compressed length is assumed to be 0 as well.\n @param dst_len Destination buffer's capacity, in bytes.\n @param ext_buf External buffer to use for hash-table, set to 0 for the\n function to manage memory itself (via standard `malloc`). Supplying a\n pre-allocated buffer is useful if compression is performed during\n application's operation often: this reduces memory allocation overhead and\n fragmentation. Note that the access to the supplied buffer is not\n implicitly thread-safe. Buffer's address must be aligned to 32 bits.\n @param ext_bufl The capacity of the `ext_buf`, in bytes, should be a\n power-of-2 value. Set to 0 if `ext_buf` is 0. The capacity should not be\n lesser than 4 x `src_len`, and not greater than 1 MiB. Same `ext_bufl` value\n can be used for any smaller source data. The `ext_bufl` value does not\n affect the compression algorithm: the `ext_buf` simply will not be used, if\n it is too small.\n @return The length of compressed data, in bytes. Returns 0 if `src_len` is\n lesser or equal to 0, or if `dst_len` is too small, or if not enough memory."] pub fn compress (src : * const :: std :: os :: raw :: c_void , dst : * mut :: std :: os :: raw :: c_void , src_len : :: std :: os :: raw :: c_int , dst_len : :: std :: os :: raw :: c_int , ext_buf : * mut :: std :: os :: raw :: c_void , ext_buf_len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^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^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lzav-57804fb6b2d0f28a/out/bindings.rs:3:3147 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Default LZAV compression function.\n\n Function performs in-memory data compression using the LZAV compression\n algorithm, with the default settings.\n\n See the lzav_compress() function for a more detailed description.\n\n @param[in] src Source (uncompressed) data pointer.\n @param[out] dst Destination (compressed data) buffer pointer. The allocated\n size should be at least lzav_compress_bound() bytes large.\n @param src_len Source data length, in bytes.\n @param dst_len Destination buffer's capacity, in bytes.\n @return The length of compressed data, in bytes. Returns 0 if `src_len` is\n lesser or equal to 0, or if `dst_len` is too small, or if not enough memory."] pub fn compress_default (src : * const :: std :: os :: raw :: c_void , dst : * mut :: std :: os :: raw :: c_void , src_len : :: std :: os :: raw :: c_int , dst_len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lzav-57804fb6b2d0f28a/out/bindings.rs:3:4088 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief Higher-ratio LZAV compression function (much slower).\n\n Function performs in-memory data compression using the higher-ratio LZAV\n compression algorithm.\n\n @param[in] src Source (uncompressed) data pointer.\n @param[out] dst Destination (compressed data) buffer pointer. The allocated\n size should be at least lzav_compress_bound_hi() bytes large.\n @param src_len Source data length, in bytes.\n @param dst_len Destination buffer's capacity, in bytes.\n @return The length of compressed data, in bytes. Returns 0 if `src_len` is\n lesser or equal to 0, or if `dst_len` is too small, or if not enough memory."] pub fn compress_hi (src : * const :: std :: os :: raw :: c_void , dst : * mut :: std :: os :: raw :: c_void , src_len : :: std :: os :: raw :: c_int , dst_len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lzav-57804fb6b2d0f28a/out/bindings.rs:3:4962 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief LZAV decompression function.\n\n Function decompresses \"raw\" data previously compressed into the LZAV stream\n format.\n\n Note that while the function does perform checks to avoid OOB memory\n accesses, and checks for decompressed data length equality, this is not a\n strict guarantee of a valid decompression. In cases when the compressed\n data is stored in a long-term storage without embedded data integrity\n mechanisms (e.g., a database without RAID 1 guarantee, a binary container\n without a digital signature nor CRC), then a checksum (hash) of the\n original uncompressed data should be stored, and then evaluated against\n that of the decompressed data. Also, a separate checksum (hash) of\n application-defined header, which contains uncompressed and compressed data\n lengths, should be checked before decompression. A high-performance\n \"komihash\" hash function can be used to obtain a hash value of the data.\n\n @param[in] src Source (compressed) data pointer, can be 0 if `src_len` is 0.\n Address alignment is unimportant.\n @param[out] dst Destination (decompressed data) buffer pointer. Address\n alignment is unimportant. Should be different to `src`.\n @param src_len Source data length, in bytes, can be 0.\n @param dst_len Expected destination data length, in bytes, can be 0. Should\n not be confused with the actual size of the destination buffer (which may\n be larger).\n @return The length of decompressed data, in bytes, or any negative value if\n some error happened. Always returns a negative value if the resulting\n decompressed data length differs from `dst_len`. This means that error result\n handling requires just a check for a negative return value (see the\n `LZAV_E_` macros for possible values)."] pub fn decompress (src : * const :: std :: os :: raw :: c_void , dst : * mut :: std :: os :: raw :: c_void , src_len : :: std :: os :: raw :: c_int , dst_len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } ex... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^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^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> /opt/rustwide/target/debug/build/lzav-57804fb6b2d0f28a/out/bindings.rs:3:6966 [INFO] [stdout] | [INFO] [stdout] 3 | ... } extern "C" { # [doc = " @brief LZAV decompression function (partial).\n\n Function decompresses \"raw\" data previously compressed into the LZAV stream\n format, for partial or recovery decompression. For example, this function\n can be used to decompress only an initial segment of a larger data block.\n\n @param[in] src Source (compressed) data pointer, can be 0 if `src_len` is 0.\n Address alignment is unimportant.\n @param[out] dst Destination (decompressed data) buffer pointer. Address\n alignment is unimportant. Should be different to `src`.\n @param src_len Source data length, in bytes, can be 0.\n @param dst_len Destination buffer length, in bytes, can be 0.\n @return The length of decompressed data, in bytes. Always a non-negative\n value (error codes are not returned)."] pub fn decompress_partial (src : * const :: std :: os :: raw :: c_void , dst : * mut :: std :: os :: raw :: c_void , src_len : :: std :: os :: raw :: c_int , dst_len : :: std :: os :: raw :: c_int) -> :: std :: os :: raw :: c_int ; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lzav` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `lzav` (lib test) due to 7 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" "458a122c80bd31b09ce8307ba5501dc7ffb2b0a2c75f83224cf72a3eee652d91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "458a122c80bd31b09ce8307ba5501dc7ffb2b0a2c75f83224cf72a3eee652d91", kill_on_drop: false }` [INFO] [stdout] 458a122c80bd31b09ce8307ba5501dc7ffb2b0a2c75f83224cf72a3eee652d91