bzip2-sys 0.1.12+1.0.8

Bindings to libbzip2 for bzip2 compression and decompression exposed as Reader/Writer streams.
Documentation
Build #1735657 2025-02-11T13:47:18.980982+00:00
# rustc version
rustc 1.86.0-nightly (6171d944a 2025-02-10)# docs.rs version
docsrs 0.6.0 (35977596 2025-02-09)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/bzip2-sys-0.1.12+1.0.8/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/bzip2-sys-0.1.12+1.0.8/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250210-1.86.0-nightly-6171d944a\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-pc-windows-msvc\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-pc-windows-msvc", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] cf9e2fb91256c713cbd877b2a55957855e33c0bafc191ef9bdb0f3bd6269365c
[INFO] running `Command { std: "docker" "start" "-a" "cf9e2fb91256c713cbd877b2a55957855e33c0bafc191ef9bdb0f3bd6269365c", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]    Compiling bzip2-sys v0.1.12+1.0.8 (/opt/rustwide/workdir)
[INFO] [stderr] warning: bzip2-sys@0.1.12+1.0.8: GNU compiler is not supported for this target
[INFO] [stderr] warning: bzip2-sys@0.1.12+1.0.8: In file included from bzip2-1.0.8/bzlib_private.h:33,
[INFO] [stderr] warning: bzip2-sys@0.1.12+1.0.8:                  from bzip2-1.0.8/blocksort.c:22:
[INFO] [stderr] warning: bzip2-sys@0.1.12+1.0.8: bzip2-1.0.8/bzlib.h:70: warning: "BZ_EXPORT" redefined
[INFO] [stderr] warning: bzip2-sys@0.1.12+1.0.8:    70 | #define BZ_EXPORT
[INFO] [stderr] warning: bzip2-sys@0.1.12+1.0.8:       | 
[INFO] [stderr] warning: bzip2-sys@0.1.12+1.0.8: <command-line>: note: this is the location of the previous definition
[INFO] [stderr] warning: bzip2-sys@0.1.12+1.0.8: In file included from bzip2-1.0.8/bzlib_private.h:33,
[INFO] [stderr] warning: bzip2-sys@0.1.12+1.0.8:                  from bzip2-1.0.8/blocksort.c:22:
[INFO] [stderr] warning: bzip2-sys@0.1.12+1.0.8: bzip2-1.0.8/bzlib.h:79:13: fatal error: windows.h: No such file or directory
[INFO] [stderr] warning: bzip2-sys@0.1.12+1.0.8:    79 | #   include <windows.h>
[INFO] [stderr] warning: bzip2-sys@0.1.12+1.0.8:       |             ^~~~~~~~~~~
[INFO] [stderr] warning: bzip2-sys@0.1.12+1.0.8: compilation terminated.
[INFO] [stderr] error: failed to run custom build command for `bzip2-sys v0.1.12+1.0.8 (/opt/rustwide/workdir)`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/bzip2-sys-262aaa0a118edf33/build-script-build` (exit status: 1)
[INFO] [stderr]   --- stdout
[INFO] [stderr]   OPT_LEVEL = Some(0)
[INFO] [stderr]   TARGET = Some(x86_64-pc-windows-msvc)
[INFO] [stderr]   cargo:rerun-if-env-changed=VCINSTALLDIR
[INFO] [stderr]   VCINSTALLDIR = None
[INFO] [stderr]   HOST = Some(x86_64-unknown-linux-gnu)
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_x86_64-pc-windows-msvc
[INFO] [stderr]   CC_x86_64-pc-windows-msvc = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_x86_64_pc_windows_msvc
[INFO] [stderr]   CC_x86_64_pc_windows_msvc = None
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_CC
[INFO] [stderr]   TARGET_CC = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC
[INFO] [stderr]   CC = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CROSS_COMPILE
[INFO] [stderr]   CROSS_COMPILE = None
[INFO] [stderr]   RUSTC_LINKER = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[INFO] [stderr]   RUSTC_WRAPPER = None
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[INFO] [stderr]   CRATE_CC_NO_DEFAULTS = None
[INFO] [stderr]   DEBUG = Some(true)
[INFO] [stderr]   CARGO_CFG_TARGET_FEATURE = Some(cmpxchg16b,fxsr,lahfsahf,sse,sse2,sse3,x87)
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_x86_64-pc-windows-msvc
[INFO] [stderr]   CFLAGS_x86_64-pc-windows-msvc = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_x86_64_pc_windows_msvc
[INFO] [stderr]   CFLAGS_x86_64_pc_windows_msvc = None
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_CFLAGS
[INFO] [stderr]   TARGET_CFLAGS = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS
[INFO] [stderr]   CFLAGS = None
[INFO] [stderr]   CARGO_ENCODED_RUSTFLAGS = Some()
[INFO] [stderr]   cargo:warning=In file included from bzip2-1.0.8/bzlib_private.h:33,
[INFO] [stderr]   cargo:warning=                 from bzip2-1.0.8/blocksort.c:22:
[INFO] [stderr]   cargo:warning=bzip2-1.0.8/bzlib.h:70: warning: "BZ_EXPORT" redefined
[INFO] [stderr]   cargo:warning=   70 | #define BZ_EXPORT
[INFO] [stderr]   cargo:warning=      | 
[INFO] [stderr]   cargo:warning=<command-line>: note: this is the location of the previous definition
[INFO] [stderr]   cargo:warning=In file included from bzip2-1.0.8/bzlib_private.h:33,
[INFO] [stderr]   cargo:warning=                 from bzip2-1.0.8/blocksort.c:22:
[INFO] [stderr]   cargo:warning=bzip2-1.0.8/bzlib.h:79:13: fatal error: windows.h: No such file or directory
[INFO] [stderr]   cargo:warning=   79 | #   include <windows.h>
[INFO] [stderr]   cargo:warning=      |             ^~~~~~~~~~~
[INFO] [stderr]   cargo:warning=compilation terminated.
[INFO] [stderr] 
[INFO] [stderr]   --- stderr
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr]   error occurred in cc-rs: Command LC_ALL="C" "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "bzip2-1.0.8" "-D_WIN32" "-DBZ_EXPORT" "-D_FILE_OFFSET_BITS=64" "-DBZ_NO_STDIO" "-o" "/opt/rustwide/target/x86_64-pc-windows-msvc/debug/build/bzip2-sys-ded28049075435db/out/lib/a9dc8ba631b1466a-blocksort.o" "-c" "bzip2-1.0.8/blocksort.c" with args cc did not execute successfully (status code exit status: 1).
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] running `Command { std: "docker" "inspect" "cf9e2fb91256c713cbd877b2a55957855e33c0bafc191ef9bdb0f3bd6269365c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cf9e2fb91256c713cbd877b2a55957855e33c0bafc191ef9bdb0f3bd6269365c", kill_on_drop: false }`
[INFO] [stdout] cf9e2fb91256c713cbd877b2a55957855e33c0bafc191ef9bdb0f3bd6269365c