D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-same-file-1.0.6-2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.F30LQV + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build + test -d /home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.fijSvg + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build + rm -rf same-file-1.0.6 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/same-file-1.0.6.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd same-file-1.0.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/same-file-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + 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.0NNqGM + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build + cd same-file-1.0.6 + /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.ZOd5yb + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build + cd same-file-1.0.6 + '[' 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 same-file v1.0.6 (/home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/same-file-1.0.6) Running `/usr/bin/rustc --crate-name same_file --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=eaa1ab97d5b45bf6 -C extra-filename=-eaa1ab97d5b45bf6 --out-dir /home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/same-file-1.0.6/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/same-file-1.0.6/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unused return value of `into_raw_fd` that must be used --> src/unix.rs:23:13 | 23 | self.file.take().unwrap().into_raw_fd(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: losing the raw file descriptor may leak resources = note: `#[warn(unused_must_use)]` on by default help: use `let _ = ...` to ignore the resulting value | 23 | let _ = self.file.take().unwrap().into_raw_fd(); | +++++++ warning: `same-file` (lib) generated 1 warning Finished `rpm` profile [optimized + debuginfo] target(s) in 0.23s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.hoMJEF + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/BUILDROOT + cd same-file-1.0.6 + '[' 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=same-file ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=1.0.6 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/BUILDROOT/usr/share/cargo/registry/same-file-1.0.6 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/BUILDROOT/usr/share/cargo/registry/same-file-1.0.6 + /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 + xargs -d '\n' /usr/bin/cp --parents -a -t /home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/BUILDROOT/usr/share/cargo/registry/same-file-1.0.6 + grep -w -E -v 'Cargo.(lock|toml.orig)' warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/same-file-1.0.6` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/BUILDROOT/usr/share/cargo/registry/same-file-1.0.6/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/BUILDROOT/usr/share/cargo/registry/same-file-1.0.6/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.eCTwnM + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build + cd same-file-1.0.6 + '[' 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 Compiling doc-comment v0.3.3 warning: unused return value of `into_raw_fd` that must be used --> src/unix.rs:23:13 | 23 | self.file.take().unwrap().into_raw_fd(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: losing the raw file descriptor may leak resources = note: `#[warn(unused_must_use)]` on by default help: use `let _ = ...` to ignore the resulting value | 23 | let _ = self.file.take().unwrap().into_raw_fd(); | +++++++ Running `/usr/bin/rustc --crate-name build_script_build --edition=2015 /usr/share/cargo/registry/doc-comment-0.3.3/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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("no_core", "old_macros"))' -C metadata=d0dd3354492d4219 -C extra-filename=-d0dd3354492d4219 --out-dir /home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/same-file-1.0.6/target/rpm/build/doc-comment-d0dd3354492d4219 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/same-file-1.0.6/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `same-file` (lib) generated 1 warning Running `/home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/same-file-1.0.6/target/rpm/build/doc-comment-d0dd3354492d4219/build-script-build` Running `/usr/bin/rustc --crate-name doc_comment --edition=2015 /usr/share/cargo/registry/doc-comment-0.3.3/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("no_core", "old_macros"))' -C metadata=8605300d130c5032 -C extra-filename=-8605300d130c5032 --out-dir /home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/same-file-1.0.6/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/same-file-1.0.6/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling same-file v1.0.6 (/home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/same-file-1.0.6) Running `/usr/bin/rustc --crate-name is_same_file --edition=2018 examples/is_same_file.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,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=a4ce0bf6a481e286 -C extra-filename=-a4ce0bf6a481e286 --out-dir /home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/same-file-1.0.6/target/rpm/examples -L dependency=/home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/same-file-1.0.6/target/rpm/deps --extern doc_comment=/home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/same-file-1.0.6/target/rpm/deps/libdoc_comment-8605300d130c5032.rlib --extern same_file=/home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/same-file-1.0.6/target/rpm/deps/libsame_file-eaa1ab97d5b45bf6.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name same_file --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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=6adb1e3e7f080459 -C extra-filename=-6adb1e3e7f080459 --out-dir /home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/same-file-1.0.6/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/same-file-1.0.6/target/rpm/deps --extern doc_comment=/home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/same-file-1.0.6/target/rpm/deps/libdoc_comment-8605300d130c5032.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name is_stderr --edition=2018 examples/is_stderr.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,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=b3f2b21657ef3477 -C extra-filename=-b3f2b21657ef3477 --out-dir /home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/same-file-1.0.6/target/rpm/examples -L dependency=/home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/same-file-1.0.6/target/rpm/deps --extern doc_comment=/home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/same-file-1.0.6/target/rpm/deps/libdoc_comment-8605300d130c5032.rlib --extern same_file=/home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/same-file-1.0.6/target/rpm/deps/libsame_file-eaa1ab97d5b45bf6.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `same-file` (lib test) generated 1 warning (1 duplicate) Finished `rpm` profile [optimized + debuginfo] target(s) in 1.21s Running `/home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/same-file-1.0.6/target/rpm/deps/same_file-6adb1e3e7f080459` running 9 tests test tests::same_dir_soft ... ok test tests::same_file_hard ... ok test tests::not_same_file_trivial ... ok test tests::test_sync ... ok test tests::same_file_soft ... ok test tests::not_same_dir_trivial ... ok test tests::test_send ... ok test tests::same_dir_trivial ... ok test tests::same_file_trivial ... ok test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests same_file Running `/usr/bin/rustdoc --edition=2018 --crate-type lib --color auto --crate-name same_file --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/same-file-1.0.6 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/same-file-1.0.6/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/same-file-1.0.6/target/rpm/deps --extern doc_comment=/home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/same-file-1.0.6/target/rpm/deps/libdoc_comment-8605300d130c5032.rlib --extern same_file=/home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/same-file-1.0.6/target/rpm/deps/libsame_file-eaa1ab97d5b45bf6.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' --error-format human` running 7 tests test src/lib.rs - Handle::from_path (line 130) - compile ... ok test src/lib.rs - (line 8) - compile ... ok test src/lib.rs - (line 29) - compile ... ok test src/lib.rs - is_same_file (line 365) - compile ... ok test src/lib.rs - Handle::from_file (line 161) - compile ... ok test src/lib.rs - Handle::as_file (line 290) - compile ... ok test src/lib.rs - Handle::stdin (line 196) ... ok test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-same-file-devel-1.0.6-2.mga10.noarch Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.IqKcxS + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build + cd same-file-1.0.6 + DOCDIR=/home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/BUILDROOT/usr/share/doc/rust-same-file-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/BUILDROOT/usr/share/doc/rust-same-file-devel + cp -pr /home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/same-file-1.0.6/README.md /home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/BUILDROOT/usr/share/doc/rust-same-file-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.uQKQto + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build + cd same-file-1.0.6 + LICENSEDIR=/home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/BUILDROOT/usr/share/licenses/rust-same-file-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/BUILDROOT/usr/share/licenses/rust-same-file-devel + cp -pr /home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/same-file-1.0.6/COPYING /home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/BUILDROOT/usr/share/licenses/rust-same-file-devel + cp -pr /home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/same-file-1.0.6/LICENSE-MIT /home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/BUILDROOT/usr/share/licenses/rust-same-file-devel + cp -pr /home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/same-file-1.0.6/UNLICENSE /home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/BUILDROOT/usr/share/licenses/rust-same-file-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: crate(same-file) = 1.0.6 rust-same-file-devel = 1.0.6-2.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-same-file+default-devel-1.0.6-2.mga10.noarch Provides: crate(same-file/default) = 1.0.6 rust-same-file+default-devel = 1.0.6-2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(same-file) = 1.0.6 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-same-file+default-devel-1.0.6-2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-same-file-devel-1.0.6-2.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.DsErGn + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build + test -d /home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-same-file-1.0.6-build + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!