D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-core2-0.4.0-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.wGMe5p + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build + test -d /home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.yIZRIV + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build + rm -rf core2-0.4.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/core2-0.4.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd core2-0.4.0 + /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.7WCEuM + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build + cd core2-0.4.0 + /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.ynnLHT + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build + cd core2-0.4.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 -j16 -Z avoid-dev-deps --profile rpm Compiling memchr v2.7.4 Running `/usr/bin/rustc --crate-name memchr --edition=2021 /usr/share/cargo/registry/memchr-2.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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "compiler_builtins", "core", "default", "libc", "logging", "rustc-dep-of-std", "std", "use_std"))' -C metadata=b5830bb741ec30f9 -C extra-filename=-b5830bb741ec30f9 --out-dir /home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build/core2-0.4.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build/core2-0.4.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling core2 v0.4.0 (/home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build/core2-0.4.0) Running `/usr/bin/rustc --crate-name core2 --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 --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "default", "nightly", "std"))' -C metadata=7b82ff9496252899 -C extra-filename=-7b82ff9496252899 --out-dir /home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build/core2-0.4.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build/core2-0.4.0/target/rpm/deps --extern memchr=/home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build/core2-0.4.0/target/rpm/deps/libmemchr-b5830bb741ec30f9.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Finished `rpm` profile [optimized + debuginfo] target(s) in 1.44s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.rCZVWq + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build/BUILDROOT + cd core2-0.4.0 + '[' 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=core2 ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.4.0 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build/BUILDROOT/usr/share/cargo/registry/core2-0.4.0 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build/BUILDROOT/usr/share/cargo/registry/core2-0.4.0 + /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-core2-0.4.0-build/BUILDROOT/usr/share/cargo/registry/core2-0.4.0 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build/core2-0.4.0` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build/BUILDROOT/usr/share/cargo/registry/core2-0.4.0/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build/BUILDROOT/usr/share/cargo/registry/core2-0.4.0/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.GjC6E3 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build + cd core2-0.4.0 + '[' 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 Fresh memchr v2.7.4 Compiling core2 v0.4.0 (/home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build/core2-0.4.0) Running `/usr/bin/rustc --crate-name core2 --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "default", "nightly", "std"))' -C metadata=da40e29ad2b6c2da -C extra-filename=-da40e29ad2b6c2da --out-dir /home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build/core2-0.4.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build/core2-0.4.0/target/rpm/deps --extern memchr=/home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build/core2-0.4.0/target/rpm/deps/libmemchr-b5830bb741ec30f9.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name tests --edition=2018 tests/tests.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "default", "nightly", "std"))' -C metadata=810c4deb30c5441f -C extra-filename=-810c4deb30c5441f --out-dir /home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build/core2-0.4.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build/core2-0.4.0/target/rpm/deps --extern core2=/home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build/core2-0.4.0/target/rpm/deps/libcore2-7b82ff9496252899.rlib --extern memchr=/home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build/core2-0.4.0/target/rpm/deps/libmemchr-b5830bb741ec30f9.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: struct `ExampleSliceReader` is never constructed --> tests/tests.rs:286:8 | 286 | struct ExampleSliceReader<'a> { | ^^^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: `core2` (test "tests") generated 1 warning Finished `rpm` profile [optimized + debuginfo] target(s) in 0.55s Running `/home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build/core2-0.4.0/target/rpm/deps/core2-da40e29ad2b6c2da` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build/core2-0.4.0/target/rpm/deps/tests-810c4deb30c5441f` running 5 tests test read_exact ... ok test chain_bufread ... ok test take_eof ... ok test read_exact_slice ... ok test test_writer_read_from_one_buf ... ok test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Doc-tests core2 Running `/usr/bin/rustdoc --edition=2018 --crate-type lib --color auto --crate-name core2 --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build/core2-0.4.0 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build/core2-0.4.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build/core2-0.4.0/target/rpm/deps --extern core2=/home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build/core2-0.4.0/target/rpm/deps/libcore2-7b82ff9496252899.rlib --extern memchr=/home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build/core2-0.4.0/target/rpm/deps/libmemchr-b5830bb741ec30f9.rlib -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "default", "nightly", "std"))' --error-format human` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-core2-devel-0.4.0-1.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/core2-0.4.0/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/core2-0.4.0/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/core2-0.4.0/README.md Provides: crate(core2) = 0.4.0 rust-core2-devel = 0.4.0-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(memchr) >= 2.0.0 Processing files: rust-core2+default-devel-0.4.0-1.mga10.noarch Provides: crate(core2/default) = 0.4.0 rust-core2+default-devel = 0.4.0-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(core2) = 0.4.0 crate(core2/std) = 0.4.0 Processing files: rust-core2+alloc-devel-0.4.0-1.mga10.noarch Provides: crate(core2/alloc) = 0.4.0 rust-core2+alloc-devel = 0.4.0-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(core2) = 0.4.0 Processing files: rust-core2+std-devel-0.4.0-1.mga10.noarch Provides: crate(core2/std) = 0.4.0 rust-core2+std-devel = 0.4.0-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(core2) = 0.4.0 crate(core2/alloc) = 0.4.0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-core2+std-devel-0.4.0-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-core2+default-devel-0.4.0-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-core2+alloc-devel-0.4.0-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-core2-devel-0.4.0-1.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.iyySQW + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build + test -d /home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-core2-0.4.0-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/core2-0.4.0/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/core2-0.4.0/LICENSE-MIT File listed twice: /usr/share/cargo/registry/core2-0.4.0/README.md D: [iurt_root_command] Success!