Mock Version: 5.6 Mock Version: 5.6 Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-heapsize.spec'], chrootPath='/var/lib/mock/epel9-build-54913585-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'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-heapsize.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=1658534400 Wrote: /builddir/build/SRPMS/rust-heapsize-0.4.2-14.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-heapsize.spec'], chrootPath='/var/lib/mock/epel9-build-54913585-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'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-heapsize.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=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.IwsuLR + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf heapsize-0.4.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/heapsize-0.4.2.crate + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd heapsize-0.4.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/heapsize-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + 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(%build): /bin/sh -e /var/tmp/rpm-tmp.TxlWCg + umask 022 + cd /builddir/build/BUILD + cd heapsize-0.4.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 heapsize v0.4.2 (/builddir/build/BUILD/heapsize-0.4.2) Running `/usr/bin/rustc --crate-name build_script_build --edition=2015 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 -C metadata=fa8535773e470514 -C extra-filename=-fa8535773e470514 --out-dir /builddir/build/BUILD/heapsize-0.4.2/target/rpm/build/heapsize-fa8535773e470514 -L dependency=/builddir/build/BUILD/heapsize-0.4.2/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unnecessary trailing semicolon --> build.rs:23:63 | 23 | let version = release.unwrap().split('-').next().unwrap();; | ^ help: remove this semicolon | = note: `#[warn(redundant_semicolons)]` on by default warning: `heapsize` (build script) generated 1 warning Running `/builddir/build/BUILD/heapsize-0.4.2/target/rpm/build/heapsize-fa8535773e470514/build-script-build` Running `/usr/bin/rustc --crate-name heapsize --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=47c7fe7c3dd783a4 -C extra-filename=-47c7fe7c3dd783a4 --out-dir /builddir/build/BUILD/heapsize-0.4.2/target/rpm/deps -L dependency=/builddir/build/BUILD/heapsize-0.4.2/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.90s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.JbBj96 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-heapsize-0.4.2-14.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-heapsize-0.4.2-14.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/rust-heapsize-0.4.2-14.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-heapsize-0.4.2-14.el9.x86_64 + cd heapsize-0.4.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=heapsize ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.4.2 + REG_DIR=/builddir/build/BUILDROOT/rust-heapsize-0.4.2-14.el9.x86_64/usr/share/cargo/registry/heapsize-0.4.2 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-heapsize-0.4.2-14.el9.x86_64/usr/share/cargo/registry/heapsize-0.4.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-heapsize-0.4.2-14.el9.x86_64/usr/share/cargo/registry/heapsize-0.4.2 warning: no (git) VCS found for `/builddir/build/BUILD/heapsize-0.4.2` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-heapsize-0.4.2-14.el9.x86_64/usr/share/cargo/registry/heapsize-0.4.2/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-heapsize-0.4.2-14.el9.x86_64/usr/share/cargo/registry/heapsize-0.4.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 Processing files: rust-heapsize-devel-0.4.2-14.el9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.YXjOUS + umask 022 + cd /builddir/build/BUILD + cd heapsize-0.4.2 + DOCDIR=/builddir/build/BUILDROOT/rust-heapsize-0.4.2-14.el9.x86_64/usr/share/doc/rust-heapsize-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-heapsize-0.4.2-14.el9.x86_64/usr/share/doc/rust-heapsize-devel + cp -pr README.md /builddir/build/BUILDROOT/rust-heapsize-0.4.2-14.el9.x86_64/usr/share/doc/rust-heapsize-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.N9jKOm + umask 022 + cd /builddir/build/BUILD + cd heapsize-0.4.2 + LICENSEDIR=/builddir/build/BUILDROOT/rust-heapsize-0.4.2-14.el9.x86_64/usr/share/licenses/rust-heapsize-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-heapsize-0.4.2-14.el9.x86_64/usr/share/licenses/rust-heapsize-devel + cp -pr LICENSE-MIT /builddir/build/BUILDROOT/rust-heapsize-0.4.2-14.el9.x86_64/usr/share/licenses/rust-heapsize-devel + cp -pr LICENSE-APACHE /builddir/build/BUILDROOT/rust-heapsize-0.4.2-14.el9.x86_64/usr/share/licenses/rust-heapsize-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: crate(heapsize) = 0.4.2 rust-heapsize-devel = 0.4.2-14.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-heapsize+default-devel-0.4.2-14.el9.noarch Provides: crate(heapsize/default) = 0.4.2 rust-heapsize+default-devel = 0.4.2-14.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(heapsize) = 0.4.2 Processing files: rust-heapsize+unstable-devel-0.4.2-14.el9.noarch Provides: crate(heapsize/unstable) = 0.4.2 rust-heapsize+unstable-devel = 0.4.2-14.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(heapsize) = 0.4.2 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-heapsize-0.4.2-14.el9.x86_64 Wrote: /builddir/build/RPMS/rust-heapsize+default-devel-0.4.2-14.el9.noarch.rpm Wrote: /builddir/build/RPMS/rust-heapsize+unstable-devel-0.4.2-14.el9.noarch.rpm Wrote: /builddir/build/RPMS/rust-heapsize-devel-0.4.2-14.el9.noarch.rpm Child return code was: 0