openjpeg-sys 1.0.11

OpenJPEG (JPEG 2000) FFI bindings
Documentation
Build #1324374 2024-08-15T01:01:35.263332+00:00
# rustc version
rustc 1.82.0-nightly (80eb5a8e9 2024-08-13)# 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/openjpeg-sys-1.0.11/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/openjpeg-sys-1.0.11/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\", \"-20240813-1.82.0-nightly-80eb5a8e9\", \"--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] 4355d8c1cbb5ced23ee1774fc8b9dc138e5c798fdaa522e995ef6c2388bf74f1
[INFO] running `Command { std: "docker" "start" "-a" "4355d8c1cbb5ced23ee1774fc8b9dc138e5c798fdaa522e995ef6c2388bf74f1", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]    Compiling openjpeg-sys v1.0.11 (/opt/rustwide/workdir)
[INFO] [stderr] The following warnings were emitted during compilation:
[INFO] [stderr] 
[INFO] [stderr] warning: openjpeg-sys@1.0.11: GNU compiler is not supported for this target
[INFO] [stderr] warning: openjpeg-sys@1.0.11: vendor/src/lib/openjp2/thread.c:43:10: fatal error: windows.h: No such file or directory
[INFO] [stderr] warning: openjpeg-sys@1.0.11:    43 | #include <windows.h>
[INFO] [stderr] warning: openjpeg-sys@1.0.11:       |          ^~~~~~~~~~~
[INFO] [stderr] warning: openjpeg-sys@1.0.11: compilation terminated.
[INFO] [stderr] 
[INFO] [stderr] error: failed to run custom build command for `openjpeg-sys v1.0.11 (/opt/rustwide/workdir)`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/openjpeg-sys-5db931a5914dea68/build-script-build` (exit status: 1)
[INFO] [stderr]   --- stdout
[INFO] [stderr]   OUT_DIR = Some(/opt/rustwide/target/x86_64-pc-windows-msvc/debug/build/openjpeg-sys-8e86bb86307629e7/out)
[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=vendor/src/lib/openjp2/thread.c:43:10: fatal error: windows.h: No such file or directory
[INFO] [stderr]   cargo:warning=   43 | #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: Command "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "vendor/src/lib/openjp2" "-I" "config" "-Wall" "-Wextra" "-DOPJ_HAVE__ALIGNED_MALLOC=1" "-DMUTEX_win32=1" "-DOPJ_STATIC=1" "-o" "/opt/rustwide/target/x86_64-pc-windows-msvc/debug/build/openjpeg-sys-8e86bb86307629e7/out/ceaa3584889360e0-thread.o" "-c" "vendor/src/lib/openjp2/thread.c" with args cc did not execute successfully (status code exit status: 1).
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] running `Command { std: "docker" "inspect" "4355d8c1cbb5ced23ee1774fc8b9dc138e5c798fdaa522e995ef6c2388bf74f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4355d8c1cbb5ced23ee1774fc8b9dc138e5c798fdaa522e995ef6c2388bf74f1", kill_on_drop: false }`
[INFO] [stdout] 4355d8c1cbb5ced23ee1774fc8b9dc138e5c798fdaa522e995ef6c2388bf74f1