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-spin_on.spec'], chrootPath='/var/lib/mock/f40-build-2083879-49967/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-spin_on.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-spin_on-0.1.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-spin_on.spec'], chrootPath='/var/lib/mock/f40-build-2083879-49967/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-spin_on.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.Zxhnxv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf spin_on-0.1.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/spin_on-0.1.1.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd spin_on-0.1.1 + rm -rf /builddir/build/BUILD/spin_on-0.1.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/spin_on-0.1.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/spin_on-fix-metadata.diff + 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.AK6IML + umask 022 + cd /builddir/build/BUILD + cd spin_on-0.1.1 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-spin_on-0.1.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 -br --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-spin_on.spec'], chrootPath='/var/lib/mock/f40-build-2083879-49967/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-spin_on.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.GjqFPx + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf spin_on-0.1.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/spin_on-0.1.1.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd spin_on-0.1.1 + rm -rf /builddir/build/BUILD/spin_on-0.1.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/spin_on-0.1.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/spin_on-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.jecDMX + umask 022 + cd /builddir/build/BUILD + cd spin_on-0.1.1 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-spin_on-0.1.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-spin_on.spec'], chrootPath='/var/lib/mock/f40-build-2083879-49967/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-spin_on.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.dHshcM + umask 022 + cd /builddir/build/BUILD + cd spin_on-0.1.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.qzDMzM + 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 spin_on-0.1.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 pin-utils v0.1.0 Running `/usr/bin/rustc --crate-name pin_utils --edition=2018 /usr/share/cargo/registry/pin-utils-0.1.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=a952357a3af58e8b -C extra-filename=-a952357a3af58e8b --out-dir /builddir/build/BUILD/spin_on-0.1.1/target/rpm/deps -L dependency=/builddir/build/BUILD/spin_on-0.1.1/target/rpm/deps --cap-lints allow -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` Compiling spin_on v0.1.1 (/builddir/build/BUILD/spin_on-0.1.1) Running `/usr/bin/rustc --crate-name spin_on --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=9d76a5cf46d2328e -C extra-filename=-9d76a5cf46d2328e --out-dir /builddir/build/BUILD/spin_on-0.1.1/target/rpm/deps -L dependency=/builddir/build/BUILD/spin_on-0.1.1/target/rpm/deps --extern pin_utils=/builddir/build/BUILD/spin_on-0.1.1/target/rpm/deps/libpin_utils-a952357a3af58e8b.rmeta -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)[0xffffffb6bde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffb95e6800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffffb5fe6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffffb610ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffffb614754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffffb8523870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffb8523ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffb85250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffb8523b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffb6145f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffb5f9569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffb5fe7c78] note: we would appreciate a report at https://github.com/rust-lang/rust warning: use of deprecated function `core::sync::atomic::spin_loop_hint`: use hint::spin_loop instead --> src/lib.rs:47:25 | 47 | use core::sync::atomic::spin_loop_hint; | ^^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated function `core::sync::atomic::spin_loop_hint`: use hint::spin_loop instead --> src/lib.rs:81:9 | 81 | spin_loop_hint(); | ^^^^^^^^^^^^^^ error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff7d5de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff7ff69800] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x94)[0xffffff7cb47544] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff7ef23870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff7ef23ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff7ef250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff7ef23b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff7cb45f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff7c99569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff7c9e7c78] note: we would appreciate a report at https://github.com/rust-lang/rust warning: `spin_on` (lib) generated 2 warnings Finished rpm [optimized + debuginfo] target(s) in 8.44s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.qnNUrp + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-spin_on-0.1.1-1.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-spin_on-0.1.1-1.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/rust-spin_on-0.1.1-1.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-spin_on-0.1.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 spin_on-0.1.1 + set -euo pipefail ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 1 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml name + CRATE_NAME=spin_on ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.1.1 + REG_DIR=/builddir/build/BUILDROOT/rust-spin_on-0.1.1-1.fc40.riscv64/usr/share/cargo/registry/spin_on-0.1.1 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-spin_on-0.1.1-1.fc40.riscv64/usr/share/cargo/registry/spin_on-0.1.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-spin_on-0.1.1-1.fc40.riscv64/usr/share/cargo/registry/spin_on-0.1.1 warning: manifest has no documentation, homepage or repository. See https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata for more info. warning: No (git) VCS found for `/builddir/build/BUILD/spin_on-0.1.1` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-spin_on-0.1.1-1.fc40.riscv64/usr/share/cargo/registry/spin_on-0.1.1/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-spin_on-0.1.1-1.fc40.riscv64/usr/share/cargo/registry/spin_on-0.1.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.3wgdmd + 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 spin_on-0.1.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 Fresh pin-utils v0.1.0 error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffffb6bde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffb95e6800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffffb5fe6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffffb610ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffffb614754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffffb8523870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffb8523ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffb85250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffb8523b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffb6145f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffb5f9569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffb5fe7c78] note: we would appreciate a report at https://github.com/rust-lang/rust warning: use of deprecated function `core::sync::atomic::spin_loop_hint`: use hint::spin_loop instead --> src/lib.rs:47:25 | 47 | use core::sync::atomic::spin_loop_hint; | ^^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated function `core::sync::atomic::spin_loop_hint`: use hint::spin_loop instead --> src/lib.rs:81:9 | 81 | spin_loop_hint(); | ^^^^^^^^^^^^^^ error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff7d5de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff7ff69800] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x94)[0xffffff7cb47544] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff7ef23870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff7ef23ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff7ef250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff7ef23b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff7cb45f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff7c99569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff7c9e7c78] note: we would appreciate a report at https://github.com/rust-lang/rust warning: `spin_on` (lib) generated 2 warnings Compiling spin_on v0.1.1 (/builddir/build/BUILD/spin_on-0.1.1) Running `/usr/bin/rustc --crate-name spin_on --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=34a330cf81dbf17e -C extra-filename=-34a330cf81dbf17e --out-dir /builddir/build/BUILD/spin_on-0.1.1/target/rpm/deps -L dependency=/builddir/build/BUILD/spin_on-0.1.1/target/rpm/deps --extern pin_utils=/builddir/build/BUILD/spin_on-0.1.1/target/rpm/deps/libpin_utils-a952357a3af58e8b.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` error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffffa8dde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffab846800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffffa81e6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffffa830ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffffa834754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffffaa723870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffaa723ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffaa7250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffaa723b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffa8345f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffa819569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffa81e7c78] note: we would appreciate a report at https://github.com/rust-lang/rust warning: `spin_on` (lib test) generated 2 warnings (2 duplicates) Finished rpm [optimized + debuginfo] target(s) in 10.27s Running `/builddir/build/BUILD/spin_on-0.1.1/target/rpm/deps/spin_on-34a330cf81dbf17e` running 2 tests test tests::ready ... ok test tests::count ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s Doc-tests spin_on Running `/usr/bin/rustdoc --edition=2018 --crate-type lib --crate-name spin_on --test src/lib.rs --test-run-directory /builddir/build/BUILD/spin_on-0.1.1 -L dependency=/builddir/build/BUILD/spin_on-0.1.1/target/rpm/deps -L dependency=/builddir/build/BUILD/spin_on-0.1.1/target/rpm/deps --extern pin_utils=/builddir/build/BUILD/spin_on-0.1.1/target/rpm/deps/libpin_utils-a952357a3af58e8b.rlib --extern spin_on=/builddir/build/BUILD/spin_on-0.1.1/target/rpm/deps/libspin_on-9d76a5cf46d2328e.rlib -C embed-bitcode=no --error-format human` running 1 test test src/lib.rs - (line 6) ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.82s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-spin_on-devel-0.1.1-1.fc40.noarch warning: File listed twice: /usr/share/cargo/registry/spin_on-0.1.1/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/spin_on-0.1.1/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/spin_on-0.1.1/README.md Provides: crate(spin_on) = 0.1.1 rust-spin_on-devel = 0.1.1-1.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(pin-utils/default) >= 0.1.0 with crate(pin-utils/default) < 0.2.0~) cargo Processing files: rust-spin_on+default-devel-0.1.1-1.fc40.noarch Provides: crate(spin_on/default) = 0.1.1 rust-spin_on+default-devel = 0.1.1-1.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(spin_on) = 0.1.1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-spin_on-0.1.1-1.fc40.riscv64 Wrote: /builddir/build/SRPMS/rust-spin_on-0.1.1-1.fc40.src.rpm Wrote: /builddir/build/RPMS/rust-spin_on+default-devel-0.1.1-1.fc40.noarch.rpm Wrote: /builddir/build/RPMS/rust-spin_on-devel-0.1.1-1.fc40.noarch.rpm RPM build warnings: File listed twice: /usr/share/cargo/registry/spin_on-0.1.1/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/spin_on-0.1.1/LICENSE-MIT File listed twice: /usr/share/cargo/registry/spin_on-0.1.1/README.md Child return code was: 0