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-custom_error.spec'], chrootPath='/var/lib/mock/f40-build-2035849-47993/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-custom_error.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=1702598400 Wrote: /builddir/build/SRPMS/rust-custom_error-1.9.2-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-custom_error.spec'], chrootPath='/var/lib/mock/f40-build-2035849-47993/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-custom_error.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=1702598400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fnArUj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf custom_error-1.9.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/custom_error-1.9.2.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd custom_error-1.9.2 + rm -rf /builddir/build/BUILD/custom_error-1.9.2-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/custom_error-1.9.2-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.FVJHHk + umask 022 + cd /builddir/build/BUILD + cd custom_error-1.9.2 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-custom_error-1.9.2-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-custom_error.spec'], chrootPath='/var/lib/mock/f40-build-2035849-47993/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-custom_error.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=1702598400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.Wiqi1e + umask 022 + cd /builddir/build/BUILD + cd custom_error-1.9.2 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.FnCEOK + 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 custom_error-1.9.2 + /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 custom_error v1.9.2 (/builddir/build/BUILD/custom_error-1.9.2) Running `/usr/bin/rustc --crate-name custom_error --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="std"' -C metadata=5f98f6cea2764280 -C extra-filename=-5f98f6cea2764280 --out-dir /builddir/build/BUILD/custom_error-1.9.2/target/rpm/deps -L dependency=/builddir/build/BUILD/custom_error-1.9.2/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)[0xffffffbdac4800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffffba54c264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffffbd9c7e08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffffbda0454e] /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)[0xffffffbda02f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffba4fb69c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffba54dc78] note: we would appreciate a report at https://github.com/rust-lang/rust Finished rpm [optimized + debuginfo] target(s) in 8.48s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.M4KD6Y + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-custom_error-1.9.2-1.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-custom_error-1.9.2-1.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/rust-custom_error-1.9.2-1.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-custom_error-1.9.2-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 custom_error-1.9.2 + set -euo pipefail ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 1 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml name + CRATE_NAME=custom_error ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=1.9.2 + REG_DIR=/builddir/build/BUILDROOT/rust-custom_error-1.9.2-1.fc40.riscv64/usr/share/cargo/registry/custom_error-1.9.2 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-custom_error-1.9.2-1.fc40.riscv64/usr/share/cargo/registry/custom_error-1.9.2 + /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 + xargs -d '\n' /usr/bin/cp --parents -a -t /builddir/build/BUILDROOT/rust-custom_error-1.9.2-1.fc40.riscv64/usr/share/cargo/registry/custom_error-1.9.2 + grep -w -E -v 'Cargo.(lock|toml.orig)' warning: No (git) VCS found for `/builddir/build/BUILD/custom_error-1.9.2` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-custom_error-1.9.2-1.fc40.riscv64/usr/share/cargo/registry/custom_error-1.9.2/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-custom_error-1.9.2-1.fc40.riscv64/usr/share/cargo/registry/custom_error-1.9.2/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 0 -eq 1 ']' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/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.Aq85XA + 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 custom_error-1.9.2 + /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)[0xffffffbdac4800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffffba54c264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffffbd9c7e08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffffbda0454e] /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)[0xffffffbda02f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffba4fb69c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffba54dc78] note: we would appreciate a report at https://github.com/rust-lang/rust Compiling custom_error v1.9.2 (/builddir/build/BUILD/custom_error-1.9.2) Running `/usr/bin/rustc --crate-name tests --edition=2018 tests/tests.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="std"' -C metadata=573b9a1285064114 -C extra-filename=-573b9a1285064114 --out-dir /builddir/build/BUILD/custom_error-1.9.2/target/rpm/deps -L dependency=/builddir/build/BUILD/custom_error-1.9.2/target/rpm/deps --extern custom_error=/builddir/build/BUILD/custom_error-1.9.2/target/rpm/deps/libcustom_error-5f98f6cea2764280.rlib -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` Running `/usr/bin/rustc --crate-name custom_error --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="std"' -C metadata=e14826008af40718 -C extra-filename=-e14826008af40718 --out-dir /builddir/build/BUILD/custom_error-1.9.2/target/rpm/deps -L dependency=/builddir/build/BUILD/custom_error-1.9.2/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` warning: named argument `description` is not used by name --> src/lib.rs:580:32 | 580 | custom_error!(MyError {description: &'static str} = "{}"); | ^^^^^^^^^^^ this named argument is referred to by position in formatting string | = note: `#[warn(named_arguments_used_positionally)]` on by default warning: named argument `x` is not used by name --> src/lib.rs:652:41 | 652 | custom_error! {pub MyError {x: &'static str} = "{}"} | ^ this named argument is referred to by position in formatting string warning: named argument `x` is not used by name --> src/lib.rs:662:17 | 662 | x: &'static str | ^ this named argument is referred to by position in formatting string error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff83bde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff86729800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff8314c264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffff8662ce08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffff8666954e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff85523870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff85523ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff855250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff85523b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff86667f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff830fb69c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff8314dc78] 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)[0xffffffa67de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffa9221800] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x94)[0xffffffa5d47544] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffffa8123870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffa8123ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffa81250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffa8123b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffa5d45f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffa5b9569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffa5be7c78] note: we would appreciate a report at https://github.com/rust-lang/rust warning: `custom_error` (lib test) generated 3 warnings Finished rpm [optimized + debuginfo] target(s) in 52.92s Running `/builddir/build/BUILD/custom_error-1.9.2/target/rpm/deps/custom_error-e14826008af40718` running 40 tests test tests::custom_format_source ... ok test tests::enum_with_box_dyn_source ... ok test tests::enum_with_derive ... ok test tests::enum_with_field_lifetime ... ok test tests::enum_with_pub_derive_and_doc_comment ... ok test tests::from_source ... ok test tests::generic_error ... ok test tests::generic_error_struct ... ok test tests::lifetime_param_and_type_param ... ok test tests::lifetime_source_param ... ok test tests::pub_error ... ok test tests::pub_error_struct ... ok test tests::pub_error_struct_fields ... ok test tests::single_error_case ... ok test tests::single_error_struct_case ... ok test tests::single_error_struct_case_with_braces ... ok test tests::single_error_case_with_braces ... ok test tests::struct_custom_format_source ... ok test tests::struct_from_source ... ok test tests::source ... ok test tests::struct_lifetime_param_and_type_param ... ok test tests::struct_lifetime_source_param ... ok test tests::struct_source ... ok test tests::struct_with_box_dyn_source ... ok test tests::struct_with_custom_formatting ... ok test tests::struct_with_derive ... ok test tests::struct_with_error_data ... ok test tests::struct_with_field_documentation ... ok test tests::struct_with_field_lifetime ... ok test tests::struct_with_multiple_error_data ... ok test tests::struct_with_public_field ... ok test tests::struct_with_source_and_others ... ok test tests::three_error_cases ... ok test tests::trailing_comma ... ok test tests::with_doc_comments_for_fields ... ok test tests::with_doc_comments_for_variants ... ok test tests::with_error_data ... ok test tests::with_multiple_error_data ... ok test tests::with_custom_formatting ... ok test tests::with_source_and_others ... ok test result: ok. 40 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s Running `/builddir/build/BUILD/custom_error-1.9.2/target/rpm/deps/tests-573b9a1285064114` running 1 test test main ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s Doc-tests custom_error Running `/usr/bin/rustdoc --edition=2018 --crate-type lib --crate-name custom_error --test src/lib.rs --test-run-directory /builddir/build/BUILD/custom_error-1.9.2 -L dependency=/builddir/build/BUILD/custom_error-1.9.2/target/rpm/deps -L dependency=/builddir/build/BUILD/custom_error-1.9.2/target/rpm/deps --extern custom_error=/builddir/build/BUILD/custom_error-1.9.2/target/rpm/deps/libcustom_error-5f98f6cea2764280.rlib -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' --error-format human` running 7 tests test src/lib.rs - custom_error (line 190) ... ok test src/lib.rs - custom_error (line 146) ... ok test src/lib.rs - custom_error (line 47) ... ok test src/lib.rs - custom_error (line 62) ... ok test src/lib.rs - custom_error (line 160) ... ok test src/lib.rs - custom_error (line 70) ... ok test src/lib.rs - custom_error (line 118) ... ok test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 11.88s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-custom_error-devel-1.9.2-1.fc40.noarch warning: File listed twice: /usr/share/cargo/registry/custom_error-1.9.2/LICENSE warning: File listed twice: /usr/share/cargo/registry/custom_error-1.9.2/README.md Provides: crate(custom_error) = 1.9.2 rust-custom_error-devel = 1.9.2-1.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo Processing files: rust-custom_error+default-devel-1.9.2-1.fc40.noarch Provides: crate(custom_error/default) = 1.9.2 rust-custom_error+default-devel = 1.9.2-1.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(custom_error) = 1.9.2 crate(custom_error/std) = 1.9.2 Processing files: rust-custom_error+std-devel-1.9.2-1.fc40.noarch Provides: crate(custom_error/std) = 1.9.2 rust-custom_error+std-devel = 1.9.2-1.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(custom_error) = 1.9.2 Processing files: rust-custom_error+unstable-devel-1.9.2-1.fc40.noarch Provides: crate(custom_error/unstable) = 1.9.2 rust-custom_error+unstable-devel = 1.9.2-1.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(custom_error) = 1.9.2 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-custom_error-1.9.2-1.fc40.riscv64 Wrote: /builddir/build/SRPMS/rust-custom_error-1.9.2-1.fc40.src.rpm Wrote: /builddir/build/RPMS/rust-custom_error+default-devel-1.9.2-1.fc40.noarch.rpm Wrote: /builddir/build/RPMS/rust-custom_error+unstable-devel-1.9.2-1.fc40.noarch.rpm Wrote: /builddir/build/RPMS/rust-custom_error+std-devel-1.9.2-1.fc40.noarch.rpm Wrote: /builddir/build/RPMS/rust-custom_error-devel-1.9.2-1.fc40.noarch.rpm RPM build warnings: File listed twice: /usr/share/cargo/registry/custom_error-1.9.2/LICENSE File listed twice: /usr/share/cargo/registry/custom_error-1.9.2/README.md Child return code was: 0