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-mailparse-0.15.0-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.w7QxCB sh: line 4: [: -j8: integer expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.YnTnRb + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.15.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.15.0-build + rm -rf mailparse-0.15.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/mailparse-0.15.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd mailparse-0.15.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/mailparse-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 expected Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.G3RtDQ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.15.0-build + cd mailparse-0.15.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.EwXxjx + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.15.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 mailparse-0.15.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.1 Compiling base64 v0.13.1 Compiling quoted_printable v0.5.1 Compiling data-encoding v2.6.0 Running `/usr/bin/rustc --crate-name cfg_if --edition=2018 /usr/share/cargo/registry/cfg-if-1.0.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("core", "rustc-dep-of-std"))' -C metadata=d15e1610e28af61d -C extra-filename=-248c37a1e6f75f0e --out-dir /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.15.0-build/mailparse-0.15.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.15.0-build/mailparse-0.15.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 base64 --edition=2018 /usr/share/cargo/registry/base64-0.13.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "std"))' -C metadata=065ce50b3541bd3e -C extra-filename=-01e4012dd039b42f --out-dir /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.15.0-build/mailparse-0.15.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.15.0-build/mailparse-0.15.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 quoted_printable --edition=2018 /usr/share/cargo/registry/quoted_printable-0.5.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=b94506ea91b6c85b -C extra-filename=-c26dd873f8586bde --out-dir /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.15.0-build/mailparse-0.15.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.15.0-build/mailparse-0.15.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 data_encoding --edition=2018 /usr/share/cargo/registry/data-encoding-2.6.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="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "std"))' -C metadata=0b330e67d24e7c4c -C extra-filename=-0c4fe2d5016a4d0e --out-dir /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.15.0-build/mailparse-0.15.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.15.0-build/mailparse-0.15.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling encoding_rs v0.8.35 Running `/usr/bin/rustc --crate-name encoding_rs --edition=2018 /usr/share/cargo/registry/encoding_rs-0.8.35/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"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "any_all_workaround", "default", "fast-big5-hanzi-encode", "fast-gb-hanzi-encode", "fast-hangul-encode", "fast-hanja-encode", "fast-kanji-encode", "fast-legacy-encode", "less-slow-big5-hanzi-encode", "less-slow-gb-hanzi-encode", "less-slow-kanji-encode", "serde", "simd-accel"))' -C metadata=d6045dd5eeb1a9ae -C extra-filename=-39c0052530533342 --out-dir /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.15.0-build/mailparse-0.15.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.15.0-build/mailparse-0.15.0/target/rpm/deps --extern cfg_if=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.15.0-build/mailparse-0.15.0/target/rpm/deps/libcfg_if-248c37a1e6f75f0e.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling charset v0.1.3 Running `/usr/bin/rustc --crate-name charset --edition=2018 /usr/share/cargo/registry/charset-0.1.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("serde"))' -C metadata=0e1f886b4a656723 -C extra-filename=-13b163f677885e84 --out-dir /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.15.0-build/mailparse-0.15.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.15.0-build/mailparse-0.15.0/target/rpm/deps --extern base64=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.15.0-build/mailparse-0.15.0/target/rpm/deps/libbase64-01e4012dd039b42f.rmeta --extern encoding_rs=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.15.0-build/mailparse-0.15.0/target/rpm/deps/libencoding_rs-39c0052530533342.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling mailparse v0.15.0 (/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.15.0-build/mailparse-0.15.0) Running `/usr/bin/rustc --crate-name mailparse --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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=03bed3af5efe6436 -C extra-filename=-1ab90d3cce0581bd --out-dir /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.15.0-build/mailparse-0.15.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.15.0-build/mailparse-0.15.0/target/rpm/deps --extern charset=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.15.0-build/mailparse-0.15.0/target/rpm/deps/libcharset-13b163f677885e84.rmeta --extern data_encoding=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.15.0-build/mailparse-0.15.0/target/rpm/deps/libdata_encoding-0c4fe2d5016a4d0e.rmeta --extern quoted_printable=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.15.0-build/mailparse-0.15.0/target/rpm/deps/libquoted_printable-c26dd873f8586bde.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:190:24 | 190 | pub fn get_key_ref(&self) -> Cow { | ^^^^^ -------- the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 190 | pub fn get_key_ref(&self) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:330:31 | 330 | pub fn parse_header(raw_data: &[u8]) -> Result<(MailHeader, usize), MailParseError> { | ^^^^^ ---------- the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 330 | pub fn parse_header(raw_data: &[u8]) -> Result<(MailHeader<'_>, usize), MailParseError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:449:25 | 449 | fn get_first_header(&self, key: &str) -> Option<&MailHeader>; | ^^^^^ ----------- | | || | | |the same lifetime is hidden here | | the same lifetime is elided here | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 449 | fn get_first_header(&self, key: &str) -> Option<&MailHeader<'_>>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:471:24 | 471 | fn get_all_headers(&self, key: &str) -> Vec<&MailHeader>; | ^^^^^ ----------- | | || | | |the same lifetime is hidden here | | the same lifetime is elided here | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 471 | fn get_all_headers(&self, key: &str) -> Vec<&MailHeader<'_>>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:484:25 | 484 | fn get_first_header(&self, key: &str) -> Option<&MailHeader> { | ^^^^^ ----------- | | || | | |the same lifetime is hidden here | | the same lifetime is elided here | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 484 | fn get_first_header(&self, key: &str) -> Option<&MailHeader<'_>> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:499:24 | 499 | fn get_all_headers(&self, key: &str) -> Vec<&MailHeader> { | ^^^^^ ----------- | | || | | |the same lifetime is hidden here | | the same lifetime is elided here | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 499 | fn get_all_headers(&self, key: &str) -> Vec<&MailHeader<'_>> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:533:32 | 533 | pub fn parse_headers(raw_data: &[u8]) -> Result<(Vec, usize), MailParseError> { | ^^^^^ ---------- the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 533 | pub fn parse_headers(raw_data: &[u8]) -> Result<(Vec>, usize), MailParseError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:931:29 | 931 | pub fn parse_mail(raw_data: &[u8]) -> Result { | ^^^^^ ---------- the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 931 | pub fn parse_mail(raw_data: &[u8]) -> Result, MailParseError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:936:15 | 936 | raw_data: &[u8], | ^^^^^ the lifetime is elided here 937 | in_multipart_digest: bool, 938 | ) -> Result { | ---------- the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 938 | ) -> Result, MailParseError> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/header.rs:75:31 | 75 | fn tokenize_header_line(line: &str) -> Vec { | ^^^^ ----------- the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 75 | fn tokenize_header_line(line: &str) -> Vec> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/header.rs:76:31 | 76 | fn maybe_whitespace(text: &str) -> HeaderToken { | ^^^^ ----------- the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 76 | fn maybe_whitespace(text: &str) -> HeaderToken<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/header.rs:137:27 | 137 | fn tokenize_header(value: &str) -> Vec { | ^^^^ ----------- the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 137 | fn tokenize_header(value: &str) -> Vec> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/header.rs:219:37 | 219 | pub fn normalized_tokens(raw_value: &str) -> Vec { | ^^^^ ----------- the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 219 | pub fn normalized_tokens(raw_value: &str) -> Vec> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/headers.rs:99:25 | 99 | fn get_first_header(&self, key: &str) -> Option<&MailHeader> { | ^^^^^ ----------- | | || | | |the same lifetime is hidden here | | the same lifetime is elided here | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 99 | fn get_first_header(&self, key: &str) -> Option<&MailHeader<'_>> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/headers.rs:117:24 | 117 | fn get_all_headers(&self, key: &str) -> Vec<&MailHeader> { | ^^^^^ ----------- | | || | | |the same lifetime is hidden here | | the same lifetime is elided here | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 117 | fn get_all_headers(&self, key: &str) -> Vec<&MailHeader<'_>> { | ++++ warning: `mailparse` (lib) generated 15 warnings Finished `rpm` profile [optimized + debuginfo] target(s) in 7.17s + 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.zrdOg7 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.15.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.15.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.15.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.15.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.15.0-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.15.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 mailparse-0.15.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=mailparse ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.15.0 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.15.0-build/BUILDROOT/usr/share/cargo/registry/mailparse-0.15.0 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.15.0-build/BUILDROOT/usr/share/cargo/registry/mailparse-0.15.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-mailparse-0.15.0-build/BUILDROOT/usr/share/cargo/registry/mailparse-0.15.0 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.15.0-build/mailparse-0.15.0` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.15.0-build/BUILDROOT/usr/share/cargo/registry/mailparse-0.15.0/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.15.0-build/BUILDROOT/usr/share/cargo/registry/mailparse-0.15.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.3lRfIZ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-mailparse-0.15.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 mailparse-0.15.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 `itertools = "^0.13.0"` candidate versions found which didn't match: 0.14.0 location searched: directory source `/usr/share/cargo/registry` (which is replacing registry `crates-io`) required by package `ouroboros_macro v0.18.4` ... which satisfies dependency `ouroboros_macro = "^0.18.4"` of package `ouroboros v0.18.4` ... which satisfies dependency `ouroboros = ">=0.17.0, <0.19.0"` of package `mailparse v0.15.0 (/home/pterjan/rpmbuild/BUILD/rust-mailparse-0.15.0-build/mailparse-0.15.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.3lRfIZ (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.3lRfIZ (%check) I: [iurt_root_command] ERROR: chroot