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-az.spec'], chrootPath='/var/lib/mock/f40-build-2091655-50232/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-az.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=1703116800 Wrote: /builddir/build/SRPMS/rust-az-1.2.1-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-az.spec'], chrootPath='/var/lib/mock/f40-build-2091655-50232/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-az.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=1703116800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.W6K6AX + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf az-1.2.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/az-1.2.1.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd az-1.2.1 + rm -rf /builddir/build/BUILD/az-1.2.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/az-1.2.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-deny-warnings-considered-harmful.patch + 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.XxOksQ + umask 022 + cd /builddir/build/BUILD + cd az-1.2.1 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-az-1.2.1-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-az.spec'], chrootPath='/var/lib/mock/f40-build-2091655-50232/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-az.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=1703116800 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.1W7Hhk + umask 022 + cd /builddir/build/BUILD + cd az-1.2.1 + /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.hIQtFf + 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 az-1.2.1 + /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 az v1.2.1 (/builddir/build/BUILD/az-1.2.1) Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 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=344b30e8c34d7b23 -C extra-filename=-344b30e8c34d7b23 --out-dir /builddir/build/BUILD/az-1.2.1/target/rpm/build/az-344b30e8c34d7b23 -L dependency=/builddir/build/BUILD/az-1.2.1/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)[0xffffffbafde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffbd97c800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffffba3e6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffffba50ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffffba54754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffffbc923870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffbc923ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffbc9250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffbc923b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffba545f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffba39569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffba3e7c78] note: we would appreciate a report at https://github.com/rust-lang/rust Running `/builddir/build/BUILD/az-1.2.1/target/rpm/build/az-344b30e8c34d7b23/build-script-build` Running `/usr/bin/rustc --crate-name az --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 -C metadata=ead7e413beabc384 -C extra-filename=-ead7e413beabc384 --out-dir /builddir/build/BUILD/az-1.2.1/target/rpm/deps -L dependency=/builddir/build/BUILD/az-1.2.1/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 --cfg track_caller` error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffffbbbde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffbe66d800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffffbafe6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffffbb10ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffffbb14754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffffbd523870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffbd523ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffbd5250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffbd523b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffbb145f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffbaf9569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffbafe7c78] note: we would appreciate a report at https://github.com/rust-lang/rust Finished rpm [optimized + debuginfo] target(s) in 1m 02s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.c9lNuH + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-az-1.2.1-1.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-az-1.2.1-1.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/rust-az-1.2.1-1.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-az-1.2.1-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 az-1.2.1 + set -euo pipefail ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 1 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml name + CRATE_NAME=az ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=1.2.1 + REG_DIR=/builddir/build/BUILDROOT/rust-az-1.2.1-1.fc40.riscv64/usr/share/cargo/registry/az-1.2.1 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-az-1.2.1-1.fc40.riscv64/usr/share/cargo/registry/az-1.2.1 + /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-az-1.2.1-1.fc40.riscv64/usr/share/cargo/registry/az-1.2.1 warning: No (git) VCS found for `/builddir/build/BUILD/az-1.2.1` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-az-1.2.1-1.fc40.riscv64/usr/share/cargo/registry/az-1.2.1/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-az-1.2.1-1.fc40.riscv64/usr/share/cargo/registry/az-1.2.1/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.8ZIyOR + 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 az-1.2.1 + /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)[0xffffffbafde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffbd97c800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffffba3e6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffffba50ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffffba54754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffffbc923870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffbc923ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffbc9250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffbc923b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffba545f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffba39569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffba3e7c78] note: we would appreciate a report at https://github.com/rust-lang/rust error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffffbbbde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffbe66d800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffffbafe6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffffbb10ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffffbb14754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffffbd523870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffbd523ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffbd5250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffbd523b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffbb145f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffbaf9569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffbafe7c78] note: we would appreciate a report at https://github.com/rust-lang/rust Compiling az v1.2.1 (/builddir/build/BUILD/az-1.2.1) Running `/usr/bin/rustc --crate-name az --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 -C metadata=e0a1864c0f286f3f -C extra-filename=-e0a1864c0f286f3f --out-dir /builddir/build/BUILD/az-1.2.1/target/rpm/deps -L dependency=/builddir/build/BUILD/az-1.2.1/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 --cfg track_caller` warning: call to `.borrow()` on a reference in this situation does nothing --> src/tests/mod.rs:194:17 | 194 | assert_eq!(r.borrow().az::(), 12); | ^^^^^^^^^ help: remove this redundant call | = note: the type `I` does not implement `Borrow`, so calling `borrow` on `&I` copies the reference, which does not do anything and can be removed = note: `#[warn(noop_method_call)]` on by default warning: call to `.borrow()` on a reference in this situation does nothing --> src/tests/mod.rs:195:17 | 195 | assert_eq!(r.borrow().checked_as::(), Some(12)); | ^^^^^^^^^ help: remove this redundant call | = note: the type `I` does not implement `Borrow`, so calling `borrow` on `&I` copies the reference, which does not do anything and can be removed warning: call to `.borrow()` on a reference in this situation does nothing --> src/tests/mod.rs:196:17 | 196 | assert_eq!(r.borrow().saturating_as::(), 12); | ^^^^^^^^^ help: remove this redundant call | = note: the type `I` does not implement `Borrow`, so calling `borrow` on `&I` copies the reference, which does not do anything and can be removed warning: call to `.borrow()` on a reference in this situation does nothing --> src/tests/mod.rs:197:26 | 197 | assert_eq!(r.borrow().borrow().wrapping_as::(), 12); | ^^^^^^^^^ help: remove this redundant call | = note: the type `I` does not implement `Borrow`, so calling `borrow` on `&I` copies the reference, which does not do anything and can be removed warning: call to `.borrow()` on a reference in this situation does nothing --> src/tests/mod.rs:197:17 | 197 | assert_eq!(r.borrow().borrow().wrapping_as::(), 12); | ^^^^^^^^^ help: remove this redundant call | = note: the type `I` does not implement `Borrow`, so calling `borrow` on `&I` copies the reference, which does not do anything and can be removed warning: call to `.borrow()` on a reference in this situation does nothing --> src/tests/mod.rs:198:17 | 198 | assert_eq!(r.borrow().overflowing_as::(), (12, false)); | ^^^^^^^^^ help: remove this redundant call | = note: the type `I` does not implement `Borrow`, so calling `borrow` on `&I` copies the reference, which does not do anything and can be removed warning: call to `.borrow()` on a reference in this situation does nothing --> src/tests/mod.rs:199:17 | 199 | assert_eq!(r.borrow().unwrapped_as::(), 12); | ^^^^^^^^^ help: remove this redundant call | = note: the type `I` does not implement `Borrow`, so calling `borrow` on `&I` copies the reference, which does not do anything and can be removed warning: call to `.borrow()` on a reference in this situation does nothing --> src/tests/mod.rs:201:17 | 201 | assert_eq!(r.borrow().checked_as::(), None); | ^^^^^^^^^ help: remove this redundant call | = note: the type `I` does not implement `Borrow`, so calling `borrow` on `&I` copies the reference, which does not do anything and can be removed warning: call to `.borrow()` on a reference in this situation does nothing --> src/tests/mod.rs:202:17 | 202 | assert_eq!(r.borrow().saturating_as::(), 0); | ^^^^^^^^^ help: remove this redundant call | = note: the type `I` does not implement `Borrow`, so calling `borrow` on `&I` copies the reference, which does not do anything and can be removed warning: call to `.borrow()` on a reference in this situation does nothing --> src/tests/mod.rs:203:17 | 203 | assert_eq!(r.borrow().wrapping_as::(), 5u32.wrapping_neg()); | ^^^^^^^^^ help: remove this redundant call | = note: the type `I` does not implement `Borrow`, so calling `borrow` on `&I` copies the reference, which does not do anything and can be removed warning: call to `.borrow()` on a reference in this situation does nothing --> src/tests/mod.rs:205:10 | 205 | r.borrow().overflowing_as::(), | ^^^^^^^^^ help: remove this redundant call | = note: the type `I` does not implement `Borrow`, so calling `borrow` on `&I` copies the reference, which does not do anything and can be removed error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffffa05de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffa3053800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff9f9e6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffff9fb0ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffff9fb4754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffffa1f23870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffa1f23ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffa1f250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffa1f23b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff9fb45f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff9f99569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff9f9e7c78] note: we would appreciate a report at https://github.com/rust-lang/rust warning: `az` (lib test) generated 11 warnings (run `cargo fix --lib -p az --tests` to apply 11 suggestions) Finished rpm [optimized + debuginfo] target(s) in 12m 12s Running `/builddir/build/BUILD/az-1.2.1/target/rpm/deps/az-e0a1864c0f286f3f` running 22 tests test tests::az ... ok test tests::borrow_as ... ok test tests::float_to_int::display ... ok test tests::float_to_int::large_float_as_wrap ... ok test tests::float_to_int::large_float_unwrapped_as_panic - should panic ... ok test tests::float_to_int::infinite_unwrapped_as_panic - should panic ... ok test tests::float_to_int::infinite_overflowing_as_panic - should panic ... ok test tests::float_to_int::nan_saturating_as_panic - should panic ... ok test tests::float_to_int::rounding ... ok test tests::from ... ok test tests::int_to_int::bool_to_int ... ok test tests::int_to_int::large_int_as_wrap ... ok test tests::int_to_int::signed_to_signed ... ok test tests::int_to_int::large_int_unwrapped_as_panic - should panic ... ok test tests::int_to_int::unsigned_to_signed ... ok test tests::int_to_int::signed_to_unsigned ... ok test tests::int_to_int::unsigned_to_unsigned ... ok test tests::to_float::specific_to_float ... ok test tests::to_float::to_float ... ok test tests::float_to_int::nan_unwrapped_as_panic - should panic ... ok test tests::float_to_int::nan_overflowing_as_panic - should panic ... ok test tests::float_to_int::float_to_int ... ok test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.26s Doc-tests az Running `/usr/bin/rustdoc --edition=2018 --crate-type lib --crate-name az --test src/lib.rs --test-run-directory /builddir/build/BUILD/az-1.2.1 -L dependency=/builddir/build/BUILD/az-1.2.1/target/rpm/deps -L dependency=/builddir/build/BUILD/az-1.2.1/target/rpm/deps --extern az=/builddir/build/BUILD/az-1.2.1/target/rpm/deps/libaz-ead7e413beabc384.rlib -C embed-bitcode=no --cfg track_caller --error-format human` running 38 tests test src/lib.rs - (line 70) ... ok test src/lib.rs - CastFrom (line 309) ... ok test src/lib.rs - (line 22) ... ok test src/lib.rs - Az (line 574) ... ok test src/lib.rs - Az (line 565) ... ok test src/lib.rs - CheckedAs (line 634) ... ok test src/lib.rs - Cast (line 151) ... ok test src/lib.rs - (line 43) ... ok test src/lib.rs - CheckedAs (line 647) ... ok test src/lib.rs - OverflowingCastFrom (line 452) ... ok test src/lib.rs - CheckedCast (line 172) ... ok test src/lib.rs - CheckedCastFrom (line 344) ... ok test src/lib.rs - Round (line 1124) ... ok test src/lib.rs - OverflowingCast (line 250) ... ok test src/lib.rs - OverflowingAs (line 872) ... ok test src/lib.rs - OverflowingAs (line 862) ... FAILED test src/lib.rs - UnwrappedAs (line 943) ... ok test src/lib.rs - SaturatingAs (line 720) ... ok test src/lib.rs - SaturatingCastFrom (line 380) ... ok test src/lib.rs - UnwrappedAs (line 935) ... ok test src/lib.rs - SaturatingCast (line 202) ... ok test src/lib.rs - UnwrappedAs (line 951) ... ok test src/lib.rs - SaturatingAs (line 711) ... FAILED test src/lib.rs - UnwrappedCast (line 281) ... ok test src/lib.rs - UnwrappedCast (line 290) ... ok test src/lib.rs - UnwrappedCastFrom (line 504) ... ok test src/lib.rs - UnwrappedCastFrom (line 488) ... ok test src/lib.rs - WrappingAs (line 793) ... ok test src/lib.rs - WrappingCast (line 227) ... ok test src/lib.rs - WrappingAs (line 784) ... ok test src/lib.rs - WrappingCastFrom (line 416) ... ok test src/lib.rs - cast (line 1002) ... ok test src/lib.rs - unwrapped_cast (line 1108) ... ok test src/lib.rs - overflowing_cast (line 1082) ... ok test src/lib.rs - checked_cast (line 1016) ... ok test src/lib.rs - unwrapped_cast (line 1101) ... ok test src/lib.rs - wrapping_cast (line 1059) ... ok test src/lib.rs - saturating_cast (line 1040) ... ok failures: ---- src/lib.rs - OverflowingAs (line 862) stdout ---- error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff99bde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff9c55b800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff98fe6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x64)[0xffffff99147514] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff9b523870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff9b523ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff9b5250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff9b523b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff99145f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff98f9569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff98fe7c78] note: we would appreciate a report at https://github.com/rust-lang/rust Couldn't compile the test. ---- src/lib.rs - SaturatingAs (line 711) stdout ---- error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffffb0dde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffb3782800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffffb01e6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffffb030ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffffb034754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffffb2723870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffb2723ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffb27250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffb2723b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffb0345f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffb019569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffb01e7c78] note: we would appreciate a report at https://github.com/rust-lang/rust Couldn't compile the test. failures: src/lib.rs - OverflowingAs (line 862) src/lib.rs - SaturatingAs (line 711) test result: FAILED. 36 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 30.52s error: doctest failed, to rerun pass `--doc` error: 1 target failed: `--doc` error: Bad exit status from /var/tmp/rpm-tmp.8ZIyOR (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.8ZIyOR (%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-az.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-az.spec