libz-sys 1.1.21

Low-level bindings to the system libz library (also known as zlib).
Documentation
Build #1611484 2025-01-07T13:37:25.956890+00:00
# rustc version
rustc 1.86.0-nightly (243d2ca4d 2025-01-06)# docs.rs version
docsrs 0.6.0 (a9496dd3 2024-12-22)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/libz-sys-1.1.21/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/libz-sys-1.1.21/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250106-1.86.0-nightly-243d2ca4d\", \"--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-apple-darwin\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-apple-darwin", kill_on_drop: false }`
[INFO] [stdout] 1951763fb3116d708d48fd704034c1ad10b3952b6faa669c98cb5633f8762c7e
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "1951763fb3116d708d48fd704034c1ad10b3952b6faa669c98cb5633f8762c7e", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]    Compiling libz-sys v1.1.21 (/opt/rustwide/workdir)
[INFO] [stderr] warning: libz-sys@1.1.21: Could not find zlib include paths via pkg-config: pkg-config has not been configured to support cross-compilation.
[INFO] [stderr] warning: libz-sys@1.1.21: cc: error: unrecognized command-line option '-arch'
[INFO] [stderr] warning: libz-sys@1.1.21: cc: error: unrecognized command-line option '-mmacosx-version-min=10.7'
[INFO] [stderr] error: failed to run custom build command for `libz-sys v1.1.21 (/opt/rustwide/workdir)`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/libz-sys-6d7ac9de78cf236d/build-script-build` (exit status: 1)
[INFO] [stderr]   --- stdout
[INFO] [stderr]   cargo:rerun-if-env-changed=LIBZ_SYS_STATIC
[INFO] [stderr]   cargo:rerun-if-changed=build.rs
[INFO] [stderr]   cargo:rerun-if-changed=zng/cmake.rs
[INFO] [stderr]   cargo:rerun-if-changed=zng/cc.rs
[INFO] [stderr]   cargo:rerun-if-env-changed=ZLIB_NO_PKG_CONFIG
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_x86_64-apple-darwin
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_x86_64_apple_darwin
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_ALLOW_CROSS
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-apple-darwin
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_apple_darwin
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_PKG_CONFIG
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-apple-darwin
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_apple_darwin
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_SYSROOT_DIR
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
[INFO] [stderr]   cargo:warning=Could not find zlib include paths via pkg-config: pkg-config has not been configured to support cross-compilation.
[INFO] [stderr] 
[INFO] [stderr]   Install a sysroot for the target platform and configure it via
[INFO] [stderr]   PKG_CONFIG_SYSROOT_DIR and PKG_CONFIG_PATH, or install a
[INFO] [stderr]   cross-compiling wrapper for pkg-config and set it via
[INFO] [stderr]   PKG_CONFIG environment variable.
[INFO] [stderr]   OPT_LEVEL = Some(0)
[INFO] [stderr]   OUT_DIR = Some(/opt/rustwide/target/x86_64-apple-darwin/debug/build/libz-sys-353cd2e2e41bb727/out)
[INFO] [stderr]   TARGET = Some(x86_64-apple-darwin)
[INFO] [stderr]   HOST = Some(x86_64-unknown-linux-gnu)
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_x86_64-apple-darwin
[INFO] [stderr]   CC_x86_64-apple-darwin = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_x86_64_apple_darwin
[INFO] [stderr]   CC_x86_64_apple_darwin = 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: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,sse4.1,ssse3,x87)
[INFO] [stderr]   cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
[INFO] [stderr]   MACOSX_DEPLOYMENT_TARGET = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_x86_64-apple-darwin
[INFO] [stderr]   CFLAGS_x86_64-apple-darwin = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_x86_64_apple_darwin
[INFO] [stderr]   CFLAGS_x86_64_apple_darwin = 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]   running LC_ALL="C" "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-mmacosx-version-min=10.7" "-Wall" "-Wextra" "src/smoke.c" "-g0" "-o" "/dev/null" "-lz"
[INFO] [stderr]   cargo:warning=cc: error: unrecognized command-line option '-arch'
[INFO] [stderr]   cargo:warning=cc: error: unrecognized command-line option '-mmacosx-version-min=10.7'
[INFO] [stderr] 
[INFO] [stderr]   --- stderr
[INFO] [stderr]   cc: error: unrecognized command-line option '-arch'
[INFO] [stderr]   cc: error: unrecognized command-line option '-mmacosx-version-min=10.7'
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr]   error occurred in cc-rs: Command LC_ALL="C" "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-mmacosx-version-min=10.7" "-I" "src/zlib" "-fvisibility=hidden" "-DSTDC" "-D_LARGEFILE64_SOURCE" "-D_POSIX_SOURCE" "-D_C99_SOURCE" "-o" "/opt/rustwide/target/x86_64-apple-darwin/debug/build/libz-sys-353cd2e2e41bb727/out/lib/f0389296f42960e9-adler32.o" "-c" "src/zlib/adler32.c" with args cc did not execute successfully (status code exit status: 1).
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] running `Command { std: "docker" "inspect" "1951763fb3116d708d48fd704034c1ad10b3952b6faa669c98cb5633f8762c7e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1951763fb3116d708d48fd704034c1ad10b3952b6faa669c98cb5633f8762c7e", kill_on_drop: false }`
[INFO] [stdout] 1951763fb3116d708d48fd704034c1ad10b3952b6faa669c98cb5633f8762c7e