D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/rust-temp_testdir-0.2.3-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.6QcX02 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-temp_testdir-0.2.3-build + test -d /home/pterjan/rpmbuild/BUILD/rust-temp_testdir-0.2.3-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-temp_testdir-0.2.3-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/rust-temp_testdir-0.2.3-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-temp_testdir-0.2.3-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-temp_testdir-0.2.3-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.tEA6I9 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-temp_testdir-0.2.3-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-temp_testdir-0.2.3-build + rm -rf temp_testdir-0.2.3 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/temp_testdir-0.2.3.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd temp_testdir-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.5avqnF + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-temp_testdir-0.2.3-build + cd temp_testdir-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.bCKbDx + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-temp_testdir-0.2.3-build + cd temp_testdir-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 warning: no edition set: defaulting to the 2015 edition while the latest is 2021 Compiling temp_testdir v0.2.3 (/home/pterjan/rpmbuild/BUILD/rust-temp_testdir-0.2.3-build/temp_testdir-0.2.3) Running `/usr/bin/rustc --crate-name temp_testdir --edition=2015 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=73198d31cc409da2 -C extra-filename=-73198d31cc409da2 --out-dir /home/pterjan/rpmbuild/BUILD/rust-temp_testdir-0.2.3-build/temp_testdir-0.2.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-temp_testdir-0.2.3-build/temp_testdir-0.2.3/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Finished `rpm` profile [optimized + debuginfo] target(s) in 0.26s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.90ACVs + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-temp_testdir-0.2.3-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-temp_testdir-0.2.3-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-temp_testdir-0.2.3-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-temp_testdir-0.2.3-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-temp_testdir-0.2.3-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-temp_testdir-0.2.3-build/BUILDROOT + cd temp_testdir-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=temp_testdir ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.2.3 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-temp_testdir-0.2.3-build/BUILDROOT/usr/share/cargo/registry/temp_testdir-0.2.3 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-temp_testdir-0.2.3-build/BUILDROOT/usr/share/cargo/registry/temp_testdir-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-temp_testdir-0.2.3-build/BUILDROOT/usr/share/cargo/registry/temp_testdir-0.2.3 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-temp_testdir-0.2.3-build/temp_testdir-0.2.3` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-temp_testdir-0.2.3-build/BUILDROOT/usr/share/cargo/registry/temp_testdir-0.2.3/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-temp_testdir-0.2.3-build/BUILDROOT/usr/share/cargo/registry/temp_testdir-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 Reading /home/pterjan/rpmbuild/BUILD/rust-temp_testdir-0.2.3-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.biGWmR + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-temp_testdir-0.2.3-build + cd temp_testdir-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 warning: no edition set: defaulting to the 2015 edition while the latest is 2021 Compiling temp_testdir v0.2.3 (/home/pterjan/rpmbuild/BUILD/rust-temp_testdir-0.2.3-build/temp_testdir-0.2.3) Running `/usr/bin/rustc --crate-name integration --edition=2015 tests/integration.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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=34ddd5853976dd90 -C extra-filename=-34ddd5853976dd90 --out-dir /home/pterjan/rpmbuild/BUILD/rust-temp_testdir-0.2.3-build/temp_testdir-0.2.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-temp_testdir-0.2.3-build/temp_testdir-0.2.3/target/rpm/deps --extern temp_testdir=/home/pterjan/rpmbuild/BUILD/rust-temp_testdir-0.2.3-build/temp_testdir-0.2.3/target/rpm/deps/libtemp_testdir-73198d31cc409da2.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name temp_testdir --edition=2015 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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=89aa2aa1f0dfd61a -C extra-filename=-89aa2aa1f0dfd61a --out-dir /home/pterjan/rpmbuild/BUILD/rust-temp_testdir-0.2.3-build/temp_testdir-0.2.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-temp_testdir-0.2.3-build/temp_testdir-0.2.3/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Finished `rpm` profile [optimized + debuginfo] target(s) in 0.97s Running `/home/pterjan/rpmbuild/BUILD/rust-temp_testdir-0.2.3-build/temp_testdir-0.2.3/target/rpm/deps/temp_testdir-89aa2aa1f0dfd61a` running 8 tests test test::default_temp_should_destroy_also_content ... ok test test::default_tempdir_should_create_a_directory ... ok test test::default_tempdir_should_destroy_directory_after_go_out_of_scope ... ok test test::should_not_leave_a_dangling_empty_directory ... ok test test::should_resolve_root_in_env ... ok test test::should_resolve_rstest_temp_dir_root_name_in_env ... ok test test::two_temp_dir_should_have_different_path ... ok test test::tempdir_permanent_should_do_not_remove_dir ... ok test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/home/pterjan/rpmbuild/BUILD/rust-temp_testdir-0.2.3-build/temp_testdir-0.2.3/target/rpm/deps/integration-34ddd5853976dd90` running 2 tests test should_not_delete_temp_dir ... ok test should_delete_temp_dir ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests temp_testdir Running `/usr/bin/rustdoc --edition=2015 --crate-type lib --color auto --crate-name temp_testdir --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-temp_testdir-0.2.3-build/temp_testdir-0.2.3 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-temp_testdir-0.2.3-build/temp_testdir-0.2.3/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-temp_testdir-0.2.3-build/temp_testdir-0.2.3/target/rpm/deps --extern temp_testdir=/home/pterjan/rpmbuild/BUILD/rust-temp_testdir-0.2.3-build/temp_testdir-0.2.3/target/rpm/deps/libtemp_testdir-73198d31cc409da2.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' --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-temp_testdir-devel-0.2.3-1.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/temp_testdir-0.2.3/CHANGELOG.md warning: File listed twice: /usr/share/cargo/registry/temp_testdir-0.2.3/README.md Provides: crate(temp_testdir) = 0.2.3 rust-temp_testdir-devel = 0.2.3-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo Processing files: rust-temp_testdir+default-devel-0.2.3-1.mga10.noarch Provides: crate(temp_testdir/default) = 0.2.3 rust-temp_testdir+default-devel = 0.2.3-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(temp_testdir) = 0.2.3 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-temp_testdir-0.2.3-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-temp_testdir+default-devel-0.2.3-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-temp_testdir-devel-0.2.3-1.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.QT2d97 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-temp_testdir-0.2.3-build + test -d /home/pterjan/rpmbuild/BUILD/rust-temp_testdir-0.2.3-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-temp_testdir-0.2.3-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-temp_testdir-0.2.3-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/temp_testdir-0.2.3/CHANGELOG.md File listed twice: /usr/share/cargo/registry/temp_testdir-0.2.3/README.md D: [iurt_root_command] Success!