D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
Installing /home/pterjan/rpmbuild/SRPMS/rust-cargo-options-0.7.2-1.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.2DHPno
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.v4MeTx
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rust-cargo-options-0.7.2-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/rust-cargo-options-0.7.2-build
+ rm -rf cargo-options-0.7.2
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/cargo-options-0.7.2.crate
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd cargo-options-0.7.2
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ 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
Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.jY6APP
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rust-cargo-options-0.7.2-build
+ cd cargo-options-0.7.2
+ /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.ZWlkto
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rust-cargo-options-0.7.2-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/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd cargo-options-0.7.2
+ '[' 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 -j16 -Z avoid-dev-deps --profile rpm
error: failed to select a version for the requirement `rustix = "^0.38.0"`
candidate versions found which didn't match: 1.0.3
location searched: directory source `/usr/share/cargo/registry` (which is replacing registry `crates-io`)
required by package `terminal_size v0.4.0`
    ... which satisfies dependency `terminal_size = "^0.4.0"` of package `clap_builder v4.5.31`
    ... which satisfies dependency `clap_builder = "=4.5.31"` of package `clap v4.5.31`
    ... which satisfies dependency `clap = "^4.0.0"` of package `cargo-options v0.7.2 (/home/pterjan/rpmbuild/BUILD/rust-cargo-options-0.7.2-build/cargo-options-0.7.2)`
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.ZWlkto (%build)

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