Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/kata-containers.spec'], chrootPath='/var/lib/mock/dist-an8-plus-build-26770-14818/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=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/kata-containers.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 Wrote: /builddir/build/SRPMS/kata-containers-2.0.4-1.an8.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/kata-containers.spec'], chrootPath='/var/lib/mock/dist-an8-plus-build-26770-14818/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=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/kata-containers.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.oVvYBM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf kata-containers-2.0.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/kata-containers-2.0.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd kata-containers-2.0.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git add . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'kata-containers-2.0.4 base' + /usr/bin/cat /builddir/build/SOURCES/0001-Add-vendor-code.patch + /usr/bin/git apply --index -p1 - :16494: trailing whitespace. :41015: trailing whitespace. fix_array_impl_recursive!(u8, :41294: trailing whitespace. /// :41334: trailing whitespace. unsafe { :41354: trailing whitespace. /// warning: squelched 8326 whitespace errors warning: 8331 lines add whitespace errors. + /usr/bin/git commit -q -m 0001-Add-vendor-code.patch --author 'rpm-build ' Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. + /usr/bin/cat /builddir/build/SOURCES/0999-osbuilder-Adjust-agent_version-for-our-builds.patch + /usr/bin/git apply --index -p1 - + /usr/bin/git commit -q -m 0999-osbuilder-Adjust-agent_version-for-our-builds.patch --author 'rpm-build ' Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. + /usr/bin/cat /builddir/build/SOURCES/1000-Remove-shebang-in-non-executable-completion-script.patch + /usr/bin/git apply --index -p1 - + /usr/bin/git commit -q -m 1000-Remove-shebang-in-non-executable-completion-script.patch --author 'rpm-build ' Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.oTzXwk + umask 022 + cd /builddir/build/BUILD + cd kata-containers-2.0.4 ++ pwd + export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/build/BUILD/kata-containers-2.0.4/go/bin + PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/build/BUILD/kata-containers-2.0.4/go/bin ++ pwd + export GOPATH=/builddir/build/BUILD/kata-containers-2.0.4/go + GOPATH=/builddir/build/BUILD/kata-containers-2.0.4/go + mkdir -p go/src/github.com/kata-containers ++ pwd + ln -s /builddir/build/BUILD/kata-containers-2.0.4/../kata-containers-2.0.4 go/src/github.com/kata-containers/kata-containers + cd go/src/github.com/kata-containers/kata-containers ~/build/BUILD/kata-containers-2.0.4/go/src/github.com/kata-containers/kata-containers/src/runtime ~/build/BUILD/kata-containers-2.0.4/go/src/github.com/kata-containers/kata-containers + pushd src/runtime + /usr/bin/make -O -j64 QEMUPATH=/usr/libexec/qemu-kvm KERNELTYPE=compressed DEFSHAREDFS=virtio-fs DEFVIRTIOFSDAEMON=/usr/libexec/virtiofsd DEFVIRTIOFSCACHESIZE=0 DEFSANDBOXCGROUPONLY=true SKIP_GO_VERSION_CHECK=y MACHINETYPE=q35 SCRIPTS_DIR=/usr/bin DESTDIR=/builddir/build/BUILDROOT/kata-containers-2.0.4-1.an8.x86_64 PREFIX=/usr DEFAULTSDIR=/usr/share/kata-containers/defaults CONFDIR=/usr/share/kata-containers/defaults FEATURE_SELINUX=yes GENERATE data/kata-collect-data.sh GENERATE /builddir/build/BUILD/kata-containers-2.0.4/src/runtime/cli/config-generated.go GENERATE pkg/katautils/config-settings.go kata-runtime - version 2.0.4 (commit 01e61c20c97896c31a6b3f6db254ab506852e9bb) GENERATE cli/config/configuration-qemu.toml GENERATE cli/config/configuration-clh.toml GENERATE cli/config/configuration-fc.toml GENERATE cli/config/configuration-acrn.toml • architecture: Host: golang: amd64 Build: amd64 • golang: go version go1.13.4 linux/amd64 • hypervisors: Default: qemu Known: acrn cloud-hypervisor firecracker qemu Available for this architecture: acrn cloud-hypervisor firecracker qemu • Features: SELinux (FEATURE_SELINUX): yes • Summary: destination install path (DESTDIR) : /builddir/build/BUILDROOT/kata-containers-2.0.4-1.an8.x86_64 binary installation path (BINDIR) : /usr/bin binaries to install : - /builddir/build/BUILDROOT/kata-containers-2.0.4-1.an8.x86_64/usr/bin/kata-runtime - /builddir/build/BUILDROOT/kata-containers-2.0.4-1.an8.x86_64/usr/bin/containerd-shim-kata-v2 - /builddir/build/BUILDROOT/kata-containers-2.0.4-1.an8.x86_64/usr/bin/kata-monitor - /builddir/build/BUILDROOT/kata-containers-2.0.4-1.an8.x86_64/usr/libexec/kata-containers/kata-netmon - /builddir/build/BUILDROOT/kata-containers-2.0.4-1.an8.x86_64/usr/bin/data/kata-collect-data.sh configs to install (CONFIGS) : - cli/config/configuration-acrn.toml - cli/config/configuration-clh.toml - cli/config/configuration-fc.toml - cli/config/configuration-qemu.toml install paths (CONFIG_PATHS) : - /usr/share/kata-containers/defaults/configuration-acrn.toml - /usr/share/kata-containers/defaults/configuration-clh.toml - /usr/share/kata-containers/defaults/configuration-fc.toml - /usr/share/kata-containers/defaults/configuration-qemu.toml alternate config paths (SYSCONFIG_PATHS) : - /etc/kata-containers/configuration-acrn.toml - /etc/kata-containers/configuration-clh.toml - /etc/kata-containers/configuration-fc.toml - /etc/kata-containers/configuration-qemu.toml default install path for qemu (CONFIG_PATH) : /usr/share/kata-containers/defaults/configuration.toml default alternate config path (SYSCONFIG) : /etc/kata-containers/configuration.toml qemu hypervisor path (QEMUPATH) : /usr/libexec/qemu-kvm cloud-hypervisor hypervisor path (CLHPATH) : /usr/bin/cloud-hypervisor firecracker hypervisor path (FCPATH) : /usr/bin/firecracker acrn hypervisor path (ACRNPATH) : /usr/bin/acrn-dm assets path (PKGDATADIR) : /usr/share/kata-containers shim path (PKGLIBEXECDIR) : /usr/libexec/kata-containers BUILD /builddir/build/BUILD/kata-containers-2.0.4/src/runtime/kata-monitor BUILD /builddir/build/BUILD/kata-containers-2.0.4/src/runtime/kata-netmon BUILD /builddir/build/BUILD/kata-containers-2.0.4/src/runtime/containerd-shim-kata-v2 BUILD /builddir/build/BUILD/kata-containers-2.0.4/src/runtime/containerd-shim-kata-v2 BUILD /builddir/build/BUILD/kata-containers-2.0.4/src/runtime/kata-runtime + popd + pushd src/agent ~/build/BUILD/kata-containers-2.0.4/go/src/github.com/kata-containers/kata-containers ~/build/BUILD/kata-containers-2.0.4/go/src/github.com/kata-containers/kata-containers/src/agent ~/build/BUILD/kata-containers-2.0.4/go/src/github.com/kata-containers/kata-containers + /usr/bin/make -O -j64 LIBC=gnu DESTDIR=/builddir/build/BUILDROOT/kata-containers-2.0.4-1.an8.x86_64/usr/libexec/kata-containers/agent kata-agent - version 2.0.4 (commit 01e61c20c97896c31a6b3f6db254ab506852e9bb) project: name: Kata Containers url: https://github.com/kata-containers component: kata-agent target: kata-agent architecture: host: x86_64 rust: cargo: cargo 1.41.0 rustc: rustc 1.41.1 rustup: (not available) toolchain: (unknown) Compiling libc v0.2.79 Compiling autocfg v1.0.1 Compiling cfg-if v0.1.10 Compiling getrandom v0.1.15 Compiling byteorder v1.3.4 Compiling protobuf v2.14.0 Compiling adler v0.2.3 Compiling proc-macro2 v1.0.24 Compiling gimli v0.22.0 Compiling unicode-xid v0.2.1 Compiling object v0.21.1 Compiling cfg-if v1.0.0 Compiling rustc-demangle v0.1.18 Compiling syn v1.0.45 Compiling proc-macro2 v0.4.30 Compiling lazy_static v1.4.0 Compiling unicode-xid v0.1.0 Compiling bitflags v1.2.1 Compiling log v0.4.11 Compiling syn v0.15.44 Compiling either v1.6.1 Compiling ppv-lite86 v0.2.9 Compiling fixedbitset v0.1.9 Compiling unicode-segmentation v1.6.0 Compiling remove_dir_all v0.5.3 Compiling slog v2.5.2 Compiling multimap v0.4.0 Compiling ryu v1.0.5 Compiling memchr v2.3.3 Compiling serde v1.0.117 Compiling nix v0.16.1 Compiling void v1.0.2 Compiling arc-swap v0.4.7 Compiling serde_json v1.0.59 Compiling itoa v0.4.6 Compiling version_check v0.9.2 Compiling maybe-uninit v2.0.0 Compiling crc32fast v1.2.0 Compiling nix v0.17.0 Compiling serde_derive v1.0.117 Compiling nix v0.18.0 Compiling regex-syntax v0.6.20 Compiling anyhow v1.0.33 Compiling futures v0.1.30 Compiling libflate_lz77 v1.0.0 Compiling rle-decode-fast v1.0.1 Compiling adler32 v1.2.0 Compiling hex v0.4.2 Compiling slash-formatter v2.2.6 Compiling take_mut v0.2.2 Compiling prometheus v0.9.0 Compiling scopeguard v1.1.0 Compiling spin v0.5.2 Compiling fnv v1.0.7 Compiling thread_local v1.0.1 Compiling path-dedot v1.2.4 Compiling path-absolutize v1.2.1 Compiling itertools v0.8.2 Compiling petgraph v0.4.13 Compiling heck v0.3.1 Compiling libflate v1.0.2 Compiling aho-corasick v0.7.14 Compiling slog-scope v4.3.0 Compiling miniz_oxide v0.4.3 Compiling num-traits v0.2.12 Compiling num-integer v0.1.43 Compiling crossbeam-utils v0.7.2 Compiling error-chain v0.12.4 Compiling quote v0.6.13 Compiling quote v1.0.7 Compiling crossbeam-channel v0.4.4 Compiling slog-async v2.5.0 Compiling time v0.1.44 Compiling errno v0.2.6 Compiling nix v0.19.0 Compiling dirs-sys v0.3.5 Compiling signal-hook-registry v1.2.1 Compiling dirs v3.0.1 Compiling caps v0.3.4 Compiling signal-hook v0.1.16 Compiling regex v1.4.1 Compiling iovec v0.1.4 Compiling rand_core v0.5.1 Compiling bytes v0.4.12 Compiling chrono v0.4.19 Compiling rand_chacha v0.2.2 Compiling addr2line v0.13.0 Compiling rand v0.7.3 Compiling scan_fmt v0.2.5 Compiling procfs v0.7.9 Compiling protobuf-codegen v2.14.0 Compiling backtrace v0.3.53 Compiling failure v0.1.8 Compiling tempfile v3.1.0 Compiling which v2.0.1 Compiling protobuf-codegen-pure v2.14.0 Compiling prost-build v0.5.0 Compiling prctl v1.0.0 Compiling derive-new v0.5.8 Compiling thiserror-impl v1.0.21 Compiling cgroups v0.1.1-alpha.0 (https://github.com/kata-containers/cgroups-rs?branch=stable-0.1.1#8717524f) Compiling prost-derive v0.5.0 Compiling slog-json v2.3.0 Compiling logging v0.1.0 (/builddir/build/BUILD/kata-containers-2.0.4/pkg/logging) Compiling thiserror v1.0.21 Compiling prost v0.5.0 Compiling prost-types v0.5.0 Compiling ttrpc v0.3.0 Compiling oci v0.1.0 (/builddir/build/BUILD/kata-containers-2.0.4/src/agent/oci) Compiling ttrpc-compiler v0.3.2 Compiling ttrpc-codegen v0.1.2 Compiling protocols v0.1.0 (/builddir/build/BUILD/kata-containers-2.0.4/src/agent/protocols) Compiling netlink v0.1.0 (/builddir/build/BUILD/kata-containers-2.0.4/src/agent/netlink) Compiling rustjail v0.1.0 (/builddir/build/BUILD/kata-containers-2.0.4/src/agent/rustjail) Compiling kata-agent v0.1.0 (/builddir/build/BUILD/kata-containers-2.0.4/src/agent) error[E0658]: use of unstable library feature 'matches_macro' --> src/config.rs:230:23 | 230 | .map(|v| !matches!(v, 0)) | ^^^^^^^ | = note: for more information, see https://github.com/rust-lang/rust/issues/65721 error: aborting due to previous error For more information about this error, try `rustc --explain E0658`. error: could not compile `kata-agent`. To learn more, run the command again with --verbose. make: *** [Makefile:127: target/x86_64-unknown-linux-gnu/release/kata-agent] Error 101 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.oTzXwk (%build) Bad exit status from /var/tmp/rpm-tmp.oTzXwk (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, 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 -bb --target x86_64 --nodeps /builddir/build/SPECS/kata-containers.spec