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-maxminddb-0.23.0-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.5v0c8j sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.AQXQjP + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build + rm -rf maxminddb-0.23.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/maxminddb-0.23.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd maxminddb-0.23.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/test-data-a8ae5b4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/maxminddb-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + mv MaxMind-DB-a8ae5b4ac0aa730e2783f708cdaa208aca20e9ec test-data + 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.kKaE9D + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build + cd maxminddb-0.23.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.BxX2kA + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.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 maxminddb-0.23.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 proc-macro2 v1.0.94 Compiling unicode-ident v1.0.18 Compiling serde v1.0.217 Compiling memchr v2.7.4 Compiling log v0.4.26 Running `/usr/bin/rustc --crate-name unicode_ident --edition=2018 /usr/share/cargo/registry/unicode-ident-1.0.18/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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=adcecc07420fd8e7 -C extra-filename=-e45ede29ac9488f1 --out-dir /home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.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 build_script_build --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.94/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="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "proc-macro", "span-locations"))' -C metadata=bd4599744536b08f -C extra-filename=-15d1b7bd054a668b --out-dir /home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/build/proc-macro2-15d1b7bd054a668b -L dependency=/home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.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 memchr --edition=2021 /usr/share/cargo/registry/memchr-2.7.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="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "compiler_builtins", "core", "default", "libc", "logging", "rustc-dep-of-std", "std", "use_std"))' -C metadata=c177c15078baeca2 -C extra-filename=-221c72cd6ff7c780 --out-dir /home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.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 log --edition=2021 /usr/share/cargo/registry/log-0.4.26/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("kv", "max_level_debug", "max_level_error", "max_level_info", "max_level_off", "max_level_trace", "max_level_warn", "release_max_level_debug", "release_max_level_error", "release_max_level_info", "release_max_level_off", "release_max_level_trace", "release_max_level_warn", "serde", "std"))' -C metadata=081303fc207f2870 -C extra-filename=-d36e7413773bcebc --out-dir /home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.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 build_script_build --edition=2018 /usr/share/cargo/registry/serde-1.0.217/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="derive"' --cfg 'feature="serde_derive"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "derive", "rc", "serde_derive", "std", "unstable"))' -C metadata=d7a9ffe49e7ca34f -C extra-filename=-fb7c56fb78f3b21a --out-dir /home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/build/serde-fb7c56fb78f3b21a -L dependency=/home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/build/proc-macro2-15d1b7bd054a668b/build-script-build` Running `/home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/build/serde-fb7c56fb78f3b21a/build-script-build` Running `/usr/bin/rustc --crate-name proc_macro2 --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.94/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="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "proc-macro", "span-locations"))' -C metadata=0d1cffb056ee9986 -C extra-filename=-c6f8f1e514247a5d --out-dir /home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/deps --extern unicode_ident=/home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/deps/libunicode_ident-e45ede29ac9488f1.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg wrap_proc_macro --cfg proc_macro_span --check-cfg 'cfg(fuzzing)' --check-cfg 'cfg(no_is_available)' --check-cfg 'cfg(no_literal_byte_character)' --check-cfg 'cfg(no_literal_c_string)' --check-cfg 'cfg(no_source_text)' --check-cfg 'cfg(proc_macro_span)' --check-cfg 'cfg(procmacro2_backtrace)' --check-cfg 'cfg(procmacro2_nightly_testing)' --check-cfg 'cfg(procmacro2_semver_exempt)' --check-cfg 'cfg(randomize_layout)' --check-cfg 'cfg(span_locations)' --check-cfg 'cfg(super_unstable)' --check-cfg 'cfg(wrap_proc_macro)'` Compiling quote v1.0.40 Running `/usr/bin/rustc --crate-name quote --edition=2018 /usr/share/cargo/registry/quote-1.0.40/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="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "proc-macro"))' -C metadata=7a8eafe1a79f77a9 -C extra-filename=-8a853e2baa7727fb --out-dir /home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/deps/libproc_macro2-c6f8f1e514247a5d.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling syn v2.0.100 Running `/usr/bin/rustc --crate-name syn --edition=2021 /usr/share/cargo/registry/syn-2.0.100/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="clone-impls"' --cfg 'feature="derive"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("clone-impls", "default", "derive", "extra-traits", "fold", "full", "parsing", "printing", "proc-macro", "test", "visit", "visit-mut"))' -C metadata=0ba0c66ac4b9e277 -C extra-filename=-cffbe7683f5c9bb0 --out-dir /home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/deps/libproc_macro2-c6f8f1e514247a5d.rmeta --extern quote=/home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/deps/libquote-8a853e2baa7727fb.rmeta --extern unicode_ident=/home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/deps/libunicode_ident-e45ede29ac9488f1.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling serde_derive v1.0.217 Running `/usr/bin/rustc --crate-name serde_derive --edition=2015 /usr/share/cargo/registry/serde_derive-1.0.217/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 --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "deserialize_in_place"))' -C metadata=a2f98afb93056b87 -C extra-filename=-b2755576fe495cd8 --out-dir /home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/deps/libproc_macro2-c6f8f1e514247a5d.rlib --extern quote=/home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/deps/libquote-8a853e2baa7727fb.rlib --extern syn=/home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/deps/libsyn-cffbe7683f5c9bb0.rlib --extern proc_macro --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name serde --edition=2018 /usr/share/cargo/registry/serde-1.0.217/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="derive"' --cfg 'feature="serde_derive"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "derive", "rc", "serde_derive", "std", "unstable"))' -C metadata=9e848bb02a63f926 -C extra-filename=-89a8cf29d5b43265 --out-dir /home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/deps --extern serde_derive=/home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/deps/libserde_derive-b2755576fe495cd8.so --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --check-cfg 'cfg(no_core_cstr)' --check-cfg 'cfg(no_core_error)' --check-cfg 'cfg(no_core_net)' --check-cfg 'cfg(no_core_num_saturating)' --check-cfg 'cfg(no_core_try_from)' --check-cfg 'cfg(no_diagnostic_namespace)' --check-cfg 'cfg(no_float_copysign)' --check-cfg 'cfg(no_num_nonzero_signed)' --check-cfg 'cfg(no_relaxed_trait_bounds)' --check-cfg 'cfg(no_serde_derive)' --check-cfg 'cfg(no_std_atomic)' --check-cfg 'cfg(no_std_atomic64)' --check-cfg 'cfg(no_systemtime_checked_add)' --check-cfg 'cfg(no_target_has_atomic)'` Compiling ipnetwork v0.20.0 Running `/usr/bin/rustc --crate-name ipnetwork --edition=2021 /usr/share/cargo/registry/ipnetwork-0.20.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 --cfg 'feature="default"' --cfg 'feature="serde"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "serde"))' -C metadata=3641d98fbc800ac9 -C extra-filename=-175c087cd73ee7de --out-dir /home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/deps --extern serde=/home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/deps/libserde-89a8cf29d5b43265.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling maxminddb v0.23.0 (/home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0) Running `/usr/bin/rustc --crate-name maxminddb --edition=2021 src/maxminddb/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"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "memmap2", "mmap", "unsafe-str-decode"))' -C metadata=5979518e124112d0 -C extra-filename=-6af16c36809f6ad4 --out-dir /home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/deps --extern ipnetwork=/home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/deps/libipnetwork-175c087cd73ee7de.rmeta --extern log=/home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/deps/liblog-d36e7413773bcebc.rmeta --extern memchr=/home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/deps/libmemchr-221c72cd6ff7c780.rmeta --extern serde=/home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/deps/libserde-89a8cf29d5b43265.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: elided lifetime has a name --> src/maxminddb/lib.rs:320:66 | 218 | impl<'de, S: AsRef<[u8]>> Reader { | --- lifetime `'de` declared here ... 320 | pub fn within(&'de self, cidr: IpNetwork) -> Result, MaxMindDBError> | ^ this elided lifetime gets resolved as `'de` | = note: `#[warn(elided_named_lifetimes)]` on by default warning: `maxminddb` (lib) generated 1 warning Finished `rpm` profile [optimized + debuginfo] target(s) in 31.98s + 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.JqXnkt + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.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 maxminddb-0.23.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=maxminddb ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.23.0 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/BUILDROOT/usr/share/cargo/registry/maxminddb-0.23.0 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/BUILDROOT/usr/share/cargo/registry/maxminddb-0.23.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-maxminddb-0.23.0-build/BUILDROOT/usr/share/cargo/registry/maxminddb-0.23.0 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/BUILDROOT/usr/share/cargo/registry/maxminddb-0.23.0/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/BUILDROOT/usr/share/cargo/registry/maxminddb-0.23.0/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 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.fk5ISc + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.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 maxminddb-0.23.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 error: failed to select a version for the requirement `rand = "^0.8"` 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 `fake v2.9.2` ... which satisfies dependency `fake = "^2.4"` of package `maxminddb v0.23.0 (/home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.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.fk5ISc (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.fk5ISc (%check) I: [iurt_root_command] ERROR: chroot