Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/rust-xmlwriter.spec'], chrootPath='/var/lib/mock/epel9-build-58255424-6563614/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.cl32kk7h:/etc/resolv.conf']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/rust-xmlwriter.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: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1626998400 Wrote: /builddir/build/SRPMS/rust-xmlwriter-0.1.0-4.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target ppc64le --nodeps /builddir/build/SPECS/rust-xmlwriter.spec'], chrootPath='/var/lib/mock/epel9-build-58255424-6563614/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.cl32kk7h:/etc/resolv.conf']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target ppc64le --nodeps /builddir/build/SPECS/rust-xmlwriter.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: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1626998400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ce8000 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xmlwriter-0.1.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/xmlwriter-0.1.0.crate + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd xmlwriter-0.1.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 /var/tmp/rpm-tmp.qX4kKL + umask 022 + cd /builddir/build/BUILD + cd xmlwriter-0.1.0 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-xmlwriter-0.1.0-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 ppc64le /builddir/build/SPECS/rust-xmlwriter.spec'], chrootPath='/var/lib/mock/epel9-build-58255424-6563614/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.cl32kk7h:/etc/resolv.conf']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target ppc64le /builddir/build/SPECS/rust-xmlwriter.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: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1626998400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.QfLFQA + umask 022 + cd /builddir/build/BUILD + cd xmlwriter-0.1.0 + /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.23e4HM + umask 022 + cd /builddir/build/BUILD + cd xmlwriter-0.1.0 + /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 -j8 -Z avoid-dev-deps --profile rpm Compiling xmlwriter v0.1.0 (/builddir/build/BUILD/xmlwriter-0.1.0) Running `/usr/bin/rustc --crate-name xmlwriter --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 -C metadata=4081d05da20a9f36 -C extra-filename=-4081d05da20a9f36 --out-dir /builddir/build/BUILD/xmlwriter-0.1.0/target/rpm/deps -L dependency=/builddir/build/BUILD/xmlwriter-0.1.0/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Finished `rpm` profile [optimized + debuginfo] target(s) in 1.04s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.krlUIL + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-xmlwriter-0.1.0-4.el9.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-xmlwriter-0.1.0-4.el9.ppc64le ++ dirname /builddir/build/BUILDROOT/rust-xmlwriter-0.1.0-4.el9.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-xmlwriter-0.1.0-4.el9.ppc64le + cd xmlwriter-0.1.0 + 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=xmlwriter ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.1.0 + REG_DIR=/builddir/build/BUILDROOT/rust-xmlwriter-0.1.0-4.el9.ppc64le/usr/share/cargo/registry/xmlwriter-0.1.0 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-xmlwriter-0.1.0-4.el9.ppc64le/usr/share/cargo/registry/xmlwriter-0.1.0 + 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-xmlwriter-0.1.0-4.el9.ppc64le/usr/share/cargo/registry/xmlwriter-0.1.0 warning: no (git) VCS found for `/builddir/build/BUILD/xmlwriter-0.1.0` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-xmlwriter-0.1.0-4.el9.ppc64le/usr/share/cargo/registry/xmlwriter-0.1.0/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-xmlwriter-0.1.0-4.el9.ppc64le/usr/share/cargo/registry/xmlwriter-0.1.0/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.2mijwl + umask 022 + cd /builddir/build/BUILD + cd xmlwriter-0.1.0 + /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 -j8 -Z avoid-dev-deps --profile rpm --no-fail-fast Compiling xmlwriter v0.1.0 (/builddir/build/BUILD/xmlwriter-0.1.0) 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 -C metadata=1a41129efdd83ddc -C extra-filename=-1a41129efdd83ddc --out-dir /builddir/build/BUILD/xmlwriter-0.1.0/target/rpm/deps -L dependency=/builddir/build/BUILD/xmlwriter-0.1.0/target/rpm/deps --extern xmlwriter=/builddir/build/BUILD/xmlwriter-0.1.0/target/rpm/deps/libxmlwriter-4081d05da20a9f36.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name xmlwriter --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 -C metadata=46c0102bedfed236 -C extra-filename=-46c0102bedfed236 --out-dir /builddir/build/BUILD/xmlwriter-0.1.0/target/rpm/deps -L dependency=/builddir/build/BUILD/xmlwriter-0.1.0/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: struct `TStr` is never constructed --> tests/tests.rs:5:8 | 5 | struct TStr<'a>(pub &'a str); | ^^^^ | = note: `#[warn(dead_code)]` on by default warning: `xmlwriter` (test "tests") generated 1 warning Finished `rpm` profile [optimized + debuginfo] target(s) in 1.52s Running `/builddir/build/BUILD/xmlwriter-0.1.0/target/rpm/deps/xmlwriter-46c0102bedfed236` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/builddir/build/BUILD/xmlwriter-0.1.0/target/rpm/deps/tests-1a41129efdd83ddc` running 39 tests test attrs_indent_01 ... ok test write_attribute_02 ... ok test write_attribute_03 ... ok test write_attribute_04 ... ok test write_attribute_05 ... ok test write_attribute_06 ... ok test write_attribute_07 ... ok test write_comment_01 ... ok test write_comment_07 ... ok test write_comment_06 ... ok test write_comment_04 ... ok test write_attribute_01 - should panic ... ok test write_comment_05 ... ok test write_comment_02 ... ok test write_comment_03 ... ok test write_comment_08 ... ok test write_declaration_01 ... ok test write_element_06 ... ok test write_preserve_text_01 ... ok test write_element_01 ... ok test write_element_03 ... ok test write_declaration_03 - should panic ... ok test write_element_05 ... ok test write_element_02 ... ok test write_declaration_02 - should panic ... ok test write_preserve_text_02 ... ok test write_single_quote_02 ... ok test write_single_quote_01 ... ok test write_text_01 - should panic ... ok test write_text_06 ... ok test write_text_07 ... ok test write_text_08 ... ok test write_text_02 - should panic ... ok test write_text_05 ... ok test write_text_04 ... ok test write_text_09 ... ok test write_text_10 ... ok test write_text_03 - should panic ... ok test write_text_11 ... ok test result: ok. 39 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s Doc-tests xmlwriter Running `/usr/bin/rustdoc --edition=2018 --crate-type lib --crate-name xmlwriter --test src/lib.rs --test-run-directory /builddir/build/BUILD/xmlwriter-0.1.0 -L dependency=/builddir/build/BUILD/xmlwriter-0.1.0/target/rpm/deps -L dependency=/builddir/build/BUILD/xmlwriter-0.1.0/target/rpm/deps --extern xmlwriter=/builddir/build/BUILD/xmlwriter-0.1.0/target/rpm/deps/libxmlwriter-4081d05da20a9f36.rlib -C embed-bitcode=no --error-format human` running 6 tests test src/lib.rs - XmlWriter::write_attribute_fmt (line 316) ... ok test src/lib.rs - XmlWriter::write_attribute (line 292) ... ok test src/lib.rs - XmlWriter::write_attribute_raw (line 351) ... ok test src/lib.rs - XmlWriter::end_document (line 525) ... ok test src/lib.rs - XmlWriter::set_preserve_whitespaces (line 418) ... ok test src/lib.rs - (line 11) ... ok test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.77s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-xmlwriter-devel-0.1.0-4.el9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.VeyXk1 + umask 022 + cd /builddir/build/BUILD + cd xmlwriter-0.1.0 + DOCDIR=/builddir/build/BUILDROOT/rust-xmlwriter-0.1.0-4.el9.ppc64le/usr/share/doc/rust-xmlwriter-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-xmlwriter-0.1.0-4.el9.ppc64le/usr/share/doc/rust-xmlwriter-devel + cp -pr README.md /builddir/build/BUILDROOT/rust-xmlwriter-0.1.0-4.el9.ppc64le/usr/share/doc/rust-xmlwriter-devel + cp -pr README.tpl /builddir/build/BUILDROOT/rust-xmlwriter-0.1.0-4.el9.ppc64le/usr/share/doc/rust-xmlwriter-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.c3WB92 + umask 022 + cd /builddir/build/BUILD + cd xmlwriter-0.1.0 + LICENSEDIR=/builddir/build/BUILDROOT/rust-xmlwriter-0.1.0-4.el9.ppc64le/usr/share/licenses/rust-xmlwriter-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-xmlwriter-0.1.0-4.el9.ppc64le/usr/share/licenses/rust-xmlwriter-devel + cp -pr LICENSE /builddir/build/BUILDROOT/rust-xmlwriter-0.1.0-4.el9.ppc64le/usr/share/licenses/rust-xmlwriter-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: crate(xmlwriter) = 0.1.0 rust-xmlwriter-devel = 0.1.0-4.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo Processing files: rust-xmlwriter+default-devel-0.1.0-4.el9.noarch Provides: crate(xmlwriter/default) = 0.1.0 rust-xmlwriter+default-devel = 0.1.0-4.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(xmlwriter) = 0.1.0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-xmlwriter-0.1.0-4.el9.ppc64le Wrote: /builddir/build/SRPMS/rust-xmlwriter-0.1.0-4.el9.src.rpm Wrote: /builddir/build/RPMS/rust-xmlwriter+default-devel-0.1.0-4.el9.noarch.rpm Wrote: /builddir/build/RPMS/rust-xmlwriter-devel-0.1.0-4.el9.noarch.rpm Child return code was: 0