D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/rust-ruzstd-0.7.0-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.DbouN8 sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.c0cPN1 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-ruzstd-0.7.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-ruzstd-0.7.0-build + rm -rf ruzstd-0.7.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/ruzstd-0.7.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd ruzstd-0.7.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/ruzstd-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 sh: line 4: [: -j8: integer expression expected Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.SvJZUn + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-ruzstd-0.7.0-build + cd ruzstd-0.7.0 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.zEoIZt + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-ruzstd-0.7.0-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ruzstd-0.7.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /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 -j48 -Z avoid-dev-deps --profile rpm Compiling cfg-if v1.0.0 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 opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("compiler_builtins", "core", "rustc-dep-of-std"))' -C metadata=d0d5fe105289cea2 -C extra-filename=-ec6a769025b5f44f --out-dir /home/pterjan/rpmbuild/BUILD/rust-ruzstd-0.7.0-build/ruzstd-0.7.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-ruzstd-0.7.0-build/ruzstd-0.7.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling static_assertions v1.1.0 Compiling byteorder v1.5.0 Running `/usr/bin/rustc --crate-name static_assertions --edition=2015 /usr/share/cargo/registry/static_assertions-1.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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("nightly"))' -C metadata=530fb6cab94aeb02 -C extra-filename=-b3f5373702d6157f --out-dir /home/pterjan/rpmbuild/BUILD/rust-ruzstd-0.7.0-build/ruzstd-0.7.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-ruzstd-0.7.0-build/ruzstd-0.7.0/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 byteorder --edition=2021 /usr/share/cargo/registry/byteorder-1.5.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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "i128", "std"))' -C metadata=77d557beac9b1d78 -C extra-filename=-b8910cacd50b495c --out-dir /home/pterjan/rpmbuild/BUILD/rust-ruzstd-0.7.0-build/ruzstd-0.7.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-ruzstd-0.7.0-build/ruzstd-0.7.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling twox-hash v1.6.3 Running `/usr/bin/rustc --crate-name twox_hash --edition=2018 /usr/share/cargo/registry/twox-hash-1.6.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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "digest", "digest_0_10", "digest_0_9", "rand", "serde", "serialize", "std"))' -C metadata=9148096ffd9ad736 -C extra-filename=-7b8029fe6397ac06 --out-dir /home/pterjan/rpmbuild/BUILD/rust-ruzstd-0.7.0-build/ruzstd-0.7.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-ruzstd-0.7.0-build/ruzstd-0.7.0/target/rpm/deps --extern cfg_if=/home/pterjan/rpmbuild/BUILD/rust-ruzstd-0.7.0-build/ruzstd-0.7.0/target/rpm/deps/libcfg_if-ec6a769025b5f44f.rmeta --extern static_assertions=/home/pterjan/rpmbuild/BUILD/rust-ruzstd-0.7.0-build/ruzstd-0.7.0/target/rpm/deps/libstatic_assertions-b3f5373702d6157f.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling ruzstd v0.7.0 (/home/pterjan/rpmbuild/BUILD/rust-ruzstd-0.7.0-build/ruzstd-0.7.0) Running `/usr/bin/rustc --crate-name ruzstd --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 --cfg 'feature="default"' --cfg 'feature="hash"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "hash", "std"))' -C metadata=d7a938489c1f541e -C extra-filename=-4c2f73c01dd0a131 --out-dir /home/pterjan/rpmbuild/BUILD/rust-ruzstd-0.7.0-build/ruzstd-0.7.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-ruzstd-0.7.0-build/ruzstd-0.7.0/target/rpm/deps --extern byteorder=/home/pterjan/rpmbuild/BUILD/rust-ruzstd-0.7.0-build/ruzstd-0.7.0/target/rpm/deps/libbyteorder-b8910cacd50b495c.rmeta --extern twox_hash=/home/pterjan/rpmbuild/BUILD/rust-ruzstd-0.7.0-build/ruzstd-0.7.0/target/rpm/deps/libtwox_hash-7b8029fe6397ac06.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: elided lifetime has a name --> src/decoding/bit_reader.rs:51:47 | 50 | impl<'s> BitReader<'s> { | -- lifetime `'s` declared here 51 | pub fn new(source: &'s [u8]) -> BitReader<'_> { | ^^ this elided lifetime gets resolved as `'s` | = note: `#[warn(elided_named_lifetimes)]` on by default warning: elided lifetime has a name --> src/decoding/bit_reader_reverse.rs:24:55 | 18 | impl<'s> BitReaderReversed<'s> { | -- lifetime `'s` declared here ... 24 | pub fn new(source: &'s [u8]) -> BitReaderReversed<'_> { | ^^ this elided lifetime gets resolved as `'s` warning: elided lifetime has a name --> src/fse/fse_decoder.rs:169:51 | 167 | impl<'t> FSEDecoder<'t> { | -- lifetime `'t` declared here 168 | /// Initialize a new Finite State Entropy decoder. 169 | pub fn new(table: &'t FSETable) -> FSEDecoder<'_> { | ^^ this elided lifetime gets resolved as `'t` warning: `ruzstd` (lib) generated 3 warnings Running `/usr/bin/rustc --crate-name zstd_stream --edition=2018 src/bin/zstd_stream.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="default"' --cfg 'feature="hash"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "hash", "std"))' -C metadata=f62e9b824725cce2 -C extra-filename=-c66c8d5e7c490773 --out-dir /home/pterjan/rpmbuild/BUILD/rust-ruzstd-0.7.0-build/ruzstd-0.7.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-ruzstd-0.7.0-build/ruzstd-0.7.0/target/rpm/deps --extern byteorder=/home/pterjan/rpmbuild/BUILD/rust-ruzstd-0.7.0-build/ruzstd-0.7.0/target/rpm/deps/libbyteorder-b8910cacd50b495c.rlib --extern ruzstd=/home/pterjan/rpmbuild/BUILD/rust-ruzstd-0.7.0-build/ruzstd-0.7.0/target/rpm/deps/libruzstd-4c2f73c01dd0a131.rlib --extern twox_hash=/home/pterjan/rpmbuild/BUILD/rust-ruzstd-0.7.0-build/ruzstd-0.7.0/target/rpm/deps/libtwox_hash-7b8029fe6397ac06.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name zstd --edition=2018 src/bin/zstd.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="default"' --cfg 'feature="hash"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "hash", "std"))' -C metadata=4869a71be3f8c51d -C extra-filename=-5911fd5cccc0e2f4 --out-dir /home/pterjan/rpmbuild/BUILD/rust-ruzstd-0.7.0-build/ruzstd-0.7.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-ruzstd-0.7.0-build/ruzstd-0.7.0/target/rpm/deps --extern byteorder=/home/pterjan/rpmbuild/BUILD/rust-ruzstd-0.7.0-build/ruzstd-0.7.0/target/rpm/deps/libbyteorder-b8910cacd50b495c.rlib --extern ruzstd=/home/pterjan/rpmbuild/BUILD/rust-ruzstd-0.7.0-build/ruzstd-0.7.0/target/rpm/deps/libruzstd-4c2f73c01dd0a131.rlib --extern twox_hash=/home/pterjan/rpmbuild/BUILD/rust-ruzstd-0.7.0-build/ruzstd-0.7.0/target/rpm/deps/libtwox_hash-7b8029fe6397ac06.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Finished `rpm` profile [optimized + debuginfo] target(s) in 4.34s + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.8DHTzr + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-ruzstd-0.7.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-ruzstd-0.7.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-ruzstd-0.7.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-ruzstd-0.7.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-ruzstd-0.7.0-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-ruzstd-0.7.0-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ruzstd-0.7.0 + '[' 1 -eq 1 ']' + 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=ruzstd ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.7.0 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-ruzstd-0.7.0-build/BUILDROOT/usr/share/cargo/registry/ruzstd-0.7.0 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-ruzstd-0.7.0-build/BUILDROOT/usr/share/cargo/registry/ruzstd-0.7.0 + /usr/bin/awk -i inplace -v INPLACE_SUFFIX=.deps '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --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 /home/pterjan/rpmbuild/BUILD/rust-ruzstd-0.7.0-build/BUILDROOT/usr/share/cargo/registry/ruzstd-0.7.0 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-ruzstd-0.7.0-build/ruzstd-0.7.0` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-ruzstd-0.7.0-build/BUILDROOT/usr/share/cargo/registry/ruzstd-0.7.0/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-ruzstd-0.7.0-build/BUILDROOT/usr/share/cargo/registry/ruzstd-0.7.0/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 1 -eq 1 ']' + '[' 0 -eq 1 ']' + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j48 + /usr/lib/rpm/redhat/brp-python-hardlink sh: line 4: [: -j8: integer expression expected Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.kMl8vp + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-ruzstd-0.7.0-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ruzstd-0.7.0 + '[' 1 -eq 1 ']' + /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 -j48 -Z avoid-dev-deps --profile rpm --no-fail-fast -- --exact --skip tests::decode_corpus::test_decode_corpus_files --skip tests::dict_test::test_dict_decoding --skip tests::fuzz_regressions::test_all_artifacts --skip tests::test_block_header_reading --skip tests::test_decode_from_to --skip tests::test_frame_decoder --skip tests::test_frame_header_reading --skip tests::test_specific_file --skip tests::test_streaming error: failed to select a version for the requirement `rand = "^0.8.5"` candidate versions found which didn't match: 0.9.0 location searched: directory source `/usr/share/cargo/registry` (which is replacing registry `crates-io`) required by package `ruzstd v0.7.0 (/home/pterjan/rpmbuild/BUILD/rust-ruzstd-0.7.0-build/ruzstd-0.7.0)` perhaps a crate was updated and forgotten to be re-vendored? As a reminder, you're using offline mode (--offline) which can sometimes cause surprising resolution failures, if this error is too confusing you may wish to retry without the offline flag. error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.kMl8vp (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.kMl8vp (%check) I: [iurt_root_command] ERROR: chroot