Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/nmstate.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-176274-11049/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --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: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/nmstate-2.2.0-4.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/nmstate.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-176274-11049/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --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: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GLCSmU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf nmstate-2.2.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/nmstate-2.2.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd nmstate-2.2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + pushd rust ~/build/BUILD/nmstate-2.2.0/rust ~/build/BUILD/nmstate-2.2.0 + /usr/bin/mkdir -p .cargo + cat + /usr/bin/tar -xoaf /builddir/build/SOURCES/nmstate-2.2.0-vendor.tar.gz + 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.0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1N5TrE + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS ~/build/BUILD/nmstate-2.2.0/rust/src/python ~/build/BUILD/nmstate-2.2.0 + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd nmstate-2.2.0 + pushd rust/src/python + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib creating build/lib/libnmstate copying libnmstate/state.py -> build/lib/libnmstate copying libnmstate/schema.py -> build/lib/libnmstate copying libnmstate/prettystate.py -> build/lib/libnmstate copying libnmstate/netinfo.py -> build/lib/libnmstate copying libnmstate/netapplier.py -> build/lib/libnmstate copying libnmstate/iplib.py -> build/lib/libnmstate copying libnmstate/gen_conf.py -> build/lib/libnmstate copying libnmstate/error.py -> build/lib/libnmstate copying libnmstate/clib_wrapper.py -> build/lib/libnmstate copying libnmstate/__init__.py -> build/lib/libnmstate + popd ~/build/BUILD/nmstate-2.2.0 ~/build/BUILD/nmstate-2.2.0/rust ~/build/BUILD/nmstate-2.2.0 + pushd rust + /usr/bin/env CARGO_HOME=.cargo /usr/bin/cargo build --release -j32 Compiling proc-macro2 v1.0.56 Compiling autocfg v1.1.0 Compiling unicode-ident v1.0.8 Compiling quote v1.0.26 Compiling libc v0.2.141 Compiling cfg-if v1.0.0 Compiling memchr v2.5.0 Compiling futures-core v0.3.28 Compiling log v0.4.17 Compiling pin-project-lite v0.2.9 Compiling futures-task v0.3.28 Compiling futures-channel v0.3.28 Compiling serde v1.0.159 Compiling futures-io v0.3.28 Compiling serde_derive v1.0.159 Compiling futures-util v0.3.28 Compiling anyhow v1.0.70 Compiling thiserror v1.0.40 Compiling byteorder v1.4.3 Compiling futures-sink v0.3.28 Compiling paste v1.0.12 Compiling bitflags v1.3.2 Compiling pin-utils v0.1.0 Compiling syn v1.0.109 Compiling bytes v1.4.0 Compiling hashbrown v0.12.3 Compiling static_assertions v1.1.0 Compiling crossbeam-utils v0.8.15 Compiling toml_datetime v0.6.1 Compiling io-lifetimes v1.0.10 Compiling winnow v0.4.1 Compiling once_cell v1.17.1 Running `/usr/bin/rustc --crate-name autocfg /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/autocfg/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=8025cfeb46d2820c -C extra-filename=-8025cfeb46d2820c --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/proc-macro2/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=4fac65cad63db96f -C extra-filename=-4fac65cad63db96f --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/build/proc-macro2-4fac65cad63db96f -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` Running `/usr/bin/rustc --crate-name unicode_ident --edition=2018 /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/unicode-ident/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=928c6d915d36ae82 -C extra-filename=-928c6d915d36ae82 --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` Running `/usr/bin/rustc --crate-name build_script_build /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/libc/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="extra_traits"' --cfg 'feature="std"' -C metadata=51a47fdfeb7efc33 -C extra-filename=-51a47fdfeb7efc33 --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/build/libc-51a47fdfeb7efc33 -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/quote/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=5d7aa38c8f4c5c5b -C extra-filename=-5d7aa38c8f4c5c5b --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/build/quote-5d7aa38c8f4c5c5b -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` Running `/usr/bin/rustc --crate-name pin_project_lite --edition=2018 /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/pin-project-lite/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=d1ce69e32a5329b2 -C extra-filename=-d1ce69e32a5329b2 --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/memchr/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=e2373cdbb5e606a7 -C extra-filename=-e2373cdbb5e606a7 --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/build/memchr-e2373cdbb5e606a7 -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/futures-task/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="alloc"' --cfg 'feature="std"' -C metadata=d5b98a015a7cc5ae -C extra-filename=-d5b98a015a7cc5ae --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/build/futures-task-d5b98a015a7cc5ae -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/futures-channel/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="alloc"' --cfg 'feature="futures-sink"' --cfg 'feature="sink"' --cfg 'feature="std"' -C metadata=7e54450afb9f07c4 -C extra-filename=-7e54450afb9f07c4 --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/build/futures-channel-7e54450afb9f07c4 -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/futures-core/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="alloc"' --cfg 'feature="std"' -C metadata=17aca45f560cc6b4 -C extra-filename=-17aca45f560cc6b4 --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/build/futures-core-17aca45f560cc6b4 -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` Running `/usr/bin/rustc --crate-name build_script_build /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/serde/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="serde_derive"' --cfg 'feature="std"' -C metadata=25bd76569c80da07 -C extra-filename=-25bd76569c80da07 --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/build/serde-25bd76569c80da07 -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` Running `/usr/bin/rustc --crate-name build_script_build /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/log/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="std"' -C metadata=c520b79d4c526a68 -C extra-filename=-c520b79d4c526a68 --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/build/log-c520b79d4c526a68 -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` Running `/usr/bin/rustc --crate-name cfg_if --edition=2018 /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/cfg-if/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=02083d4bcdd66532 -C extra-filename=-02083d4bcdd66532 --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` Running `/usr/bin/rustc --crate-name futures_io --edition=2018 /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/futures-io/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=1f9ce29b67213996 -C extra-filename=-1f9ce29b67213996 --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/futures-util/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="alloc"' --cfg 'feature="async-await"' --cfg 'feature="async-await-macro"' --cfg 'feature="channel"' --cfg 'feature="futures-channel"' --cfg 'feature="futures-io"' --cfg 'feature="futures-macro"' --cfg 'feature="futures-sink"' --cfg 'feature="io"' --cfg 'feature="memchr"' --cfg 'feature="sink"' --cfg 'feature="slab"' --cfg 'feature="std"' -C metadata=b674911b029bac0a -C extra-filename=-b674911b029bac0a --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/build/futures-util-b674911b029bac0a -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` Running `/usr/bin/rustc --crate-name build_script_build /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/serde_derive/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' -C metadata=97a7435d5e0a3569 -C extra-filename=-97a7435d5e0a3569 --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/build/serde_derive-97a7435d5e0a3569 -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/anyhow/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=4191eab7fd1f8e1e -C extra-filename=-4191eab7fd1f8e1e --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/build/anyhow-4191eab7fd1f8e1e -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` Running `/usr/bin/rustc --crate-name byteorder --edition=2018 /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/byteorder/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=20262e1534724d18 -C extra-filename=-20262e1534724d18 --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` Running `/usr/bin/rustc --crate-name futures_sink --edition=2018 /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/futures-sink/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="std"' -C metadata=263aa16e09e4c224 -C extra-filename=-263aa16e09e4c224 --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` Running `/usr/bin/rustc --crate-name hashbrown --edition=2021 /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/hashbrown/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="raw"' -C metadata=537b8b835261a285 -C extra-filename=-537b8b835261a285 --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` Running `/usr/bin/rustc --crate-name pin_utils --edition=2018 /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/pin-utils/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=653b383cb9c36aa5 -C extra-filename=-653b383cb9c36aa5 --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` Running `/usr/bin/rustc --crate-name bitflags --edition=2018 /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/bitflags/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' -C metadata=6fedd62eee11a8a9 -C extra-filename=-6fedd62eee11a8a9 --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/paste/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C metadata=b8986e84f00c80ee -C extra-filename=-b8986e84f00c80ee --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/build/paste-b8986e84f00c80ee -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/thiserror/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C metadata=68053e4c25f30652 -C extra-filename=-68053e4c25f30652 --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/build/thiserror-68053e4c25f30652 -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` Running `/usr/bin/rustc --crate-name bytes --edition=2018 /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/bytes/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=9ad9a73597f74afc -C extra-filename=-9ad9a73597f74afc --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/syn-1.0.109/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' --cfg 'feature="visit"' -C metadata=965dbfbd03909ce4 -C extra-filename=-965dbfbd03909ce4 --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/build/syn-965dbfbd03909ce4 -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` Running `/usr/bin/rustc --crate-name static_assertions /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/static_assertions/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=af8e1c15464b7549 -C extra-filename=-af8e1c15464b7549 --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/crossbeam-utils/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C metadata=4af4fe48497d7d6a -C extra-filename=-4af4fe48497d7d6a --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/build/crossbeam-utils-4af4fe48497d7d6a -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` Running `/usr/bin/rustc --crate-name toml_datetime --edition=2021 /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/toml_datetime/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=a46abb04342b7d96 -C extra-filename=-a46abb04342b7d96 --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/io-lifetimes/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="close"' --cfg 'feature="hermit-abi"' --cfg 'feature="libc"' --cfg 'feature="windows-sys"' -C metadata=130d69eb79988bca -C extra-filename=-130d69eb79988bca --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/build/io-lifetimes-130d69eb79988bca -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` Running `/usr/bin/rustc --crate-name winnow --edition=2021 /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/winnow/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=5ece72638b425efe -C extra-filename=-5ece72638b425efe --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` Running `/usr/bin/rustc --crate-name once_cell --edition=2021 /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/once_cell/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="race"' --cfg 'feature="std"' -C metadata=2afbb26ea1bad2ec -C extra-filename=-2afbb26ea1bad2ec --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` Compiling rustix v0.37.7 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/rustix/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="fs"' --cfg 'feature="io-lifetimes"' --cfg 'feature="std"' -C metadata=a7770a326ce661c8 -C extra-filename=-a7770a326ce661c8 --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/build/rustix-a7770a326ce661c8 -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` Compiling itoa v1.0.6 Running `/usr/bin/rustc --crate-name itoa --edition=2018 /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/itoa/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=fa6d3eac56933676 -C extra-filename=-fa6d3eac56933676 --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` Compiling serde_json v1.0.95 Compiling fastrand v1.9.0 Compiling ryu v1.0.13 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/serde_json/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=79a2a3e4166cf9f5 -C extra-filename=-79a2a3e4166cf9f5 --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/build/serde_json-79a2a3e4166cf9f5 -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` Running `/usr/bin/rustc --crate-name fastrand --edition=2018 /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/fastrand/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=829f60583f314127 -C extra-filename=-829f60583f314127 --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` Running `/usr/bin/rustc --crate-name ryu --edition=2018 /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/ryu/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=85b9b3589a7a8f4e -C extra-filename=-85b9b3589a7a8f4e --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` Compiling parking v2.0.0 Running `/usr/bin/rustc --crate-name parking --edition=2018 /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/parking/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=4cf782642c4ecece -C extra-filename=-4cf782642c4ecece --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` Compiling event-listener v2.5.3 Running `/usr/bin/rustc --crate-name event_listener --edition=2018 /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/event-listener/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=ccb8634363517e33 -C extra-filename=-ccb8634363517e33 --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` Running `/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/build/futures-core-17aca45f560cc6b4/build-script-build` Running `/usr/bin/rustc --crate-name futures_core --edition=2018 /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/futures-core/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="std"' -C metadata=6a1ff00d3dccdc5d -C extra-filename=-6a1ff00d3dccdc5d --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` Running `/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/build/log-c520b79d4c526a68/build-script-build` Running `/usr/bin/rustc --crate-name log /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/log/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="std"' -C metadata=310b86928b724ee3 -C extra-filename=-310b86928b724ee3 --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --extern cfg_if=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps/libcfg_if-02083d4bcdd66532.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2 --cfg atomic_cas --cfg has_atomics` Running `/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/build/futures-task-d5b98a015a7cc5ae/build-script-build` Running `/usr/bin/rustc --crate-name futures_task --edition=2018 /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/futures-task/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="std"' -C metadata=e1bbc9542b81f735 -C extra-filename=-e1bbc9542b81f735 --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` Compiling waker-fn v1.1.0 Running `/usr/bin/rustc --crate-name waker_fn --edition=2018 /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/waker-fn/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=605decf3f959f771 -C extra-filename=-605decf3f959f771 --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` Running `/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/build/futures-util-b674911b029bac0a/build-script-build` Running `/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/build/futures-channel-7e54450afb9f07c4/build-script-build` Compiling linux-raw-sys v0.3.1 Running `/usr/bin/rustc --crate-name linux_raw_sys --edition=2018 /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/linux-raw-sys/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="errno"' --cfg 'feature="general"' --cfg 'feature="ioctl"' --cfg 'feature="no_std"' -C metadata=33a5060829928c61 -C extra-filename=-33a5060829928c61 --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` Running `/usr/bin/rustc --crate-name once_cell --edition=2021 /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/once_cell/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="race"' --cfg 'feature="std"' -C metadata=1005e75633e06d20 -C extra-filename=-1005e75633e06d20 --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` Compiling scoped-tls v1.0.1 Running `/usr/bin/rustc --crate-name scoped_tls /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/scoped-tls/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=417e5a09b7f6c8b4 -C extra-filename=-417e5a09b7f6c8b4 --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` error[E0432]: unresolved import `crate::general` --> /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/linux-raw-sys/src/lib.rs:84:16 | 84 | use crate::general::{cmsghdr, msghdr}; | ^^^^^^^ could not find `general` in the crate root error[E0432]: unresolved import `crate::general` --> /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/linux-raw-sys/src/lib.rs:137:16 | 137 | use crate::general::__kernel_fd_set; | ^^^^^^^ could not find `general` in the crate root error[E0433]: failed to resolve: use of undeclared crate or module `general` --> /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/linux-raw-sys/src/lib.rs:67:20 | 67 | impl PartialEq for general::__kernel_timespec { | ^^^^^^^ use of undeclared crate or module `general` error[E0433]: failed to resolve: use of undeclared crate or module `general` --> /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/linux-raw-sys/src/lib.rs:79:13 | 79 | impl Eq for general::__kernel_timespec {} | ^^^^^^^ use of undeclared crate or module `general` Some errors have detailed explanations: E0432, E0433. For more information about an error, try `rustc --explain E0432`. Running `/usr/bin/rustc --crate-name futures_channel --edition=2018 /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/futures-channel/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="futures-sink"' --cfg 'feature="sink"' --cfg 'feature="std"' -C metadata=8bbd999c00158a98 -C extra-filename=-8bbd999c00158a98 --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --extern futures_core=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps/libfutures_core-6a1ff00d3dccdc5d.rmeta --extern futures_sink=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps/libfutures_sink-263aa16e09e4c224.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` error: could not compile `linux-raw-sys` (lib) due to 4 previous errors Caused by: process didn't exit successfully: `/usr/bin/rustc --crate-name linux_raw_sys --edition=2018 /builddir/build/BUILD/nmstate-2.2.0/rust/vendor/linux-raw-sys/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="errno"' --cfg 'feature="general"' --cfg 'feature="ioctl"' --cfg 'feature="no_std"' -C metadata=33a5060829928c61 -C extra-filename=-33a5060829928c61 --out-dir /builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps -L dependency=/builddir/build/BUILD/nmstate-2.2.0/rust/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Clink-arg=-Wl,-soname=libnmstate.so.2` (exit status: 1) warning: build failed, waiting for other jobs to finish... error: Bad exit status from /var/tmp/rpm-tmp.1N5TrE (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.1N5TrE (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/nmstate.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 598, 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 --noclean --target loongarch64 --nodeps /builddir/build/SPECS/nmstate.spec