Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rust-byte_string.spec'], chrootPath='/var/lib/mock/1236463-fedora-rawhide-x86_64-1581453017.146698/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', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.exda3rwk:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.exda3rwk:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'e07badc973124be490080d4953c322ab', '-D', '/var/lib/mock/1236463-fedora-rawhide-x86_64-1581453017.146698/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.exda3rwk:/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-byte_string.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 setting SOURCE_DATE_EPOCH=1581423296 Wrote: /builddir/build/SRPMS/rust-byte_string-1.0.0-1.fc32.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/rust-byte_string.spec'], chrootPath='/var/lib/mock/1236463-fedora-rawhide-x86_64-1581453017.146698/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', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.exda3rwk:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.exda3rwk:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '866960a2a5864b99892ecae61db99b2d', '-D', '/var/lib/mock/1236463-fedora-rawhide-x86_64-1581453017.146698/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.exda3rwk:/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 -br --target x86_64 --nodeps /builddir/build/SPECS/rust-byte_string.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 setting SOURCE_DATE_EPOCH=1581423296 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.gfbDDt + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf byte_string-1.0.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/byte_string-1.0.0.crate + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd byte_string-1.0.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 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.EWo4mv + umask 022 + cd /builddir/build/BUILD + cd byte_string-1.0.0 + /usr/bin/cargo-inspector -BR Cargo.toml + /usr/bin/cargo-inspector -TR Cargo.toml + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-byte_string-1.0.0-1.fc32.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 95, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 746, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 866960a2a5864b99892ecae61db99b2d -D /var/lib/mock/1236463-fedora-rawhide-x86_64-1581453017.146698/root -a --capability=cap_ipc_lock --rlimit=RLIMIT_NOFILE=10240 --pipe --capability=cap_ipc_lock --bind=/tmp/mock-resolv.exda3rwk:/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 -br --target x86_64 --nodeps /builddir/build/SPECS/rust-byte_string.spec ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --target x86_64 --nodeps /builddir/build/SPECS/rust-byte_string.spec'], chrootPath='/var/lib/mock/1236463-fedora-rawhide-x86_64-1581453017.146698/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', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.exda3rwk:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.exda3rwk:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '09fb1fd0172945eda089a3ca391cbea7', '-D', '/var/lib/mock/1236463-fedora-rawhide-x86_64-1581453017.146698/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.exda3rwk:/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 -ba --noprep --target x86_64 --nodeps /builddir/build/SPECS/rust-byte_string.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 setting SOURCE_DATE_EPOCH=1581423296 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.LaNE7t + umask 022 + cd /builddir/build/BUILD + cd byte_string-1.0.0 + /usr/bin/cargo-inspector -BR Cargo.toml + /usr/bin/cargo-inspector -TR Cargo.toml + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.cjEjpv + umask 022 + cd /builddir/build/BUILD + cd byte_string-1.0.0 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 /usr/bin/cargo build -j2 -Z avoid-dev-deps --release Compiling byte_string v1.0.0 (/builddir/build/BUILD/byte_string-1.0.0) Running `/usr/bin/rustc --crate-name byte_string src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C metadata=2ad10002b627950c -C extra-filename=-2ad10002b627950c --out-dir /builddir/build/BUILD/byte_string-1.0.0/target/release/deps -L dependency=/builddir/build/BUILD/byte_string-1.0.0/target/release/deps -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Ccodegen-units=1 --cap-lints=warn` warning: use of deprecated item 'try': use the `?` operator instead --> src/lib.rs:168:9 | 168 | try!(write!(f, "b\"")); | ^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated item 'try': use the `?` operator instead --> src/lib.rs:172:17 | 172 | try!(write!(f, "{}", ch as char)); | ^^^ Finished release [optimized] target(s) in 0.59s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.RILhyx + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-byte_string-1.0.0-1.fc32.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-byte_string-1.0.0-1.fc32.x86_64 ++ dirname /builddir/build/BUILDROOT/rust-byte_string-1.0.0-1.fc32.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-byte_string-1.0.0-1.fc32.x86_64 + cd byte_string-1.0.0 + set -eu + /usr/bin/cargo-inspector --target-kinds Cargo.toml ++ printf 'lib\nrlib\nproc-macro' + grep -q -F -x 'lib rlib proc-macro' ++ /usr/bin/cargo-inspector --name Cargo.toml + CRATE_NAME=byte_string ++ /usr/bin/cargo-inspector --version Cargo.toml + CRATE_VERSION=1.0.0 + REG_DIR=/builddir/build/BUILDROOT/rust-byte_string-1.0.0-1.fc32.x86_64/usr/share/cargo/registry/byte_string-1.0.0 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-byte_string-1.0.0-1.fc32.x86_64/usr/share/cargo/registry/byte_string-1.0.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-byte_string-1.0.0-1.fc32.x86_64/usr/share/cargo/registry/byte_string-1.0.0 + grep -w -v Cargo.lock warning: No (git) VCS found for `/builddir/build/BUILD/byte_string-1.0.0` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-byte_string-1.0.0-1.fc32.x86_64/usr/share/cargo/registry/byte_string-1.0.0/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-byte_string-1.0.0-1.fc32.x86_64/usr/share/cargo/registry/byte_string-1.0.0/Cargo.toml.orig /builddir/build/BUILDROOT/rust-byte_string-1.0.0-1.fc32.x86_64/usr/share/cargo/registry/byte_string-1.0.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.xeBd7w + umask 022 + cd /builddir/build/BUILD + cd byte_string-1.0.0 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 /usr/bin/cargo test -j2 -Z avoid-dev-deps --release --no-fail-fast warning: use of deprecated item 'try': use the `?` operator instead --> src/lib.rs:168:9 | 168 | try!(write!(f, "b\"")); | ^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated item 'try': use the `?` operator instead --> src/lib.rs:172:17 | 172 | try!(write!(f, "{}", ch as char)); | ^^^ Compiling byte_string v1.0.0 (/builddir/build/BUILD/byte_string-1.0.0) Running `/usr/bin/rustc --crate-name byte_string src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --emit=dep-info,link -C opt-level=3 --test -C metadata=351edb0df576fffa -C extra-filename=-351edb0df576fffa --out-dir /builddir/build/BUILD/byte_string-1.0.0/target/release/deps -L dependency=/builddir/build/BUILD/byte_string-1.0.0/target/release/deps -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Ccodegen-units=1 --cap-lints=warn` warning: use of deprecated item 'try': use the `?` operator instead --> src/lib.rs:168:9 | 168 | try!(write!(f, "b\"")); | ^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated item 'try': use the `?` operator instead --> src/lib.rs:172:17 | 172 | try!(write!(f, "{}", ch as char)); | ^^^ Finished release [optimized] target(s) in 0.87s Running `/builddir/build/BUILD/byte_string-1.0.0/target/release/deps/byte_string-351edb0df576fffa` running 4 tests test tests::debug_bytestr ... ok test tests::debug_bytestr_empty ... ok test tests::debug_bytestring ... ok test tests::debug_bytestring_empty ... ok test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Doc-tests byte_string Running `/usr/bin/rustdoc --crate-type lib --test /builddir/build/BUILD/byte_string-1.0.0/src/lib.rs --crate-name byte_string -L dependency=/builddir/build/BUILD/byte_string-1.0.0/target/release/deps -L dependency=/builddir/build/BUILD/byte_string-1.0.0/target/release/deps --extern byte_string=/builddir/build/BUILD/byte_string-1.0.0/target/release/deps/libbyte_string-2ad10002b627950c.rlib` running 1 test test src/lib.rs - (line 9) ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-byte_string-devel-1.0.0-1.fc32.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Yg770w + umask 022 + cd /builddir/build/BUILD + cd byte_string-1.0.0 + DOCDIR=/builddir/build/BUILDROOT/rust-byte_string-1.0.0-1.fc32.x86_64/usr/share/doc/rust-byte_string-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-byte_string-1.0.0-1.fc32.x86_64/usr/share/doc/rust-byte_string-devel + cp -pr README.md /builddir/build/BUILDROOT/rust-byte_string-1.0.0-1.fc32.x86_64/usr/share/doc/rust-byte_string-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: crate(byte_string) = 1.0.0 rust-byte_string-devel = 1.0.0-1.fc32 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo Processing files: rust-byte_string+default-devel-1.0.0-1.fc32.noarch Provides: crate(byte_string/default) = 1.0.0 rust-byte_string+default-devel = 1.0.0-1.fc32 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(byte_string) = 1.0.0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-byte_string-1.0.0-1.fc32.x86_64 Wrote: /builddir/build/SRPMS/rust-byte_string-1.0.0-1.fc32.src.rpm Wrote: /builddir/build/RPMS/rust-byte_string+default-devel-1.0.0-1.fc32.noarch.rpm Wrote: /builddir/build/RPMS/rust-byte_string-devel-1.0.0-1.fc32.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xOBBdt + umask 022 + cd /builddir/build/BUILD + cd byte_string-1.0.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rust-byte_string-1.0.0-1.fc32.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0