D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
sh: line 4: [: -j8: integer expression expected
sh: line 4: [: -j8: integer expression expected
Installing /home/pterjan/rpmbuild/SRPMS/rust-pulldown-cmark0.8-0.8.0-2.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.m0DxKX
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rust-pulldown-cmark0.8-0.8.0-build
+ test -d /home/pterjan/rpmbuild/BUILD/rust-pulldown-cmark0.8-0.8.0-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-pulldown-cmark0.8-0.8.0-build
+ /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/rust-pulldown-cmark0.8-0.8.0-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-pulldown-cmark0.8-0.8.0-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-pulldown-cmark0.8-0.8.0-build/SPECPARTS
+ RPM_EC=0
++ jobs -p
+ exit 0
sh: line 4: [: -j8: integer expression expected
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.HEo3En
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rust-pulldown-cmark0.8-0.8.0-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/rust-pulldown-cmark0.8-0.8.0-build
+ rm -rf pulldown-cmark-0.8.0
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/pulldown-cmark-0.8.0.crate
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd pulldown-cmark-0.8.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/pulldown-cmark-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.vWQJnP
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rust-pulldown-cmark0.8-0.8.0-build
+ cd pulldown-cmark-0.8.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.WomKEQ
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rust-pulldown-cmark0.8-0.8.0-build
+ cd pulldown-cmark-0.8.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
error: failed to select a version for the requirement `unicode-width = "^0.1.5"`
candidate versions found which didn't match: 0.2.0
location searched: directory source `/usr/share/cargo/registry` (which is replacing registry `crates-io`)
required by package `getopts v0.2.21`
    ... which satisfies dependency `getopts = "^0.2"` of package `pulldown-cmark v0.8.0 (/home/pterjan/rpmbuild/BUILD/rust-pulldown-cmark0.8-0.8.0-build/pulldown-cmark-0.8.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.WomKEQ (%build)

RPM build errors:
    Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.WomKEQ (%build)
I: [iurt_root_command] ERROR: chroot