Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/nmstate.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-343425-70024/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=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/nmstate.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/nmstate-2.2.19-1.0.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/nmstate.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-343425-70024/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=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/nmstate.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.WJTnIV + umask 022 + cd /builddir/build/BUILD + gpg2 --import --import-options import-export,import-minimal /builddir/build/SOURCES/nmstate.gpg gpg: directory '/builddir/.gnupg' created gpg: keybox '/builddir/.gnupg/pubring.kbx' created gpg: Total number processed: 2 + gpgv2 --keyring ./gpgkey-mantainers.gpg /builddir/build/SOURCES/nmstate-2.2.19.tar.gz.asc /builddir/build/SOURCES/nmstate-2.2.19.tar.gz gpgv: Signature made Wed Nov 15 18:38:55 2023 CST gpgv: using RSA key 48FD6FAE515A77B48436821C8789567B8715CEBC gpgv: Good signature from "Gris Ge " + cd /builddir/build/BUILD + rm -rf nmstate-2.2.19 + /usr/bin/gzip -dc /builddir/build/SOURCES/nmstate-2.2.19.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd nmstate-2.2.19 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + pushd rust ~/build/BUILD/nmstate-2.2.19/rust ~/build/BUILD/nmstate-2.2.19 + /usr/bin/mkdir -p .cargo + cat + /usr/bin/tar -xoaf /builddir/build/SOURCES/nmstate-vendor-2.2.19.tar.xz + cat ++ sed -ne 's/rustflags = "\(.\+\)"/\1/p' .cargo/config.toml + _FLAGS=-Clink-arg=-Wl,-soname=libnmstate.so.2 + sed -i -e 's/rustflags = \[\(.\+\), \]$/rustflags = [\1, "-Clink-arg=-Wl,-soname=libnmstate.so.2"]/' .cargo/config + rm .cargo/config.toml + popd ~/build/BUILD/nmstate-2.2.19 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.hv1zYg + umask 022 ~/build/BUILD/nmstate-2.2.19/rust/src/python ~/build/BUILD/nmstate-2.2.19 + cd /builddir/build/BUILD + cd nmstate-2.2.19 + pushd rust/src/python + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/libexec/platform-python setup.py build '--executable=/usr/libexec/platform-python -s' running build running build_py creating build creating build/lib creating build/lib/libnmstate copying libnmstate/__init__.py -> build/lib/libnmstate copying libnmstate/clib_wrapper.py -> build/lib/libnmstate copying libnmstate/error.py -> build/lib/libnmstate copying libnmstate/gen_conf.py -> build/lib/libnmstate copying libnmstate/iplib.py -> build/lib/libnmstate copying libnmstate/netapplier.py -> build/lib/libnmstate copying libnmstate/netinfo.py -> build/lib/libnmstate copying libnmstate/nmpolicy.py -> build/lib/libnmstate copying libnmstate/prettystate.py -> build/lib/libnmstate copying libnmstate/schema.py -> build/lib/libnmstate copying libnmstate/state.py -> build/lib/libnmstate + sleep 1 + popd ~/build/BUILD/nmstate-2.2.19 ~/build/BUILD/nmstate-2.2.19/rust ~/build/BUILD/nmstate-2.2.19 + pushd rust + /usr/bin/env CARGO_HOME=.cargo /usr/bin/cargo build --release -j64 error: package `toml_datetime v0.6.5` cannot be built because it requires rustc 1.67 or newer, while the currently active rustc version is 1.66.1 Either upgrade to rustc 1.67 or newer, or use cargo update -p toml_datetime@0.6.5 --precise ver where `ver` is the latest version of `toml_datetime` supporting rustc 1.66.1 error: Bad exit status from /var/tmp/rpm-tmp.hv1zYg (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.hv1zYg (%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/nmstate.spec