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-futures-cpupool.spec'], chrootPath='/var/lib/mock/f40-build-2081988-49796/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-futures-cpupool.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-futures-cpupool-0.1.8-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-futures-cpupool.spec'], chrootPath='/var/lib/mock/f40-build-2081988-49796/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-futures-cpupool.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.o8zIix + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf futures-cpupool-0.1.8 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/futures-cpupool-0.1.8.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd futures-cpupool-0.1.8 + rm -rf /builddir/build/BUILD/futures-cpupool-0.1.8-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/futures-cpupool-0.1.8-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.AU1UKb + umask 022 + cd /builddir/build/BUILD + cd futures-cpupool-0.1.8 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-futures-cpupool-0.1.8-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-futures-cpupool.spec'], chrootPath='/var/lib/mock/f40-build-2081988-49796/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-futures-cpupool.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.tLBdcZ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf futures-cpupool-0.1.8 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/futures-cpupool-0.1.8.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd futures-cpupool-0.1.8 + rm -rf /builddir/build/BUILD/futures-cpupool-0.1.8-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/futures-cpupool-0.1.8-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.xDFcTH + umask 022 + cd /builddir/build/BUILD + cd futures-cpupool-0.1.8 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-futures-cpupool-0.1.8-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-futures-cpupool.spec'], chrootPath='/var/lib/mock/f40-build-2081988-49796/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-futures-cpupool.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.63maSo + umask 022 + cd /builddir/build/BUILD + cd futures-cpupool-0.1.8 + /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.ElpxLJ + 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 futures-cpupool-0.1.8 + /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 libc v0.2.150 Compiling futures v0.1.31 Running `/usr/bin/rustc --crate-name build_script_build /usr/share/cargo/registry/libc-0.2.150/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=83a5b7401395b39b -C extra-filename=-83a5b7401395b39b --out-dir /builddir/build/BUILD/futures-cpupool-0.1.8/target/rpm/build/libc-83a5b7401395b39b -L dependency=/builddir/build/BUILD/futures-cpupool-0.1.8/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` Running `/usr/bin/rustc --crate-name futures /usr/share/cargo/registry/futures-0.1.31/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="use_std"' --cfg 'feature="with-deprecated"' -C metadata=70d68d85c20f8e65 -C extra-filename=-70d68d85c20f8e65 --out-dir /builddir/build/BUILD/futures-cpupool-0.1.8/target/rpm/deps -L dependency=/builddir/build/BUILD/futures-cpupool-0.1.8/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` error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff973de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff99d7b800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff967e6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffff9690ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffff9694754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff98d23870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff98d23ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff98d250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff98d23b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff96945f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff9679569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff967e7c78] note: we would appreciate a report at https://github.com/rust-lang/rust Running `/builddir/build/BUILD/futures-cpupool-0.1.8/target/rpm/build/libc-83a5b7401395b39b/build-script-build` Running `/usr/bin/rustc --crate-name libc /usr/share/cargo/registry/libc-0.2.150/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=04f1137dc7635388 -C extra-filename=-04f1137dc7635388 --out-dir /builddir/build/BUILD/futures-cpupool-0.1.8/target/rpm/deps -L dependency=/builddir/build/BUILD/futures-cpupool-0.1.8/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 --cfg freebsd11 --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of --cfg libc_align --cfg libc_int128 --cfg libc_core_cvoid --cfg libc_packedN --cfg libc_cfg_target_vendor --cfg libc_non_exhaustive --cfg libc_long_array --cfg libc_ptr_addr_of --cfg libc_underscore_const_names --cfg libc_const_extern_fn` Compiling num_cpus v1.16.0 Running `/usr/bin/rustc --crate-name num_cpus /usr/share/cargo/registry/num_cpus-1.16.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=fbcf70ac14b907e4 -C extra-filename=-fbcf70ac14b907e4 --out-dir /builddir/build/BUILD/futures-cpupool-0.1.8/target/rpm/deps -L dependency=/builddir/build/BUILD/futures-cpupool-0.1.8/target/rpm/deps --extern libc=/builddir/build/BUILD/futures-cpupool-0.1.8/target/rpm/deps/liblibc-04f1137dc7635388.rmeta --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` error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffffa4dde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffa775d800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffffa41e6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffffa430ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffffa434754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffffa6723870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffa6723ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffa67250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffa6723b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffa4345f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffa419569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffa41e7c78] 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)[0xffffff9ebde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffa1668800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff9dfe6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x64)[0xffffff9e147514] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffffa0523870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffa0523ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffa05250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffa0523b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff9e145f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff9df9569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff9dfe7c78] note: we would appreciate a report at https://github.com/rust-lang/rust Compiling futures-cpupool v0.1.8 (/builddir/build/BUILD/futures-cpupool-0.1.8) Running `/usr/bin/rustc --crate-name futures_cpupool 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="with-deprecated"' -C metadata=8301fc11a6fc9446 -C extra-filename=-8301fc11a6fc9446 --out-dir /builddir/build/BUILD/futures-cpupool-0.1.8/target/rpm/deps -L dependency=/builddir/build/BUILD/futures-cpupool-0.1.8/target/rpm/deps --extern futures=/builddir/build/BUILD/futures-cpupool-0.1.8/target/rpm/deps/libfutures-70d68d85c20f8e65.rmeta --extern num_cpus=/builddir/build/BUILD/futures-cpupool-0.1.8/target/rpm/deps/libnum_cpus-fbcf70ac14b907e4.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` warning: use of deprecated struct `futures::task::Run` --> src/lib.rs:53:31 | 53 | use futures::executor::{self, Run, Executor as OldExecutor}; | ^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated trait `futures::task::Executor` --> src/lib.rs:53:36 | 53 | use futures::executor::{self, Run, Executor as OldExecutor}; | ^^^^^^^^ warning: use of deprecated struct `futures::task::Run` --> src/lib.rs:135:9 | 135 | Run(Run), | ^^^ warning: use of deprecated trait `futures::task::Executor` --> src/lib.rs:282:6 | 282 | impl OldExecutor for Inner { | ^^^^^^^^^^^ warning: use of deprecated struct `futures::task::Run` --> src/lib.rs:283:28 | 283 | fn execute(&self, run: Run) { | ^^^ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:85:29 | 85 | after_start: Option>, | ^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: `#[warn(bare_trait_objects)]` on by default help: use `dyn` | 85 | after_start: Option>, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:86:29 | 86 | before_stop: Option>, | ^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 86 | before_stop: Option>, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:252:44 | 252 | fn work(&self, after_start: Option>, before_stop: Option>) { | ^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 252 | fn work(&self, after_start: Option>, before_stop: Option>) { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:252:90 | 252 | fn work(&self, after_start: Option>, before_stop: Option>) { | ^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 252 | fn work(&self, after_start: Option>, before_stop: Option>) { | +++ warning: use of deprecated method `futures::task_impl::std::>::execute` --> src/lib.rs:214:33 | 214 | executor::spawn(sender).execute(self.inner.clone()); | ^^^^^^^ warning: use of deprecated method `futures::task_impl::std::>::execute` --> src/lib.rs:242:33 | 242 | executor::spawn(future).execute(self.inner.clone()); | ^^^^^^^ error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff7fdde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff8289c800] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x6a)[0xffffff7f30addc] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffff7f34754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff81723870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff81723ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff817250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff81723b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff7f345f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff7f19569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff7f1e7c78] 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)[0xffffff7f5de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff81fdc800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff7e9e6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffff7eb0ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffff7eb4754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff80f23870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff80f23ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff80f250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff80f23b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff7eb45f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff7e99569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff7e9e7c78] note: we would appreciate a report at https://github.com/rust-lang/rust warning: `futures-cpupool` (lib) generated 11 warnings (run `cargo fix --lib -p futures-cpupool` to apply 4 suggestions) Finished rpm [optimized + debuginfo] target(s) in 2m 31s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.G7iDR4 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-futures-cpupool-0.1.8-1.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-futures-cpupool-0.1.8-1.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/rust-futures-cpupool-0.1.8-1.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-futures-cpupool-0.1.8-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 futures-cpupool-0.1.8 + set -euo pipefail ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 1 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml name + CRATE_NAME=futures-cpupool ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.1.8 + REG_DIR=/builddir/build/BUILDROOT/rust-futures-cpupool-0.1.8-1.fc40.riscv64/usr/share/cargo/registry/futures-cpupool-0.1.8 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-futures-cpupool-0.1.8-1.fc40.riscv64/usr/share/cargo/registry/futures-cpupool-0.1.8 + /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-futures-cpupool-0.1.8-1.fc40.riscv64/usr/share/cargo/registry/futures-cpupool-0.1.8 warning: No (git) VCS found for `/builddir/build/BUILD/futures-cpupool-0.1.8` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-futures-cpupool-0.1.8-1.fc40.riscv64/usr/share/cargo/registry/futures-cpupool-0.1.8/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-futures-cpupool-0.1.8-1.fc40.riscv64/usr/share/cargo/registry/futures-cpupool-0.1.8/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.TCM57t + 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 futures-cpupool-0.1.8 + /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)[0xffffff973de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff99d7b800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff967e6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffff9690ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffff9694754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff98d23870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff98d23ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff98d250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff98d23b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff96945f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff9679569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff967e7c78] note: we would appreciate a report at https://github.com/rust-lang/rust Fresh futures v0.1.31 error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffffa4dde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffa775d800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffffa41e6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffffa430ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffffa434754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffffa6723870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffa6723ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffa67250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffa6723b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffa4345f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffa419569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffa41e7c78] note: we would appreciate a report at https://github.com/rust-lang/rust Fresh libc v0.2.150 error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff9ebde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffa1668800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff9dfe6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x64)[0xffffff9e147514] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffffa0523870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffa0523ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffa05250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffa0523b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff9e145f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff9df9569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff9dfe7c78] note: we would appreciate a report at https://github.com/rust-lang/rust Fresh num_cpus v1.16.0 error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff7fdde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff8289c800] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x6a)[0xffffff7f30addc] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffff7f34754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff81723870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff81723ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff817250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff81723b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff7f345f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff7f19569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff7f1e7c78] note: we would appreciate a report at https://github.com/rust-lang/rust warning: use of deprecated struct `futures::task::Run` --> src/lib.rs:53:31 | 53 | use futures::executor::{self, Run, Executor as OldExecutor}; | ^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated trait `futures::task::Executor` --> src/lib.rs:53:36 | 53 | use futures::executor::{self, Run, Executor as OldExecutor}; | ^^^^^^^^ warning: use of deprecated struct `futures::task::Run` --> src/lib.rs:135:9 | 135 | Run(Run), | ^^^ warning: use of deprecated trait `futures::task::Executor` --> src/lib.rs:282:6 | 282 | impl OldExecutor for Inner { | ^^^^^^^^^^^ warning: use of deprecated struct `futures::task::Run` --> src/lib.rs:283:28 | 283 | fn execute(&self, run: Run) { | ^^^ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:85:29 | 85 | after_start: Option>, | ^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: `#[warn(bare_trait_objects)]` on by default help: use `dyn` | 85 | after_start: Option>, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:86:29 | 86 | before_stop: Option>, | ^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 86 | before_stop: Option>, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:252:44 | 252 | fn work(&self, after_start: Option>, before_stop: Option>) { | ^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 252 | fn work(&self, after_start: Option>, before_stop: Option>) { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:252:90 | 252 | fn work(&self, after_start: Option>, before_stop: Option>) { | ^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 252 | fn work(&self, after_start: Option>, before_stop: Option>) { | +++ warning: use of deprecated method `futures::task_impl::std::>::execute` --> src/lib.rs:214:33 | 214 | executor::spawn(sender).execute(self.inner.clone()); | ^^^^^^^ warning: use of deprecated method `futures::task_impl::std::>::execute` --> src/lib.rs:242:33 | 242 | executor::spawn(future).execute(self.inner.clone()); | ^^^^^^^ error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff7f5de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff81fdc800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff7e9e6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffff7eb0ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffff7eb4754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff80f23870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff80f23ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff80f250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff80f23b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff7eb45f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff7e99569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff7e9e7c78] note: we would appreciate a report at https://github.com/rust-lang/rust Compiling futures-cpupool v0.1.8 (/builddir/build/BUILD/futures-cpupool-0.1.8) warning: `futures-cpupool` (lib) generated 11 warnings (run `cargo fix --lib -p futures-cpupool` to apply 4 suggestions) Running `/usr/bin/rustc --crate-name futures_cpupool 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="with-deprecated"' -C metadata=9934500c9a19230d -C extra-filename=-9934500c9a19230d --out-dir /builddir/build/BUILD/futures-cpupool-0.1.8/target/rpm/deps -L dependency=/builddir/build/BUILD/futures-cpupool-0.1.8/target/rpm/deps --extern futures=/builddir/build/BUILD/futures-cpupool-0.1.8/target/rpm/deps/libfutures-70d68d85c20f8e65.rlib --extern num_cpus=/builddir/build/BUILD/futures-cpupool-0.1.8/target/rpm/deps/libnum_cpus-fbcf70ac14b907e4.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 smoke tests/smoke.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="with-deprecated"' -C metadata=f08d9a581560cd0d -C extra-filename=-f08d9a581560cd0d --out-dir /builddir/build/BUILD/futures-cpupool-0.1.8/target/rpm/deps -L dependency=/builddir/build/BUILD/futures-cpupool-0.1.8/target/rpm/deps --extern futures=/builddir/build/BUILD/futures-cpupool-0.1.8/target/rpm/deps/libfutures-70d68d85c20f8e65.rlib --extern futures_cpupool=/builddir/build/BUILD/futures-cpupool-0.1.8/target/rpm/deps/libfutures_cpupool-8301fc11a6fc9446.rlib --extern num_cpus=/builddir/build/BUILD/futures-cpupool-0.1.8/target/rpm/deps/libnum_cpus-fbcf70ac14b907e4.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` warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred --> tests/smoke.rs:4:48 | 4 | use std::sync::atomic::{AtomicUsize, Ordering, ATOMIC_USIZE_INIT}; | ^^^^^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred --> tests/smoke.rs:39:31 | 39 | static CNT: AtomicUsize = ATOMIC_USIZE_INIT; | ^^^^^^^^^^^^^^^^^ | help: replace the use of the deprecated constant | 39 | static CNT: AtomicUsize = AtomicUsize::new(0); | ~~~~~~~~~~~~~~~~~~~ warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred --> tests/smoke.rs:69:38 | 69 | static NUM_STARTS: AtomicUsize = ATOMIC_USIZE_INIT; | ^^^^^^^^^^^^^^^^^ | help: replace the use of the deprecated constant | 69 | static NUM_STARTS: AtomicUsize = AtomicUsize::new(0); | ~~~~~~~~~~~~~~~~~~~ warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred --> tests/smoke.rs:70:37 | 70 | static NUM_STOPS: AtomicUsize = ATOMIC_USIZE_INIT; | ^^^^^^^^^^^^^^^^^ | help: replace the use of the deprecated constant | 70 | static NUM_STOPS: AtomicUsize = AtomicUsize::new(0); | ~~~~~~~~~~~~~~~~~~~ warning: trait objects without an explicit `dyn` are deprecated --> tests/smoke.rs:11:41 | 11 | fn done(t: T) -> Box + Send> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: `#[warn(bare_trait_objects)]` on by default help: use `dyn` | 11 | fn done(t: T) -> Box + Send> { | +++ error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff97dde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff9a846800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff971e6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffff9730ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffff9734754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff99723870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff99723ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff997250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff99723b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff97345f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff9719569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff971e7c78] note: we would appreciate a report at https://github.com/rust-lang/rust warning: `futures-cpupool` (test "smoke") generated 5 warnings (run `cargo fix --test "smoke"` to apply 4 suggestions) error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffffaa3de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xfffffface61800] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x18)[0xffffffa990ad8a] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffffa994754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffffabd23870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffabd23ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffabd250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffabd23b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffa9945f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffa979569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffa97e7c78] note: we would appreciate a report at https://github.com/rust-lang/rust warning: `futures-cpupool` (lib test) generated 11 warnings (11 duplicates) error: could not compile `futures-cpupool` (lib test); 11 warnings emitted Caused by: process didn't exit successfully: `/usr/bin/rustc --crate-name futures_cpupool 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="with-deprecated"' -C metadata=9934500c9a19230d -C extra-filename=-9934500c9a19230d --out-dir /builddir/build/BUILD/futures-cpupool-0.1.8/target/rpm/deps -L dependency=/builddir/build/BUILD/futures-cpupool-0.1.8/target/rpm/deps --extern futures=/builddir/build/BUILD/futures-cpupool-0.1.8/target/rpm/deps/libfutures-70d68d85c20f8e65.rlib --extern num_cpus=/builddir/build/BUILD/futures-cpupool-0.1.8/target/rpm/deps/libnum_cpus-fbcf70ac14b907e4.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` (signal: 11, SIGSEGV: invalid memory reference) error: Bad exit status from /var/tmp/rpm-tmp.TCM57t (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.TCM57t (%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-futures-cpupool.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-futures-cpupool.spec