libz-sys 1.1.20

Low-level bindings to the system libz library (also known as zlib).
Documentation
Build #1335643 2024-08-24T12:00:28.329621+00:00
# rustc version
rustc 1.82.0-nightly (4074d4902 2024-08-23)# docs.rs version
docsrs 0.6.0 (a6155e2c 2024-08-13)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/libz-sys-1.1.20/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/libz-sys-1.1.20/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240823-1.82.0-nightly-4074d4902\", \"--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] [stdout] a3ecf1d7980259b7fa52d49b6a313472302573785aca654a12d128bcf1ccff20
[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" "a3ecf1d7980259b7fa52d49b6a313472302573785aca654a12d128bcf1ccff20", 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.20 (/opt/rustwide/workdir)
[INFO] [stderr] The following warnings were emitted during compilation:
[INFO] [stderr] 
[INFO] [stderr] warning: libz-sys@1.1.20: GNU compiler is not supported for this target
[INFO] [stderr] warning: libz-sys@1.1.20: GNU compiler is not supported for this target
[INFO] [stderr] warning: libz-sys@1.1.20: GNU compiler is not supported for this target
[INFO] [stderr] warning: libz-sys@1.1.20: GNU compiler is not supported for this target
[INFO] [stderr] warning: libz-sys@1.1.20: GNU compiler is not supported for this target
[INFO] [stderr] warning: libz-sys@1.1.20: GNU compiler is not supported for this target
[INFO] [stderr] warning: libz-sys@1.1.20: GNU compiler is not supported for this target
[INFO] [stderr] warning: libz-sys@1.1.20: GNU compiler is not supported for this target
[INFO] [stderr] warning: libz-sys@1.1.20: GNU compiler is not supported for this target
[INFO] [stderr] warning: libz-sys@1.1.20: GNU compiler is not supported for this target
[INFO] [stderr] warning: libz-sys@1.1.20: GNU compiler is not supported for this target
[INFO] [stderr] warning: libz-sys@1.1.20: GNU compiler is not supported for this target
[INFO] [stderr] warning: libz-sys@1.1.20: GNU compiler is not supported for this target
[INFO] [stderr] warning: libz-sys@1.1.20: src/zlib/gzlib.c: In function 'gz_open':
[INFO] [stderr] warning: libz-sys@1.1.20: src/zlib/gzlib.c:14:17: warning: implicit declaration of function 'lseek'; did you mean 'fseek'? [-Wimplicit-function-declaration]
[INFO] [stderr] warning: libz-sys@1.1.20:    14 | #  define LSEEK lseek
[INFO] [stderr] warning: libz-sys@1.1.20:       |                 ^~~~~
[INFO] [stderr] warning: libz-sys@1.1.20: src/zlib/gzlib.c:242:9: note: in expansion of macro 'LSEEK'
[INFO] [stderr] warning: libz-sys@1.1.20:   242 |         LSEEK(state->fd, 0, SEEK_END);  /* so gzoffset() is correct */
[INFO] [stderr] warning: libz-sys@1.1.20:       |         ^~~~~
[INFO] [stderr] warning: libz-sys@1.1.20: GNU compiler is not supported for this target
[INFO] [stderr] warning: libz-sys@1.1.20: src/zlib/gzread.c: In function 'gz_load':
[INFO] [stderr] warning: libz-sys@1.1.20: src/zlib/gzread.c:22:15: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration]
[INFO] [stderr] warning: libz-sys@1.1.20:    22 |         ret = read(state->fd, buf + *have, get);
[INFO] [stderr] warning: libz-sys@1.1.20:       |               ^~~~
[INFO] [stderr] warning: libz-sys@1.1.20:       |               fread
[INFO] [stderr] warning: libz-sys@1.1.20: src/zlib/gzread.c: In function 'gzclose_r':
[INFO] [stderr] warning: libz-sys@1.1.20: src/zlib/gzread.c:599:11: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
[INFO] [stderr] warning: libz-sys@1.1.20:   599 |     ret = close(state->fd);
[INFO] [stderr] warning: libz-sys@1.1.20:       |           ^~~~~
[INFO] [stderr] warning: libz-sys@1.1.20:       |           pclose
[INFO] [stderr] warning: libz-sys@1.1.20: GNU compiler is not supported for this target
[INFO] [stderr] warning: libz-sys@1.1.20: src/zlib/gzwrite.c: In function 'gz_comp':
[INFO] [stderr] warning: libz-sys@1.1.20: src/zlib/gzwrite.c:78:20: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration]
[INFO] [stderr] warning: libz-sys@1.1.20:    78 |             writ = write(state->fd, strm->next_in, put);
[INFO] [stderr] warning: libz-sys@1.1.20:       |                    ^~~~~
[INFO] [stderr] warning: libz-sys@1.1.20:       |                    fwrite
[INFO] [stderr] warning: libz-sys@1.1.20: src/zlib/gzwrite.c: In function 'gzclose_w':
[INFO] [stderr] warning: libz-sys@1.1.20: src/zlib/gzwrite.c:627:9: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
[INFO] [stderr] warning: libz-sys@1.1.20:   627 |     if (close(state->fd) == -1)
[INFO] [stderr] warning: libz-sys@1.1.20:       |         ^~~~~
[INFO] [stderr] warning: libz-sys@1.1.20:       |         pclose
[INFO] [stderr] warning: libz-sys@1.1.20: GNU compiler is not supported for this target
[INFO] [stderr] 
[INFO] [stderr] error: failed to run custom build command for `libz-sys v1.1.20 (/opt/rustwide/workdir)`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/libz-sys-d66b355c49f060d0/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]   note, vcpkg did not find zlib: Could not find Vcpkg tree: No vcpkg installation found. Set the VCPKG_ROOT environment variable or run 'vcpkg integrate install'
[INFO] [stderr]   TARGET = Some(x86_64-pc-windows-msvc)
[INFO] [stderr]   OPT_LEVEL = Some(0)
[INFO] [stderr]   HOST = Some(x86_64-unknown-linux-gnu)
[INFO] [stderr]   cargo:rerun-if-env-changed=VCINSTALLDIR
[INFO] [stderr]   VCINSTALLDIR = 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=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)
[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:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:warning=src/zlib/gzlib.c: In function 'gz_open':
[INFO] [stderr]   cargo:warning=src/zlib/gzlib.c:14:17: warning: implicit declaration of function 'lseek'; did you mean 'fseek'? [-Wimplicit-function-declaration]
[INFO] [stderr]   cargo:warning=   14 | #  define LSEEK lseek
[INFO] [stderr]   cargo:warning=      |                 ^~~~~
[INFO] [stderr]   cargo:warning=src/zlib/gzlib.c:242:9: note: in expansion of macro 'LSEEK'
[INFO] [stderr]   cargo:warning=  242 |         LSEEK(state->fd, 0, SEEK_END);  /* so gzoffset() is correct */
[INFO] [stderr]   cargo:warning=      |         ^~~~~
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:warning=src/zlib/gzread.c: In function 'gz_load':
[INFO] [stderr]   cargo:warning=src/zlib/gzread.c:22:15: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration]
[INFO] [stderr]   cargo:warning=   22 |         ret = read(state->fd, buf + *have, get);
[INFO] [stderr]   cargo:warning=      |               ^~~~
[INFO] [stderr]   cargo:warning=      |               fread
[INFO] [stderr]   cargo:warning=src/zlib/gzread.c: In function 'gzclose_r':
[INFO] [stderr]   cargo:warning=src/zlib/gzread.c:599:11: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
[INFO] [stderr]   cargo:warning=  599 |     ret = close(state->fd);
[INFO] [stderr]   cargo:warning=      |           ^~~~~
[INFO] [stderr]   cargo:warning=      |           pclose
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:warning=src/zlib/gzwrite.c: In function 'gz_comp':
[INFO] [stderr]   cargo:warning=src/zlib/gzwrite.c:78:20: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration]
[INFO] [stderr]   cargo:warning=   78 |             writ = write(state->fd, strm->next_in, put);
[INFO] [stderr]   cargo:warning=      |                    ^~~~~
[INFO] [stderr]   cargo:warning=      |                    fwrite
[INFO] [stderr]   cargo:warning=src/zlib/gzwrite.c: In function 'gzclose_w':
[INFO] [stderr]   cargo:warning=src/zlib/gzwrite.c:627:9: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
[INFO] [stderr]   cargo:warning=  627 |     if (close(state->fd) == -1)
[INFO] [stderr]   cargo:warning=      |         ^~~~~
[INFO] [stderr]   cargo:warning=      |         pclose
[INFO] [stderr]   cargo:rerun-if-env-changed=AR_x86_64-pc-windows-msvc
[INFO] [stderr]   AR_x86_64-pc-windows-msvc = None
[INFO] [stderr]   cargo:rerun-if-env-changed=AR_x86_64_pc_windows_msvc
[INFO] [stderr]   AR_x86_64_pc_windows_msvc = None
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_AR
[INFO] [stderr]   TARGET_AR = None
[INFO] [stderr]   cargo:rerun-if-env-changed=AR
[INFO] [stderr]   AR = None
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:rerun-if-env-changed=ARFLAGS_x86_64-pc-windows-msvc
[INFO] [stderr]   ARFLAGS_x86_64-pc-windows-msvc = None
[INFO] [stderr]   cargo:rerun-if-env-changed=ARFLAGS_x86_64_pc_windows_msvc
[INFO] [stderr]   ARFLAGS_x86_64_pc_windows_msvc = None
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_ARFLAGS
[INFO] [stderr]   TARGET_ARFLAGS = None
[INFO] [stderr]   cargo:rerun-if-env-changed=ARFLAGS
[INFO] [stderr]   ARFLAGS = None
[INFO] [stderr] 
[INFO] [stderr]   --- stderr
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr]   error occurred: Failed to find tool. Is `lib.exe` installed?
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] running `Command { std: "docker" "inspect" "a3ecf1d7980259b7fa52d49b6a313472302573785aca654a12d128bcf1ccff20", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a3ecf1d7980259b7fa52d49b6a313472302573785aca654a12d128bcf1ccff20", kill_on_drop: false }`
[INFO] [stdout] a3ecf1d7980259b7fa52d49b6a313472302573785aca654a12d128bcf1ccff20