Mock Version: 1.4.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rust-try_or.spec'], chrootPath='/var/lib/mock/920427-fedora-rawhide-x86_64-1559580956.051967/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.18a823r6:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.18a823r6:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'cb5ee290380a4fd99ee8b284077bef5e', '-D', '/var/lib/mock/920427-fedora-rawhide-x86_64-1559580956.051967/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.18a823r6:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rust-try_or.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-try_or-0.2.0-1.fc31.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rust-try_or.spec'], chrootPath='/var/lib/mock/920427-fedora-rawhide-x86_64-1559580956.051967/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.18a823r6:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.18a823r6:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b5579f912fd94684ad9e41e8a14bdd01', '-D', '/var/lib/mock/920427-fedora-rawhide-x86_64-1559580956.051967/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.18a823r6:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rust-try_or.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.MtYeqv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf try_or-0.2.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/try_or-0.2.0.crate + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd try_or-0.2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + set -eu + /usr/bin/mkdir -p .cargo + cat + /usr/bin/rm -f Cargo.lock + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WUWHsw + umask 022 + cd /builddir/build/BUILD + cd try_or-0.2.0 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 /usr/bin/cargo build -j2 -Z avoid-dev-deps --release BUILDSTDERR: Compiling try_or v0.2.0 (/builddir/build/BUILD/try_or-0.2.0) BUILDSTDERR: Running `/usr/bin/rustc --crate-name try_or src/lib.rs --color never --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=e1fefbebfa9023b0 -C extra-filename=-e1fefbebfa9023b0 --out-dir /builddir/build/BUILD/try_or-0.2.0/target/release/deps -L dependency=/builddir/build/BUILD/try_or-0.2.0/target/release/deps -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Ccodegen-units=1` BUILDSTDERR: Finished release [optimized] target(s) in 0.36s + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.vqW6fu + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-try_or-0.2.0-1.fc31.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-try_or-0.2.0-1.fc31.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/rust-try_or-0.2.0-1.fc31.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-try_or-0.2.0-1.fc31.x86_64 + cd try_or-0.2.0 + set -eu + /usr/bin/cargo-inspector --target-kinds Cargo.toml BUILDSTDERR: ++ printf 'lib\nrlib\nproc-macro' + grep -q -F -x 'lib BUILDSTDERR: rlib BUILDSTDERR: proc-macro' BUILDSTDERR: ++ /usr/bin/cargo-inspector --name Cargo.toml + CRATE_NAME=try_or BUILDSTDERR: ++ /usr/bin/cargo-inspector --version Cargo.toml + CRATE_VERSION=0.2.0 + REG_DIR=/builddir/build/BUILDROOT/rust-try_or-0.2.0-1.fc31.x86_64/usr/share/cargo/registry/try_or-0.2.0 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-try_or-0.2.0-1.fc31.x86_64/usr/share/cargo/registry/try_or-0.2.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 /usr/bin/cargo package -l + xargs -d '\n' /usr/bin/cp --parents -a -t /builddir/build/BUILDROOT/rust-try_or-0.2.0-1.fc31.x86_64/usr/share/cargo/registry/try_or-0.2.0 BUILDSTDERR: warning: No (git) VCS found for `/builddir/build/BUILD/try_or-0.2.0` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-try_or-0.2.0-1.fc31.x86_64/usr/share/cargo/registry/try_or-0.2.0/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-try_or-0.2.0-1.fc31.x86_64/usr/share/cargo/registry/try_or-0.2.0/Cargo.toml.orig /builddir/build/BUILDROOT/rust-try_or-0.2.0-1.fc31.x86_64/usr/share/cargo/registry/try_or-0.2.0/Cargo.toml.deps + echo '{"files":{},"package":""}' + /usr/bin/cargo-inspector --target-kinds Cargo.toml + grep -q -F -x bin + /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/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.4LVgKt + umask 022 + cd /builddir/build/BUILD + cd try_or-0.2.0 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 /usr/bin/cargo test -j2 -Z avoid-dev-deps --release --no-fail-fast BUILDSTDERR: Compiling try_or v0.2.0 (/builddir/build/BUILD/try_or-0.2.0) BUILDSTDERR: Running `/usr/bin/rustc --crate-name try_or src/lib.rs --color never --emit=dep-info,link -C opt-level=3 --test -C metadata=b39643489b47dde7 -C extra-filename=-b39643489b47dde7 --out-dir /builddir/build/BUILD/try_or-0.2.0/target/release/deps -L dependency=/builddir/build/BUILD/try_or-0.2.0/target/release/deps -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Ccodegen-units=1` BUILDSTDERR: Finished release [optimized] target(s) in 0.46s BUILDSTDERR: Running `/builddir/build/BUILD/try_or-0.2.0/target/release/deps/try_or-b39643489b47dde7` running 1 test test tests::it_works ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Processing files: rust-try_or-devel-0.2.0-1.fc31.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.TlHZRu BUILDSTDERR: Doc-tests try_or BUILDSTDERR: Running `/usr/bin/rustdoc --test /builddir/build/BUILD/try_or-0.2.0/src/lib.rs --crate-name try_or -L dependency=/builddir/build/BUILD/try_or-0.2.0/target/release/deps -L dependency=/builddir/build/BUILD/try_or-0.2.0/target/release/deps --extern try_or=/builddir/build/BUILD/try_or-0.2.0/target/release/deps/libtry_or-e1fefbebfa9023b0.rlib` + exit 0 + umask 022 + cd /builddir/build/BUILD + cd try_or-0.2.0 + DOCDIR=/builddir/build/BUILDROOT/rust-try_or-0.2.0-1.fc31.x86_64/usr/share/doc/rust-try_or-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-try_or-0.2.0-1.fc31.x86_64/usr/share/doc/rust-try_or-devel + cp -pr README.md /builddir/build/BUILDROOT/rust-try_or-0.2.0-1.fc31.x86_64/usr/share/doc/rust-try_or-devel + exit 0 Provides: crate(try_or) = 0.2.0 rust-try_or-devel = 0.2.0-1.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo Processing files: rust-try_or+default-devel-0.2.0-1.fc31.noarch Provides: crate(try_or/default) = 0.2.0 rust-try_or+default-devel = 0.2.0-1.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(try_or) = 0.2.0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-try_or-0.2.0-1.fc31.x86_64 Wrote: /builddir/build/RPMS/rust-try_or-devel-0.2.0-1.fc31.noarch.rpm Wrote: /builddir/build/RPMS/rust-try_or+default-devel-0.2.0-1.fc31.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.bBfp3t + umask 022 + cd /builddir/build/BUILD + cd try_or-0.2.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rust-try_or-0.2.0-1.fc31.x86_64 + exit 0 Child return code was: 0