D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/rust-rust_decimal-1.33.1-1.mga10.src.rpm Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Rx7OV1 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf rust_decimal-1.33.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/rust_decimal-1.33.1.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd rust_decimal-1.33.1 + rm -rf /home/pterjan/rpmbuild/BUILD/rust_decimal-1.33.1-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust_decimal-1.33.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/rust_decimal-fix-metadata.diff + 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.P3ovmT + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd rust_decimal-1.33.1 + /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.v2Yrg8 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd rust_decimal-1.33.1 + '[' 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 autocfg v1.1.0 Compiling serde v1.0.193 Running `/usr/bin/rustc --crate-name autocfg --edition=2015 /usr/share/cargo/registry/autocfg-1.1.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=1980acdafee31ceb -C extra-filename=-1980acdafee31ceb --out-dir /home/pterjan/rpmbuild/BUILD/rust_decimal-1.33.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust_decimal-1.33.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling rust_decimal v1.33.1 (/home/pterjan/rpmbuild/BUILD/rust_decimal-1.33.1) Compiling arrayvec v0.7.4 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/serde-1.0.193/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="std"' -C metadata=9cbaeba6b906dbb5 -C extra-filename=-9cbaeba6b906dbb5 --out-dir /home/pterjan/rpmbuild/BUILD/rust_decimal-1.33.1/target/rpm/build/serde-9cbaeba6b906dbb5 -L dependency=/home/pterjan/rpmbuild/BUILD/rust_decimal-1.33.1/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 build_script_build --edition=2021 build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="serde"' --cfg 'feature="std"' -C metadata=851460c3d346e602 -C extra-filename=-851460c3d346e602 --out-dir /home/pterjan/rpmbuild/BUILD/rust_decimal-1.33.1/target/rpm/build/rust_decimal-851460c3d346e602 -L dependency=/home/pterjan/rpmbuild/BUILD/rust_decimal-1.33.1/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name arrayvec --edition=2018 /usr/share/cargo/registry/arrayvec-0.7.4/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="std"' -C metadata=6a9bea9ee63a5bdc -C extra-filename=-6a9bea9ee63a5bdc --out-dir /home/pterjan/rpmbuild/BUILD/rust_decimal-1.33.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust_decimal-1.33.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust_decimal-1.33.1/target/rpm/build/serde-9cbaeba6b906dbb5/build-script-build` Running `/usr/bin/rustc --crate-name serde --edition=2018 /usr/share/cargo/registry/serde-1.0.193/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="std"' -C metadata=2c6a6a43d0f35689 -C extra-filename=-2c6a6a43d0f35689 --out-dir /home/pterjan/rpmbuild/BUILD/rust_decimal-1.33.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust_decimal-1.33.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust_decimal-1.33.1/target/rpm/build/rust_decimal-851460c3d346e602/build-script-build` Compiling num-traits v0.2.17 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/num-traits-0.2.17/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="i128"' -C metadata=e956c33f999081ad -C extra-filename=-e956c33f999081ad --out-dir /home/pterjan/rpmbuild/BUILD/rust_decimal-1.33.1/target/rpm/build/num-traits-e956c33f999081ad -L dependency=/home/pterjan/rpmbuild/BUILD/rust_decimal-1.33.1/target/rpm/deps --extern autocfg=/home/pterjan/rpmbuild/BUILD/rust_decimal-1.33.1/target/rpm/deps/libautocfg-1980acdafee31ceb.rlib --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust_decimal-1.33.1/target/rpm/build/num-traits-e956c33f999081ad/build-script-build` Running `/usr/bin/rustc --crate-name num_traits --edition=2018 /usr/share/cargo/registry/num-traits-0.2.17/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="i128"' -C metadata=ea7532c87371f33c -C extra-filename=-ea7532c87371f33c --out-dir /home/pterjan/rpmbuild/BUILD/rust_decimal-1.33.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust_decimal-1.33.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg has_to_int_unchecked --cfg has_reverse_bits --cfg has_leading_trailing_ones --cfg has_div_euclid --cfg has_is_subnormal --cfg has_int_to_from_bytes --cfg has_float_to_from_bytes` Running `/usr/bin/rustc --crate-name rust_decimal --edition=2021 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="serde"' --cfg 'feature="std"' -C metadata=cbc8031f39d3b717 -C extra-filename=-cbc8031f39d3b717 --out-dir /home/pterjan/rpmbuild/BUILD/rust_decimal-1.33.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust_decimal-1.33.1/target/rpm/deps --extern arrayvec=/home/pterjan/rpmbuild/BUILD/rust_decimal-1.33.1/target/rpm/deps/libarrayvec-6a9bea9ee63a5bdc.rmeta --extern num_traits=/home/pterjan/rpmbuild/BUILD/rust_decimal-1.33.1/target/rpm/deps/libnum_traits-ea7532c87371f33c.rmeta --extern serde=/home/pterjan/rpmbuild/BUILD/rust_decimal-1.33.1/target/rpm/deps/libserde-2c6a6a43d0f35689.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: struct `OptionDecimalVisitor` is never constructed --> src/serde.rs:373:8 | 373 | struct OptionDecimalVisitor; | ^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: `rust_decimal` (lib) generated 1 warning Finished `rpm` profile [optimized + debuginfo] target(s) in 6.01s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.wQU0OW + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/rust-rust_decimal-1.33.1-1.mga10.noarch '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/rust-rust_decimal-1.33.1-1.mga10.noarch ++ dirname /home/pterjan/rpmbuild/BUILDROOT/rust-rust_decimal-1.33.1-1.mga10.noarch + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/rust-rust_decimal-1.33.1-1.mga10.noarch + cd rust_decimal-1.33.1 + '[' 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=rust_decimal ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=1.33.1 + REG_DIR=/home/pterjan/rpmbuild/BUILDROOT/rust-rust_decimal-1.33.1-1.mga10.noarch/usr/share/cargo/registry/rust_decimal-1.33.1 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILDROOT/rust-rust_decimal-1.33.1-1.mga10.noarch/usr/share/cargo/registry/rust_decimal-1.33.1 + /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/BUILDROOT/rust-rust_decimal-1.33.1-1.mga10.noarch/usr/share/cargo/registry/rust_decimal-1.33.1 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust_decimal-1.33.1` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILDROOT/rust-rust_decimal-1.33.1-1.mga10.noarch/usr/share/cargo/registry/rust_decimal-1.33.1/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILDROOT/rust-rust_decimal-1.33.1-1.mga10.noarch/usr/share/cargo/registry/rust_decimal-1.33.1/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.ZgCLrB + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd rust_decimal-1.33.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 test -j16 -Z avoid-dev-deps --profile rpm --no-fail-fast --lib error: failed to select a version for the requirement `idna = "^0.4.0"` candidate versions found which didn't match: 0.5.0 location searched: directory source `/usr/share/cargo/registry` (which is replacing registry `crates-io`) required by package `url v2.4.1` ... which satisfies dependency `url = "^2.0"` of package `version-sync v0.9.4` ... which satisfies dependency `version-sync = "^0.9"` of package `rust_decimal v1.33.1 (/home/pterjan/rpmbuild/BUILD/rust_decimal-1.33.1)` 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.ZgCLrB (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.ZgCLrB (%check) I: [iurt_root_command] ERROR: chroot