Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/rust-term.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-163371-79751/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=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/rust-term.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: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/rust-term-0.7.0-2.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target loongarch64 --nodeps /builddir/build/SPECS/rust-term.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-163371-79751/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=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target loongarch64 --nodeps /builddir/build/SPECS/rust-term.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: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8ymG9Z + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf term-0.7.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/term-0.7.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd term-0.7.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/term-fix-metadata-auto.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + 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.V3RG1L + umask 022 + cd /builddir/build/BUILD + cd term-0.7.0 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-term-0.7.0-2.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 --noprep --noclean --target loongarch64 --nodeps /builddir/build/SPECS/rust-term.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-163371-79751/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=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target loongarch64 --nodeps /builddir/build/SPECS/rust-term.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: loongarch64 Building for target loongarch64 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.JGKjNv + umask 022 + cd /builddir/build/BUILD + cd term-0.7.0 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-term-0.7.0-2.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 loongarch64 /builddir/build/SPECS/rust-term.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-163371-79751/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=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target loongarch64 /builddir/build/SPECS/rust-term.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: loongarch64 Building for target loongarch64 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.RLDPil + umask 022 + cd /builddir/build/BUILD + cd term-0.7.0 + /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.B4TbbW + 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 -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 -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 -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 -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 term-0.7.0 + /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 -j32 -Z avoid-dev-deps --profile rpm Compiling libc v0.2.155 Compiling cfg-if v1.0.0 Running `/usr/bin/rustc --crate-name cfg_if --edition=2018 /usr/share/cargo/registry/cfg-if-1.0.0/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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("compiler_builtins", "core", "rustc-dep-of-std"))' -C metadata=cb889d061f321cb4 -C extra-filename=-cb889d061f321cb4 --out-dir /builddir/build/BUILD/term-0.7.0/target/rpm/deps -L dependency=/builddir/build/BUILD/term-0.7.0/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"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=3730bbf5d17545d4 -C extra-filename=-3730bbf5d17545d4 --out-dir /builddir/build/BUILD/term-0.7.0/target/rpm/build/libc-3730bbf5d17545d4 -L dependency=/builddir/build/BUILD/term-0.7.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/builddir/build/BUILD/term-0.7.0/target/rpm/build/libc-3730bbf5d17545d4/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"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=1332ba8db1ad2e3f -C extra-filename=-1332ba8db1ad2e3f --out-dir /builddir/build/BUILD/term-0.7.0/target/rpm/deps -L dependency=/builddir/build/BUILD/term-0.7.0/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 --check-cfg 'cfg(emscripten_new_stat_abi)' --check-cfg 'cfg(espidf_time64)' --check-cfg 'cfg(freebsd10)' --check-cfg 'cfg(freebsd11)' --check-cfg 'cfg(freebsd12)' --check-cfg 'cfg(freebsd13)' --check-cfg 'cfg(freebsd14)' --check-cfg 'cfg(freebsd15)' --check-cfg 'cfg(libc_align)' --check-cfg 'cfg(libc_cfg_target_vendor)' --check-cfg 'cfg(libc_const_extern_fn)' --check-cfg 'cfg(libc_const_extern_fn_unstable)' --check-cfg 'cfg(libc_const_size_of)' --check-cfg 'cfg(libc_core_cvoid)' --check-cfg 'cfg(libc_deny_warnings)' --check-cfg 'cfg(libc_int128)' --check-cfg 'cfg(libc_long_array)' --check-cfg 'cfg(libc_non_exhaustive)' --check-cfg 'cfg(libc_packedN)' --check-cfg 'cfg(libc_priv_mod_use)' --check-cfg 'cfg(libc_ptr_addr_of)' --check-cfg 'cfg(libc_thread_local)' --check-cfg 'cfg(libc_underscore_const_names)' --check-cfg 'cfg(libc_union)' --check-cfg 'cfg(target_os,values("switch","aix","ohos","hurd","visionos"))' --check-cfg 'cfg(target_env,values("illumos","wasi","aix","ohos"))' --check-cfg 'cfg(target_arch,values("loongarch64","mips32r6","mips64r6","csky"))'` Compiling dirs-sys-next v0.1.2 Running `/usr/bin/rustc --crate-name dirs_sys_next --edition=2018 /usr/share/cargo/registry/dirs-sys-next-0.1.2/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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=f33acd543e9b0216 -C extra-filename=-f33acd543e9b0216 --out-dir /builddir/build/BUILD/term-0.7.0/target/rpm/deps -L dependency=/builddir/build/BUILD/term-0.7.0/target/rpm/deps --extern libc=/builddir/build/BUILD/term-0.7.0/target/rpm/deps/liblibc-1332ba8db1ad2e3f.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling dirs-next v2.0.0 Running `/usr/bin/rustc --crate-name dirs_next --edition=2018 /usr/share/cargo/registry/dirs-next-2.0.0/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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=f60199c05047a237 -C extra-filename=-f60199c05047a237 --out-dir /builddir/build/BUILD/term-0.7.0/target/rpm/deps -L dependency=/builddir/build/BUILD/term-0.7.0/target/rpm/deps --extern cfg_if=/builddir/build/BUILD/term-0.7.0/target/rpm/deps/libcfg_if-cb889d061f321cb4.rmeta --extern dirs_sys_next=/builddir/build/BUILD/term-0.7.0/target/rpm/deps/libdirs_sys_next-f33acd543e9b0216.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling term v0.7.0 (/builddir/build/BUILD/term-0.7.0) Running `/usr/bin/rustc --crate-name term --edition=2018 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"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default"))' -C metadata=dad5a5c070e0ec4d -C extra-filename=-dad5a5c070e0ec4d --out-dir /builddir/build/BUILD/term-0.7.0/target/rpm/deps -L dependency=/builddir/build/BUILD/term-0.7.0/target/rpm/deps --extern dirs_next=/builddir/build/BUILD/term-0.7.0/target/rpm/deps/libdirs_next-f60199c05047a237.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Finished `rpm` profile [optimized + debuginfo] target(s) in 8.21s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.6RSeOc + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-term-0.7.0-2.oc9.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-term-0.7.0-2.oc9.loongarch64 ++ dirname /builddir/build/BUILDROOT/rust-term-0.7.0-2.oc9.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-term-0.7.0-2.oc9.loongarch64 + cd term-0.7.0 + 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=term ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.7.0 + REG_DIR=/builddir/build/BUILDROOT/rust-term-0.7.0-2.oc9.loongarch64/usr/share/cargo/registry/term-0.7.0 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-term-0.7.0-2.oc9.loongarch64/usr/share/cargo/registry/term-0.7.0 + 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-term-0.7.0-2.oc9.loongarch64/usr/share/cargo/registry/term-0.7.0 warning: no (git) VCS found for `/builddir/build/BUILD/term-0.7.0` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-term-0.7.0-2.oc9.loongarch64/usr/share/cargo/registry/term-0.7.0/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-term-0.7.0-2.oc9.loongarch64/usr/share/cargo/registry/term-0.7.0/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 + /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.iob3gO + 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 -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 -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 -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 -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 term-0.7.0 + /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 -j32 -Z avoid-dev-deps --profile rpm --no-fail-fast Fresh libc v0.2.155 Fresh dirs-sys-next v0.1.2 Fresh cfg-if v1.0.0 Fresh dirs-next v2.0.0 Compiling term v0.7.0 (/builddir/build/BUILD/term-0.7.0) Running `/usr/bin/rustc --crate-name term --edition=2018 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"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default"))' -C metadata=764f19be5dfd6860 -C extra-filename=-764f19be5dfd6860 --out-dir /builddir/build/BUILD/term-0.7.0/target/rpm/deps -L dependency=/builddir/build/BUILD/term-0.7.0/target/rpm/deps --extern dirs_next=/builddir/build/BUILD/term-0.7.0/target/rpm/deps/libdirs_next-f60199c05047a237.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name terminfo --edition=2018 tests/terminfo.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"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default"))' -C metadata=dc8fd7f38e562e8f -C extra-filename=-dc8fd7f38e562e8f --out-dir /builddir/build/BUILD/term-0.7.0/target/rpm/deps -L dependency=/builddir/build/BUILD/term-0.7.0/target/rpm/deps --extern dirs_next=/builddir/build/BUILD/term-0.7.0/target/rpm/deps/libdirs_next-f60199c05047a237.rlib --extern term=/builddir/build/BUILD/term-0.7.0/target/rpm/deps/libterm-dad5a5c070e0ec4d.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: panic message is not a string literal --> src/terminfo/parm.rs:678:34 | 678 | assert!(res.is_ok(), res.err().unwrap()); | ^^^^^^^^^^^^^^^^^^ | = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 = note: for more information, see note: the lint level is defined here --> src/lib.rs:66:24 | 66 | #![cfg_attr(test, deny(warnings))] | ^^^^^^^^ = note: `#[warn(non_fmt_panics)]` implied by `#[warn(warnings)]` help: add a "{}" format string to `Display` the message | 678 | assert!(res.is_ok(), "{}", res.err().unwrap()); | +++++ warning: panic message is not a string literal --> src/terminfo/parm.rs:682:34 | 682 | assert!(res.is_ok(), res.err().unwrap()); | ^^^^^^^^^^^^^^^^^^ | = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 = note: for more information, see help: add a "{}" format string to `Display` the message | 682 | assert!(res.is_ok(), "{}", res.err().unwrap()); | +++++ warning: panic message is not a string literal --> src/terminfo/parm.rs:686:34 | 686 | assert!(res.is_ok(), res.err().unwrap()); | ^^^^^^^^^^^^^^^^^^ | = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 = note: for more information, see help: add a "{}" format string to `Display` the message | 686 | assert!(res.is_ok(), "{}", res.err().unwrap()); | +++++ warning: panic message is not a string literal --> src/terminfo/parm.rs:696:30 | 696 | assert!(res.is_ok(), res.err().unwrap()); | ^^^^^^^^^^^^^^^^^^ | = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 = note: for more information, see help: add a "{}" format string to `Display` the message | 696 | assert!(res.is_ok(), "{}", res.err().unwrap()); | +++++ warning: panic message is not a string literal --> src/terminfo/parm.rs:699:30 | 699 | assert!(res.is_ok(), res.err().unwrap()); | ^^^^^^^^^^^^^^^^^^ | = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 = note: for more information, see help: add a "{}" format string to `Display` the message | 699 | assert!(res.is_ok(), "{}", res.err().unwrap()); | +++++ warning: panic message is not a string literal --> src/terminfo/parm.rs:702:30 | 702 | assert!(res.is_ok(), res.err().unwrap()); | ^^^^^^^^^^^^^^^^^^ | = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 = note: for more information, see help: add a "{}" format string to `Display` the message | 702 | assert!(res.is_ok(), "{}", res.err().unwrap()); | +++++ warning: `term` (lib test) generated 6 warnings (run `cargo fix --lib -p term --tests` to apply 6 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 2.67s Running `/builddir/build/BUILD/term-0.7.0/target/rpm/deps/term-764f19be5dfd6860` running 9 tests test terminfo::parm::test::test_comparison_ops ... ok test terminfo::parm::test::test_conditionals ... ok test terminfo::parm::test::test_basic_setabf ... ok test terminfo::parm::test::test_multiple_int_constants ... ok test terminfo::parm::test::test_format ... ok test terminfo::parm::test::test_param_stack_failure_conditions ... ok test terminfo::parm::test::test_op_i ... ok test terminfo::parm::test::test_push_bad_param ... ok test terminfo::parser::compiled::test::test_veclens ... ok test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/builddir/build/BUILD/term-0.7.0/target/rpm/deps/terminfo-dc8fd7f38e562e8f` running 3 tests test test_fallback ... ok test test_supports_color ... ok test test_parse ... ok test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests term Running `/usr/bin/rustdoc --edition=2018 --crate-type lib --crate-name term --test src/lib.rs --test-run-directory /builddir/build/BUILD/term-0.7.0 -L dependency=/builddir/build/BUILD/term-0.7.0/target/rpm/deps -L dependency=/builddir/build/BUILD/term-0.7.0/target/rpm/deps --extern dirs_next=/builddir/build/BUILD/term-0.7.0/target/rpm/deps/libdirs_next-f60199c05047a237.rlib --extern term=/builddir/build/BUILD/term-0.7.0/target/rpm/deps/libterm-dad5a5c070e0ec4d.rlib -C embed-bitcode=no --cfg 'feature="default"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default"))' --error-format human` running 2 tests test src/lib.rs - (line 38) - compile ... ok test src/lib.rs - (line 32) ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.29s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-term-devel-0.7.0-2.oc9.noarch warning: File listed twice: /usr/share/cargo/registry/term-0.7.0/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/term-0.7.0/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/term-0.7.0/README.md Provides: crate(term) = 0.7.0 rust-term-devel = 0.7.0-2.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(dirs-next/default) >= 2.0.0 with crate(dirs-next/default) < 3.0.0~) cargo Processing files: rust-term+default-devel-0.7.0-2.oc9.noarch Provides: crate(term/default) = 0.7.0 rust-term+default-devel = 0.7.0-2.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(term) = 0.7.0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-term-0.7.0-2.oc9.loongarch64 Wrote: /builddir/build/SRPMS/rust-term-0.7.0-2.oc9.src.rpm Wrote: /builddir/build/RPMS/rust-term+default-devel-0.7.0-2.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-term-devel-0.7.0-2.oc9.noarch.rpm RPM build warnings: File listed twice: /usr/share/cargo/registry/term-0.7.0/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/term-0.7.0/LICENSE-MIT File listed twice: /usr/share/cargo/registry/term-0.7.0/README.md Child return code was: 0