Mock Version: 5.9 Mock Version: 5.9 Mock Version: 5.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-dirs3.spec'], chrootPath='/var/lib/mock/epel9-build-54912010-6530921/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jyw0kggd:/etc/resolv.conf']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-dirs3.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1674172800 Wrote: /builddir/build/SRPMS/rust-dirs3-3.0.2-4.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-dirs3.spec'], chrootPath='/var/lib/mock/epel9-build-54912010-6530921/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueraiseExc=FalseprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jyw0kggd:/etc/resolv.conf']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-dirs3.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1674172800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1WsWGN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dirs-3.0.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/dirs-3.0.2.crate + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd dirs-3.0.2 + /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 /var/tmp/rpm-tmp.0AXjSt + umask 022 + cd /builddir/build/BUILD + cd dirs-3.0.2 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-dirs3-3.0.2-4.el9.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-dirs3.spec'], chrootPath='/var/lib/mock/epel9-build-54912010-6530921/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueraiseExc=FalseprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jyw0kggd:/etc/resolv.conf']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-dirs3.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1674172800 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.dpgUON + umask 022 + cd /builddir/build/BUILD + cd dirs-3.0.2 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-dirs3-3.0.2-4.el9.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target x86_64 /builddir/build/SPECS/rust-dirs3.spec'], chrootPath='/var/lib/mock/epel9-build-54912010-6530921/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jyw0kggd:/etc/resolv.conf']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target x86_64 /builddir/build/SPECS/rust-dirs3.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1674172800 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.8uPmS3 + umask 022 + cd /builddir/build/BUILD + cd dirs-3.0.2 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.S6Vj8f + umask 022 + cd /builddir/build/BUILD + cd dirs-3.0.2 + /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 -j6 -Z avoid-dev-deps --profile rpm Compiling libc v0.2.161 Running `/usr/bin/rustc --crate-name build_script_build --edition=2015 /usr/share/cargo/registry/libc-0.2.161/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="std"' -C metadata=9555877072645c23 -C extra-filename=-9555877072645c23 --out-dir /builddir/build/BUILD/dirs-3.0.2/target/rpm/build/libc-9555877072645c23 -L dependency=/builddir/build/BUILD/dirs-3.0.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/builddir/build/BUILD/dirs-3.0.2/target/rpm/build/libc-9555877072645c23/build-script-build` Running `/usr/bin/rustc --crate-name libc --edition=2015 /usr/share/cargo/registry/libc-0.2.161/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"' -C metadata=16bb66248636fc95 -C extra-filename=-16bb66248636fc95 --out-dir /builddir/build/BUILD/dirs-3.0.2/target/rpm/deps -L dependency=/builddir/build/BUILD/dirs-3.0.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg freebsd11 --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of --cfg libc_align --cfg libc_int128 --cfg libc_core_cvoid --cfg libc_packedN --cfg libc_cfg_target_vendor --cfg libc_non_exhaustive --cfg libc_long_array --cfg libc_ptr_addr_of --cfg libc_underscore_const_names --cfg libc_const_extern_fn` Compiling dirs-sys v0.3.7 Running `/usr/bin/rustc --crate-name dirs_sys --edition=2015 /usr/share/cargo/registry/dirs-sys-0.3.7/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 -C metadata=265827e71c649013 -C extra-filename=-265827e71c649013 --out-dir /builddir/build/BUILD/dirs-3.0.2/target/rpm/deps -L dependency=/builddir/build/BUILD/dirs-3.0.2/target/rpm/deps --extern libc=/builddir/build/BUILD/dirs-3.0.2/target/rpm/deps/liblibc-16bb66248636fc95.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling dirs v3.0.2 (/builddir/build/BUILD/dirs-3.0.2) Running `/usr/bin/rustc --crate-name dirs --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 -C metadata=6de356bb28950603 -C extra-filename=-6de356bb28950603 --out-dir /builddir/build/BUILD/dirs-3.0.2/target/rpm/deps -L dependency=/builddir/build/BUILD/dirs-3.0.2/target/rpm/deps --extern dirs_sys=/builddir/build/BUILD/dirs-3.0.2/target/rpm/deps/libdirs_sys-265827e71c649013.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Finished `rpm` profile [optimized + debuginfo] target(s) in 2.64s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.op9x32 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-dirs3-3.0.2-4.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-dirs3-3.0.2-4.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/rust-dirs3-3.0.2-4.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-dirs3-3.0.2-4.el9.x86_64 + cd dirs-3.0.2 + 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=dirs ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=3.0.2 + REG_DIR=/builddir/build/BUILDROOT/rust-dirs3-3.0.2-4.el9.x86_64/usr/share/cargo/registry/dirs-3.0.2 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-dirs3-3.0.2-4.el9.x86_64/usr/share/cargo/registry/dirs-3.0.2 + gawk -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 /builddir/build/BUILDROOT/rust-dirs3-3.0.2-4.el9.x86_64/usr/share/cargo/registry/dirs-3.0.2 warning: no (git) VCS found for `/builddir/build/BUILD/dirs-3.0.2` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-dirs3-3.0.2-4.el9.x86_64/usr/share/cargo/registry/dirs-3.0.2/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-dirs3-3.0.2-4.el9.x86_64/usr/share/cargo/registry/dirs-3.0.2/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 0 -eq 1 ']' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.4oBPIU + umask 022 + cd /builddir/build/BUILD + cd dirs-3.0.2 + /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 -j6 -Z avoid-dev-deps --profile rpm --no-fail-fast Fresh libc v0.2.161 Fresh dirs-sys v0.3.7 Compiling dirs v3.0.2 (/builddir/build/BUILD/dirs-3.0.2) Running `/usr/bin/rustc --crate-name dirs --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 -C metadata=79f3f6f5925cb3b1 -C extra-filename=-79f3f6f5925cb3b1 --out-dir /builddir/build/BUILD/dirs-3.0.2/target/rpm/deps -L dependency=/builddir/build/BUILD/dirs-3.0.2/target/rpm/deps --extern dirs_sys=/builddir/build/BUILD/dirs-3.0.2/target/rpm/deps/libdirs_sys-265827e71c649013.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Finished `rpm` profile [optimized + debuginfo] target(s) in 0.61s Running `/builddir/build/BUILD/dirs-3.0.2/target/rpm/deps/dirs-79f3f6f5925cb3b1` running 2 tests test lin::tests::test_file_user_dirs_exists ... ok test tests::test_dirs ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests dirs Running `/usr/bin/rustdoc --edition=2015 --crate-type lib --crate-name dirs --test src/lib.rs --test-run-directory /builddir/build/BUILD/dirs-3.0.2 -L dependency=/builddir/build/BUILD/dirs-3.0.2/target/rpm/deps -L dependency=/builddir/build/BUILD/dirs-3.0.2/target/rpm/deps --extern dirs=/builddir/build/BUILD/dirs-3.0.2/target/rpm/deps/libdirs-6de356bb28950603.rlib --extern dirs_sys=/builddir/build/BUILD/dirs-3.0.2/target/rpm/deps/libdirs_sys-265827e71c649013.rlib -C embed-bitcode=no --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-dirs3-devel-3.0.2-4.el9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.PXKmGF + umask 022 + cd /builddir/build/BUILD + cd dirs-3.0.2 + DOCDIR=/builddir/build/BUILDROOT/rust-dirs3-3.0.2-4.el9.x86_64/usr/share/doc/rust-dirs3-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-dirs3-3.0.2-4.el9.x86_64/usr/share/doc/rust-dirs3-devel + cp -pr README.md /builddir/build/BUILDROOT/rust-dirs3-3.0.2-4.el9.x86_64/usr/share/doc/rust-dirs3-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.hEpWlQ + umask 022 + cd /builddir/build/BUILD + cd dirs-3.0.2 + LICENSEDIR=/builddir/build/BUILDROOT/rust-dirs3-3.0.2-4.el9.x86_64/usr/share/licenses/rust-dirs3-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-dirs3-3.0.2-4.el9.x86_64/usr/share/licenses/rust-dirs3-devel + cp -pr LICENSE-MIT /builddir/build/BUILDROOT/rust-dirs3-3.0.2-4.el9.x86_64/usr/share/licenses/rust-dirs3-devel + cp -pr LICENSE-APACHE /builddir/build/BUILDROOT/rust-dirs3-3.0.2-4.el9.x86_64/usr/share/licenses/rust-dirs3-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: crate(dirs) = 3.0.2 rust-dirs3-devel = 3.0.2-4.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(dirs-sys/default) >= 0.3.6 with crate(dirs-sys/default) < 0.4.0~) cargo Processing files: rust-dirs3+default-devel-3.0.2-4.el9.noarch Provides: crate(dirs/default) = 3.0.2 rust-dirs3+default-devel = 3.0.2-4.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(dirs) = 3.0.2 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-dirs3-3.0.2-4.el9.x86_64 Wrote: /builddir/build/SRPMS/rust-dirs3-3.0.2-4.el9.src.rpm Wrote: /builddir/build/RPMS/rust-dirs3+default-devel-3.0.2-4.el9.noarch.rpm Wrote: /builddir/build/RPMS/rust-dirs3-devel-3.0.2-4.el9.noarch.rpm Child return code was: 0