Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-rand0.6.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-98478-60248/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-rand0.6.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rust-rand0.6-0.6.5-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps --nocheck /builddir/build/SPECS/rust-rand0.6.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-98478-60248/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps --nocheck /builddir/build/SPECS/rust-rand0.6.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8KVzEe + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rand-0.6.5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rand-0.6.5.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd rand-0.6.5 + /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 + 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.deW7So + umask 022 + cd /builddir/build/BUILD + cd rand-0.6.5 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-rand0.6-0.6.5-1.oc9.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 x86_64 --nodeps --nocheck /builddir/build/SPECS/rust-rand0.6.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-98478-60248/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps --nocheck /builddir/build/SPECS/rust-rand0.6.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.X48xHa + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rand-0.6.5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rand-0.6.5.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd rand-0.6.5 + /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 + 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.ALjw90 + umask 022 + cd /builddir/build/BUILD + cd rand-0.6.5 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-rand0.6-0.6.5-1.oc9.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 x86_64 --nodeps --nocheck /builddir/build/SPECS/rust-rand0.6.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-98478-60248/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target x86_64 --nodeps --nocheck /builddir/build/SPECS/rust-rand0.6.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: x86_64 Building for target x86_64 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.672iGa + umask 022 + cd /builddir/build/BUILD + cd rand-0.6.5 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.OotKO9 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd rand-0.6.5 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo build -j32 -Z avoid-dev-deps --profile rpm Compiling rand_core v0.4.2 Compiling autocfg v1.3.0 Compiling libc v0.2.155 Running `/usr/bin/rustc --crate-name rand_core --edition=2015 /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=c927c94187246678 -C extra-filename=-c927c94187246678 --out-dir /builddir/build/BUILD/rand-0.6.5/target/rpm/deps -L dependency=/builddir/build/BUILD/rand-0.6.5/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name autocfg --edition=2015 /usr/share/cargo/registry/autocfg-1.3.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=64ae38532deb06ce -C extra-filename=-64ae38532deb06ce --out-dir /builddir/build/BUILD/rand-0.6.5/target/rpm/deps -L dependency=/builddir/build/BUILD/rand-0.6.5/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name build_script_build --edition=2015 /usr/share/cargo/registry/libc-0.2.155/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=5e78fbeb3c6ee7a6 -C extra-filename=-5e78fbeb3c6ee7a6 --out-dir /builddir/build/BUILD/rand-0.6.5/target/rpm/build/libc-5e78fbeb3c6ee7a6 -L dependency=/builddir/build/BUILD/rand-0.6.5/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling rand_core v0.3.1 Compiling rand_jitter v0.1.4 Running `/usr/bin/rustc --crate-name rand_core --edition=2015 /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 -C metadata=4176fe8239c3f141 -C extra-filename=-4176fe8239c3f141 --out-dir /builddir/build/BUILD/rand-0.6.5/target/rpm/deps -L dependency=/builddir/build/BUILD/rand-0.6.5/target/rpm/deps --extern rand_core=/builddir/build/BUILD/rand-0.6.5/target/rpm/deps/librand_core-c927c94187246678.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name rand_jitter --edition=2015 /usr/share/cargo/registry/rand_jitter-0.1.4/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="std"' -C metadata=fb896458c135fb0d -C extra-filename=-fb896458c135fb0d --out-dir /builddir/build/BUILD/rand-0.6.5/target/rpm/deps -L dependency=/builddir/build/BUILD/rand-0.6.5/target/rpm/deps --extern rand_core=/builddir/build/BUILD/rand-0.6.5/target/rpm/deps/librand_core-c927c94187246678.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling rand_hc v0.1.0 Compiling rand_isaac v0.1.1 Compiling rand_xorshift v0.1.1 Running `/usr/bin/rustc --crate-name rand_hc --edition=2015 /usr/share/cargo/registry/rand_hc-0.1.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=d95c4be807048136 -C extra-filename=-d95c4be807048136 --out-dir /builddir/build/BUILD/rand-0.6.5/target/rpm/deps -L dependency=/builddir/build/BUILD/rand-0.6.5/target/rpm/deps --extern rand_core=/builddir/build/BUILD/rand-0.6.5/target/rpm/deps/librand_core-4176fe8239c3f141.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name rand_isaac --edition=2015 /usr/share/cargo/registry/rand_isaac-0.1.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 -C metadata=8878e3afa6ed375d -C extra-filename=-8878e3afa6ed375d --out-dir /builddir/build/BUILD/rand-0.6.5/target/rpm/deps -L dependency=/builddir/build/BUILD/rand-0.6.5/target/rpm/deps --extern rand_core=/builddir/build/BUILD/rand-0.6.5/target/rpm/deps/librand_core-4176fe8239c3f141.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name rand_xorshift --edition=2015 /usr/share/cargo/registry/rand_xorshift-0.1.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 -C metadata=e57ae52c2a3b5595 -C extra-filename=-e57ae52c2a3b5595 --out-dir /builddir/build/BUILD/rand-0.6.5/target/rpm/deps -L dependency=/builddir/build/BUILD/rand-0.6.5/target/rpm/deps --extern rand_core=/builddir/build/BUILD/rand-0.6.5/target/rpm/deps/librand_core-4176fe8239c3f141.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/builddir/build/BUILD/rand-0.6.5/target/rpm/build/libc-5e78fbeb3c6ee7a6/build-script-build` Running `/usr/bin/rustc --crate-name libc --edition=2015 /usr/share/cargo/registry/libc-0.2.155/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=004dff9a6d043987 -C extra-filename=-004dff9a6d043987 --out-dir /builddir/build/BUILD/rand-0.6.5/target/rpm/deps -L dependency=/builddir/build/BUILD/rand-0.6.5/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --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_os v0.1.3 Running `/usr/bin/rustc --crate-name rand_os --edition=2015 /usr/share/cargo/registry/rand_os-0.1.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=b7e4f59693fa8443 -C extra-filename=-b7e4f59693fa8443 --out-dir /builddir/build/BUILD/rand-0.6.5/target/rpm/deps -L dependency=/builddir/build/BUILD/rand-0.6.5/target/rpm/deps --extern libc=/builddir/build/BUILD/rand-0.6.5/target/rpm/deps/liblibc-004dff9a6d043987.rmeta --extern rand_core=/builddir/build/BUILD/rand-0.6.5/target/rpm/deps/librand_core-c927c94187246678.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling rand_chacha v0.1.1 Compiling rand_pcg v0.1.2 Compiling rand v0.6.5 (/builddir/build/BUILD/rand-0.6.5) Running `/usr/bin/rustc --crate-name build_script_build --edition=2015 /usr/share/cargo/registry/rand_chacha-0.1.1/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C metadata=b7baf5fc1afc2deb -C extra-filename=-b7baf5fc1afc2deb --out-dir /builddir/build/BUILD/rand-0.6.5/target/rpm/build/rand_chacha-b7baf5fc1afc2deb -L dependency=/builddir/build/BUILD/rand-0.6.5/target/rpm/deps --extern autocfg=/builddir/build/BUILD/rand-0.6.5/target/rpm/deps/libautocfg-64ae38532deb06ce.rlib --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name build_script_build --edition=2015 /usr/share/cargo/registry/rand_pcg-0.1.2/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C metadata=ef7e915d0ab6b02d -C extra-filename=-ef7e915d0ab6b02d --out-dir /builddir/build/BUILD/rand-0.6.5/target/rpm/build/rand_pcg-ef7e915d0ab6b02d -L dependency=/builddir/build/BUILD/rand-0.6.5/target/rpm/deps --extern autocfg=/builddir/build/BUILD/rand-0.6.5/target/rpm/deps/libautocfg-64ae38532deb06ce.rlib --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name build_script_build --edition=2015 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="alloc"' --cfg 'feature="default"' --cfg 'feature="rand_os"' --cfg 'feature="std"' -C metadata=e8bd331f6083cd42 -C extra-filename=-e8bd331f6083cd42 --out-dir /builddir/build/BUILD/rand-0.6.5/target/rpm/build/rand-e8bd331f6083cd42 -L dependency=/builddir/build/BUILD/rand-0.6.5/target/rpm/deps --extern autocfg=/builddir/build/BUILD/rand-0.6.5/target/rpm/deps/libautocfg-64ae38532deb06ce.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/builddir/build/BUILD/rand-0.6.5/target/rpm/build/rand-e8bd331f6083cd42/build-script-build` Running `/builddir/build/BUILD/rand-0.6.5/target/rpm/build/rand_chacha-b7baf5fc1afc2deb/build-script-build` Running `/builddir/build/BUILD/rand-0.6.5/target/rpm/build/rand_pcg-ef7e915d0ab6b02d/build-script-build` Running `/usr/bin/rustc --crate-name rand_pcg --edition=2015 /usr/share/cargo/registry/rand_pcg-0.1.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 -C metadata=e6e7fee8eb53e66d -C extra-filename=-e6e7fee8eb53e66d --out-dir /builddir/build/BUILD/rand-0.6.5/target/rpm/deps -L dependency=/builddir/build/BUILD/rand-0.6.5/target/rpm/deps --extern rand_core=/builddir/build/BUILD/rand-0.6.5/target/rpm/deps/librand_core-c927c94187246678.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg rustc_1_26` Running `/usr/bin/rustc --crate-name rand_chacha --edition=2015 /usr/share/cargo/registry/rand_chacha-0.1.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 -C metadata=0bceb14096d1a7cb -C extra-filename=-0bceb14096d1a7cb --out-dir /builddir/build/BUILD/rand-0.6.5/target/rpm/deps -L dependency=/builddir/build/BUILD/rand-0.6.5/target/rpm/deps --extern rand_core=/builddir/build/BUILD/rand-0.6.5/target/rpm/deps/librand_core-4176fe8239c3f141.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg rustc_1_26` Running `/usr/bin/rustc --crate-name rand --edition=2015 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="rand_os"' --cfg 'feature="std"' -C metadata=ce3a2ce15e3687fd -C extra-filename=-ce3a2ce15e3687fd --out-dir /builddir/build/BUILD/rand-0.6.5/target/rpm/deps -L dependency=/builddir/build/BUILD/rand-0.6.5/target/rpm/deps --extern libc=/builddir/build/BUILD/rand-0.6.5/target/rpm/deps/liblibc-004dff9a6d043987.rmeta --extern rand_chacha=/builddir/build/BUILD/rand-0.6.5/target/rpm/deps/librand_chacha-0bceb14096d1a7cb.rmeta --extern rand_core=/builddir/build/BUILD/rand-0.6.5/target/rpm/deps/librand_core-c927c94187246678.rmeta --extern rand_hc=/builddir/build/BUILD/rand-0.6.5/target/rpm/deps/librand_hc-d95c4be807048136.rmeta --extern rand_isaac=/builddir/build/BUILD/rand-0.6.5/target/rpm/deps/librand_isaac-8878e3afa6ed375d.rmeta --extern rand_jitter=/builddir/build/BUILD/rand-0.6.5/target/rpm/deps/librand_jitter-fb896458c135fb0d.rmeta --extern rand_os=/builddir/build/BUILD/rand-0.6.5/target/rpm/deps/librand_os-b7e4f59693fa8443.rmeta --extern rand_pcg=/builddir/build/BUILD/rand-0.6.5/target/rpm/deps/librand_pcg-e6e7fee8eb53e66d.rmeta --extern rand_xorshift=/builddir/build/BUILD/rand-0.6.5/target/rpm/deps/librand_xorshift-e57ae52c2a3b5595.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg rustc_1_25 --cfg rustc_1_26 --cfg rustc_1_27` warning: this `#[deprecated]` annotation has no effect --> src/distributions/mod.rs:439:1 | 439 | #[deprecated(since="0.6.0", note="use WeightedIndex instead")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the unnecessary deprecation attribute | = note: `#[warn(useless_deprecated)]` on by default warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred --> src/rngs/adapter/reseeding.rs:289:42 | 289 | use std::sync::atomic::{AtomicUsize, ATOMIC_USIZE_INIT, Ordering}; | ^^^^^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred --> src/rngs/adapter/reseeding.rs:290:41 | 290 | use std::sync::atomic::{AtomicBool, ATOMIC_BOOL_INIT}; | ^^^^^^^^^^^^^^^^ warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred --> src/rngs/adapter/reseeding.rs:304:54 | 304 | static RESEEDING_RNG_FORK_COUNTER: AtomicUsize = ATOMIC_USIZE_INIT; | ^^^^^^^^^^^^^^^^^ | help: replace the use of the deprecated constant | 304 | static RESEEDING_RNG_FORK_COUNTER: AtomicUsize = AtomicUsize::new(0); | ~~~~~~~~~~~~~~~~~~~ warning: use of deprecated constant `std::sync::atomic::ATOMIC_BOOL_INIT`: the `new` function is now preferred --> src/rngs/adapter/reseeding.rs:310:50 | 310 | static FORK_HANDLER_REGISTERED: AtomicBool = ATOMIC_BOOL_INIT; | ^^^^^^^^^^^^^^^^ | help: replace the use of the deprecated constant | 310 | static FORK_HANDLER_REGISTERED: AtomicBool = AtomicBool::new(false); | ~~~~~~~~~~~~~~~~~~~~~~ warning: trait objects without an explicit `dyn` are deprecated --> src/distributions/weighted.rs:221:32 | 221 | fn cause(&self) -> Option<&::std::error::Error> { | ^^^^^^^^^^^^^^^^^^^ | = 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: if this is an object-safe trait, use `dyn` | 221 | fn cause(&self) -> Option<&dyn (::std::error::Error)> { | +++++ + warning: trait `Float` is never used --> src/distributions/utils.rs:251:18 | 251 | pub(crate) trait Float : Sized { | ^^^^^ | = note: `#[warn(dead_code)]` on by default warning: associated items `lanes`, `extract`, and `replace` are never used --> src/distributions/utils.rs:264:8 | 262 | pub(crate) trait FloatAsSIMD : Sized { | ----------- associated items in this trait 263 | #[inline(always)] 264 | fn lanes() -> usize { 1 } | ^^^^^ ... 268 | fn extract(self, index: usize) -> Self { debug_assert_eq!(index, 0); self } | ^^^^^^^ 269 | #[inline(always)] 270 | fn replace(self, index: usize, new_value: Self) -> Self { debug_assert_eq!(index, 0); new_value } | ^^^^^^^ warning: method `all` is never used --> src/distributions/utils.rs:275:8 | 273 | pub(crate) trait BoolAsSIMD : Sized { | ---------- method in this trait 274 | fn any(self) -> bool; 275 | fn all(self) -> bool; | ^^^ warning: `rand` (lib) generated 9 warnings (run `cargo fix --lib -p rand` to apply 4 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 2.91s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.CoDSoN + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-rand0.6-0.6.5-1.oc9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-rand0.6-0.6.5-1.oc9.x86_64 ++ dirname /builddir/build/BUILDROOT/rust-rand0.6-0.6.5-1.oc9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-rand0.6-0.6.5-1.oc9.x86_64 + cd rand-0.6.5 + set -euo pipefail ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml name + CRATE_NAME=rand ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.6.5 + REG_DIR=/builddir/build/BUILDROOT/rust-rand0.6-0.6.5-1.oc9.x86_64/usr/share/cargo/registry/rand-0.6.5 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-rand0.6-0.6.5-1.oc9.x86_64/usr/share/cargo/registry/rand-0.6.5 + gawk -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 --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-rand0.6-0.6.5-1.oc9.x86_64/usr/share/cargo/registry/rand-0.6.5 warning: no (git) VCS found for `/builddir/build/BUILD/rand-0.6.5` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-rand0.6-0.6.5-1.oc9.x86_64/usr/share/cargo/registry/rand-0.6.5/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-rand0.6-0.6.5-1.oc9.x86_64/usr/share/cargo/registry/rand-0.6.5/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/OpenCloudOS/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/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: rust-rand0.6-devel-0.6.5-1.oc9.noarch warning: File listed twice: /usr/share/cargo/registry/rand-0.6.5/CHANGELOG.md warning: File listed twice: /usr/share/cargo/registry/rand-0.6.5/COPYRIGHT warning: File listed twice: /usr/share/cargo/registry/rand-0.6.5/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/rand-0.6.5/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/rand-0.6.5/README.md Provides: crate(rand) = 0.6.5 rust-rand0.6-devel = 0.6.5-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(autocfg/default) >= 1.0.0 with crate(autocfg/default) < 2.0.0~) (crate(libc) >= 0.2.0 with crate(libc) < 0.3.0~) (crate(rand_chacha/default) >= 0.1.0 with crate(rand_chacha/default) < 0.2.0~) (crate(rand_core/default) >= 0.4.0 with crate(rand_core/default) < 0.5.0~) (crate(rand_hc/default) >= 0.1.0 with crate(rand_hc/default) < 0.2.0~) (crate(rand_isaac/default) >= 0.1.0 with crate(rand_isaac/default) < 0.2.0~) (crate(rand_jitter/default) >= 0.1.0 with crate(rand_jitter/default) < 0.2.0~) (crate(rand_pcg/default) >= 0.1.0 with crate(rand_pcg/default) < 0.2.0~) (crate(rand_xorshift/default) >= 0.1.0 with crate(rand_xorshift/default) < 0.2.0~) cargo Processing files: rust-rand0.6+default-devel-0.6.5-1.oc9.noarch Provides: crate(rand/default) = 0.6.5 rust-rand0.6+default-devel = 0.6.5-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(rand) = 0.6.5 crate(rand/std) = 0.6.5 Processing files: rust-rand0.6+alloc-devel-0.6.5-1.oc9.noarch Provides: crate(rand/alloc) = 0.6.5 rust-rand0.6+alloc-devel = 0.6.5-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(rand_core/alloc) >= 0.4.0 with crate(rand_core/alloc) < 0.5.0~) cargo crate(rand) = 0.6.5 Processing files: rust-rand0.6+i128_support-devel-0.6.5-1.oc9.noarch Provides: crate(rand/i128_support) = 0.6.5 rust-rand0.6+i128_support-devel = 0.6.5-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(rand) = 0.6.5 Processing files: rust-rand0.6+log-devel-0.6.5-1.oc9.noarch Provides: crate(rand/log) = 0.6.5 rust-rand0.6+log-devel = 0.6.5-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(log/default) >= 0.4.0 with crate(log/default) < 0.5.0~) cargo crate(rand) = 0.6.5 Processing files: rust-rand0.6+rand_os-devel-0.6.5-1.oc9.noarch Provides: crate(rand/rand_os) = 0.6.5 rust-rand0.6+rand_os-devel = 0.6.5-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(rand_os/default) >= 0.1.0 with crate(rand_os/default) < 0.2.0~) cargo crate(rand) = 0.6.5 Processing files: rust-rand0.6+serde1-devel-0.6.5-1.oc9.noarch Provides: crate(rand/serde1) = 0.6.5 rust-rand0.6+serde1-devel = 0.6.5-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(rand_core/serde1) >= 0.4.0 with crate(rand_core/serde1) < 0.5.0~) (crate(rand_isaac/serde1) >= 0.1.0 with crate(rand_isaac/serde1) < 0.2.0~) (crate(rand_xorshift/serde1) >= 0.1.0 with crate(rand_xorshift/serde1) < 0.2.0~) cargo crate(rand) = 0.6.5 Processing files: rust-rand0.6+std-devel-0.6.5-1.oc9.noarch Provides: crate(rand/std) = 0.6.5 rust-rand0.6+std-devel = 0.6.5-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(rand_core/std) >= 0.4.0 with crate(rand_core/std) < 0.5.0~) (crate(rand_jitter/std) >= 0.1.0 with crate(rand_jitter/std) < 0.2.0~) cargo crate(rand) = 0.6.5 crate(rand/alloc) = 0.6.5 crate(rand/rand_os) = 0.6.5 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-rand0.6-0.6.5-1.oc9.x86_64 Wrote: /builddir/build/SRPMS/rust-rand0.6-0.6.5-1.oc9.src.rpm Wrote: /builddir/build/RPMS/rust-rand0.6+default-devel-0.6.5-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-rand0.6+serde1-devel-0.6.5-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-rand0.6+log-devel-0.6.5-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-rand0.6+std-devel-0.6.5-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-rand0.6+i128_support-devel-0.6.5-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-rand0.6+alloc-devel-0.6.5-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-rand0.6+rand_os-devel-0.6.5-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-rand0.6-devel-0.6.5-1.oc9.noarch.rpm RPM build warnings: File listed twice: /usr/share/cargo/registry/rand-0.6.5/CHANGELOG.md File listed twice: /usr/share/cargo/registry/rand-0.6.5/COPYRIGHT File listed twice: /usr/share/cargo/registry/rand-0.6.5/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/rand-0.6.5/LICENSE-MIT File listed twice: /usr/share/cargo/registry/rand-0.6.5/README.md Child return code was: 0