Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/aardvark-dns.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-227199-62190/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/aardvark-dns.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: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/aardvark-dns-1.1.0-5.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/aardvark-dns.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-227199-62190/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/aardvark-dns.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: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6H20fF + umask 022 + cd /builddir/build/BUILD + tar fx /builddir/build/SOURCES/v1.1.0-rhel-4847c54.tar.gz + pushd containers-aardvark-dns-4847c54 ~/build/BUILD/containers-aardvark-dns-4847c54 ~/build/BUILD + tar fx /builddir/build/SOURCES/aardvark-dns-v1.1.0-vendor.tar.gz + mkdir -p .cargo + cat + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MtkDfj + umask 022 ~/build/BUILD/containers-aardvark-dns-4847c54 ~/build/BUILD + cd /builddir/build/BUILD + pushd containers-aardvark-dns-4847c54 + /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 'aardvark-dns-1.1.0 base' + /usr/bin/make -O -j4 build mkdir -p bin mkdir -p targets cargo build --release RPM build errors: Compiling libc v0.2.126 Compiling autocfg v1.1.0 Compiling proc-macro2 v1.0.40 Compiling unicode-ident v1.0.1 Compiling quote v1.0.20 Compiling syn v1.0.98 Compiling cfg-if v1.0.0 Compiling version_check v0.9.4 Compiling smallvec v1.9.0 Compiling log v0.4.17 Compiling memchr v2.5.0 Compiling futures-core v0.3.21 Compiling parking_lot_core v0.9.3 Compiling tinyvec_macros v0.1.0 Compiling heck v0.4.0 Compiling futures-task v0.3.21 Compiling scopeguard v1.1.0 Compiling pin-project-lite v0.2.9 Compiling futures-util v0.3.21 Compiling matches v0.1.9 Compiling percent-encoding v2.1.0 Compiling once_cell v1.13.0 Compiling slab v0.4.6 Compiling futures-channel v0.3.21 Compiling async-trait v0.1.56 Compiling pin-utils v0.1.0 Compiling ppv-lite86 v0.2.16 Compiling unicode-bidi v0.3.8 Compiling bytes v1.1.0 Compiling futures-io v0.3.21 Compiling num_threads v0.1.6 Compiling itoa v1.0.2 Compiling lazy_static v1.4.0 Compiling data-encoding v2.3.2 Compiling ipnet v2.5.0 Compiling serde_derive v1.0.139 Compiling serde v1.0.139 Compiling endian-type v0.1.2 Compiling regex-syntax v0.6.27 Compiling termcolor v1.1.3 Compiling match_cfg v0.1.0 Compiling bitflags v1.3.2 Compiling anyhow v1.0.58 Compiling os_str_bytes v6.1.0 Compiling signal-hook v0.3.14 Compiling hashbrown v0.12.2 Compiling humantime v2.1.0 Compiling event-listener v2.5.2 Compiling quick-error v1.2.3 Compiling strsim v0.10.0 Compiling textwrap v0.15.0 Compiling lock_api v0.4.7 Compiling tokio v1.20.0 Compiling num-traits v0.2.15 Compiling num-integer v0.1.45 Compiling memoffset v0.6.5 Compiling indexmap v1.9.1 Compiling nibble_vec v0.1.0 Compiling tinyvec v1.6.0 Compiling proc-macro-error-attr v1.0.4 Compiling proc-macro-error v1.0.4 Compiling error-chain v0.12.4 Compiling form_urlencoded v1.0.1 Compiling clap_lex v0.2.4 Compiling resolv-conf v0.7.0 Compiling radix_trie v0.2.1 Compiling unicode-normalization v0.1.21 Compiling getrandom v0.2.7 Compiling signal-hook-registry v1.4.0 Compiling num_cpus v1.13.1 Compiling socket2 v0.4.4 Compiling time v0.3.11 Compiling atty v0.2.14 Compiling hostname v0.3.1 Compiling time v0.1.44 Compiling mio v0.8.4 Compiling aho-corasick v0.7.18 Compiling idna v0.2.3 Compiling rand_core v0.6.3 Compiling parking_lot v0.12.1 Compiling nix v0.24.2 Compiling syslog v6.0.1 Compiling regex v1.6.0 error[E0432]: unresolved import `self::consts` --> /builddir/build/BUILD/containers-aardvark-dns-4847c54/vendor/nix/src/sys/ioctl/linux.rs:52:15 | 52 | pub use self::consts::*; | ^^^^^^ could not find `consts` in `self` error[E0425]: cannot find value `SIZEBITS` in this scope --> /builddir/build/BUILD/containers-aardvark-dns-4847c54/vendor/nix/src/sys/ioctl/linux.rs:61:50 | 61 | pub const DIRSHIFT: ioctl_num_type = SIZESHIFT + SIZEBITS as ioctl_num_type; | ^^^^^^^^ not found in this scope error[E0425]: cannot find value `SIZEBITS` in this scope --> /builddir/build/BUILD/containers-aardvark-dns-4847c54/vendor/nix/src/sys/ioctl/linux.rs:68:44 | 68 | pub const SIZEMASK: ioctl_num_type = (1 << SIZEBITS) - 1; | ^^^^^^^^ not found in this scope error[E0425]: cannot find value `DIRBITS` in this scope --> /builddir/build/BUILD/containers-aardvark-dns-4847c54/vendor/nix/src/sys/ioctl/linux.rs:70:43 | 13 | pub const NRBITS: ioctl_num_type = 8; | ------------------------------------- similarly named constant `NRBITS` defined here ... 70 | pub const DIRMASK: ioctl_num_type = (1 << DIRBITS) - 1; | ^^^^^^^ help: a constant with a similar name exists: `NRBITS` Compiling url v2.2.2 Some errors have detailed explanations: E0425, E0432. For more information about an error, try `rustc --explain E0425`. error: could not compile `nix` due to 4 previous errors warning: build failed, waiting for other jobs to finish... error: build failed make: *** [Makefile:47: build] Error 101 error: Bad exit status from /var/tmp/rpm-tmp.MtkDfj (%build) Bad exit status from /var/tmp/rpm-tmp.MtkDfj (%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 loongarch64 --nodeps /builddir/build/SPECS/aardvark-dns.spec