Mock Version: 1.4.16 Mock Version: 1.4.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/rust-shell-words.spec'], chrootPath='/var/lib/mock/f31-build-17051465-1223993/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=172800uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/rust-shell-words.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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1564099200 Wrote: /builddir/build/SRPMS/rust-shell-words-0.1.0-6.fc31.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target s390x --nodeps /builddir/build/SPECS/rust-shell-words.spec'], chrootPath='/var/lib/mock/f31-build-17051465-1223993/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=172800uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target s390x --nodeps /builddir/build/SPECS/rust-shell-words.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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1564099200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.FQFe76 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf shell-words-0.1.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/shell-words-0.1.0.crate + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd shell-words-0.1.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 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.hbDhF6 + umask 022 + cd /builddir/build/BUILD + cd shell-words-0.1.0 + /usr/bin/cargo-inspector -BR Cargo.toml + /usr/bin/cargo-inspector -TR Cargo.toml + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 rust-packaging Wrote: /builddir/build/SRPMS/rust-shell-words-0.1.0-6.fc31.buildreqs.nosrc.rpm Child return code was: 11 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 736, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -br --target s390x --nodeps /builddir/build/SPECS/rust-shell-words.spec ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --target s390x --nodeps /builddir/build/SPECS/rust-shell-words.spec'], chrootPath='/var/lib/mock/f31-build-17051465-1223993/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=172800uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --target s390x --nodeps /builddir/build/SPECS/rust-shell-words.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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1564099200 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.d2XFFb + umask 022 + cd /builddir/build/BUILD + cd shell-words-0.1.0 + /usr/bin/cargo-inspector -BR Cargo.toml + /usr/bin/cargo-inspector -TR Cargo.toml + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 rust-packaging Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Hwpjzb + umask 022 + cd /builddir/build/BUILD + cd shell-words-0.1.0 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 /usr/bin/cargo build -j4 -Z avoid-dev-deps --release BUILDSTDERR: Compiling shell-words v0.1.0 (/builddir/build/BUILD/shell-words-0.1.0) BUILDSTDERR: Running `/usr/bin/rustc --crate-name shell_words src/lib.rs --color never --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C metadata=0d676dfc48633040 -C extra-filename=-0d676dfc48633040 --out-dir /builddir/build/BUILD/shell-words-0.1.0/target/release/deps -L dependency=/builddir/build/BUILD/shell-words-0.1.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.72s + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.4XOmie + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-shell-words-0.1.0-6.fc31.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-shell-words-0.1.0-6.fc31.s390x BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/rust-shell-words-0.1.0-6.fc31.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-shell-words-0.1.0-6.fc31.s390x + cd shell-words-0.1.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=shell-words BUILDSTDERR: ++ /usr/bin/cargo-inspector --version Cargo.toml + CRATE_VERSION=0.1.0 + REG_DIR=/builddir/build/BUILDROOT/rust-shell-words-0.1.0-6.fc31.s390x/usr/share/cargo/registry/shell-words-0.1.0 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-shell-words-0.1.0-6.fc31.s390x/usr/share/cargo/registry/shell-words-0.1.0 + mv Cargo.toml Cargo.toml.deps + awk '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml.deps + /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-shell-words-0.1.0-6.fc31.s390x/usr/share/cargo/registry/shell-words-0.1.0 BUILDSTDERR: warning: No (git) VCS found for `/builddir/build/BUILD/shell-words-0.1.0` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-shell-words-0.1.0-6.fc31.s390x/usr/share/cargo/registry/shell-words-0.1.0/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-shell-words-0.1.0-6.fc31.s390x/usr/share/cargo/registry/shell-words-0.1.0/Cargo.toml.orig /builddir/build/BUILDROOT/rust-shell-words-0.1.0-6.fc31.s390x/usr/share/cargo/registry/shell-words-0.1.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/redhat/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.LiN12a + umask 022 + cd /builddir/build/BUILD + cd shell-words-0.1.0 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 /usr/bin/cargo test -j4 -Z avoid-dev-deps --release --no-fail-fast BUILDSTDERR: Compiling shell-words v0.1.0 (/builddir/build/BUILD/shell-words-0.1.0) BUILDSTDERR: Running `/usr/bin/rustc --crate-name shell_words src/lib.rs --color never --emit=dep-info,metadata,link -C opt-level=3 --test -C metadata=beaef59bb9a2751d -C extra-filename=-beaef59bb9a2751d --out-dir /builddir/build/BUILD/shell-words-0.1.0/target/release/deps -L dependency=/builddir/build/BUILD/shell-words-0.1.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 1.26s BUILDSTDERR: Running `/builddir/build/BUILD/shell-words-0.1.0/target/release/deps/shell_words-beaef59bb9a2751d` BUILDSTDERR: Doc-tests shell-words BUILDSTDERR: Running `/usr/bin/rustdoc --test /builddir/build/BUILD/shell-words-0.1.0/src/lib.rs --crate-name shell_words -L dependency=/builddir/build/BUILD/shell-words-0.1.0/target/release/deps -L dependency=/builddir/build/BUILD/shell-words-0.1.0/target/release/deps --extern shell_words=/builddir/build/BUILD/shell-words-0.1.0/target/release/deps/libshell_words-0d676dfc48633040.rlib` + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 running 13 tests test tests::split_carriage_return_is_not_special ... ok test tests::join_followed_by_split_is_identity ... ok test tests::split_double_quotes ... ok test tests::split_comments ... ok test tests::split_empty ... ok test tests::split_errors ... ok test tests::split_trailing_backslash ... ok test tests::split_single_quotes ... ok test tests::split_unquoted ... ok test tests::test_join ... ok test tests::test_quote ... ok test tests::split_trailing_whitespace_is_removed ... ok test tests::split_initial_whitespace_is_removed ... ok test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out running 2 tests test src/lib.rs - join (line 300) ... ok test src/lib.rs - split (line 90) ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Processing files: rust-shell-words-devel-0.1.0-6.fc31.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.M0rAQb + umask 022 + cd /builddir/build/BUILD + cd shell-words-0.1.0 + DOCDIR=/builddir/build/BUILDROOT/rust-shell-words-0.1.0-6.fc31.s390x/usr/share/doc/rust-shell-words-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-shell-words-0.1.0-6.fc31.s390x/usr/share/doc/rust-shell-words-devel + cp -pr README.md /builddir/build/BUILDROOT/rust-shell-words-0.1.0-6.fc31.s390x/usr/share/doc/rust-shell-words-devel + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.SuVThb + umask 022 + cd /builddir/build/BUILD + cd shell-words-0.1.0 + LICENSEDIR=/builddir/build/BUILDROOT/rust-shell-words-0.1.0-6.fc31.s390x/usr/share/licenses/rust-shell-words-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-shell-words-0.1.0-6.fc31.s390x/usr/share/licenses/rust-shell-words-devel + cp -pr LICENSE-MIT /builddir/build/BUILDROOT/rust-shell-words-0.1.0-6.fc31.s390x/usr/share/licenses/rust-shell-words-devel + cp -pr LICENSE-APACHE /builddir/build/BUILDROOT/rust-shell-words-0.1.0-6.fc31.s390x/usr/share/licenses/rust-shell-words-devel + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: crate(shell-words) = 0.1.0 rust-shell-words-devel = 0.1.0-6.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-shell-words+default-devel-0.1.0-6.fc31.noarch Provides: crate(shell-words/default) = 0.1.0 rust-shell-words+default-devel = 0.1.0-6.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(shell-words) = 0.1.0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-shell-words-0.1.0-6.fc31.s390x Wrote: /builddir/build/SRPMS/rust-shell-words-0.1.0-6.fc31.src.rpm Wrote: /builddir/build/RPMS/rust-shell-words+default-devel-0.1.0-6.fc31.noarch.rpm Wrote: /builddir/build/RPMS/rust-shell-words-devel-0.1.0-6.fc31.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.E7cfPb + umask 022 + cd /builddir/build/BUILD + cd shell-words-0.1.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rust-shell-words-0.1.0-6.fc31.s390x + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0