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-const-random.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-206904-14771/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=982gid=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-const-random.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-const-random-0.1.17-1.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-const-random.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-206904-14771/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-const-random.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.5F8Ume + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf const-random-0.1.17 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/const-random-0.1.17.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd const-random-0.1.17 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.bZc7ci + umask 022 + cd /builddir/build/BUILD + cd const-random-0.1.17 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-const-random-0.1.17-1.ocs23.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 /builddir/build/SPECS/rust-const-random.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-206904-14771/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-const-random.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.UawtzO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf const-random-0.1.17 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/const-random-0.1.17.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd const-random-0.1.17 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.lMF14P + umask 022 + cd /builddir/build/BUILD + cd const-random-0.1.17 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-const-random-0.1.17-1.ocs23.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 /builddir/build/SPECS/rust-const-random.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-206904-14771/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-const-random.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.UXxYxq + umask 022 + cd /builddir/build/BUILD + cd const-random-0.1.17 + /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.QBAiYs + 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 const-random-0.1.17 + /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 crunchy v0.2.2 Compiling libc v0.2.155 Compiling tiny-keccak v2.0.2 Compiling cfg-if v1.0.0 Compiling once_cell v1.19.0 Running `/usr/bin/rustc --crate-name build_script_build /usr/share/cargo/registry/crunchy-0.2.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 --cfg 'feature="default"' --cfg 'feature="limit_128"' -C metadata=7000151c90762f07 -C extra-filename=-7000151c90762f07 --out-dir /builddir/build/BUILD/const-random-0.1.17/target/rpm/build/crunchy-7000151c90762f07 -L dependency=/builddir/build/BUILD/const-random-0.1.17/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 /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 -C metadata=60f6205d6a1027d0 -C extra-filename=-60f6205d6a1027d0 --out-dir /builddir/build/BUILD/const-random-0.1.17/target/rpm/build/libc-60f6205d6a1027d0 -L dependency=/builddir/build/BUILD/const-random-0.1.17/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=2018 /usr/share/cargo/registry/tiny-keccak-2.0.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 --cfg 'feature="default"' --cfg 'feature="shake"' -C metadata=66cc653d09a51b02 -C extra-filename=-66cc653d09a51b02 --out-dir /builddir/build/BUILD/const-random-0.1.17/target/rpm/build/tiny-keccak-66cc653d09a51b02 -L dependency=/builddir/build/BUILD/const-random-0.1.17/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 cfg_if --edition=2018 /usr/share/cargo/registry/cfg-if-1.0.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=8dc760e3a0723480 -C extra-filename=-8dc760e3a0723480 --out-dir /builddir/build/BUILD/const-random-0.1.17/target/rpm/deps -L dependency=/builddir/build/BUILD/const-random-0.1.17/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 once_cell --edition=2021 /usr/share/cargo/registry/once_cell-1.19.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 --cfg 'feature="alloc"' --cfg 'feature="race"' -C metadata=970880b179a47dec -C extra-filename=-970880b179a47dec --out-dir /builddir/build/BUILD/const-random-0.1.17/target/rpm/deps -L dependency=/builddir/build/BUILD/const-random-0.1.17/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/builddir/build/BUILD/const-random-0.1.17/target/rpm/build/tiny-keccak-66cc653d09a51b02/build-script-build` Running `/builddir/build/BUILD/const-random-0.1.17/target/rpm/build/crunchy-7000151c90762f07/build-script-build` Running `/usr/bin/rustc --crate-name crunchy /usr/share/cargo/registry/crunchy-0.2.2/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 --cfg 'feature="default"' --cfg 'feature="limit_128"' -C metadata=64f735296eaa8ec7 -C extra-filename=-64f735296eaa8ec7 --out-dir /builddir/build/BUILD/const-random-0.1.17/target/rpm/deps -L dependency=/builddir/build/BUILD/const-random-0.1.17/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 tiny_keccak --edition=2018 /usr/share/cargo/registry/tiny-keccak-2.0.2/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 --cfg 'feature="default"' --cfg 'feature="shake"' -C metadata=a33a998a63a6df98 -C extra-filename=-a33a998a63a6df98 --out-dir /builddir/build/BUILD/const-random-0.1.17/target/rpm/deps -L dependency=/builddir/build/BUILD/const-random-0.1.17/target/rpm/deps --extern crunchy=/builddir/build/BUILD/const-random-0.1.17/target/rpm/deps/libcrunchy-64f735296eaa8ec7.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/builddir/build/BUILD/const-random-0.1.17/target/rpm/build/libc-60f6205d6a1027d0/build-script-build` Running `/usr/bin/rustc --crate-name libc /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 embed-bitcode=no -C debug-assertions=off -C metadata=d7201469f0e9ccde -C extra-filename=-d7201469f0e9ccde --out-dir /builddir/build/BUILD/const-random-0.1.17/target/rpm/deps -L dependency=/builddir/build/BUILD/const-random-0.1.17/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 getrandom v0.2.15 Running `/usr/bin/rustc --crate-name getrandom --edition=2018 /usr/share/cargo/registry/getrandom-0.2.15/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=65238628a7e5a3f5 -C extra-filename=-65238628a7e5a3f5 --out-dir /builddir/build/BUILD/const-random-0.1.17/target/rpm/deps -L dependency=/builddir/build/BUILD/const-random-0.1.17/target/rpm/deps --extern cfg_if=/builddir/build/BUILD/const-random-0.1.17/target/rpm/deps/libcfg_if-8dc760e3a0723480.rmeta --extern libc=/builddir/build/BUILD/const-random-0.1.17/target/rpm/deps/liblibc-d7201469f0e9ccde.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling const-random-macro v0.1.16 Running `/usr/bin/rustc --crate-name const_random_macro --edition=2018 /usr/share/cargo/registry/const-random-macro-0.1.16/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off -C metadata=b71f08b8dbed41ce -C extra-filename=-b71f08b8dbed41ce --out-dir /builddir/build/BUILD/const-random-0.1.17/target/rpm/deps -L dependency=/builddir/build/BUILD/const-random-0.1.17/target/rpm/deps --extern getrandom=/builddir/build/BUILD/const-random-0.1.17/target/rpm/deps/libgetrandom-65238628a7e5a3f5.rlib --extern once_cell=/builddir/build/BUILD/const-random-0.1.17/target/rpm/deps/libonce_cell-970880b179a47dec.rlib --extern tiny_keccak=/builddir/build/BUILD/const-random-0.1.17/target/rpm/deps/libtiny_keccak-a33a998a63a6df98.rlib --extern proc_macro --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling const-random v0.1.17 (/builddir/build/BUILD/const-random-0.1.17) Running `/usr/bin/rustc --crate-name const_random --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=b3ea7530410c505d -C extra-filename=-b3ea7530410c505d --out-dir /builddir/build/BUILD/const-random-0.1.17/target/rpm/deps -L dependency=/builddir/build/BUILD/const-random-0.1.17/target/rpm/deps --extern const_random_macro=/builddir/build/BUILD/const-random-0.1.17/target/rpm/deps/libconst_random_macro-b71f08b8dbed41ce.so -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Finished rpm [optimized + debuginfo] target(s) in 3.05s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.uZRJny + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-const-random-0.1.17-1.ocs23.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-const-random-0.1.17-1.ocs23.x86_64 ++ dirname /builddir/build/BUILDROOT/rust-const-random-0.1.17-1.ocs23.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-const-random-0.1.17-1.ocs23.x86_64 + cd const-random-0.1.17 + 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=const-random ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.1.17 + REG_DIR=/builddir/build/BUILDROOT/rust-const-random-0.1.17-1.ocs23.x86_64/usr/share/cargo/registry/const-random-0.1.17 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-const-random-0.1.17-1.ocs23.x86_64/usr/share/cargo/registry/const-random-0.1.17 + 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-const-random-0.1.17-1.ocs23.x86_64/usr/share/cargo/registry/const-random-0.1.17 warning: No (git) VCS found for `/builddir/build/BUILD/const-random-0.1.17` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-const-random-0.1.17-1.ocs23.x86_64/usr/share/cargo/registry/const-random-0.1.17/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-const-random-0.1.17-1.ocs23.x86_64/usr/share/cargo/registry/const-random-0.1.17/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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Oj2Sdy + 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 const-random-0.1.17 + /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 test -j32 -Z avoid-dev-deps --profile rpm --no-fail-fast Fresh libc v0.2.155 Fresh crunchy v0.2.2 Fresh cfg-if v1.0.0 Fresh once_cell v1.19.0 Fresh tiny-keccak v2.0.2 Fresh getrandom v0.2.15 Fresh const-random-macro v0.1.16 Compiling const-random v0.1.17 (/builddir/build/BUILD/const-random-0.1.17) Running `/usr/bin/rustc --crate-name const_random --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test -C metadata=fe6e67cc9b0f84fc -C extra-filename=-fe6e67cc9b0f84fc --out-dir /builddir/build/BUILD/const-random-0.1.17/target/rpm/deps -L dependency=/builddir/build/BUILD/const-random-0.1.17/target/rpm/deps --extern const_random_macro=/builddir/build/BUILD/const-random-0.1.17/target/rpm/deps/libconst_random_macro-b71f08b8dbed41ce.so -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name tests --edition=2018 tests/tests.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test -C metadata=fd5f5dd76330076b -C extra-filename=-fd5f5dd76330076b --out-dir /builddir/build/BUILD/const-random-0.1.17/target/rpm/deps -L dependency=/builddir/build/BUILD/const-random-0.1.17/target/rpm/deps --extern const_random=/builddir/build/BUILD/const-random-0.1.17/target/rpm/deps/libconst_random-b3ea7530410c505d.rlib --extern const_random_macro=/builddir/build/BUILD/const-random-0.1.17/target/rpm/deps/libconst_random_macro-b71f08b8dbed41ce.so -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` error: proc macro panicked --> tests/tests.rs:52:28 | 52 | const VALUE1: &[u8] = &const_random!([u8; 30]); | ^^^^^^^^^^^^^^^^^^^^^^^ | = help: message: Invalid type error: proc macro panicked --> tests/tests.rs:53:30 | 53 | const VALUE2: [u8; 30] = const_random!([u8; 30]); | ^^^^^^^^^^^^^^^^^^^^^^^ | = help: message: Invalid type error: could not compile `const-random` (test "tests") due to 2 previous errors Caused by: process didn't exit successfully: `/usr/bin/rustc --crate-name tests --edition=2018 tests/tests.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test -C metadata=fd5f5dd76330076b -C extra-filename=-fd5f5dd76330076b --out-dir /builddir/build/BUILD/const-random-0.1.17/target/rpm/deps -L dependency=/builddir/build/BUILD/const-random-0.1.17/target/rpm/deps --extern const_random=/builddir/build/BUILD/const-random-0.1.17/target/rpm/deps/libconst_random-b3ea7530410c505d.rlib --extern const_random_macro=/builddir/build/BUILD/const-random-0.1.17/target/rpm/deps/libconst_random_macro-b71f08b8dbed41ce.so -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` (exit status: 1) warning: build failed, waiting for other jobs to finish... error: Bad exit status from /var/tmp/rpm-tmp.Oj2Sdy (%check) Bad exit status from /var/tmp/rpm-tmp.Oj2Sdy (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-const-random.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 x86_64 --nodeps /builddir/build/SPECS/rust-const-random.spec