Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rust-pbr.spec'], chrootPath='/var/lib/mock/690539-fedora-rawhide-x86_64-1513978153.258527/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]printOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rust-pbr.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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rust-pbr-1.0.0-1.fc28.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rust-pbr.spec'], chrootPath='/var/lib/mock/690539-fedora-rawhide-x86_64-1513978153.258527/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]printOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rust-pbr.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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.zmJD12 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pbr-1.0.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/pbr-1.0.0.crate + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pbr-1.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/pbr-1.0.0-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + set -eu + /usr/bin/mkdir -p .cargo + cat + gawk -i inplace -v INPLACE_SUFFIX=.orig '/^\[dev-dependencies/{f=1;next} /^\[/{f=0}; !f' Cargo.toml + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2C5daU + umask 022 + cd /builddir/build/BUILD + cd pbr-1.0.0 + /usr/bin/cargo build --release -j2 Compiling libc v0.2.34 Running `/usr/bin/rustc --crate-name libc /usr/share/cargo/registry/libc-0.2.34/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 --cfg 'feature="default"' --cfg 'feature="use_std"' -C metadata=8f4c4fada3247809 -C extra-filename=-8f4c4fada3247809 --out-dir /builddir/build/BUILD/pbr-1.0.0/target/release/deps -L dependency=/builddir/build/BUILD/pbr-1.0.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now` Compiling time v0.1.38 Running `/usr/bin/rustc --crate-name time /usr/share/cargo/registry/time-0.1.38/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=b5100b738430f2bd -C extra-filename=-b5100b738430f2bd --out-dir /builddir/build/BUILD/pbr-1.0.0/target/release/deps -L dependency=/builddir/build/BUILD/pbr-1.0.0/target/release/deps --extern libc=/builddir/build/BUILD/pbr-1.0.0/target/release/deps/liblibc-8f4c4fada3247809.rlib --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now` Compiling pbr v1.0.0 (file:///builddir/build/BUILD/pbr-1.0.0) Running `/usr/bin/rustc --crate-name pbr src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=c0777df35fbdd30f -C extra-filename=-c0777df35fbdd30f --out-dir /builddir/build/BUILD/pbr-1.0.0/target/release/deps -L dependency=/builddir/build/BUILD/pbr-1.0.0/target/release/deps --extern time=/builddir/build/BUILD/pbr-1.0.0/target/release/deps/libtime-b5100b738430f2bd.rlib --extern libc=/builddir/build/BUILD/pbr-1.0.0/target/release/deps/liblibc-8f4c4fada3247809.rlib -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now` warning: unused `#[macro_use]` import --> src/lib.rs:114:1 | 114 | #[macro_use] | ^^^^^^^^^^^^ | = note: #[warn(unused_imports)] on by default Finished release [optimized] target(s) in 7.2 secs + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.b6bv9b + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-pbr-1.0.0-1.fc28.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-pbr-1.0.0-1.fc28.x86_64 ++ dirname /builddir/build/BUILDROOT/rust-pbr-1.0.0-1.fc28.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-pbr-1.0.0-1.fc28.x86_64 + cd pbr-1.0.0 + set -eu + /usr/bin/cargo-inspector --target-kinds Cargo.toml ++ printf 'lib\nproc-macro' + grep -q -F 'lib proc-macro' ++ /usr/bin/cargo-inspector --name Cargo.toml + CRATE_NAME=pbr ++ /usr/bin/cargo-inspector --version Cargo.toml + CRATE_VERSION=1.0.0 + REG_DIR=/builddir/build/BUILDROOT/rust-pbr-1.0.0-1.fc28.x86_64/usr/share/cargo/registry/pbr-1.0.0 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-pbr-1.0.0-1.fc28.x86_64/usr/share/cargo/registry/pbr-1.0.0 + /usr/bin/cargo package -l + xargs /usr/bin/cp --parents -a -t /builddir/build/BUILDROOT/rust-pbr-1.0.0-1.fc28.x86_64/usr/share/cargo/registry/pbr-1.0.0 + /usr/bin/cp -a Cargo.toml.orig /builddir/build/BUILDROOT/rust-pbr-1.0.0-1.fc28.x86_64/usr/share/cargo/registry/pbr-1.0.0/Cargo.toml + echo '{"files":{},"package":""}' + /usr/bin/cargo-inspector --target-kinds Cargo.toml + grep -q -F bin + /usr/lib/rpm/check-buildroot + /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/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink Processing files: rust-pbr-devel-1.0.0-1.fc28.noarch Provides: crate(pbr) = 1.0.0 rust-pbr-devel = 1.0.0-1.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(libc) >= 0.2.9 with crate(libc) < 0.3.0) (crate(time) >= 0.1.35 with crate(time) < 0.2.0) cargo Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-pbr-1.0.0-1.fc28.x86_64 Wrote: /builddir/build/RPMS/rust-pbr-devel-1.0.0-1.fc28.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ssq1NG + umask 022 + cd /builddir/build/BUILD + cd pbr-1.0.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rust-pbr-1.0.0-1.fc28.x86_64 + exit 0 Child return code was: 0