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-rand0.5.spec'], chrootPath='/var/lib/mock/f40-build-2083504-49925/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-rand0.5.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-rand0.5-0.5.6-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-rand0.5.spec'], chrootPath='/var/lib/mock/f40-build-2083504-49925/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-rand0.5.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.EfMWhN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rand-0.5.6 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rand-0.5.6.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd rand-0.5.6 + rm -rf /builddir/build/BUILD/rand-0.5.6-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/rand-0.5.6-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/rand-fix-metadata-auto.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/rand-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-deny-warnings-considered-harmful.patch + /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.8zRxNK + umask 022 + cd /builddir/build/BUILD + cd rand-0.5.6 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-rand0.5-0.5.6-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-rand0.5.spec'], chrootPath='/var/lib/mock/f40-build-2083504-49925/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-rand0.5.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.dzRgSf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rand-0.5.6 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rand-0.5.6.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd rand-0.5.6 + rm -rf /builddir/build/BUILD/rand-0.5.6-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/rand-0.5.6-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/rand-fix-metadata-auto.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/rand-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-deny-warnings-considered-harmful.patch + /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.J8zSJt + umask 022 + cd /builddir/build/BUILD + cd rand-0.5.6 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-rand0.5-0.5.6-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-rand0.5.spec'], chrootPath='/var/lib/mock/f40-build-2083504-49925/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-rand0.5.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.9OA9BA + umask 022 + cd /builddir/build/BUILD + cd rand-0.5.6 + /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.5PThBD + 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 rand-0.5.6 + /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 rand_core v0.4.2 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/rand-0.5.6/target/rpm/build/libc-83a5b7401395b39b -L dependency=/builddir/build/BUILD/rand-0.5.6/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 rand_core /usr/share/cargo/registry/rand_core-0.4.2/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="alloc"' --cfg 'feature="std"' -C metadata=c5f8dfbd648755ee -C extra-filename=-c5f8dfbd648755ee --out-dir /builddir/build/BUILD/rand-0.5.6/target/rpm/deps -L dependency=/builddir/build/BUILD/rand-0.5.6/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 rand_core v0.3.1 Running `/usr/bin/rustc --crate-name rand_core /usr/share/cargo/registry/rand_core-0.3.1/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="alloc"' --cfg 'feature="std"' -C metadata=8ca74f7977c78423 -C extra-filename=-8ca74f7977c78423 --out-dir /builddir/build/BUILD/rand-0.5.6/target/rpm/deps -L dependency=/builddir/build/BUILD/rand-0.5.6/target/rpm/deps --extern rand_core=/builddir/build/BUILD/rand-0.5.6/target/rpm/deps/librand_core-c5f8dfbd648755ee.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)[0xffffff9f7de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffa217b800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff9ebe6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffff9ed0ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffff9ed4754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffffa1123870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffa1123ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffa11250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffa1123b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff9ed45f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff9eb9569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff9ebe7c78] 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)[0xffffff977de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff9a1fe800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff96be6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffff96d0ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffff96d4754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff99123870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff99123ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff991250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff99123b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff96d45f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff96b9569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff96be7c78] 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)[0xffffffad9de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffb0520800] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x1c)[0xffffffb0423d8e] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffffb046054e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffffaf323870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffaf323ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffaf3250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffaf323b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffb045ef36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffacefb69c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffacf4dc78] note: we would appreciate a report at https://github.com/rust-lang/rust Running `/builddir/build/BUILD/rand-0.5.6/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/rand-0.5.6/target/rpm/deps -L dependency=/builddir/build/BUILD/rand-0.5.6/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 rand v0.5.6 (/builddir/build/BUILD/rand-0.5.6) Running `/usr/bin/rustc --crate-name rand 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="alloc"' --cfg 'feature="default"' --cfg 'feature="libc"' --cfg 'feature="std"' -C metadata=40005545f1d52550 -C extra-filename=-40005545f1d52550 --out-dir /builddir/build/BUILD/rand-0.5.6/target/rpm/deps -L dependency=/builddir/build/BUILD/rand-0.5.6/target/rpm/deps --extern libc=/builddir/build/BUILD/rand-0.5.6/target/rpm/deps/liblibc-04f1137dc7635388.rmeta --extern rand_core=/builddir/build/BUILD/rand-0.5.6/target/rpm/deps/librand_core-8ca74f7977c78423.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: anonymous parameters are deprecated and will be removed in the next edition --> src/distributions/mod.rs:236:34 | 236 | fn ind_sample(&self, &mut R) -> Support; | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut R` | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! = note: for more information, see issue #41686 = note: `#[warn(anonymous_parameters)]` on by default error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff92fde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff95a90800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff923e6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffff9250ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffff9254754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff94923870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff94923ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff949250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff94923b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff92545f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff9239569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff923e7c78] note: we would appreciate a report at https://github.com/rust-lang/rust warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred --> src/rngs/jitter.rs:28:38 | 28 | use std::sync::atomic::{AtomicUsize, ATOMIC_USIZE_INIT, Ordering}; | ^^^^^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred --> src/rngs/jitter.rs:276:37 | 276 | static JITTER_ROUNDS: AtomicUsize = ATOMIC_USIZE_INIT; | ^^^^^^^^^^^^^^^^^ | help: replace the use of the deprecated constant | 276 | static JITTER_ROUNDS: AtomicUsize = AtomicUsize::new(0); | ~~~~~~~~~~~~~~~~~~~ warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred --> src/rngs/os.rs:260:34 | 260 | use std::sync::{Once, Mutex, ONCE_INIT}; | ^^^^^^^^^ warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred --> src/rngs/os.rs:264:34 | 264 | static READ_RNG_ONCE: Once = ONCE_INIT; | ^^^^^^^^^ | help: replace the use of the deprecated constant | 264 | static READ_RNG_ONCE: Once = Once::new(); | ~~~~~~~~~~~ warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred --> src/rngs/os.rs:329:41 | 329 | use std::sync::atomic::{AtomicBool, ATOMIC_BOOL_INIT, Ordering}; | ^^^^^^^^^^^^^^^^ warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred --> src/rngs/os.rs:330:27 | 330 | use std::sync::{Once, ONCE_INIT}; | ^^^^^^^^^ warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred --> src/rngs/os.rs:364:53 | 364 | static OS_RNG_INITIALIZED: AtomicBool = ATOMIC_BOOL_INIT; | ^^^^^^^^^^^^^^^^ | help: replace the use of the deprecated constant | 364 | static OS_RNG_INITIALIZED: AtomicBool = AtomicBool::new(false); | ~~~~~~~~~~~~~~~~~~~~~~ warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred --> src/rngs/os.rs:465:32 | 465 | static CHECKER: Once = ONCE_INIT; | ^^^^^^^^^ | help: replace the use of the deprecated constant | 465 | static CHECKER: Once = Once::new(); | ~~~~~~~~~~~ warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred --> src/rngs/os.rs:466:40 | 466 | static AVAILABLE: AtomicBool = ATOMIC_BOOL_INIT; | ^^^^^^^^^^^^^^^^ | help: replace the use of the deprecated constant | 466 | static AVAILABLE: AtomicBool = AtomicBool::new(false); | ~~~~~~~~~~~~~~~~~~~~~~ error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff8b5de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff8dfdd800] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x72)[0xffffff8ab0ade4] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffff8ab4754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff8cf23870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff8cf23ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff8cf250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff8cf23b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff8ab45f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff8a99569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff8a9e7c78] note: we would appreciate a report at https://github.com/rust-lang/rust warning: `rand` (lib) generated 10 warnings (run `cargo fix --lib -p rand` to apply 6 suggestions) Finished rpm [optimized + debuginfo] target(s) in 1m 18s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VInnbm + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-rand0.5-0.5.6-1.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-rand0.5-0.5.6-1.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/rust-rand0.5-0.5.6-1.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-rand0.5-0.5.6-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 rand-0.5.6 + set -euo pipefail ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 1 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml name + CRATE_NAME=rand ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.5.6 + REG_DIR=/builddir/build/BUILDROOT/rust-rand0.5-0.5.6-1.fc40.riscv64/usr/share/cargo/registry/rand-0.5.6 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-rand0.5-0.5.6-1.fc40.riscv64/usr/share/cargo/registry/rand-0.5.6 + /usr/bin/awk -i inplace -v INPLACE_SUFFIX=.deps '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml + xargs -d '\n' /usr/bin/cp --parents -a -t /builddir/build/BUILDROOT/rust-rand0.5-0.5.6-1.fc40.riscv64/usr/share/cargo/registry/rand-0.5.6 + /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)' warning: No (git) VCS found for `/builddir/build/BUILD/rand-0.5.6` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-rand0.5-0.5.6-1.fc40.riscv64/usr/share/cargo/registry/rand-0.5.6/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-rand0.5-0.5.6-1.fc40.riscv64/usr/share/cargo/registry/rand-0.5.6/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.P0f7bs + 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 rand-0.5.6 + /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 Compiling serde v1.0.193 error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffffad9de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffb0520800] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x1c)[0xffffffb0423d8e] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffffb046054e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffffaf323870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffaf323ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffaf3250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffaf323b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffb045ef36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffacefb69c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffacf4dc78] note: we would appreciate a report at https://github.com/rust-lang/rust Fresh rand_core v0.4.2 error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff977de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff9a1fe800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff96be6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffff96d0ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffff96d4754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff99123870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff99123ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff991250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff99123b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff96d45f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff96b9569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff96be7c78] note: we would appreciate a report at https://github.com/rust-lang/rust Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/serde-1.0.193/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=4afb0d8b14c6271c -C extra-filename=-4afb0d8b14c6271c --out-dir /builddir/build/BUILD/rand-0.5.6/target/rpm/build/serde-4afb0d8b14c6271c -L dependency=/builddir/build/BUILD/rand-0.5.6/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` Fresh rand_core v0.3.1 error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff9f7de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffa217b800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff9ebe6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffff9ed0ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffff9ed4754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffffa1123870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffa1123ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffa11250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffa1123b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff9ed45f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff9eb9569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff9ebe7c78] 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)[0xffffff92fde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff95a90800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff923e6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffff9250ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffff9254754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff94923870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff94923ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff949250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff94923b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff92545f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff9239569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff923e7c78] note: we would appreciate a report at https://github.com/rust-lang/rust warning: anonymous parameters are deprecated and will be removed in the next edition --> src/distributions/mod.rs:236:34 | 236 | fn ind_sample(&self, &mut R) -> Support; | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut R` | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! = note: for more information, see issue #41686 = note: `#[warn(anonymous_parameters)]` on by default warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred --> src/rngs/jitter.rs:28:38 | 28 | use std::sync::atomic::{AtomicUsize, ATOMIC_USIZE_INIT, Ordering}; | ^^^^^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred --> src/rngs/jitter.rs:276:37 | 276 | static JITTER_ROUNDS: AtomicUsize = ATOMIC_USIZE_INIT; | ^^^^^^^^^^^^^^^^^ | help: replace the use of the deprecated constant | 276 | static JITTER_ROUNDS: AtomicUsize = AtomicUsize::new(0); | ~~~~~~~~~~~~~~~~~~~ warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred --> src/rngs/os.rs:260:34 | 260 | use std::sync::{Once, Mutex, ONCE_INIT}; | ^^^^^^^^^ warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred --> src/rngs/os.rs:264:34 | 264 | static READ_RNG_ONCE: Once = ONCE_INIT; | ^^^^^^^^^ | help: replace the use of the deprecated constant | 264 | static READ_RNG_ONCE: Once = Once::new(); | ~~~~~~~~~~~ warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred --> src/rngs/os.rs:329:41 | 329 | use std::sync::atomic::{AtomicBool, ATOMIC_BOOL_INIT, Ordering}; | ^^^^^^^^^^^^^^^^ warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred --> src/rngs/os.rs:330:27 | 330 | use std::sync::{Once, ONCE_INIT}; | ^^^^^^^^^ warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred --> src/rngs/os.rs:364:53 | 364 | static OS_RNG_INITIALIZED: AtomicBool = ATOMIC_BOOL_INIT; | ^^^^^^^^^^^^^^^^ | help: replace the use of the deprecated constant | 364 | static OS_RNG_INITIALIZED: AtomicBool = AtomicBool::new(false); | ~~~~~~~~~~~~~~~~~~~~~~ warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred --> src/rngs/os.rs:465:32 | 465 | static CHECKER: Once = ONCE_INIT; | ^^^^^^^^^ | help: replace the use of the deprecated constant | 465 | static CHECKER: Once = Once::new(); | ~~~~~~~~~~~ warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred --> src/rngs/os.rs:466:40 | 466 | static AVAILABLE: AtomicBool = ATOMIC_BOOL_INIT; | ^^^^^^^^^^^^^^^^ | help: replace the use of the deprecated constant | 466 | static AVAILABLE: AtomicBool = AtomicBool::new(false); | ~~~~~~~~~~~~~~~~~~~~~~ error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff8b5de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff8dfdd800] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x72)[0xffffff8ab0ade4] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffff8ab4754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff8cf23870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff8cf23ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff8cf250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff8cf23b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff8ab45f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff8a99569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff8a9e7c78] note: we would appreciate a report at https://github.com/rust-lang/rust warning: `rand` (lib) generated 10 warnings (run `cargo fix --lib -p rand` to apply 6 suggestions) error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff9cbde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff9f73f800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff9c14c264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffff9f642e08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffff9f67f54e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff9e523870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff9e523ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff9e5250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff9e523b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff9f67df36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff9c0fb69c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff9c14dc78] note: we would appreciate a report at https://github.com/rust-lang/rust Running `/builddir/build/BUILD/rand-0.5.6/target/rpm/build/serde-4afb0d8b14c6271c/build-script-build` Running `/usr/bin/rustc --crate-name serde --edition=2018 /usr/share/cargo/registry/serde-1.0.193/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=d739278b774ca449 -C extra-filename=-d739278b774ca449 --out-dir /builddir/build/BUILD/rand-0.5.6/target/rpm/deps -L dependency=/builddir/build/BUILD/rand-0.5.6/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 bincode v1.3.3 Running `/usr/bin/rustc --crate-name bincode /usr/share/cargo/registry/bincode-1.3.3/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=57482f860644a5d1 -C extra-filename=-57482f860644a5d1 --out-dir /builddir/build/BUILD/rand-0.5.6/target/rpm/deps -L dependency=/builddir/build/BUILD/rand-0.5.6/target/rpm/deps --extern serde=/builddir/build/BUILD/rand-0.5.6/target/rpm/deps/libserde-d739278b774ca449.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)[0xffffffac5de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffaef8f800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffffab9e6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffffabb0ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffffabb4754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffffadf23870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffadf23ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffadf250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffadf23b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffabb45f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffab99569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffab9e7c78] 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)[0xffffffbabde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffbd577800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffffb9fe6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffffba10ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffffba14754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffffbc523870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffbc523ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffbc5250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffbc523b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffba145f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffb9f9569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffb9fe7c78] note: we would appreciate a report at https://github.com/rust-lang/rust Compiling rand v0.5.6 (/builddir/build/BUILD/rand-0.5.6) Running `/usr/bin/rustc --crate-name monty_hall examples/monty-hall.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="libc"' --cfg 'feature="std"' -C metadata=aea9fa14f7f4a99b -C extra-filename=-aea9fa14f7f4a99b --out-dir /builddir/build/BUILD/rand-0.5.6/target/rpm/examples -L dependency=/builddir/build/BUILD/rand-0.5.6/target/rpm/deps --extern bincode=/builddir/build/BUILD/rand-0.5.6/target/rpm/deps/libbincode-57482f860644a5d1.rlib --extern libc=/builddir/build/BUILD/rand-0.5.6/target/rpm/deps/liblibc-04f1137dc7635388.rlib --extern rand=/builddir/build/BUILD/rand-0.5.6/target/rpm/deps/librand-40005545f1d52550.rlib --extern rand_core=/builddir/build/BUILD/rand-0.5.6/target/rpm/deps/librand_core-8ca74f7977c78423.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 bool tests/bool.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="alloc"' --cfg 'feature="default"' --cfg 'feature="libc"' --cfg 'feature="std"' -C metadata=cdb6ce96d3b82d52 -C extra-filename=-cdb6ce96d3b82d52 --out-dir /builddir/build/BUILD/rand-0.5.6/target/rpm/deps -L dependency=/builddir/build/BUILD/rand-0.5.6/target/rpm/deps --extern bincode=/builddir/build/BUILD/rand-0.5.6/target/rpm/deps/libbincode-57482f860644a5d1.rlib --extern libc=/builddir/build/BUILD/rand-0.5.6/target/rpm/deps/liblibc-04f1137dc7635388.rlib --extern rand=/builddir/build/BUILD/rand-0.5.6/target/rpm/deps/librand-40005545f1d52550.rlib --extern rand_core=/builddir/build/BUILD/rand-0.5.6/target/rpm/deps/librand_core-8ca74f7977c78423.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 rand 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="alloc"' --cfg 'feature="default"' --cfg 'feature="libc"' --cfg 'feature="std"' -C metadata=253b8b1994743320 -C extra-filename=-253b8b1994743320 --out-dir /builddir/build/BUILD/rand-0.5.6/target/rpm/deps -L dependency=/builddir/build/BUILD/rand-0.5.6/target/rpm/deps --extern bincode=/builddir/build/BUILD/rand-0.5.6/target/rpm/deps/libbincode-57482f860644a5d1.rlib --extern libc=/builddir/build/BUILD/rand-0.5.6/target/rpm/deps/liblibc-04f1137dc7635388.rlib --extern rand_core=/builddir/build/BUILD/rand-0.5.6/target/rpm/deps/librand_core-8ca74f7977c78423.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 monte_carlo examples/monte-carlo.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="libc"' --cfg 'feature="std"' -C metadata=925cd160c54e2f6a -C extra-filename=-925cd160c54e2f6a --out-dir /builddir/build/BUILD/rand-0.5.6/target/rpm/examples -L dependency=/builddir/build/BUILD/rand-0.5.6/target/rpm/deps --extern bincode=/builddir/build/BUILD/rand-0.5.6/target/rpm/deps/libbincode-57482f860644a5d1.rlib --extern libc=/builddir/build/BUILD/rand-0.5.6/target/rpm/deps/liblibc-04f1137dc7635388.rlib --extern rand=/builddir/build/BUILD/rand-0.5.6/target/rpm/deps/librand-40005545f1d52550.rlib --extern rand_core=/builddir/build/BUILD/rand-0.5.6/target/rpm/deps/librand_core-8ca74f7977c78423.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)[0xffffffa1bde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffa46f0800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffffa114c264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffffa45f3e08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffffa463054e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffffa3523870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffa3523ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffa35250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffa3523b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffa462ef36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffa10fb69c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffa114dc78] 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)[0xffffff83bde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff8672b800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff8314c264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x64)[0xffffff8666b514] /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)[0xffffff86669f36] /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 warning: trait objects without an explicit `dyn` are deprecated --> src/distributions/other.rs:181:23 | 181 | let rng: &mut RngCore = &mut ::test::rng(820); | ^^^^^^^ | = 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` | 181 | let rng: &mut dyn RngCore = &mut ::test::rng(820); | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:1197:38 | 1197 | let mut r = &mut rng as &mut RngCore; | ^^^^^^^ | = 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` | 1197 | let mut r = &mut rng as &mut dyn RngCore; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:1213:42 | 1213 | let mut r = Box::new(rng) as Box; | ^^^^^^^ | = 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` | 1213 | let mut r = Box::new(rng) as Box; | +++ error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff8bdde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff8e897800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff8b1e6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffff8b30ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffff8b34754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff8d723870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff8d723ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff8d7250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff8d723b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff8b345f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff8b19569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff8b1e7c78] 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)[0xffffff81fde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff84aab800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff8154c264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffff849aee08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffff849eb54e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff83923870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff83923ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff839250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff83923b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff849e9f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff814fb69c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff8154dc78] note: we would appreciate a report at https://github.com/rust-lang/rust warning: `rand` (lib test) generated 13 warnings (10 duplicates) (run `cargo fix --lib -p rand --tests` to apply 3 suggestions) Finished rpm [optimized + debuginfo] target(s) in 3m 40s Running `/builddir/build/BUILD/rand-0.5.6/target/rpm/deps/rand-253b8b1994743320` running 117 tests test distributions::bernoulli::test::test_trivial ... ok test distributions::binomial::test::test_binomial_end_points ... ok test distributions::cauchy::test::test_cauchy_invalid_scale_zero - should panic ... ok test distributions::binomial::test::test_binomial_invalid_lambda_neg - should panic ... ok test distributions::cauchy::test::test_cauchy_invalid_scale_neg - should panic ... ok test distributions::cauchy::test::test_cauchy_mean ... ok test distributions::exponential::test::test_exp ... ok test distributions::cauchy::test::test_cauchy_median ... ok test distributions::binomial::test::test_binomial ... ok test distributions::exponential::test::test_exp_invalid_lambda_neg - should panic ... ok test distributions::exponential::test::test_exp_invalid_lambda_zero - should panic ... ok test distributions::float::tests::open01_edge_cases ... ok test distributions::float::tests::standard_fp_edge_cases ... ok test distributions::float::tests::openclosed01_edge_cases ... ok test distributions::gamma::test::test_chi_squared_invalid_dof - should panic ... ok test distributions::gamma::test::test_chi_squared_large ... ok test distributions::gamma::test::test_chi_squared_one ... ok test distributions::gamma::test::test_chi_squared_small ... ok test distributions::gamma::test::test_f ... ok test distributions::normal::tests::test_log_normal ... ok test distributions::gamma::test::test_t ... ok test distributions::normal::tests::test_log_normal_invalid_sd - should panic ... ok test distributions::normal::tests::test_normal ... ok test distributions::integer::tests::test_integers ... ok test distributions::normal::tests::test_normal_invalid_sd - should panic ... ok test distributions::other::tests::test_alphanumeric ... ok test distributions::other::tests::test_chars ... ok test distributions::other::tests::test_misc ... ok test distributions::pareto::tests::invalid - should panic ... ok test distributions::pareto::tests::sample ... ok test distributions::poisson::test::test_poisson_10 ... ok test distributions::poisson::test::test_poisson_invalid_lambda_neg - should panic ... ok test distributions::poisson::test::test_poisson_invalid_lambda_zero - should panic ... ok test distributions::tests::test_backwards_compat_sample ... ok test distributions::poisson::test::test_poisson_15 ... ok test distributions::tests::test_distributions_iter ... ok test distributions::tests::test_weighted_choice ... ok test distributions::tests::test_weighted_choice_no_items - should panic ... ok test distributions::tests::test_weighted_choice_weight_overflows - should panic ... ok test distributions::tests::test_backwards_compat_exp ... ok test distributions::tests::test_weighted_choice_zero_weight - should panic ... ok test distributions::tests::test_weighted_clone_initialization ... ok test distributions::uniform::tests::test_custom_uniform ... ok test distributions::tests::test_weighted_clone_change_weight - should panic ... ok test distributions::tests::test_weighted_clone_change_item - should panic ... ok test distributions::uniform::tests::test_durations ... ok test distributions::uniform::tests::test_uniform_bad_limits_equal_float - should panic ... ok test distributions::uniform::tests::test_floats ... ok test distributions::uniform::tests::test_uniform_bad_limits_flipped_float - should panic ... ok test distributions::uniform::tests::test_uniform_bad_limits_flipped_int - should panic ... ok test distributions::uniform::tests::test_uniform_from_std_range ... ok test distributions::uniform::tests::test_uniform_good_limits_equal_float ... ok test distributions::uniform::tests::test_uniform_good_limits_equal_int ... ok test prng::chacha::test::test_chacha_clone_streams ... ok test distributions::uniform::tests::test_integers ... ok test distributions::uniform::tests::test_uniform_bad_limits_equal_int - should panic ... ok test prng::chacha::test::test_chacha_multiple_blocks ... ok test prng::chacha::test::test_chacha_construction ... ok test prng::chacha::test::test_chacha_nonce ... ok test prng::chacha::test::test_chacha_true_values_a ... ok test prng::chacha::test::test_chacha_true_bytes ... ok test prng::chacha::test::test_chacha_true_values_b ... ok test prng::hc128::test::test_hc128_clone ... ok test prng::hc128::test::test_hc128_true_values_a ... ok test prng::hc128::test::test_hc128_true_values_b ... ok test prng::hc128::test::test_hc128_true_values_bytes ... ok test prng::hc128::test::test_hc128_true_values_c ... ok test prng::hc128::test::test_hc128_true_values_u64 ... ok test prng::isaac64::test::test_isaac64_clone ... ok test prng::isaac64::test::test_isaac64_construction ... ok test prng::isaac64::test::test_isaac64_new_uninitialized ... ok test prng::isaac64::test::test_isaac64_true_values_32 ... ok test prng::isaac64::test::test_isaac64_true_bytes ... ok test prng::isaac64::test::test_isaac64_true_values_64 ... ok test prng::isaac64::test::test_isaac64_true_values_mixed ... ok test prng::isaac::test::test_isaac_clone ... ok test prng::isaac::test::test_isaac_construction ... ok test prng::isaac::test::test_isaac_new_uninitialized ... ok test prng::isaac::test::test_isaac_true_values_32 ... ok test prng::isaac::test::test_isaac_true_bytes ... ok test prng::isaac::test::test_isaac_true_values_64 ... ok test prng::xorshift::tests::test_xorshift_construction ... ok test prng::xorshift::tests::test_xorshift_clone ... ok test prng::xorshift::tests::test_xorshift_true_values ... ok test prng::xorshift::tests::test_xorshift_zero_seed ... ok test rngs::adapter::read::test::test_reader_rng_fill_bytes ... ok test rngs::adapter::read::test::test_reader_rng_insufficient_bytes ... ok test rngs::adapter::read::test::test_reader_rng_u32 ... ok test rngs::adapter::read::test::test_reader_rng_u64 ... ok test rngs::adapter::reseeding::test::test_clone_reseeding ... ok test rngs::adapter::reseeding::test::test_reseeding ... ok test rngs::jitter::test_jitter_init::test_jitter_bad_timer ... ok test rngs::entropy::test::test_entropy ... ok test rngs::os::test::test_os_rng ... ok test rngs::os::test::test_os_rng_empty ... ok test rngs::jitter::test_jitter_init::test_jitter_init ... ok test rngs::std::test::test_stdrng_construction ... ok test seq::test::test_sample_iter ... ok test seq::test::test_sample_slice_boundaries ... ok test test::test_fill ... ok test rngs::os::test::test_os_rng_huge ... ok test rngs::thread::test::test_thread_rng ... ok test test::test_choose ... ok test test::test_fill_bytes_default ... ok test seq::test::test_sample_slice ... ok test test::test_fill_empty ... ok test test::test_gen_bool ... ok test test::test_gen_range_panic_int - should panic ... ok test test::test_gen_range ... ok test test::test_rng_boxed_trait ... ok test test::test_shuffle ... ok test test::test_gen_weighted_bool ... ok test test::test_gen_range_panic_usize - should panic ... ok test test::test_rng_trait_object ... ok test test::test_random ... ok test rngs::os::test::test_os_rng_tasks ... ok test distributions::bernoulli::test::test_average ... ok test result: ok. 117 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.41s Running `/builddir/build/BUILD/rand-0.5.6/target/rpm/deps/bool-cdb6ce96d3b82d52` running 1 test test large_probability ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s Doc-tests rand Running `/usr/bin/rustdoc --crate-type lib --crate-name rand --test src/lib.rs --test-run-directory /builddir/build/BUILD/rand-0.5.6 -L dependency=/builddir/build/BUILD/rand-0.5.6/target/rpm/deps -L dependency=/builddir/build/BUILD/rand-0.5.6/target/rpm/deps --extern bincode=/builddir/build/BUILD/rand-0.5.6/target/rpm/deps/libbincode-57482f860644a5d1.rlib --extern libc=/builddir/build/BUILD/rand-0.5.6/target/rpm/deps/liblibc-04f1137dc7635388.rlib --extern rand=/builddir/build/BUILD/rand-0.5.6/target/rpm/deps/librand-40005545f1d52550.rlib --extern rand_core=/builddir/build/BUILD/rand-0.5.6/target/rpm/deps/librand_core-8ca74f7977c78423.rlib -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="libc"' --cfg 'feature="std"' --error-format human` running 57 tests test src/distributions/float.rs - distributions::float::Open01 (line 56) ... ok test src/distributions/exponential.rs - distributions::exponential::Exp1 (line 32) ... ok test src/distributions/cauchy.rs - distributions::cauchy::Cauchy (line 24) ... ok test src/distributions/float.rs - distributions::float::OpenClosed01 (line 30) ... ok test src/distributions/gamma.rs - distributions::gamma::ChiSquared (line 181) ... ok test src/distributions/bernoulli.rs - distributions::bernoulli::Bernoulli (line 21) ... ok test src/distributions/exponential.rs - distributions::exponential::Exp (line 69) ... ok test src/distributions/binomial.rs - distributions::binomial::Binomial (line 24) ... ok test src/distributions/mod.rs - distributions (line 116) ... ok test src/distributions/gamma.rs - distributions::gamma::FisherF (line 236) ... ok test src/distributions/mod.rs - distributions::Standard (line 422) ... ok test src/distributions/gamma.rs - distributions::gamma::StudentT (line 277) ... ok test src/distributions/mod.rs - distributions (line 105) ... ok test src/distributions/gamma.rs - distributions::gamma::Gamma (line 38) ... ok test src/distributions/mod.rs - distributions::Distribution::sample_iter (line 324) ... ok test src/distributions/mod.rs - distributions::WeightedChoice (line 480) ... ok test src/distributions/normal.rs - distributions::normal::LogNormal (line 127) ... ok test src/distributions/normal.rs - distributions::normal::StandardNormal (line 30) ... ok test src/distributions/pareto.rs - distributions::pareto::Pareto (line 19) ... ok test src/distributions/normal.rs - distributions::normal::Normal (line 82) ... ok test src/distributions/other.rs - distributions::other::Alphanumeric (line 26) ... ok test src/distributions/poisson.rs - distributions::poisson::Poisson (line 24) ... ok test src/distributions/uniform.rs - distributions::uniform (line 56) ... ok test src/distributions/uniform.rs - distributions::uniform (line 30) ... FAILED test src/distributions/uniform.rs - distributions::uniform::Uniform (line 132) ... ok test src/lib.rs - (line 107) ... ok test src/lib.rs - FromEntropy (line 890) ... ok test src/lib.rs - (line 21) ... ok test src/lib.rs - Rng (line 401) ... ok test src/lib.rs - FromEntropy::from_entropy (line 917) ... ok test src/lib.rs - Rng::fill (line 525) ... ok test src/lib.rs - Rng::choose (line 607) ... ok test src/lib.rs - Rng::gen (line 420) ... ok test src/lib.rs - Rng::gen_bool (line 583) ... ok test src/lib.rs - Rng::gen_ascii_chars (line 711) ... ok test src/lib.rs - Rng::gen_range (line 446) ... ok test src/lib.rs - Rng::gen_iter (line 668) ... ok test src/lib.rs - Rng::gen_weighted_bool (line 688) ... ok test src/lib.rs - Rng::sample (line 465) ... ok test src/lib.rs - Rng::sample_iter (line 483) ... ok test src/lib.rs - Rng::shuffle (line 643) ... ok test src/lib.rs - Rng::try_fill (line 554) ... ok test src/rngs/jitter.rs - rngs::jitter::JitterRng (line 72) - compile ... ok test src/lib.rs - random (line 971) ... ok test src/lib.rs - random (line 986) ... ok test src/prng/chacha.rs - prng::chacha::ChaChaRng::new_unseeded (line 115) ... ok test src/prelude.rs - prelude (line 17) ... ok test src/lib.rs - sample (line 1020) ... ok test src/rngs/adapter/read.rs - rngs::adapter::read::ReadRng (line 35) ... ok test src/rngs/jitter.rs - rngs::jitter::JitterRng::new_with_timer (line 318) ... ok test src/rngs/mock.rs - rngs::mock::StepRng (line 21) ... ok test src/rngs/small.rs - rngs::small::SmallRng (line 33) ... ok test src/rngs/mod.rs - rngs (line 108) ... ok test src/rngs/small.rs - rngs::small::SmallRng (line 47) ... ok test src/seq.rs - seq::sample_iter (line 34) ... ok test src/seq.rs - seq::sample_slice (line 79) ... ok test src/seq.rs - seq::sample_slice_ref (line 107) ... ok failures: ---- src/distributions/uniform.rs - distributions::uniform (line 30) stdout ---- error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff8cfde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff8fb07800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff8c54c264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x64)[0xffffff8fa47514] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff8e923870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff8e923ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff8e9250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff8e923b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff8fa45f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff8c4fb69c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff8c54dc78] note: we would appreciate a report at https://github.com/rust-lang/rust Couldn't compile the test. failures: src/distributions/uniform.rs - distributions::uniform (line 30) test result: FAILED. 56 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 61.19s error: doctest failed, to rerun pass `--doc` error: 1 target failed: `--doc` error: Bad exit status from /var/tmp/rpm-tmp.P0f7bs (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.P0f7bs (%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-rand0.5.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-rand0.5.spec