jpeg2k 0.9.1

JPEG 2000 image loader.
Documentation
Build #1288535 2024-07-11T13:22:37.780308+00:00
# rustc version
rustc 1.81.0-nightly (0c81f94b9 2024-07-10)# docs.rs version
docsrs 0.6.0 (55314a20 2024-07-09)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/jpeg2k-0.9.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/jpeg2k-0.9.1/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240710-1.81.0-nightly-0c81f94b9\", \"--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] f7ce9d384dcfb567163e95b82821ef9cc7f1f949097322c016bf0f968a769ee5
[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" "f7ce9d384dcfb567163e95b82821ef9cc7f1f949097322c016bf0f968a769ee5", kill_on_drop: false }`
[INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition
[INFO] [stderr] (in the `image` dependency)
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]     Checking flate2 v1.0.30
[INFO] [stderr]     Checking fdeflate v0.3.4
[INFO] [stderr]     Checking zune-jpeg v0.4.11
[INFO] [stderr]     Checking num-traits v0.2.18
[INFO] [stderr]    Compiling openjpeg-sys v1.0.10
[INFO] [stderr]     Checking bytemuck v1.15.0
[INFO] [stderr] The following warnings were emitted during compilation:
[INFO] [stderr] 
[INFO] [stderr] warning: openjpeg-sys@1.0.10: GNU compiler is not supported for this target
[INFO] [stderr] warning: openjpeg-sys@1.0.10: vendor/src/lib/openjp2/thread.c:43:10: fatal error: windows.h: No such file or directory
[INFO] [stderr] warning: openjpeg-sys@1.0.10:    43 | #include <windows.h>
[INFO] [stderr] warning: openjpeg-sys@1.0.10:       |          ^~~~~~~~~~~
[INFO] [stderr] warning: openjpeg-sys@1.0.10: compilation terminated.
[INFO] [stderr] 
[INFO] [stderr] error: failed to run custom build command for `openjpeg-sys v1.0.10`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/openjpeg-sys-292ab23ec835a25e/build-script-build` (exit status: 1)
[INFO] [stderr]   --- stdout
[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=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]   RUSTC_LINKER = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CROSS_COMPILE
[INFO] [stderr]   CROSS_COMPILE = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[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-25d4b0b63c3f48fb/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] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "f7ce9d384dcfb567163e95b82821ef9cc7f1f949097322c016bf0f968a769ee5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f7ce9d384dcfb567163e95b82821ef9cc7f1f949097322c016bf0f968a769ee5", kill_on_drop: false }`
[INFO] [stdout] f7ce9d384dcfb567163e95b82821ef9cc7f1f949097322c016bf0f968a769ee5