font-kit 0.14.2

A cross-platform font loading library
Documentation
Build #1310051 2024-08-02T06:11:10.443928+00:00
# rustc version
rustc 1.82.0-nightly (8e86c9567 2024-08-01)# docs.rs version
docsrs 0.6.0 (e434406d 2024-07-31)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/font-kit-0.14.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/font-kit-0.14.2/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: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\", \"-20240801-1.82.0-nightly-8e86c9567\", \"--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}/i686-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "i686-unknown-linux-gnu", 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] dc9e35e2068fa3c871008b5c580568816df6a7101332bc11b9cc5b4c1d153dcb
[INFO] running `Command { std: "docker" "start" "-a" "dc9e35e2068fa3c871008b5c580568816df6a7101332bc11b9cc5b4c1d153dcb", kill_on_drop: false }`
[INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: fallback, list-fonts, match-font, render-glyph
[INFO] [stderr]     If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true`
[INFO] [stderr]     to the [[example]] target configuration of at least one example.
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]     Checking libc v0.2.152
[INFO] [stderr]     Checking libloading v0.8.1
[INFO] [stderr]    Compiling yeslogic-fontconfig-sys v6.0.0
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]    Compiling freetype-sys v0.20.1
[INFO] [stderr]     Checking pathfinder_simd v0.5.4
[INFO] [stderr] error: failed to run custom build command for `yeslogic-fontconfig-sys v6.0.0`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/yeslogic-fontconfig-sys-80f9f14b0a79dbc5/build-script-build` (exit status: 101)
[INFO] [stderr]   --- stdout
[INFO] [stderr]   cargo:rerun-if-env-changed=RUST_FONTCONFIG_DLOPEN
[INFO] [stderr]   cargo:rerun-if-env-changed=FONTCONFIG_NO_PKG_CONFIG
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_i686-unknown-linux-gnu
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_i686_unknown_linux_gnu
[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_i686-unknown-linux-gnu
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_i686_unknown_linux_gnu
[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_i686-unknown-linux-gnu
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_i686_unknown_linux_gnu
[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] 
[INFO] [stderr]   --- stderr
[INFO] [stderr]   thread 'main' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/yeslogic-fontconfig-sys-6.0.0/build.rs:8:48:
[INFO] [stderr]   called `Result::unwrap()` on an `Err` value: "pkg-config has not been configured to support cross-compilation.\n\nInstall a sysroot for the target platform and configure it via\nPKG_CONFIG_SYSROOT_DIR and PKG_CONFIG_PATH, or install a\ncross-compiling wrapper for pkg-config and set it via\nPKG_CONFIG environment variable."
[INFO] [stderr]   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] The following warnings were emitted during compilation:
[INFO] [stderr] 
[INFO] [stderr] warning: freetype-sys@0.20.1: In file included from /usr/include/c++/11/stdlib.h:36,
[INFO] [stderr] warning: freetype-sys@0.20.1:                  from freetype2/include/freetype/config/ftstdlib.h:130,
[INFO] [stderr] warning: freetype-sys@0.20.1:                  from freetype2/include/freetype/config/ftconfig.h:42,
[INFO] [stderr] warning: freetype-sys@0.20.1:                  from freetype2/include/freetype/freetype.h:24,
[INFO] [stderr] warning: freetype-sys@0.20.1:                  from freetype2/src/autofit/ft-hb.c:27,
[INFO] [stderr] warning: freetype-sys@0.20.1:                  from freetype2/src/autofit/autofit.c:21:
[INFO] [stderr] warning: freetype-sys@0.20.1: /usr/include/c++/11/cstdlib:41:10: fatal error: bits/c++config.h: No such file or directory
[INFO] [stderr] warning: freetype-sys@0.20.1:    41 | #include <bits/c++config.h>
[INFO] [stderr] warning: freetype-sys@0.20.1:       |          ^~~~~~~~~~~~~~~~~~
[INFO] [stderr] warning: freetype-sys@0.20.1: compilation terminated.
[INFO] [stderr] 
[INFO] [stderr] error: failed to run custom build command for `freetype-sys v0.20.1`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/freetype-sys-0b1824eb19c3c37a/build-script-build` (exit status: 1)
[INFO] [stderr]   --- stdout
[INFO] [stderr]   cargo:rerun-if-env-changed=FREETYPE2_NO_PKG_CONFIG
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_i686-unknown-linux-gnu
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_i686_unknown_linux_gnu
[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_i686-unknown-linux-gnu
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_i686_unknown_linux_gnu
[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_i686-unknown-linux-gnu
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_i686_unknown_linux_gnu
[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]   TARGET = Some("i686-unknown-linux-gnu")
[INFO] [stderr]   OPT_LEVEL = Some("0")
[INFO] [stderr]   HOST = Some("x86_64-unknown-linux-gnu")
[INFO] [stderr]   cargo:rerun-if-env-changed=CXX_i686-unknown-linux-gnu
[INFO] [stderr]   CXX_i686-unknown-linux-gnu = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CXX_i686_unknown_linux_gnu
[INFO] [stderr]   CXX_i686_unknown_linux_gnu = None
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_CXX
[INFO] [stderr]   TARGET_CXX = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CXX
[INFO] [stderr]   CXX = 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=CRATE_CC_NO_DEFAULTS
[INFO] [stderr]   CRATE_CC_NO_DEFAULTS = None
[INFO] [stderr]   DEBUG = Some("true")
[INFO] [stderr]   CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
[INFO] [stderr]   cargo:rerun-if-env-changed=CXXFLAGS_i686-unknown-linux-gnu
[INFO] [stderr]   CXXFLAGS_i686-unknown-linux-gnu = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CXXFLAGS_i686_unknown_linux_gnu
[INFO] [stderr]   CXXFLAGS_i686_unknown_linux_gnu = None
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_CXXFLAGS
[INFO] [stderr]   TARGET_CXXFLAGS = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CXXFLAGS
[INFO] [stderr]   CXXFLAGS = None
[INFO] [stderr]   running: "x86_64-linux-gnu-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m32" "-march=i686" "-I" "." "-I" "freetype2/include" "-I" "freetype2/src" "-DFT2_BUILD_LIBRARY" "-o" "/opt/rustwide/target/i686-unknown-linux-gnu/debug/build/freetype-sys-b570a0415a6bfb3c/out/freetype2/src/autofit/autofit.o" "-c" "freetype2/src/autofit/autofit.c"
[INFO] [stderr]   cargo:warning=In file included from /usr/include/c++/11/stdlib.h:36,
[INFO] [stderr] 
[INFO] [stderr]   cargo:warning=                 from freetype2/include/freetype/config/ftstdlib.h:130,
[INFO] [stderr] 
[INFO] [stderr]   cargo:warning=                 from freetype2/include/freetype/config/ftconfig.h:42,
[INFO] [stderr] 
[INFO] [stderr]   cargo:warning=                 from freetype2/include/freetype/freetype.h:24,
[INFO] [stderr] 
[INFO] [stderr]   cargo:warning=                 from freetype2/src/autofit/ft-hb.c:27,
[INFO] [stderr] 
[INFO] [stderr]   cargo:warning=                 from freetype2/src/autofit/autofit.c:21:
[INFO] [stderr] 
[INFO] [stderr]   cargo:warning=/usr/include/c++/11/cstdlib:41:10: fatal error: bits/c++config.h: No such file or directory
[INFO] [stderr] 
[INFO] [stderr]   cargo:warning=   41 | #include <bits/c++config.h>
[INFO] [stderr] 
[INFO] [stderr]   cargo:warning=      |          ^~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr]   cargo:warning=compilation terminated.
[INFO] [stderr] 
[INFO] [stderr]   exit status: 1
[INFO] [stderr] 
[INFO] [stderr]   --- stderr
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr]   error occurred: Command "x86_64-linux-gnu-g++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m32" "-march=i686" "-I" "." "-I" "freetype2/include" "-I" "freetype2/src" "-DFT2_BUILD_LIBRARY" "-o" "/opt/rustwide/target/i686-unknown-linux-gnu/debug/build/freetype-sys-b570a0415a6bfb3c/out/freetype2/src/autofit/autofit.o" "-c" "freetype2/src/autofit/autofit.c" with args "x86_64-linux-gnu-g++" did not execute successfully (status code exit status: 1).
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] running `Command { std: "docker" "inspect" "dc9e35e2068fa3c871008b5c580568816df6a7101332bc11b9cc5b4c1d153dcb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dc9e35e2068fa3c871008b5c580568816df6a7101332bc11b9cc5b4c1d153dcb", kill_on_drop: false }`
[INFO] [stdout] dc9e35e2068fa3c871008b5c580568816df6a7101332bc11b9cc5b4c1d153dcb