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/cargo-c.spec'], chrootPath='/home/lib/mock/dist-ocs23-build-245143-23362/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/cargo-c.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/cargo-c-0.10.3-1.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/cargo-c.spec'], chrootPath='/home/lib/mock/dist-ocs23-build-245143-23362/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/cargo-c.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.gp5sCF + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cargo-c-0.10.3 + /usr/lib/rpm/rpmuncompress -x -v /builddir/build/SOURCES/cargo-c-0.10.3.tar.gz /usr/bin/gzip -dc '/builddir/build/SOURCES/cargo-c-0.10.3.tar.gz' | /usr/bin/tar -xvvof - drwxrwxr-x root/root 0 2024-07-30 13:01 cargo-c-0.10.3/ drwxrwxr-x root/root 0 2024-07-30 13:01 cargo-c-0.10.3/.github/ -rw-rw-r-- root/root 83 2024-07-30 13:01 cargo-c-0.10.3/.github/FUNDING.yml drwxrwxr-x root/root 0 2024-07-30 13:01 cargo-c-0.10.3/.github/actions-rs/ -rw-rw-r-- root/root 54 2024-07-30 13:01 cargo-c-0.10.3/.github/actions-rs/grcov.yml -rw-rw-r-- root/root 355 2024-07-30 13:01 cargo-c-0.10.3/.github/dependabot.yml drwxrwxr-x root/root 0 2024-07-30 13:01 cargo-c-0.10.3/.github/workflows/ -rw-rw-r-- root/root 3711 2024-07-30 13:01 cargo-c-0.10.3/.github/workflows/deploy.yml -rw-rw-r-- root/root 2881 2024-07-30 13:01 cargo-c-0.10.3/.github/workflows/example-project.yml -rw-rw-r-- root/root 2081 2024-07-30 13:01 cargo-c-0.10.3/.github/workflows/rust.yml -rw-rw-r-- root/root 95 2024-07-30 13:01 cargo-c-0.10.3/.gitignore -rw-rw-r-- root/root 1449 2024-07-30 13:01 cargo-c-0.10.3/Cargo.toml -rw-rw-r-- root/root 1069 2024-07-30 13:01 cargo-c-0.10.3/LICENSE -rw-rw-r-- root/root 11727 2024-07-30 13:01 cargo-c-0.10.3/README.md -rw-rw-r-- root/root 217 2024-07-30 13:01 cargo-c-0.10.3/codecov.yml -rw-rw-r-- root/root 1653 2024-07-30 13:01 cargo-c-0.10.3/coverage.sh drwxrwxr-x root/root 0 2024-07-30 13:01 cargo-c-0.10.3/example-project/ -rw-rw-r-- root/root 658 2024-07-30 13:01 cargo-c-0.10.3/example-project/Cargo.toml -rw-rw-r-- root/root 710 2024-07-30 13:01 cargo-c-0.10.3/example-project/README.md drwxrwxr-x root/root 0 2024-07-30 13:01 cargo-c-0.10.3/example-project/assets/ drwxrwxr-x root/root 0 2024-07-30 13:01 cargo-c-0.10.3/example-project/assets/capi/ drwxrwxr-x root/root 0 2024-07-30 13:01 cargo-c-0.10.3/example-project/assets/capi/include/ -rw-rw-r-- root/root 17 2024-07-30 13:01 cargo-c-0.10.3/example-project/assets/capi/include/file.h -rw-rw-r-- root/root 848 2024-07-30 13:01 cargo-c-0.10.3/example-project/build.rs -rw-rw-r-- root/root 151 2024-07-30 13:01 cargo-c-0.10.3/example-project/cbindgen.toml drwxrwxr-x root/root 0 2024-07-30 13:01 cargo-c-0.10.3/example-project/src/ -rw-rw-r-- root/root 1004 2024-07-30 13:01 cargo-c-0.10.3/example-project/src/capi.rs -rw-rw-r-- root/root 1451 2024-07-30 13:01 cargo-c-0.10.3/example-project/src/lib.rs drwxrwxr-x root/root 0 2024-07-30 13:01 cargo-c-0.10.3/example-project/tests/ -rw-rw-r-- root/root 1027 2024-07-30 13:01 cargo-c-0.10.3/example-project/tests/capi.rs drwxrwxr-x root/root 0 2024-07-30 13:01 cargo-c-0.10.3/example-project/usage-from-c/ -rw-rw-r-- root/root 277 2024-07-30 13:01 cargo-c-0.10.3/example-project/usage-from-c/Makefile -rw-rw-r-- root/root 696 2024-07-30 13:01 cargo-c-0.10.3/example-project/usage-from-c/run_tests.c drwxrwxr-x root/root 0 2024-07-30 13:01 cargo-c-0.10.3/example-workspace/ -rw-rw-r-- root/root 52 2024-07-30 13:01 cargo-c-0.10.3/example-workspace/Cargo.toml drwxrwxr-x root/root 0 2024-07-30 13:01 cargo-c-0.10.3/example-workspace/api-a/ -rw-rw-r-- root/root 294 2024-07-30 13:01 cargo-c-0.10.3/example-workspace/api-a/Cargo.toml drwxrwxr-x root/root 0 2024-07-30 13:01 cargo-c-0.10.3/example-workspace/api-a/src/ -rw-rw-r-- root/root 212 2024-07-30 13:01 cargo-c-0.10.3/example-workspace/api-a/src/lib.rs drwxrwxr-x root/root 0 2024-07-30 13:01 cargo-c-0.10.3/example-workspace/api-b/ -rw-rw-r-- root/root 293 2024-07-30 13:01 cargo-c-0.10.3/example-workspace/api-b/Cargo.toml drwxrwxr-x root/root 0 2024-07-30 13:01 cargo-c-0.10.3/example-workspace/api-b/src/ -rw-rw-r-- root/root 214 2024-07-30 13:01 cargo-c-0.10.3/example-workspace/api-b/src/lib.rs drwxrwxr-x root/root 0 2024-07-30 13:01 cargo-c-0.10.3/src/ drwxrwxr-x root/root 0 2024-07-30 13:01 cargo-c-0.10.3/src/bin/ -rw-rw-r-- root/root 2373 2024-07-30 13:01 cargo-c-0.10.3/src/bin/capi.rs -rw-rw-r-- root/root 1221 2024-07-30 13:01 cargo-c-0.10.3/src/bin/cbuild.rs -rw-rw-r-- root/root 1339 2024-07-30 13:01 cargo-c-0.10.3/src/bin/cinstall.rs -rw-rw-r-- root/root 1211 2024-07-30 13:01 cargo-c-0.10.3/src/bin/ctest.rs -rw-rw-r-- root/root 43451 2024-07-30 13:01 cargo-c-0.10.3/src/build.rs -rw-rw-r-- root/root 6327 2024-07-30 13:01 cargo-c-0.10.3/src/build_targets.rs -rw-rw-r-- root/root 8377 2024-07-30 13:01 cargo-c-0.10.3/src/cli.rs -rw-rw-r-- root/root 1262 2024-07-30 13:01 cargo-c-0.10.3/src/config.rs -rw-rw-r-- root/root 12287 2024-07-30 13:01 cargo-c-0.10.3/src/install.rs -rw-rw-r-- root/root 124 2024-07-30 13:01 cargo-c-0.10.3/src/lib.rs -rw-rw-r-- root/root 8853 2024-07-30 13:01 cargo-c-0.10.3/src/pkg_config_gen.rs -rw-rw-r-- root/root 5964 2024-07-30 13:01 cargo-c-0.10.3/src/target.rs + STATUS=0 + '[' 0 -ne 0 ']' + cd cargo-c-0.10.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + /usr/bin/tar -xoaf /builddir/build/SOURCES/cargo-c-0.10.3-vendor.tar.bz2 + cat + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4VoELs + 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 + 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 cargo-c-0.10.3 + /usr/bin/env CARGO_HOME=.cargo 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=1 -Ccodegen-units=1 -Cstrip=none' /usr/bin/cargo build -j32 --profile rpm error: package `crates-io v0.40.3` cannot be built because it requires rustc 1.78 or newer, while the currently active rustc version is 1.75.0 Either upgrade to rustc 1.78 or newer, or use cargo update crates-io@0.40.3 --precise ver where `ver` is the latest version of `crates-io` supporting rustc 1.75.0 error: Bad exit status from /var/tmp/rpm-tmp.4VoELs (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.4VoELs (%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/cargo-c.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/cargo-c.spec