Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/rust-primal-sieve.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-161821-79749/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=981gid=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-primal-sieve.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-primal-sieve-0.3.7-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-primal-sieve.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-161821-79749/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=981gid=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-primal-sieve.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.aQV4pi + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf primal-sieve-0.3.7 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/primal-sieve-0.3.7.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd primal-sieve-0.3.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/primal-sieve-fix-metadata.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.1jx5Rs + umask 022 + cd /builddir/build/BUILD + cd primal-sieve-0.3.7 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-primal-sieve-0.3.7-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 --noclean --target loongarch64 --nodeps /builddir/build/SPECS/rust-primal-sieve.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-161821-79749/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=981gid=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-primal-sieve.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.NyGO73 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf primal-sieve-0.3.7 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/primal-sieve-0.3.7.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd primal-sieve-0.3.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/primal-sieve-fix-metadata.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.awN3Jw + umask 022 + cd /builddir/build/BUILD + cd primal-sieve-0.3.7 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-primal-sieve-0.3.7-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 --nodeps /builddir/build/SPECS/rust-primal-sieve.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-161821-79749/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target loongarch64 --nodeps /builddir/build/SPECS/rust-primal-sieve.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.BMFLgr + umask 022 + cd /builddir/build/BUILD + cd primal-sieve-0.3.7 + /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.i5ROO8 + 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 primal-sieve-0.3.7 + /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 hamming v0.1.3 Compiling primal-estimate v0.3.3 Compiling smallvec v1.13.2 Running `/usr/bin/rustc --crate-name hamming --edition=2015 /usr/share/cargo/registry/hamming-0.1.3/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("unstable"))' -C metadata=82fe1442508f0cb2 -C extra-filename=-82fe1442508f0cb2 --out-dir /builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps -L dependency=/builddir/build/BUILD/primal-sieve-0.3.7/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 primal_estimate --edition=2018 /usr/share/cargo/registry/primal-estimate-0.3.3/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("unstable"))' -C metadata=2f81afa665bc9c4d -C extra-filename=-2f81afa665bc9c4d --out-dir /builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps -L dependency=/builddir/build/BUILD/primal-sieve-0.3.7/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 smallvec --edition=2018 /usr/share/cargo/registry/smallvec-1.13.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("arbitrary", "const_generics", "const_new", "debugger_visualizer", "drain_filter", "drain_keep_rest", "may_dangle", "serde", "specialization", "union", "write"))' -C metadata=5db4ca273d9c5a17 -C extra-filename=-5db4ca273d9c5a17 --out-dir /builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps -L dependency=/builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling primal-bit v0.3.2 Running `/usr/bin/rustc --crate-name primal_bit --edition=2018 /usr/share/cargo/registry/primal-bit-0.3.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("unstable"))' -C metadata=d578f09f4f3685d6 -C extra-filename=-d578f09f4f3685d6 --out-dir /builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps -L dependency=/builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps --extern hamming=/builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps/libhamming-82fe1442508f0cb2.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling primal-sieve v0.3.7 (/builddir/build/BUILD/primal-sieve-0.3.7) Running `/usr/bin/rustc --crate-name primal_sieve --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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("safe", "slow_tests", "unstable"))' -C metadata=96c52529f248ff5b -C extra-filename=-96c52529f248ff5b --out-dir /builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps -L dependency=/builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps --extern primal_bit=/builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps/libprimal_bit-d578f09f4f3685d6.rmeta --extern primal_estimate=/builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps/libprimal_estimate-2f81afa665bc9c4d.rmeta --extern smallvec=/builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps/libsmallvec-5db4ca273d9c5a17.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Finished `rpm` profile [optimized + debuginfo] target(s) in 4.13s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.qAj5gE + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-primal-sieve-0.3.7-2.oc9.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-primal-sieve-0.3.7-2.oc9.loongarch64 ++ dirname /builddir/build/BUILDROOT/rust-primal-sieve-0.3.7-2.oc9.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-primal-sieve-0.3.7-2.oc9.loongarch64 + cd primal-sieve-0.3.7 + 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=primal-sieve ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.3.7 + REG_DIR=/builddir/build/BUILDROOT/rust-primal-sieve-0.3.7-2.oc9.loongarch64/usr/share/cargo/registry/primal-sieve-0.3.7 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-primal-sieve-0.3.7-2.oc9.loongarch64/usr/share/cargo/registry/primal-sieve-0.3.7 + 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-primal-sieve-0.3.7-2.oc9.loongarch64/usr/share/cargo/registry/primal-sieve-0.3.7 warning: no (git) VCS found for `/builddir/build/BUILD/primal-sieve-0.3.7` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-primal-sieve-0.3.7-2.oc9.loongarch64/usr/share/cargo/registry/primal-sieve-0.3.7/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-primal-sieve-0.3.7-2.oc9.loongarch64/usr/share/cargo/registry/primal-sieve-0.3.7/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 *** WARNING: ./usr/share/cargo/registry/primal-sieve-0.3.7/src/lib.rs is executable but has no shebang, removing executable bit *** WARNING: ./usr/share/cargo/registry/primal-sieve-0.3.7/src/wheel/wheel210.rs is executable but has no shebang, removing executable bit *** WARNING: ./usr/share/cargo/registry/primal-sieve-0.3.7/src/wheel/wheel30.rs is executable but has no shebang, removing executable bit + /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.h52CCn + 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 primal-sieve-0.3.7 + /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 Compiling autocfg v1.3.0 Fresh hamming v0.1.3 Fresh primal-bit v0.3.2 Fresh primal-estimate v0.3.3 Fresh smallvec v1.13.2 Running `/usr/bin/rustc --crate-name autocfg --edition=2015 /usr/share/cargo/registry/autocfg-1.3.0/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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=73abf5e2878d8537 -C extra-filename=-73abf5e2878d8537 --out-dir /builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps -L dependency=/builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling primal-sieve v0.3.7 Compiling primal-slowsieve v0.3.2 Running `/usr/bin/rustc --crate-name primal_sieve --edition=2018 /usr/share/cargo/registry/primal-sieve-0.3.7/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("safe", "slow_tests", "unstable"))' -C metadata=a086ceec4ccd5ffd -C extra-filename=-a086ceec4ccd5ffd --out-dir /builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps -L dependency=/builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps --extern primal_bit=/builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps/libprimal_bit-d578f09f4f3685d6.rmeta --extern primal_estimate=/builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps/libprimal_estimate-2f81afa665bc9c4d.rmeta --extern smallvec=/builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps/libsmallvec-5db4ca273d9c5a17.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name primal_slowsieve --edition=2018 /usr/share/cargo/registry/primal-slowsieve-0.3.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("slow_tests", "unstable"))' -C metadata=5322f4fee38ce07d -C extra-filename=-5322f4fee38ce07d --out-dir /builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps -L dependency=/builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps --extern primal_bit=/builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps/libprimal_bit-d578f09f4f3685d6.rmeta --extern primal_estimate=/builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps/libprimal_estimate-2f81afa665bc9c4d.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling num-traits v0.2.19 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/num-traits-0.2.19/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="i128"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "i128", "libm", "std"))' -C metadata=03d81d39d5d2bf3b -C extra-filename=-03d81d39d5d2bf3b --out-dir /builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/build/num-traits-03d81d39d5d2bf3b -L dependency=/builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps --extern autocfg=/builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps/libautocfg-73abf5e2878d8537.rlib --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/build/num-traits-03d81d39d5d2bf3b/build-script-build` Running `/usr/bin/rustc --crate-name num_traits --edition=2021 /usr/share/cargo/registry/num-traits-0.2.19/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="i128"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "i128", "libm", "std"))' -C metadata=4e774d9ce625f14c -C extra-filename=-4e774d9ce625f14c --out-dir /builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps -L dependency=/builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg has_total_cmp` Compiling num-integer v0.1.46 Running `/usr/bin/rustc --crate-name num_integer --edition=2018 /usr/share/cargo/registry/num-integer-0.1.46/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("default", "i128", "std"))' -C metadata=ad151145e19a01bb -C extra-filename=-ad151145e19a01bb --out-dir /builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps -L dependency=/builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps --extern num_traits=/builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps/libnum_traits-4e774d9ce625f14c.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling primal-check v0.3.4 Running `/usr/bin/rustc --crate-name primal_check --edition=2018 /usr/share/cargo/registry/primal-check-0.3.4/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("unstable"))' -C metadata=8238dcbb7fdd43ee -C extra-filename=-8238dcbb7fdd43ee --out-dir /builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps -L dependency=/builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps --extern num_integer=/builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps/libnum_integer-ad151145e19a01bb.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling primal v0.3.3 Running `/usr/bin/rustc --crate-name primal --edition=2018 /usr/share/cargo/registry/primal-0.3.3/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("unstable"))' -C metadata=91020938866633d3 -C extra-filename=-91020938866633d3 --out-dir /builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps -L dependency=/builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps --extern primal_check=/builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps/libprimal_check-8238dcbb7fdd43ee.rmeta --extern primal_estimate=/builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps/libprimal_estimate-2f81afa665bc9c4d.rmeta --extern primal_sieve=/builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps/libprimal_sieve-a086ceec4ccd5ffd.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling primal-sieve v0.3.7 (/builddir/build/BUILD/primal-sieve-0.3.7) Running `/usr/bin/rustc --crate-name primal_sieve --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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("safe", "slow_tests", "unstable"))' -C metadata=88661c92be53b806 -C extra-filename=-88661c92be53b806 --out-dir /builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps -L dependency=/builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps --extern primal=/builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps/libprimal-91020938866633d3.rlib --extern primal_bit=/builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps/libprimal_bit-d578f09f4f3685d6.rlib --extern primal_estimate=/builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps/libprimal_estimate-2f81afa665bc9c4d.rlib --extern primal_slowsieve=/builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps/libprimal_slowsieve-5322f4fee38ce07d.rlib --extern smallvec=/builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps/libsmallvec-5db4ca273d9c5a17.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Finished `rpm` profile [optimized + debuginfo] target(s) in 10.91s Running `/builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps/primal_sieve-88661c92be53b806` running 26 tests test sieve::tests::factor_overflow ... ignored test sieve::tests::factor_failures ... ok test sieve::tests::factor ... ok test sieve::tests::primes_from_smoke ... ok test sieve::tests::u32_primes ... ignored test sieve::tests::primes_from_no_overrun ... ok test sieve::tests::prime_pi_sieve_limit ... ok test sieve::tests::primes_from_count ... ok test sieve::tests::factor_compare ... ok test sieve::tests::small ... ok test sieve::tests::sum_primes ... ok test sieve::tests::upper_bound ... ok test streaming::tests::test ... ok test sieve::tests::nth_prime ... ok test sieve::tests::primes_from_equality ... ok test sieve::tests::is_prime ... ok test sieve::tests::prime_pi ... ok test streaming::tests::prime_pi ... ok test streaming::primes::tests::equality ... ok test streaming::tests::prime_pi_seg_len ... ok test streaming::tests::nth_prime ... ok test streaming::primes::tests::fold - should panic ... ok test streaming::primes::tests::equality_huge ... ok test streaming::tests::prime_pi_issue_48 ... ok test streaming::tests::nth_prime_huge ... ok test streaming::tests::prime_pi_huge ... ok test result: ok. 24 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.18s Doc-tests primal_sieve Running `/usr/bin/rustdoc --edition=2018 --crate-type lib --crate-name primal_sieve --test src/lib.rs --test-run-directory /builddir/build/BUILD/primal-sieve-0.3.7 -L dependency=/builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps -L dependency=/builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps --extern primal=/builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps/libprimal-91020938866633d3.rlib --extern primal_bit=/builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps/libprimal_bit-d578f09f4f3685d6.rlib --extern primal_estimate=/builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps/libprimal_estimate-2f81afa665bc9c4d.rlib --extern primal_sieve=/builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps/libprimal_sieve-96c52529f248ff5b.rlib --extern primal_slowsieve=/builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps/libprimal_slowsieve-5322f4fee38ce07d.rlib --extern smallvec=/builddir/build/BUILD/primal-sieve-0.3.7/target/rpm/deps/libsmallvec-5db4ca273d9c5a17.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("safe", "slow_tests", "unstable"))' --error-format human` running 12 tests test src/streaming/mod.rs - streaming::StreamingSieve::prime_pi (line 97) ... ok test src/streaming/mod.rs - streaming::StreamingSieve::nth_prime (line 146) ... ok test src/sieve.rs - sieve::Sieve::prime_pi (line 169) ... ok test src/streaming/mod.rs - streaming::StreamingSieve (line 26) ... ok test src/sieve.rs - sieve::Sieve::primes_from (line 338) ... ok test src/sieve.rs - sieve::Sieve::is_prime (line 137) ... ok test src/sieve.rs - sieve::Sieve (line 23) ... ok test src/sieve.rs - sieve::Sieve::nth_prime (line 295) ... ok test src/sieve.rs - sieve::Sieve::upper_bound (line 119) ... ok test src/streaming/primes.rs - streaming::primes::Primes::all (line 46) ... ok test src/sieve.rs - sieve::Sieve::factor (line 222) ... ok test src/streaming/primes.rs - streaming::primes::Primes (line 28) ... ok test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.50s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-primal-sieve-devel-0.3.7-2.oc9.noarch warning: File listed twice: /usr/share/cargo/registry/primal-sieve-0.3.7/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/primal-sieve-0.3.7/LICENSE-MIT Provides: crate(primal-sieve) = 0.3.7 rust-primal-sieve-devel = 0.3.7-2.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(primal-bit/default) >= 0.3.0 with crate(primal-bit/default) < 0.4.0~) (crate(primal-estimate/default) >= 0.3.0 with crate(primal-estimate/default) < 0.4.0~) (crate(smallvec/default) >= 1.0.0 with crate(smallvec/default) < 2.0.0~) cargo Processing files: rust-primal-sieve+default-devel-0.3.7-2.oc9.noarch Provides: crate(primal-sieve/default) = 0.3.7 rust-primal-sieve+default-devel = 0.3.7-2.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(primal-sieve) = 0.3.7 Processing files: rust-primal-sieve+safe-devel-0.3.7-2.oc9.noarch Provides: crate(primal-sieve/safe) = 0.3.7 rust-primal-sieve+safe-devel = 0.3.7-2.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(primal-sieve) = 0.3.7 Processing files: rust-primal-sieve+slow_tests-devel-0.3.7-2.oc9.noarch Provides: crate(primal-sieve/slow_tests) = 0.3.7 rust-primal-sieve+slow_tests-devel = 0.3.7-2.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(primal-sieve) = 0.3.7 Processing files: rust-primal-sieve+unstable-devel-0.3.7-2.oc9.noarch Provides: crate(primal-sieve/unstable) = 0.3.7 rust-primal-sieve+unstable-devel = 0.3.7-2.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(primal-sieve) = 0.3.7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-primal-sieve-0.3.7-2.oc9.loongarch64 Wrote: /builddir/build/SRPMS/rust-primal-sieve-0.3.7-2.oc9.src.rpm Wrote: /builddir/build/RPMS/rust-primal-sieve+safe-devel-0.3.7-2.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-primal-sieve+default-devel-0.3.7-2.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-primal-sieve+slow_tests-devel-0.3.7-2.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-primal-sieve+unstable-devel-0.3.7-2.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-primal-sieve-devel-0.3.7-2.oc9.noarch.rpm RPM build warnings: File listed twice: /usr/share/cargo/registry/primal-sieve-0.3.7/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/primal-sieve-0.3.7/LICENSE-MIT Child return code was: 0