D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch sh: line 4: [: -j8: integer 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.ptSIDD sh: line 4: [: -j8: integer expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.0eXzvS + 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 expected Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.DM99oP + 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 expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.YVYX8h + 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.95 Compiling unicode-ident v1.0.18 Compiling serde v1.0.219 Compiling memchr v2.7.5 Compiling log v0.4.27 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.95/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=0c71165705157c9e -C extra-filename=-9022361f875c32da --out-dir /home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/build/proc-macro2-9022361f875c32da -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 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=d056c812c33466a6 -C extra-filename=-7e20d0fe5993d5bb --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.219/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=410681fe9018f3f2 -C extra-filename=-e19b97d85443a148 --out-dir /home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/build/serde-e19b97d85443a148 -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.5/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", "core", "default", "libc", "logging", "rustc-dep-of-std", "std", "use_std"))' -C metadata=642523bb2dcb0ded -C extra-filename=-4db46ae1b03a706a --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.27/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=3ae60979f3f39e86 -C extra-filename=-ba5a7a89c4216fa8 --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 `/home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/build/serde-e19b97d85443a148/build-script-build` Running `/home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/build/proc-macro2-9022361f875c32da/build-script-build` Running `/usr/bin/rustc --crate-name proc_macro2 --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.95/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=b04185b27c9816f5 -C extra-filename=-8e087867758c997f --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-7e20d0fe5993d5bb.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=ba7b46a163d0fe93 -C extra-filename=-aab5bb487e630d9e --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-8e087867758c997f.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling syn v2.0.104 Running `/usr/bin/rustc --crate-name syn --edition=2021 /usr/share/cargo/registry/syn-2.0.104/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=14edde228a21c84a -C extra-filename=-d0a7daba4ee9f97c --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-8e087867758c997f.rmeta --extern quote=/home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/deps/libquote-aab5bb487e630d9e.rmeta --extern unicode_ident=/home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/deps/libunicode_ident-7e20d0fe5993d5bb.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling serde_derive v1.0.219 Running `/usr/bin/rustc --crate-name serde_derive --edition=2015 /usr/share/cargo/registry/serde_derive-1.0.219/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=87d082d73f5eed2b -C extra-filename=-42ffa270aab7fd82 --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-8e087867758c997f.rlib --extern quote=/home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/deps/libquote-aab5bb487e630d9e.rlib --extern syn=/home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/deps/libsyn-d0a7daba4ee9f97c.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.219/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=f9ba1c84684a6305 -C extra-filename=-1f6061b5a3f5ba9e --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-42ffa270aab7fd82.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=d3de80047a54840e -C extra-filename=-ed42180d87f15d63 --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-1f6061b5a3f5ba9e.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=71784d1777d0f7b3 -C extra-filename=-3c30f129b2f8a402 --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-ed42180d87f15d63.rmeta --extern log=/home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/deps/liblog-ba5a7a89c4216fa8.rmeta --extern memchr=/home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/deps/libmemchr-4db46ae1b03a706a.rmeta --extern serde=/home/pterjan/rpmbuild/BUILD/rust-maxminddb-0.23.0-build/maxminddb-0.23.0/target/rpm/deps/libserde-1f6061b5a3f5ba9e.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: hiding a lifetime that's named elsewhere is confusing --> src/maxminddb/lib.rs:320:23 | 320 | pub fn within(&'de self, cidr: IpNetwork) -> Result, MaxMindDBError> | ^^^ the lifetime is named here ------------ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: consistently use `'de` | 320 | pub fn within(&'de self, cidr: IpNetwork) -> Result, MaxMindDBError> | ++++ warning: `maxminddb` (lib) generated 1 warning Finished `rpm` profile [optimized + debuginfo] target(s) in 36.35s + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expected sh: line 4: [: -j8: integer expected Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.T0a6vc + 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 expected Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.MIklfJ + 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.2 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 `--offline`. error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.MIklfJ (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.MIklfJ (%check) I: [iurt_root_command] ERROR: chroot