Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-freetype.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-97080-59966/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-freetype.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/rust-freetype-0.7.2-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-freetype.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-97080-59966/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-freetype.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AMG7dD + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf freetype-0.7.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/freetype-0.7.2.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd freetype-0.7.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.wzTzxE + umask 022 + cd /builddir/build/BUILD + cd freetype-0.7.2 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-freetype-0.7.2-1.oc9.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-freetype.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-97080-59966/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-freetype.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.t9MYv9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf freetype-0.7.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/freetype-0.7.2.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd freetype-0.7.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.GGHsGu + umask 022 + cd /builddir/build/BUILD + cd freetype-0.7.2 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-freetype-0.7.2-1.oc9.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-freetype.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-97080-59966/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-freetype.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.eNUY6p + umask 022 + cd /builddir/build/BUILD + cd freetype-0.7.2 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.koRLdC + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd freetype-0.7.2 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo build -j8 -Z avoid-dev-deps --profile rpm Compiling cc v1.0.99 Compiling pkg-config v0.3.30 Compiling libc v0.2.155 Running `/usr/bin/rustc --crate-name cc --edition=2018 /usr/share/cargo/registry/cc-1.0.99/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=110b67f27fc57c41 -C extra-filename=-110b67f27fc57c41 --out-dir /builddir/build/BUILD/freetype-0.7.2/target/rpm/deps -L dependency=/builddir/build/BUILD/freetype-0.7.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name build_script_build --edition=2015 /usr/share/cargo/registry/libc-0.2.155/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=4ad9bf0c135ce19a -C extra-filename=-4ad9bf0c135ce19a --out-dir /builddir/build/BUILD/freetype-0.7.2/target/rpm/build/libc-4ad9bf0c135ce19a -L dependency=/builddir/build/BUILD/freetype-0.7.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name pkg_config --edition=2015 /usr/share/cargo/registry/pkg-config-0.3.30/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=29360bdaab222a1b -C extra-filename=-29360bdaab222a1b --out-dir /builddir/build/BUILD/freetype-0.7.2/target/rpm/deps -L dependency=/builddir/build/BUILD/freetype-0.7.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/builddir/build/BUILD/freetype-0.7.2/target/rpm/build/libc-4ad9bf0c135ce19a/build-script-build` Running `/usr/bin/rustc --crate-name libc --edition=2015 /usr/share/cargo/registry/libc-0.2.155/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=bdb27873be251087 -C extra-filename=-bdb27873be251087 --out-dir /builddir/build/BUILD/freetype-0.7.2/target/rpm/deps -L dependency=/builddir/build/BUILD/freetype-0.7.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg freebsd11 --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of --cfg libc_align --cfg libc_int128 --cfg libc_core_cvoid --cfg libc_packedN --cfg libc_cfg_target_vendor --cfg libc_non_exhaustive --cfg libc_long_array --cfg libc_ptr_addr_of --cfg libc_underscore_const_names --cfg libc_const_extern_fn` Compiling freetype-sys v0.20.1 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/freetype-sys-0.20.1/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C metadata=42c34dbeb229479a -C extra-filename=-42c34dbeb229479a --out-dir /builddir/build/BUILD/freetype-0.7.2/target/rpm/build/freetype-sys-42c34dbeb229479a -L dependency=/builddir/build/BUILD/freetype-0.7.2/target/rpm/deps --extern cc=/builddir/build/BUILD/freetype-0.7.2/target/rpm/deps/libcc-110b67f27fc57c41.rlib --extern pkg_config=/builddir/build/BUILD/freetype-0.7.2/target/rpm/deps/libpkg_config-29360bdaab222a1b.rlib --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/builddir/build/BUILD/freetype-0.7.2/target/rpm/build/freetype-sys-42c34dbeb229479a/build-script-build` Running `/usr/bin/rustc --crate-name freetype_sys --edition=2018 /usr/share/cargo/registry/freetype-sys-0.20.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=b56abce039d8f8c1 -C extra-filename=-b56abce039d8f8c1 --out-dir /builddir/build/BUILD/freetype-0.7.2/target/rpm/deps -L dependency=/builddir/build/BUILD/freetype-0.7.2/target/rpm/deps --extern libc=/builddir/build/BUILD/freetype-0.7.2/target/rpm/deps/liblibc-bdb27873be251087.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn -L native=/usr/lib64 -l freetype` Compiling freetype v0.7.2 (/builddir/build/BUILD/freetype-0.7.2) Running `/usr/bin/rustc --crate-name freetype --edition=2015 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type rlib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="freetype-sys"' -C metadata=aae27446d908a4bf -C extra-filename=-aae27446d908a4bf --out-dir /builddir/build/BUILD/freetype-0.7.2/target/rpm/deps -L dependency=/builddir/build/BUILD/freetype-0.7.2/target/rpm/deps --extern freetype_sys=/builddir/build/BUILD/freetype-0.7.2/target/rpm/deps/libfreetype_sys-b56abce039d8f8c1.rmeta --extern libc=/builddir/build/BUILD/freetype-0.7.2/target/rpm/deps/liblibc-bdb27873be251087.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn -L native=/usr/lib64` Finished `rpm` profile [optimized + debuginfo] target(s) in 10.67s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.lAxHOe + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-freetype-0.7.2-1.oc9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-freetype-0.7.2-1.oc9.aarch64 ++ dirname /builddir/build/BUILDROOT/rust-freetype-0.7.2-1.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-freetype-0.7.2-1.oc9.aarch64 + cd freetype-0.7.2 + set -euo pipefail ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml name + CRATE_NAME=freetype ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.7.2 + REG_DIR=/builddir/build/BUILDROOT/rust-freetype-0.7.2-1.oc9.aarch64/usr/share/cargo/registry/freetype-0.7.2 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-freetype-0.7.2-1.oc9.aarch64/usr/share/cargo/registry/freetype-0.7.2 + gawk -i inplace -v INPLACE_SUFFIX=.deps '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo package -l + grep -w -E -v 'Cargo.(lock|toml.orig)' + xargs -d '\n' /usr/bin/cp --parents -a -t /builddir/build/BUILDROOT/rust-freetype-0.7.2-1.oc9.aarch64/usr/share/cargo/registry/freetype-0.7.2 warning: no (git) VCS found for `/builddir/build/BUILD/freetype-0.7.2` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-freetype-0.7.2-1.oc9.aarch64/usr/share/cargo/registry/freetype-0.7.2/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-freetype-0.7.2-1.oc9.aarch64/usr/share/cargo/registry/freetype-0.7.2/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 0 -eq 1 ']' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs mangling shebang in /usr/share/cargo/registry/freetype-0.7.2/configure from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/share/cargo/registry/freetype-0.7.2/etc/bindgen.sh from /usr/bin/env bash to #!/usr/bin/bash + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.ZKVCb6 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd freetype-0.7.2 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo test -j8 -Z avoid-dev-deps --profile rpm --no-fail-fast Fresh pkg-config v0.3.30 Fresh cc v1.0.99 Fresh libc v0.2.155 Fresh freetype-sys v0.20.1 Compiling freetype v0.7.2 (/builddir/build/BUILD/freetype-0.7.2) Running `/usr/bin/rustc --crate-name freetype --edition=2015 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="freetype-sys"' -C metadata=65e489a1a8343b0a -C extra-filename=-65e489a1a8343b0a --out-dir /builddir/build/BUILD/freetype-0.7.2/target/rpm/deps -L dependency=/builddir/build/BUILD/freetype-0.7.2/target/rpm/deps --extern freetype_sys=/builddir/build/BUILD/freetype-0.7.2/target/rpm/deps/libfreetype_sys-b56abce039d8f8c1.rlib --extern libc=/builddir/build/BUILD/freetype-0.7.2/target/rpm/deps/liblibc-bdb27873be251087.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn -L native=/usr/lib64` warning: dereferencing a null pointer --> src/freetype.rs:142:19 | 142 | & ( * ( 0 as * const FT_MemoryRec_ ) ) . user as * const _ as | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed | = note: `#[warn(deref_nullptr)]` on by default warning: dereferencing a null pointer --> src/freetype.rs:147:19 | 147 | & ( * ( 0 as * const FT_MemoryRec_ ) ) . alloc as * const _ as | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:152:19 | 152 | & ( * ( 0 as * const FT_MemoryRec_ ) ) . free as * const _ as | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:157:19 | 157 | & ( * ( 0 as * const FT_MemoryRec_ ) ) . realloc as * const _ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:204:19 | 204 | & ( * ( 0 as * const FT_StreamRec_ ) ) . base as * const _ as | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:209:19 | 209 | & ( * ( 0 as * const FT_StreamRec_ ) ) . size as * const _ as | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:214:19 | 214 | & ( * ( 0 as * const FT_StreamRec_ ) ) . pos as * const _ as | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:219:19 | 219 | & ( * ( 0 as * const FT_StreamRec_ ) ) . descriptor as * const | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:224:19 | 224 | & ( * ( 0 as * const FT_StreamRec_ ) ) . pathname as * const _ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:229:19 | 229 | & ( * ( 0 as * const FT_StreamRec_ ) ) . read as * const _ as | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:234:19 | 234 | & ( * ( 0 as * const FT_StreamRec_ ) ) . close as * const _ as | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:239:19 | 239 | & ( * ( 0 as * const FT_StreamRec_ ) ) . memory as * const _ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:244:19 | 244 | & ( * ( 0 as * const FT_StreamRec_ ) ) . cursor as * const _ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:249:19 | 249 | & ( * ( 0 as * const FT_StreamRec_ ) ) . limit as * const _ as | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:272:19 | 272 | & ( * ( 0 as * const FT_StreamDesc_ ) ) . value as * const _ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:277:19 | 277 | & ( * ( 0 as * const FT_StreamDesc_ ) ) . pointer as * const _ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:311:19 | 311 | & ( * ( 0 as * const FT_Vector_ ) ) . x as * const _ as usize | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:316:19 | 316 | & ( * ( 0 as * const FT_Vector_ ) ) . y as * const _ as usize | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:340:19 | 340 | & ( * ( 0 as * const FT_BBox_ ) ) . xMin as * const _ as usize | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:345:19 | 345 | & ( * ( 0 as * const FT_BBox_ ) ) . yMin as * const _ as usize | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:350:19 | 350 | & ( * ( 0 as * const FT_BBox_ ) ) . xMax as * const _ as usize | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:355:19 | 355 | & ( * ( 0 as * const FT_BBox_ ) ) . yMax as * const _ as usize | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:397:19 | 397 | & ( * ( 0 as * const FT_Bitmap_ ) ) . rows as * const _ as | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:402:19 | 402 | & ( * ( 0 as * const FT_Bitmap_ ) ) . width as * const _ as | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:407:19 | 407 | & ( * ( 0 as * const FT_Bitmap_ ) ) . pitch as * const _ as | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:412:19 | 412 | & ( * ( 0 as * const FT_Bitmap_ ) ) . buffer as * const _ as | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:417:19 | 417 | & ( * ( 0 as * const FT_Bitmap_ ) ) . num_grays as * const _ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:422:19 | 422 | & ( * ( 0 as * const FT_Bitmap_ ) ) . pixel_mode as * const _ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:427:19 | 427 | & ( * ( 0 as * const FT_Bitmap_ ) ) . palette_mode as * const | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:432:19 | 432 | & ( * ( 0 as * const FT_Bitmap_ ) ) . palette as * const _ as | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:458:19 | 458 | & ( * ( 0 as * const FT_Outline_ ) ) . n_contours as * const _ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:463:19 | 463 | & ( * ( 0 as * const FT_Outline_ ) ) . n_points as * const _ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:468:19 | 468 | & ( * ( 0 as * const FT_Outline_ ) ) . points as * const _ as | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:473:19 | 473 | & ( * ( 0 as * const FT_Outline_ ) ) . tags as * const _ as | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:478:19 | 478 | & ( * ( 0 as * const FT_Outline_ ) ) . contours as * const _ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:483:19 | 483 | & ( * ( 0 as * const FT_Outline_ ) ) . flags as * const _ as | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:532:19 | 532 | & ( * ( 0 as * const FT_Outline_Funcs_ ) ) . move_to as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:537:19 | 537 | & ( * ( 0 as * const FT_Outline_Funcs_ ) ) . line_to as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:542:19 | 542 | & ( * ( 0 as * const FT_Outline_Funcs_ ) ) . conic_to as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:547:19 | 547 | & ( * ( 0 as * const FT_Outline_Funcs_ ) ) . cubic_to as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:552:19 | 552 | & ( * ( 0 as * const FT_Outline_Funcs_ ) ) . shift as * const | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:557:19 | 557 | & ( * ( 0 as * const FT_Outline_Funcs_ ) ) . delta as * const | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:596:19 | 596 | & ( * ( 0 as * const FT_Span_ ) ) . x as * const _ as usize } | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:601:19 | 601 | & ( * ( 0 as * const FT_Span_ ) ) . len as * const _ as usize | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:606:19 | 606 | & ( * ( 0 as * const FT_Span_ ) ) . coverage as * const _ as | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:652:19 | 652 | & ( * ( 0 as * const FT_Raster_Params_ ) ) . target as * const | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:657:19 | 657 | & ( * ( 0 as * const FT_Raster_Params_ ) ) . source as * const | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:662:19 | 662 | & ( * ( 0 as * const FT_Raster_Params_ ) ) . flags as * const | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:667:19 | 667 | & ( * ( 0 as * const FT_Raster_Params_ ) ) . gray_spans as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:672:19 | 672 | & ( * ( 0 as * const FT_Raster_Params_ ) ) . black_spans as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:677:19 | 677 | & ( * ( 0 as * const FT_Raster_Params_ ) ) . bit_test as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:682:19 | 682 | & ( * ( 0 as * const FT_Raster_Params_ ) ) . bit_set as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:687:19 | 687 | & ( * ( 0 as * const FT_Raster_Params_ ) ) . user as * const _ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:692:19 | 692 | & ( * ( 0 as * const FT_Raster_Params_ ) ) . clip_box as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:742:19 | 742 | & ( * ( 0 as * const FT_Raster_Funcs_ ) ) . glyph_format as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:747:19 | 747 | & ( * ( 0 as * const FT_Raster_Funcs_ ) ) . raster_new as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:752:19 | 752 | & ( * ( 0 as * const FT_Raster_Funcs_ ) ) . raster_reset as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:757:19 | 757 | & ( * ( 0 as * const FT_Raster_Funcs_ ) ) . raster_set_mode as | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:762:19 | 762 | & ( * ( 0 as * const FT_Raster_Funcs_ ) ) . raster_render as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:767:19 | 767 | & ( * ( 0 as * const FT_Raster_Funcs_ ) ) . raster_done as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:809:19 | 809 | & ( * ( 0 as * const FT_UnitVector_ ) ) . x as * const _ as | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:814:19 | 814 | & ( * ( 0 as * const FT_UnitVector_ ) ) . y as * const _ as | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:838:19 | 838 | & ( * ( 0 as * const FT_Matrix_ ) ) . xx as * const _ as usize | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:843:19 | 843 | & ( * ( 0 as * const FT_Matrix_ ) ) . xy as * const _ as usize | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:848:19 | 848 | & ( * ( 0 as * const FT_Matrix_ ) ) . yx as * const _ as usize | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:853:19 | 853 | & ( * ( 0 as * const FT_Matrix_ ) ) . yy as * const _ as usize | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:875:19 | 875 | & ( * ( 0 as * const FT_Data_ ) ) . pointer as * const _ as | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:880:19 | 880 | & ( * ( 0 as * const FT_Data_ ) ) . length as * const _ as | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:905:19 | 905 | & ( * ( 0 as * const FT_Generic_ ) ) . data as * const _ as | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:910:19 | 910 | & ( * ( 0 as * const FT_Generic_ ) ) . finalizer as * const _ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:933:19 | 933 | & ( * ( 0 as * const FT_ListNodeRec_ ) ) . prev as * const _ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:938:19 | 938 | & ( * ( 0 as * const FT_ListNodeRec_ ) ) . next as * const _ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:943:19 | 943 | & ( * ( 0 as * const FT_ListNodeRec_ ) ) . data as * const _ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:965:19 | 965 | & ( * ( 0 as * const FT_ListRec_ ) ) . head as * const _ as | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:970:19 | 970 | & ( * ( 0 as * const FT_ListRec_ ) ) . tail as * const _ as | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1304:19 | 1304 | & ( * ( 0 as * const FT_Glyph_Metrics_ ) ) . width as * const | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1309:19 | 1309 | & ( * ( 0 as * const FT_Glyph_Metrics_ ) ) . height as * const | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1314:19 | 1314 | & ( * ( 0 as * const FT_Glyph_Metrics_ ) ) . horiBearingX as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1319:19 | 1319 | & ( * ( 0 as * const FT_Glyph_Metrics_ ) ) . horiBearingY as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1324:19 | 1324 | & ( * ( 0 as * const FT_Glyph_Metrics_ ) ) . horiAdvance as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1329:19 | 1329 | & ( * ( 0 as * const FT_Glyph_Metrics_ ) ) . vertBearingX as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1334:19 | 1334 | & ( * ( 0 as * const FT_Glyph_Metrics_ ) ) . vertBearingY as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1339:19 | 1339 | & ( * ( 0 as * const FT_Glyph_Metrics_ ) ) . vertAdvance as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1364:19 | 1364 | & ( * ( 0 as * const FT_Bitmap_Size_ ) ) . height as * const _ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1369:19 | 1369 | & ( * ( 0 as * const FT_Bitmap_Size_ ) ) . width as * const _ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1374:19 | 1374 | & ( * ( 0 as * const FT_Bitmap_Size_ ) ) . size as * const _ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1379:19 | 1379 | & ( * ( 0 as * const FT_Bitmap_Size_ ) ) . x_ppem as * const _ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1384:19 | 1384 | & ( * ( 0 as * const FT_Bitmap_Size_ ) ) . y_ppem as * const _ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1459:19 | 1459 | & ( * ( 0 as * const FT_FaceRec_ ) ) . num_faces as * const _ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1464:19 | 1464 | & ( * ( 0 as * const FT_FaceRec_ ) ) . face_index as * const _ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1469:19 | 1469 | & ( * ( 0 as * const FT_FaceRec_ ) ) . face_flags as * const _ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1474:19 | 1474 | & ( * ( 0 as * const FT_FaceRec_ ) ) . style_flags as * const | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1479:19 | 1479 | & ( * ( 0 as * const FT_FaceRec_ ) ) . num_glyphs as * const _ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1484:19 | 1484 | & ( * ( 0 as * const FT_FaceRec_ ) ) . family_name as * const | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1489:19 | 1489 | & ( * ( 0 as * const FT_FaceRec_ ) ) . style_name as * const _ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1494:19 | 1494 | & ( * ( 0 as * const FT_FaceRec_ ) ) . num_fixed_sizes as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1499:19 | 1499 | & ( * ( 0 as * const FT_FaceRec_ ) ) . available_sizes as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1504:19 | 1504 | & ( * ( 0 as * const FT_FaceRec_ ) ) . num_charmaps as * const | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1509:19 | 1509 | & ( * ( 0 as * const FT_FaceRec_ ) ) . charmaps as * const _ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1514:19 | 1514 | & ( * ( 0 as * const FT_FaceRec_ ) ) . generic as * const _ as | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1519:19 | 1519 | & ( * ( 0 as * const FT_FaceRec_ ) ) . bbox as * const _ as | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1524:19 | 1524 | & ( * ( 0 as * const FT_FaceRec_ ) ) . units_per_EM as * const | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1529:19 | 1529 | & ( * ( 0 as * const FT_FaceRec_ ) ) . ascender as * const _ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1534:19 | 1534 | & ( * ( 0 as * const FT_FaceRec_ ) ) . descender as * const _ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1539:19 | 1539 | & ( * ( 0 as * const FT_FaceRec_ ) ) . height as * const _ as | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1544:19 | 1544 | & ( * ( 0 as * const FT_FaceRec_ ) ) . max_advance_width as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1549:19 | 1549 | & ( * ( 0 as * const FT_FaceRec_ ) ) . max_advance_height as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1554:19 | 1554 | & ( * ( 0 as * const FT_FaceRec_ ) ) . underline_position as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1559:19 | 1559 | & ( * ( 0 as * const FT_FaceRec_ ) ) . underline_thickness as | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1564:19 | 1564 | & ( * ( 0 as * const FT_FaceRec_ ) ) . glyph as * const _ as | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1569:19 | 1569 | & ( * ( 0 as * const FT_FaceRec_ ) ) . size as * const _ as | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1574:19 | 1574 | & ( * ( 0 as * const FT_FaceRec_ ) ) . charmap as * const _ as | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1579:19 | 1579 | & ( * ( 0 as * const FT_FaceRec_ ) ) . driver as * const _ as | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1584:19 | 1584 | & ( * ( 0 as * const FT_FaceRec_ ) ) . memory as * const _ as | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1589:19 | 1589 | & ( * ( 0 as * const FT_FaceRec_ ) ) . stream as * const _ as | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1594:19 | 1594 | & ( * ( 0 as * const FT_FaceRec_ ) ) . sizes_list as * const _ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1599:19 | 1599 | & ( * ( 0 as * const FT_FaceRec_ ) ) . autohint as * const _ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1604:19 | 1604 | & ( * ( 0 as * const FT_FaceRec_ ) ) . extensions as * const _ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1609:19 | 1609 | & ( * ( 0 as * const FT_FaceRec_ ) ) . internal as * const _ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1633:19 | 1633 | & ( * ( 0 as * const FT_SizeRec_ ) ) . face as * const _ as | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1638:19 | 1638 | & ( * ( 0 as * const FT_SizeRec_ ) ) . generic as * const _ as | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1643:19 | 1643 | & ( * ( 0 as * const FT_SizeRec_ ) ) . metrics as * const _ as | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1648:19 | 1648 | & ( * ( 0 as * const FT_SizeRec_ ) ) . internal as * const _ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1690:19 | 1690 | & ( * ( 0 as * const FT_GlyphSlotRec_ ) ) . library as * const | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1695:19 | 1695 | & ( * ( 0 as * const FT_GlyphSlotRec_ ) ) . face as * const _ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1700:19 | 1700 | & ( * ( 0 as * const FT_GlyphSlotRec_ ) ) . next as * const _ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1705:19 | 1705 | & ( * ( 0 as * const FT_GlyphSlotRec_ ) ) . reserved as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1710:19 | 1710 | & ( * ( 0 as * const FT_GlyphSlotRec_ ) ) . generic as * const | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1715:19 | 1715 | & ( * ( 0 as * const FT_GlyphSlotRec_ ) ) . metrics as * const | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1720:19 | 1720 | & ( * ( 0 as * const FT_GlyphSlotRec_ ) ) . linearHoriAdvance | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1725:19 | 1725 | & ( * ( 0 as * const FT_GlyphSlotRec_ ) ) . linearVertAdvance | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1730:19 | 1730 | & ( * ( 0 as * const FT_GlyphSlotRec_ ) ) . advance as * const | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1735:19 | 1735 | & ( * ( 0 as * const FT_GlyphSlotRec_ ) ) . format as * const | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1740:19 | 1740 | & ( * ( 0 as * const FT_GlyphSlotRec_ ) ) . bitmap as * const | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1745:19 | 1745 | & ( * ( 0 as * const FT_GlyphSlotRec_ ) ) . bitmap_left as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1750:19 | 1750 | & ( * ( 0 as * const FT_GlyphSlotRec_ ) ) . bitmap_top as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1755:19 | 1755 | & ( * ( 0 as * const FT_GlyphSlotRec_ ) ) . outline as * const | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1760:19 | 1760 | & ( * ( 0 as * const FT_GlyphSlotRec_ ) ) . num_subglyphs as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1765:19 | 1765 | & ( * ( 0 as * const FT_GlyphSlotRec_ ) ) . subglyphs as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1770:19 | 1770 | & ( * ( 0 as * const FT_GlyphSlotRec_ ) ) . control_data as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1775:19 | 1775 | & ( * ( 0 as * const FT_GlyphSlotRec_ ) ) . control_len as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1780:19 | 1780 | & ( * ( 0 as * const FT_GlyphSlotRec_ ) ) . lsb_delta as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1785:19 | 1785 | & ( * ( 0 as * const FT_GlyphSlotRec_ ) ) . rsb_delta as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1790:19 | 1790 | & ( * ( 0 as * const FT_GlyphSlotRec_ ) ) . other as * const _ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1795:19 | 1795 | & ( * ( 0 as * const FT_GlyphSlotRec_ ) ) . internal as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1819:19 | 1819 | & ( * ( 0 as * const FT_CharMapRec_ ) ) . face as * const _ as | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1824:19 | 1824 | & ( * ( 0 as * const FT_CharMapRec_ ) ) . encoding as * const | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1829:19 | 1829 | & ( * ( 0 as * const FT_CharMapRec_ ) ) . platform_id as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1834:19 | 1834 | & ( * ( 0 as * const FT_CharMapRec_ ) ) . encoding_id as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1905:19 | 1905 | & ( * ( 0 as * const FT_Size_Metrics_ ) ) . x_ppem as * const | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1910:19 | 1910 | & ( * ( 0 as * const FT_Size_Metrics_ ) ) . y_ppem as * const | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1915:19 | 1915 | & ( * ( 0 as * const FT_Size_Metrics_ ) ) . x_scale as * const | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1920:19 | 1920 | & ( * ( 0 as * const FT_Size_Metrics_ ) ) . y_scale as * const | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1925:19 | 1925 | & ( * ( 0 as * const FT_Size_Metrics_ ) ) . ascender as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1930:19 | 1930 | & ( * ( 0 as * const FT_Size_Metrics_ ) ) . descender as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1935:19 | 1935 | & ( * ( 0 as * const FT_Size_Metrics_ ) ) . height as * const | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1940:19 | 1940 | & ( * ( 0 as * const FT_Size_Metrics_ ) ) . max_advance as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1982:19 | 1982 | & ( * ( 0 as * const FT_Parameter_ ) ) . tag as * const _ as | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:1987:19 | 1987 | & ( * ( 0 as * const FT_Parameter_ ) ) . data as * const _ as | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:2015:19 | 2015 | & ( * ( 0 as * const FT_Open_Args_ ) ) . flags as * const _ as | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:2020:19 | 2020 | & ( * ( 0 as * const FT_Open_Args_ ) ) . memory_base as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:2025:19 | 2025 | & ( * ( 0 as * const FT_Open_Args_ ) ) . memory_size as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:2030:19 | 2030 | & ( * ( 0 as * const FT_Open_Args_ ) ) . pathname as * const _ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:2035:19 | 2035 | & ( * ( 0 as * const FT_Open_Args_ ) ) . stream as * const _ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:2040:19 | 2040 | & ( * ( 0 as * const FT_Open_Args_ ) ) . driver as * const _ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:2045:19 | 2045 | & ( * ( 0 as * const FT_Open_Args_ ) ) . num_params as * const | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:2050:19 | 2050 | & ( * ( 0 as * const FT_Open_Args_ ) ) . params as * const _ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:2119:19 | 2119 | & ( * ( 0 as * const FT_Size_RequestRec_ ) ) . type_ as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:2124:19 | 2124 | & ( * ( 0 as * const FT_Size_RequestRec_ ) ) . width as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:2129:19 | 2129 | & ( * ( 0 as * const FT_Size_RequestRec_ ) ) . height as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:2134:19 | 2134 | & ( * ( 0 as * const FT_Size_RequestRec_ ) ) . horiResolution | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:2139:19 | 2139 | & ( * ( 0 as * const FT_Size_RequestRec_ ) ) . vertResolution | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:2386:19 | 2386 | & ( * ( 0 as * const FT_Module_Class_ ) ) . module_flags as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:2391:19 | 2391 | & ( * ( 0 as * const FT_Module_Class_ ) ) . module_size as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:2396:19 | 2396 | & ( * ( 0 as * const FT_Module_Class_ ) ) . module_name as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:2401:19 | 2401 | & ( * ( 0 as * const FT_Module_Class_ ) ) . module_version as | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:2406:19 | 2406 | & ( * ( 0 as * const FT_Module_Class_ ) ) . module_requires as | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:2411:19 | 2411 | & ( * ( 0 as * const FT_Module_Class_ ) ) . module_interface | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:2416:19 | 2416 | & ( * ( 0 as * const FT_Module_Class_ ) ) . module_init as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:2421:19 | 2421 | & ( * ( 0 as * const FT_Module_Class_ ) ) . module_done as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: dereferencing a null pointer --> src/freetype.rs:2426:19 | 2426 | & ( * ( 0 as * const FT_Module_Class_ ) ) . get_interface as * | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed warning: `freetype` (lib test) generated 181 warnings Finished `rpm` profile [optimized + debuginfo] target(s) in 0.53s Running `/builddir/build/BUILD/freetype-0.7.2/target/rpm/deps/freetype-65e489a1a8343b0a` running 28 tests test freetype::bindgen_test_layout_FT_BBox_ ... ok test freetype::bindgen_test_layout_FT_Bitmap_ ... ok test freetype::bindgen_test_layout_FT_Bitmap_Size_ ... ok test freetype::bindgen_test_layout_FT_Data_ ... ok test freetype::bindgen_test_layout_FT_FaceRec_ ... ok test freetype::bindgen_test_layout_FT_Generic_ ... ok test freetype::bindgen_test_layout_FT_GlyphSlotRec_ ... ok test freetype::bindgen_test_layout_FT_Glyph_Metrics_ ... ok test freetype::bindgen_test_layout_FT_ListNodeRec_ ... ok test freetype::bindgen_test_layout_FT_ListRec_ ... ok test freetype::bindgen_test_layout_FT_Matrix_ ... ok test freetype::bindgen_test_layout_FT_MemoryRec_ ... ok test freetype::bindgen_test_layout_FT_Module_Class_ ... ok test freetype::bindgen_test_layout_FT_Open_Args_ ... ok test freetype::bindgen_test_layout_FT_Outline_ ... ok test freetype::bindgen_test_layout_FT_Outline_Funcs_ ... ok test freetype::bindgen_test_layout_FT_Parameter_ ... ok test freetype::bindgen_test_layout_FT_Raster_Funcs_ ... ok test freetype::bindgen_test_layout_FT_Raster_Params_ ... ok test freetype::bindgen_test_layout_FT_SizeRec_ ... ok test freetype::bindgen_test_layout_FT_Size_Metrics_ ... ok test freetype::bindgen_test_layout_FT_Size_RequestRec_ ... ok test freetype::bindgen_test_layout_FT_Span_ ... ok test freetype::bindgen_test_layout_FT_StreamDesc_ ... ok test freetype::bindgen_test_layout_FT_StreamRec_ ... ok test freetype::bindgen_test_layout_FT_UnitVector_ ... ok test freetype::bindgen_test_layout_FT_Vector_ ... ok test freetype::bindgen_test_layout_FT_CharMapRec_ ... ok test result: ok. 28 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests freetype Running `/usr/bin/rustdoc --edition=2015 --crate-type rlib --crate-name freetype --test src/lib.rs --test-run-directory /builddir/build/BUILD/freetype-0.7.2 -L dependency=/builddir/build/BUILD/freetype-0.7.2/target/rpm/deps -L dependency=/builddir/build/BUILD/freetype-0.7.2/target/rpm/deps -L native=/usr/lib64 --extern freetype=/builddir/build/BUILD/freetype-0.7.2/target/rpm/deps/libfreetype-aae27446d908a4bf.rlib --extern freetype_sys=/builddir/build/BUILD/freetype-0.7.2/target/rpm/deps/libfreetype_sys-b56abce039d8f8c1.rlib --extern libc=/builddir/build/BUILD/freetype-0.7.2/target/rpm/deps/liblibc-bdb27873be251087.rlib -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="freetype-sys"' --error-format human` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-freetype-devel-0.7.2-1.oc9.noarch warning: File listed twice: /usr/share/cargo/registry/freetype-0.7.2/COPYRIGHT warning: File listed twice: /usr/share/cargo/registry/freetype-0.7.2/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/freetype-0.7.2/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/freetype-0.7.2/README.md Provides: crate(freetype) = 0.7.2 rust-freetype-devel = 0.7.2-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0~) /usr/bin/bash cargo Processing files: rust-freetype+default-devel-0.7.2-1.oc9.noarch Provides: crate(freetype/default) = 0.7.2 rust-freetype+default-devel = 0.7.2-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(freetype) = 0.7.2 crate(freetype/freetype-sys) = 0.7.2 Processing files: rust-freetype+freetype-sys-devel-0.7.2-1.oc9.noarch Provides: crate(freetype/freetype-sys) = 0.7.2 rust-freetype+freetype-sys-devel = 0.7.2-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(freetype-sys/default) >= 0.20.1 with crate(freetype-sys/default) < 0.21.0~) cargo crate(freetype) = 0.7.2 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-freetype-0.7.2-1.oc9.aarch64 Wrote: /builddir/build/SRPMS/rust-freetype-0.7.2-1.oc9.src.rpm Wrote: /builddir/build/RPMS/rust-freetype+freetype-sys-devel-0.7.2-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-freetype+default-devel-0.7.2-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-freetype-devel-0.7.2-1.oc9.noarch.rpm RPM build warnings: File listed twice: /usr/share/cargo/registry/freetype-0.7.2/COPYRIGHT File listed twice: /usr/share/cargo/registry/freetype-0.7.2/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/freetype-0.7.2/LICENSE-MIT File listed twice: /usr/share/cargo/registry/freetype-0.7.2/README.md Child return code was: 0