D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-idna0.2-0.2.3-0.1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.1goSzq + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-idna0.2-0.2.3-build + test -d /home/pterjan/rpmbuild/BUILD/rust-idna0.2-0.2.3-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-idna0.2-0.2.3-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/rust-idna0.2-0.2.3-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-idna0.2-0.2.3-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-idna0.2-0.2.3-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.eXPEM5 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-idna0.2-0.2.3-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-idna0.2-0.2.3-build + rm -rf idna-0.2.3 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/idna-0.2.3.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd idna-0.2.3 + /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.p7s154 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-idna0.2-0.2.3-build + cd idna-0.2.3 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.3rydJ3 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-idna0.2-0.2.3-build + cd idna-0.2.3 + '[' 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 Compiling tinyvec_macros v0.1.1 Compiling matches v0.1.10 Compiling unicode-bidi v0.3.10 Running `/usr/bin/rustc --crate-name tinyvec_macros --edition=2018 /usr/share/cargo/registry/tinyvec_macros-0.1.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)' --check-cfg 'cfg(feature, values())' -C metadata=da6c02eeb4611ee5 -C extra-filename=-da6c02eeb4611ee5 --out-dir /home/pterjan/rpmbuild/BUILD/rust-idna0.2-0.2.3-build/idna-0.2.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-idna0.2-0.2.3-build/idna-0.2.3/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 matches --edition=2015 /usr/share/cargo/registry/matches-0.1.10/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)' --check-cfg 'cfg(feature, values())' -C metadata=17857606d1418653 -C extra-filename=-17857606d1418653 --out-dir /home/pterjan/rpmbuild/BUILD/rust-idna0.2-0.2.3-build/idna-0.2.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-idna0.2-0.2.3-build/idna-0.2.3/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_bidi --edition=2018 /usr/share/cargo/registry/unicode-bidi-0.3.10/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="hardcoded-data"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("bench_it", "default", "hardcoded-data", "serde", "std", "unstable", "with_serde"))' -C metadata=7a0a0753fad73b9b -C extra-filename=-7a0a0753fad73b9b --out-dir /home/pterjan/rpmbuild/BUILD/rust-idna0.2-0.2.3-build/idna-0.2.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-idna0.2-0.2.3-build/idna-0.2.3/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling tinyvec v1.6.0 Running `/usr/bin/rustc --crate-name tinyvec --edition=2018 /usr/share/cargo/registry/tinyvec-1.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="tinyvec_macros"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "arbitrary", "default", "experimental_write_impl", "grab_spare_slice", "nightly_slice_partition_dedup", "rustc_1_40", "rustc_1_55", "rustc_1_57", "serde", "std", "tinyvec_macros"))' -C metadata=483f0cf0d6f4d86a -C extra-filename=-483f0cf0d6f4d86a --out-dir /home/pterjan/rpmbuild/BUILD/rust-idna0.2-0.2.3-build/idna-0.2.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-idna0.2-0.2.3-build/idna-0.2.3/target/rpm/deps --extern tinyvec_macros=/home/pterjan/rpmbuild/BUILD/rust-idna0.2-0.2.3-build/idna-0.2.3/target/rpm/deps/libtinyvec_macros-da6c02eeb4611ee5.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling unicode-normalization v0.1.22 Running `/usr/bin/rustc --crate-name unicode_normalization --edition=2018 /usr/share/cargo/registry/unicode-normalization-0.1.22/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)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=b45d5f636819b1f0 -C extra-filename=-b45d5f636819b1f0 --out-dir /home/pterjan/rpmbuild/BUILD/rust-idna0.2-0.2.3-build/idna-0.2.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-idna0.2-0.2.3-build/idna-0.2.3/target/rpm/deps --extern tinyvec=/home/pterjan/rpmbuild/BUILD/rust-idna0.2-0.2.3-build/idna-0.2.3/target/rpm/deps/libtinyvec-483f0cf0d6f4d86a.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling idna v0.2.3 (/home/pterjan/rpmbuild/BUILD/rust-idna0.2-0.2.3-build/idna-0.2.3) Running `/usr/bin/rustc --crate-name idna --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)' --check-cfg 'cfg(feature, values())' -C metadata=b1e8eb2f88e8bc8a -C extra-filename=-b1e8eb2f88e8bc8a --out-dir /home/pterjan/rpmbuild/BUILD/rust-idna0.2-0.2.3-build/idna-0.2.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-idna0.2-0.2.3-build/idna-0.2.3/target/rpm/deps --extern matches=/home/pterjan/rpmbuild/BUILD/rust-idna0.2-0.2.3-build/idna-0.2.3/target/rpm/deps/libmatches-17857606d1418653.rmeta --extern unicode_bidi=/home/pterjan/rpmbuild/BUILD/rust-idna0.2-0.2.3-build/idna-0.2.3/target/rpm/deps/libunicode_bidi-7a0a0753fad73b9b.rmeta --extern unicode_normalization=/home/pterjan/rpmbuild/BUILD/rust-idna0.2-0.2.3-build/idna-0.2.3/target/rpm/deps/libunicode_normalization-b45d5f636819b1f0.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Finished `rpm` profile [optimized + debuginfo] target(s) in 3.66s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.nc5KcF + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-idna0.2-0.2.3-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-idna0.2-0.2.3-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-idna0.2-0.2.3-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-idna0.2-0.2.3-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-idna0.2-0.2.3-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-idna0.2-0.2.3-build/BUILDROOT + cd idna-0.2.3 + '[' 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=idna ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.2.3 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-idna0.2-0.2.3-build/BUILDROOT/usr/share/cargo/registry/idna-0.2.3 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-idna0.2-0.2.3-build/BUILDROOT/usr/share/cargo/registry/idna-0.2.3 + /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-idna0.2-0.2.3-build/BUILDROOT/usr/share/cargo/registry/idna-0.2.3 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-idna0.2-0.2.3-build/idna-0.2.3` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-idna0.2-0.2.3-build/BUILDROOT/usr/share/cargo/registry/idna-0.2.3/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-idna0.2-0.2.3-build/BUILDROOT/usr/share/cargo/registry/idna-0.2.3/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 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.3LtpV1 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-idna0.2-0.2.3-build + cd idna-0.2.3 + '[' 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 -j16 -Z avoid-dev-deps --profile rpm --no-fail-fast 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 `rustc-test v0.3.1` ... which satisfies dependency `rustc-test = "^0.3"` of package `idna v0.2.3 (/home/pterjan/rpmbuild/BUILD/rust-idna0.2-0.2.3-build/idna-0.2.3)` 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.3LtpV1 (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.3LtpV1 (%check) I: [iurt_root_command] ERROR: chroot