D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/rust-clap2-2.34.0-1.mga9.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.4yQh9S + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf clap-2.34.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/clap-2.34.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd clap-2.34.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/clap-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + set -eu + /usr/bin/mkdir -p .cargo + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.nv9KCj + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd clap-2.34.0 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.8DHYOZ + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd clap-2.34.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 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' /usr/bin/cargo build -j8 -Z avoid-dev-deps --release error: failed to select a version for the requirement `bitflags = "^1.0"` candidate versions found which didn't match: 2.0.2 location searched: directory source `/usr/share/cargo/registry` (which is replacing registry `crates-io`) required by package `clap v2.34.0 (/home/pterjan/rpmbuild/BUILD/clap-2.34.0)` perhaps a crate was updated and forgotten to be re-vendored? error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.8DHYOZ (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.8DHYOZ (%build) I: [iurt_root_command] ERROR: chroot