Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-byte-unit3.spec'], chrootPath='/var/lib/mock/f40-build-2081326-49751/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-byte-unit3.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1703030400 Wrote: /builddir/build/SRPMS/rust-byte-unit3-3.1.4-1.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-byte-unit3.spec'], chrootPath='/var/lib/mock/f40-build-2081326-49751/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-byte-unit3.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1703030400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.sz9By8 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf byte-unit-3.1.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/byte-unit-3.1.4.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd byte-unit-3.1.4 + rm -rf /builddir/build/BUILD/byte-unit-3.1.4-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/byte-unit-3.1.4-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/byte-unit-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 + cp -pav /builddir/build/SOURCES/LICENSE . '/builddir/build/SOURCES/LICENSE' -> './LICENSE' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.ygxju3 + umask 022 + cd /builddir/build/BUILD + cd byte-unit-3.1.4 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-byte-unit3-3.1.4-1.fc40.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 riscv64 --nodeps /builddir/build/SPECS/rust-byte-unit3.spec'], chrootPath='/var/lib/mock/f40-build-2081326-49751/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-byte-unit3.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1703030400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.BkKs8V + umask 022 + cd /builddir/build/BUILD + cd byte-unit-3.1.4 + /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.UME7rk + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd byte-unit-3.1.4 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo build -j8 -Z avoid-dev-deps --profile rpm Compiling byte-unit v3.1.4 (/builddir/build/BUILD/byte-unit-3.1.4) Running `/usr/bin/rustc --crate-name byte_unit --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"' --cfg 'feature="u128"' -C metadata=96a05d428108a8a0 -C extra-filename=-96a05d428108a8a0 --out-dir /builddir/build/BUILD/byte-unit-3.1.4/target/rpm/deps -L dependency=/builddir/build/BUILD/byte-unit-3.1.4/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffffb2fde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffb5afa800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffffb254c264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffffb59fde08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffffb5a3a54e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffffb4923870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffb4923ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffb49250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffb4923b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffb5a38f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffb24fb69c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffb254dc78] note: we would appreciate a report at https://github.com/rust-lang/rust Finished rpm [optimized + debuginfo] target(s) in 23.80s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.LDJg9M + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-byte-unit3-3.1.4-1.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-byte-unit3-3.1.4-1.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/rust-byte-unit3-3.1.4-1.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-byte-unit3-3.1.4-1.fc40.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd byte-unit-3.1.4 + set -euo pipefail ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 1 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml name + CRATE_NAME=byte-unit ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=3.1.4 + REG_DIR=/builddir/build/BUILDROOT/rust-byte-unit3-3.1.4-1.fc40.riscv64/usr/share/cargo/registry/byte-unit-3.1.4 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-byte-unit3-3.1.4-1.fc40.riscv64/usr/share/cargo/registry/byte-unit-3.1.4 + /usr/bin/awk -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 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --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-byte-unit3-3.1.4-1.fc40.riscv64/usr/share/cargo/registry/byte-unit-3.1.4 warning: No (git) VCS found for `/builddir/build/BUILD/byte-unit-3.1.4` warning: readme `README.md` does not appear to exist (relative to `/builddir/build/BUILD/byte-unit-3.1.4`). Please update the readme setting in the manifest at `/builddir/build/BUILD/byte-unit-3.1.4/Cargo.toml` This may become a hard error in the future. + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-byte-unit3-3.1.4-1.fc40.riscv64/usr/share/cargo/registry/byte-unit-3.1.4/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-byte-unit3-3.1.4-1.fc40.riscv64/usr/share/cargo/registry/byte-unit-3.1.4/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/redhat/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/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.ACpFY9 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd byte-unit-3.1.4 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo test -j8 -Z avoid-dev-deps --profile rpm --no-fail-fast error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffffb2fde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffb5afa800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffffb254c264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffffb59fde08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffffb5a3a54e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffffb4923870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffb4923ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffb49250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffb4923b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffb5a38f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffb24fb69c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffb254dc78] note: we would appreciate a report at https://github.com/rust-lang/rust Compiling byte-unit v3.1.4 (/builddir/build/BUILD/byte-unit-3.1.4) Running `/usr/bin/rustc --crate-name byte_unit --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"' --cfg 'feature="u128"' -C metadata=09351897b0bf9033 -C extra-filename=-09351897b0bf9033 --out-dir /builddir/build/BUILD/byte-unit-3.1.4/target/rpm/deps -L dependency=/builddir/build/BUILD/byte-unit-3.1.4/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffffa55de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffa7f89800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffffa49e6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x64)[0xffffffa4b47514] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffffa6f23870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffa6f23ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffa6f250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffa6f23b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffa4b45f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffa499569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffa49e7c78] note: we would appreciate a report at https://github.com/rust-lang/rust Finished rpm [optimized + debuginfo] target(s) in 16.93s Running `/builddir/build/BUILD/byte-unit-3.1.4/target/rpm/deps/byte_unit-09351897b0bf9033` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Doc-tests byte-unit Running `/usr/bin/rustdoc --edition=2018 --crate-type lib --crate-name byte_unit --test src/lib.rs --test-run-directory /builddir/build/BUILD/byte-unit-3.1.4 -L dependency=/builddir/build/BUILD/byte-unit-3.1.4/target/rpm/deps -L dependency=/builddir/build/BUILD/byte-unit-3.1.4/target/rpm/deps --extern byte_unit=/builddir/build/BUILD/byte-unit-3.1.4/target/rpm/deps/libbyte_unit-96a05d428108a8a0.rlib -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="u128"' --error-format human` running 63 tests test src/byte.rs - byte::Byte::from_bytes (line 50) ... ok test src/adjusted_byte.rs - adjusted_byte::AdjustedByte::eq (line 107) ... ok test src/adjusted_byte.rs - adjusted_byte::AdjustedByte::format (line 32) ... ok test src/adjusted_byte.rs - adjusted_byte::AdjustedByte::cmp (line 154) ... ok test src/adjusted_byte.rs - adjusted_byte::AdjustedByte::format (line 20) ... ok test src/adjusted_byte.rs - adjusted_byte::AdjustedByte::get_byte (line 66) ... ok test src/adjusted_byte.rs - adjusted_byte::AdjustedByte::eq (line 118) ... ok test src/adjusted_byte.rs - adjusted_byte::AdjustedByte::cmp (line 165) ... FAILED test src/byte.rs - byte::Byte::from_str (line 108) ... ok test src/byte.rs - byte::Byte::from_str (line 118) ... ok test src/byte.rs - byte::Byte::from_str (line 128) ... ok test src/byte.rs - byte::Byte::from_str (line 138) ... ok test src/byte.rs - byte::Byte::from_str (line 88) ... ok test src/byte.rs - byte::Byte::from_str (line 148) ... ok test src/byte.rs - byte::Byte::from_str (line 158) ... ok test src/byte.rs - byte::Byte::from_str (line 98) ... ok test src/byte.rs - byte::Byte::from_unit (line 23) ... ok test src/byte.rs - byte::Byte::get_appropriate_unit (line 395) ... ok test src/byte.rs - byte::Byte::get_bytes (line 278) ... ok test src/byte.rs - byte::Byte::get_adjusted_unit (line 344) ... ok test src/byte_unit.rs - byte_unit::ByteUnit::as_str (line 80) ... ok test src/byte.rs - byte::Byte::get_appropriate_unit (line 383) ... ok test src/byte.rs - byte::Byte::get_bytes (line 290) ... ok test src/byte.rs - byte::Byte::get_adjusted_unit (line 356) ... FAILED test src/byte_unit.rs - byte_unit::ByteUnit::from_str (line 49) ... ok test src/byte_unit.rs - byte_unit::ByteUnit::get_unit_bytes (line 124) ... ok test src/lib.rs - (line 13) ... ok test src/lib.rs - (line 115) ... ok test src/lib.rs - (line 23) ... FAILED test src/lib.rs - (line 37) ... ok test src/lib.rs - (line 49) ... ok test src/lib.rs - (line 59) ... FAILED test src/lib.rs - (line 87) ... ok test src/lib.rs - (line 99) ... ok test src/macros.rs - macros::n_eb_bytes (line 325) ... ok test src/macros.rs - macros::n_eib_bytes (line 358) ... ok test src/macros.rs - macros::n_eb_bytes (line 333) ... ok test src/macros.rs - macros::n_eib_bytes (line 366) ... ok test src/lib.rs - (line 73) ... ok test src/macros.rs - macros::n_gb_bytes (line 133) ... ok test src/macros.rs - macros::n_gb_bytes (line 141) ... ok test src/macros.rs - macros::n_gib_bytes (line 165) ... ok test src/macros.rs - macros::n_gib_bytes (line 173) ... ok test src/macros.rs - macros::n_kb_bytes (line 13) ... ok test src/macros.rs - macros::n_kib_bytes (line 37) ... ok test src/macros.rs - macros::n_kb_bytes (line 5) ... ok test src/macros.rs - macros::n_kib_bytes (line 45) ... ok test src/macros.rs - macros::n_mb_bytes (line 69) ... ok test src/macros.rs - macros::n_mib_bytes (line 109) ... ok test src/macros.rs - macros::n_pb_bytes (line 261) ... ok test src/macros.rs - macros::n_pb_bytes (line 269) ... ok test src/macros.rs - macros::n_mb_bytes (line 77) ... ok test src/macros.rs - macros::n_pib_bytes (line 301) ... ok test src/macros.rs - macros::n_mib_bytes (line 101) ... FAILED test src/macros.rs - macros::n_pib_bytes (line 293) ... FAILED test src/macros.rs - macros::n_tb_bytes (line 197) ... ok test src/macros.rs - macros::n_zb_bytes (line 391) ... ok test src/macros.rs - macros::n_tb_bytes (line 205) ... ok test src/macros.rs - macros::n_tib_bytes (line 229) ... ok test src/macros.rs - macros::n_tib_bytes (line 237) ... ok test src/macros.rs - macros::n_zb_bytes (line 399) ... ok test src/macros.rs - macros::n_zib_bytes (line 424) ... ok test src/macros.rs - macros::n_zib_bytes (line 432) ... ok failures: ---- src/adjusted_byte.rs - adjusted_byte::AdjustedByte::cmp (line 165) stdout ---- error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff965de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff99066800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff959e6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffff95b0ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffff95b4754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff97f23870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff97f23ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff97f250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff97f23b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff95b45f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff9599569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff959e7c78] note: we would appreciate a report at https://github.com/rust-lang/rust Couldn't compile the test. ---- src/byte.rs - byte::Byte::get_adjusted_unit (line 356) stdout ---- error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffffb59de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffb84b4800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffffb4f4c264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x64)[0xffffffb83f4514] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffffb7323870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffb7323ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffb73250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffb7323b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffb83f2f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffb4efb69c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffb4f4dc78] note: we would appreciate a report at https://github.com/rust-lang/rust Couldn't compile the test. ---- src/lib.rs - (line 23) stdout ---- error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffffb13de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffb3da8800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffffb07e6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffffb090ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffffb094754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffffb2d23870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffb2d23ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffb2d250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffb2d23b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffb0945f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffb079569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffb07e7c78] note: we would appreciate a report at https://github.com/rust-lang/rust Couldn't compile the test. ---- src/lib.rs - (line 59) stdout ---- error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff963de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff98dc5800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff957e6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x64)[0xffffff95947514] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff97d23870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff97d23ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff97d250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff97d23b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff95945f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff9579569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff957e7c78] note: we would appreciate a report at https://github.com/rust-lang/rust Couldn't compile the test. ---- src/macros.rs - macros::n_mib_bytes (line 101) stdout ---- error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffffa17de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffa429c800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffffa0be6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffffa0d0ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffffa0d4754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffffa3123870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffa3123ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffa31250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffa3123b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffa0d45f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffa0b9569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffa0be7c78] note: we would appreciate a report at https://github.com/rust-lang/rust Couldn't compile the test. ---- src/macros.rs - macros::n_pib_bytes (line 293) stdout ---- error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffffa99de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffac387800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffffa8de6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffffa8f0ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffffa8f4754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffffab323870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffab323ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffab3250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffab323b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffa8f45f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffa8d9569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffa8de7c78] note: we would appreciate a report at https://github.com/rust-lang/rust Couldn't compile the test. failures: src/adjusted_byte.rs - adjusted_byte::AdjustedByte::cmp (line 165) src/byte.rs - byte::Byte::get_adjusted_unit (line 356) src/lib.rs - (line 23) src/lib.rs - (line 59) src/macros.rs - macros::n_mib_bytes (line 101) src/macros.rs - macros::n_pib_bytes (line 293) test result: FAILED. 57 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 109.00s error: doctest failed, to rerun pass `--doc` error: 1 target failed: `--doc` error: Bad exit status from /var/tmp/rpm-tmp.ACpFY9 (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.ACpFY9 (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-byte-unit3.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-byte-unit3.spec