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/rust.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-341350-69881/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/rust.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/rust-1.66.1-3.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/rust.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-341350-69881/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/rust.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.WoNBeK + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf wasi-libc-wasi-sdk-17 + /usr/bin/gzip -dc /builddir/build/SOURCES/wasi-libc-wasi-sdk-17.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd wasi-libc-wasi-sdk-17 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + rm -rf rustc-1.66.1-src + /usr/bin/xz -dc /builddir/build/SOURCES/rustc-1.66.1-src.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rustc-1.66.1-src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (0001-Use-lld-provided-by-system-for-wasm.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 Patch #1 (0001-Use-lld-provided-by-system-for-wasm.patch): patching file compiler/rustc_target/src/spec/wasm_base.rs Patch #2 (rustc-1.61.0-rust-gdb-substitute-path.patch): + echo 'Patch #2 (rustc-1.61.0-rust-gdb-substitute-path.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/etc/rust-gdb Patch #3 (0001-compiletest-set-the-dylib-path-when-gathering-target.patch): + echo 'Patch #3 (0001-compiletest-set-the-dylib-path-when-gathering-target.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/tools/compiletest/src/common.rs patching file src/tools/compiletest/src/runtest.rs patching file src/tools/compiletest/src/util.rs Patch #4 (0001-Improve-generating-Custom-entry-function.patch): + echo 'Patch #4 (0001-Improve-generating-Custom-entry-function.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file compiler/rustc_codegen_llvm/src/abi.rs patching file compiler/rustc_codegen_llvm/src/context.rs patching file compiler/rustc_codegen_llvm/src/declare.rs patching file compiler/rustc_codegen_ssa/src/back/symbol_export.rs patching file compiler/rustc_target/src/abi/call/mod.rs patching file compiler/rustc_target/src/json.rs patching file compiler/rustc_target/src/spec/mod.rs Hunk #2 succeeded at 1668 (offset -1 lines). Hunk #3 succeeded at 1892 (offset -1 lines). Hunk #4 succeeded at 2411 (offset -1 lines). Hunk #5 succeeded at 2542 (offset -1 lines). Hunk #6 succeeded at 2794 (offset -1 lines). Patch #5 (0001-Mangle-main-as-__main_void-on-wasm32-wasi.patch): + echo 'Patch #5 (0001-Mangle-main-as-__main_void-on-wasm32-wasi.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file compiler/rustc_target/src/spec/wasm32_wasi.rs Hunk #1 succeeded at 100 (offset -4 lines). Patch #100 (rustc-1.65.0-disable-libssh2.patch): + echo 'Patch #100 (rustc-1.65.0-disable-libssh2.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Cargo.lock Hunk #1 succeeded at 1989 (offset 18 lines). Hunk #2 succeeded at 2021 (offset 18 lines). patching file vendor/git2/Cargo.toml Patch #1000 (0001-cargo-CVE-2023-38497.patch): + echo 'Patch #1000 (0001-cargo-CVE-2023-38497.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/tools/cargo/src/cargo/sources/registry/mod.rs patching file src/tools/cargo/src/cargo/util/mod.rs patching file src/tools/cargo/tests/testsuite/registry.rs patching file src/tools/cargo/tests/testsuite/vendor.rs Patch #1001 (0001-update-vendor-tar-to-0.4.39.patch): + echo 'Patch #1001 (0001-update-vendor-tar-to-0.4.39.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Cargo.lock patching file src/bootstrap/Cargo.lock patching file src/tools/cargo/Cargo.toml patching file vendor/tar/.cargo-checksum.json patching file vendor/tar/Cargo.lock patching file vendor/tar/Cargo.toml patching file vendor/tar/src/archive.rs patching file vendor/tar/src/entry.rs patching file vendor/tar/tests/all.rs patching file vendor/tar/tests/entry.rs Patch #103 (0001-vendor-cc-add-loongarch64-support.patch): + echo 'Patch #103 (0001-vendor-cc-add-loongarch64-support.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file vendor/cc/.cargo-checksum.json patching file vendor/cc/src/lib.rs Patch #104 (0002-vendor-libc-update-loongarch64-support.patch): + echo 'Patch #104 (0002-vendor-libc-update-loongarch64-support.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file vendor/libc-0.2.126/.cargo-checksum.json patching file vendor/libc-0.2.126/src/unix/linux_like/linux/gnu/b64/loongarch64/align.rs patching file vendor/libc-0.2.126/src/unix/linux_like/linux/gnu/b64/loongarch64/mod.rs patching file vendor/libc-0.2.127/.cargo-checksum.json patching file vendor/libc-0.2.127/src/unix/linux_like/linux/gnu/b64/loongarch64/align.rs patching file vendor/libc-0.2.127/src/unix/linux_like/linux/gnu/b64/loongarch64/mod.rs patching file vendor/libc/.cargo-checksum.json patching file vendor/libc/src/unix/linux_like/linux/gnu/b64/loongarch64/align.rs patching file vendor/libc/src/unix/linux_like/linux/gnu/b64/loongarch64/mod.rs Patch #105 (0003-vendor-psm-add-loongarch64-support.patch): + echo 'Patch #105 (0003-vendor-psm-add-loongarch64-support.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file vendor/psm/.cargo-checksum.json patching file vendor/psm/build.rs patching file vendor/psm/src/arch/loongarch64.s Patch #106 (0004-vendor-object-add-loongarch64-support.patch): + echo 'Patch #106 (0004-vendor-object-add-loongarch64-support.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file vendor/object-0.26.2/.cargo-checksum.json patching file vendor/object-0.26.2/src/common.rs patching file vendor/object-0.26.2/src/elf.rs patching file vendor/object-0.26.2/src/read/elf/file.rs patching file vendor/object-0.26.2/src/read/elf/relocation.rs patching file vendor/object-0.26.2/src/write/elf.rs patching file vendor/object-0.26.2/tests/round_trip/mod.rs patching file vendor/object/.cargo-checksum.json patching file vendor/object/src/common.rs patching file vendor/object/src/elf.rs patching file vendor/object/src/write/elf/object.rs Patch #107 (0005-llvm-update-loongarch64-support.patch): + echo 'Patch #107 (0005-llvm-update-loongarch64-support.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/llvm-project/clang-tools-extra/clang-tidy/readability/SimplifyBooleanExprCheck.cpp patching file src/llvm-project/clang-tools-extra/clangd/CodeComplete.cpp patching file src/llvm-project/clang-tools-extra/clangd/Headers.cpp patching file src/llvm-project/clang-tools-extra/clangd/Headers.h patching file src/llvm-project/clang-tools-extra/clangd/InlayHints.cpp patching file src/llvm-project/clang-tools-extra/clangd/TidyProvider.cpp patching file src/llvm-project/clang-tools-extra/clangd/index/CanonicalIncludes.cpp patching file src/llvm-project/clang-tools-extra/clangd/test/lit.site.cfg.py.in patching file src/llvm-project/clang-tools-extra/clangd/unittests/CodeCompleteTests.cpp patching file src/llvm-project/clang-tools-extra/clangd/unittests/HeadersTests.cpp patching file src/llvm-project/clang-tools-extra/clangd/unittests/InlayHintTests.cpp patching file src/llvm-project/clang-tools-extra/test/clang-tidy/checkers/readability/simplify-bool-expr-chained-conditional-return.cpp patching file src/llvm-project/clang/CMakeLists.txt patching file src/llvm-project/clang/docs/ReleaseNotes.rst patching file src/llvm-project/clang/lib/Basic/CMakeLists.txt patching file src/llvm-project/clang/lib/CodeGen/CGStmt.cpp patching file src/llvm-project/clang/lib/CodeGen/TargetInfo.cpp patching file src/llvm-project/clang/lib/Driver/ToolChains/Gnu.cpp patching file src/llvm-project/clang/lib/Sema/SemaInit.cpp patching file src/llvm-project/clang/lib/Sema/SemaLookup.cpp patching file src/llvm-project/clang/lib/Sema/SemaType.cpp patching file src/llvm-project/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp patching file src/llvm-project/clang/lib/Tooling/Syntax/Tokens.cpp patching file src/llvm-project/clang/test/Analysis/template-param-objects.cpp patching file src/llvm-project/clang/test/CodeGen/arm-vaarg.c patching file src/llvm-project/clang/test/CodeGen/attr-btf_type_tag-func-ptr.c patching file src/llvm-project/clang/test/CodeGen/debug-info-enum-case-val.c patching file src/llvm-project/clang/test/Sema/gnu-builtins.c patching file src/llvm-project/clang/test/SemaCXX/specialization-diagnose-crash.cpp patching file src/llvm-project/clang/unittests/Driver/ToolChainTest.cpp patching file src/llvm-project/clang/unittests/Tooling/Syntax/TokensTest.cpp patching file src/llvm-project/cmake/Modules/FindLibEdit.cmake patching file src/llvm-project/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake patching file src/llvm-project/compiler-rt/cmake/config-ix.cmake patching file src/llvm-project/compiler-rt/lib/builtins/CMakeLists.txt patching file src/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_common.h patching file src/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc patching file src/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_stack_store.h patching file src/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/sem_init_glibc.cpp patching file src/llvm-project/libcxx/test/libcxx/utilities/function.objects/func.blocks.arc.pass.mm patching file src/llvm-project/libcxx/test/std/containers/sequences/vector.bool/ctor_exceptions.pass.cpp patching file src/llvm-project/libcxx/test/std/containers/sequences/vector/vector.cons/exceptions.pass.cpp patching file src/llvm-project/libunwind/CMakeLists.txt patching file src/llvm-project/libunwind/README_RUST_SGX.md patching file src/llvm-project/libunwind/cmake/config-ix.cmake patching file src/llvm-project/libunwind/docs/BuildingLibunwind.rst patching file src/llvm-project/libunwind/src/AddressSpace.hpp patching file src/llvm-project/libunwind/src/CMakeLists.txt patching file src/llvm-project/libunwind/src/RWMutex.hpp patching file src/llvm-project/libunwind/src/UnwindRustSgx.c patching file src/llvm-project/libunwind/src/UnwindRustSgx.h patching file src/llvm-project/libunwind/src/config.h patching file src/llvm-project/lld/CMakeLists.txt patching file src/llvm-project/lld/COFF/CMakeLists.txt patching file src/llvm-project/lld/Common/CMakeLists.txt patching file src/llvm-project/lld/ELF/Arch/RISCV.cpp patching file src/llvm-project/lld/ELF/Driver.cpp patching file src/llvm-project/lld/ELF/InputFiles.cpp patching file src/llvm-project/lld/ELF/InputSection.cpp patching file src/llvm-project/lld/ELF/SyntheticSections.cpp patching file src/llvm-project/lld/MachO/UnwindInfoSection.cpp patching file src/llvm-project/lld/MachO/UnwindInfoSection.h patching file src/llvm-project/lld/MachO/Writer.cpp patching file src/llvm-project/lld/test/ELF/comdat-binding2.s patching file src/llvm-project/lld/test/ELF/lto-plugin-ignore.s patching file src/llvm-project/lld/test/MachO/eh-frame-personality-dedup.s patching file src/llvm-project/lld/test/wasm/export-all.s patching file src/llvm-project/lld/test/wasm/mutable-global-exports.s patching file src/llvm-project/lld/wasm/Driver.cpp patching file src/llvm-project/lld/wasm/Symbols.cpp patching file src/llvm-project/lld/wasm/Symbols.h patching file src/llvm-project/lld/wasm/Writer.cpp patching file src/llvm-project/lldb/bindings/CMakeLists.txt patching file src/llvm-project/lldb/bindings/interfaces.swig patching file src/llvm-project/lldb/bindings/python/python-typemaps.swig patching file src/llvm-project/lldb/include/lldb/API/SBType.h patching file src/llvm-project/lldb/include/lldb/Symbol/CompilerType.h patching file src/llvm-project/lldb/include/lldb/Symbol/TypeSystem.h patching file src/llvm-project/lldb/source/API/SBType.cpp patching file src/llvm-project/lldb/source/Plugins/Process/Linux/Perf.cpp patching file src/llvm-project/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp patching file src/llvm-project/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h patching file src/llvm-project/lldb/source/Symbol/CompilerType.cpp patching file src/llvm-project/lldb/source/Symbol/TypeSystem.cpp patching file src/llvm-project/lldb/test/API/lang/cpp/class-template-parameter-pack/TestTemplatePackArgs.py patching file src/llvm-project/lldb/test/API/lang/cpp/class-template-parameter-pack/main.cpp patching file src/llvm-project/lldb/tools/debugserver/source/CMakeLists.txt patching file src/llvm-project/lldb/unittests/Symbol/TestTypeSystemClang.cpp patching file src/llvm-project/llvm/CMakeLists.txt patching file src/llvm-project/llvm/cmake/config-ix.cmake patching file src/llvm-project/llvm/cmake/config.guess patching file src/llvm-project/llvm/cmake/modules/AddLLVM.cmake patching file src/llvm-project/llvm/cmake/modules/CheckAtomic.cmake patching file src/llvm-project/llvm/cmake/modules/FindFFI.cmake patching file src/llvm-project/llvm/cmake/modules/FindTerminfo.cmake patching file src/llvm-project/llvm/cmake/modules/FindZ3.cmake patching file src/llvm-project/llvm/cmake/modules/Findzstd.cmake patching file src/llvm-project/llvm/cmake/modules/HandleLLVMOptions.cmake patching file src/llvm-project/llvm/cmake/modules/LLVMConfig.cmake.in patching file src/llvm-project/llvm/docs/ReleaseNotes.rst patching file src/llvm-project/llvm/include/llvm/ADT/Triple.h patching file src/llvm-project/llvm/include/llvm/BinaryFormat/ELF.h patching file src/llvm-project/llvm/include/llvm/IR/CMakeLists.txt patching file src/llvm-project/llvm/include/llvm/IR/InlineAsm.h patching file src/llvm-project/llvm/include/llvm/IR/Intrinsics.td patching file src/llvm-project/llvm/include/llvm/IR/IntrinsicsLoongArch.td patching file src/llvm-project/llvm/lib/Analysis/ScalarEvolution.cpp patching file src/llvm-project/llvm/lib/Analysis/VectorUtils.cpp patching file src/llvm-project/llvm/lib/CodeGen/PrologEpilogInserter.cpp patching file src/llvm-project/llvm/lib/CodeGen/RegAllocFast.cpp patching file src/llvm-project/llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp patching file src/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp patching file src/llvm-project/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp patching file src/llvm-project/llvm/lib/CodeGen/TypePromotion.cpp patching file src/llvm-project/llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp patching file src/llvm-project/llvm/lib/IR/AutoUpgrade.cpp patching file src/llvm-project/llvm/lib/IR/Function.cpp patching file src/llvm-project/llvm/lib/MC/MCObjectFileInfo.cpp patching file src/llvm-project/llvm/lib/Object/RelocationResolver.cpp patching file src/llvm-project/llvm/lib/ObjectYAML/ELFYAML.cpp patching file src/llvm-project/llvm/lib/Support/CMakeLists.txt patching file src/llvm-project/llvm/lib/Support/Triple.cpp patching file src/llvm-project/llvm/lib/Support/UnicodeNameToCodepoint.cpp patching file src/llvm-project/llvm/lib/Support/Unix/Path.inc patching file src/llvm-project/llvm/lib/Support/Unix/Signals.inc patching file src/llvm-project/llvm/lib/Support/Windows/Threading.inc patching file src/llvm-project/llvm/lib/Support/X86TargetParser.cpp patching file src/llvm-project/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp patching file src/llvm-project/llvm/lib/Target/AArch64/AArch64ISelLowering.h patching file src/llvm-project/llvm/lib/Target/AMDGPU/SIISelLowering.cpp patching file src/llvm-project/llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp patching file src/llvm-project/llvm/lib/Target/LoongArch/AsmParser/CMakeLists.txt patching file src/llvm-project/llvm/lib/Target/LoongArch/AsmParser/LoongArchAsmParser.cpp patching file src/llvm-project/llvm/lib/Target/LoongArch/CMakeLists.txt patching file src/llvm-project/llvm/lib/Target/LoongArch/Disassembler/CMakeLists.txt patching file src/llvm-project/llvm/lib/Target/LoongArch/Disassembler/LoongArchDisassembler.cpp patching file src/llvm-project/llvm/lib/Target/LoongArch/LoongArch.h patching file src/llvm-project/llvm/lib/Target/LoongArch/LoongArch.td patching file src/llvm-project/llvm/lib/Target/LoongArch/LoongArch32InstrInfo.td patching file src/llvm-project/llvm/lib/Target/LoongArch/LoongArchAsmPrinter.cpp patching file src/llvm-project/llvm/lib/Target/LoongArch/LoongArchAsmPrinter.h patching file src/llvm-project/llvm/lib/Target/LoongArch/LoongArchCCState.cpp patching file src/llvm-project/llvm/lib/Target/LoongArch/LoongArchCCState.h patching file src/llvm-project/llvm/lib/Target/LoongArch/LoongArchCallingConv.td patching file src/llvm-project/llvm/lib/Target/LoongArch/LoongArchExpandPseudo.cpp patching file src/llvm-project/llvm/lib/Target/LoongArch/LoongArchFloat32InstrInfo.td patching file src/llvm-project/llvm/lib/Target/LoongArch/LoongArchFloat64InstrInfo.td patching file src/llvm-project/llvm/lib/Target/LoongArch/LoongArchFloatInstrFormats.td patching file src/llvm-project/llvm/lib/Target/LoongArch/LoongArchFrameLowering.cpp patching file src/llvm-project/llvm/lib/Target/LoongArch/LoongArchFrameLowering.h patching file src/llvm-project/llvm/lib/Target/LoongArch/LoongArchISelDAGToDAG.cpp patching file src/llvm-project/llvm/lib/Target/LoongArch/LoongArchISelDAGToDAG.h patching file src/llvm-project/llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp patching file src/llvm-project/llvm/lib/Target/LoongArch/LoongArchISelLowering.h patching file src/llvm-project/llvm/lib/Target/LoongArch/LoongArchInstrFormats.td patching file src/llvm-project/llvm/lib/Target/LoongArch/LoongArchInstrInfo.cpp patching file src/llvm-project/llvm/lib/Target/LoongArch/LoongArchInstrInfo.h patching file src/llvm-project/llvm/lib/Target/LoongArch/LoongArchInstrInfo.td patching file src/llvm-project/llvm/lib/Target/LoongArch/LoongArchInstrInfoF.td patching file src/llvm-project/llvm/lib/Target/LoongArch/LoongArchLASXInstrFormats.td patching file src/llvm-project/llvm/lib/Target/LoongArch/LoongArchLASXInstrInfo.td patching file src/llvm-project/llvm/lib/Target/LoongArch/LoongArchLSXInstrFormats.td patching file src/llvm-project/llvm/lib/Target/LoongArch/LoongArchLSXInstrInfo.td patching file src/llvm-project/llvm/lib/Target/LoongArch/LoongArchMCInstLower.cpp patching file src/llvm-project/llvm/lib/Target/LoongArch/LoongArchMCInstLower.h patching file src/llvm-project/llvm/lib/Target/LoongArch/LoongArchMachineFunction.cpp patching file src/llvm-project/llvm/lib/Target/LoongArch/LoongArchMachineFunction.h patching file src/llvm-project/llvm/lib/Target/LoongArch/LoongArchMachineFunctionInfo.h patching file src/llvm-project/llvm/lib/Target/LoongArch/LoongArchModuleISelDAGToDAG.cpp patching file src/llvm-project/llvm/lib/Target/LoongArch/LoongArchRegisterInfo.cpp patching file src/llvm-project/llvm/lib/Target/LoongArch/LoongArchRegisterInfo.h patching file src/llvm-project/llvm/lib/Target/LoongArch/LoongArchRegisterInfo.td patching file src/llvm-project/llvm/lib/Target/LoongArch/LoongArchSubtarget.cpp patching file src/llvm-project/llvm/lib/Target/LoongArch/LoongArchSubtarget.h patching file src/llvm-project/llvm/lib/Target/LoongArch/LoongArchTargetMachine.cpp patching file src/llvm-project/llvm/lib/Target/LoongArch/LoongArchTargetMachine.h patching file src/llvm-project/llvm/lib/Target/LoongArch/LoongArchTargetObjectFile.cpp patching file src/llvm-project/llvm/lib/Target/LoongArch/LoongArchTargetObjectFile.h patching file src/llvm-project/llvm/lib/Target/LoongArch/LoongArchTargetStreamer.h patching file src/llvm-project/llvm/lib/Target/LoongArch/LoongArchTargetTransformInfo.cpp patching file src/llvm-project/llvm/lib/Target/LoongArch/LoongArchTargetTransformInfo.h patching file src/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/CMakeLists.txt patching file src/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchABIInfo.cpp patching file src/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchABIInfo.h patching file src/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAnalyzeImmediate.cpp patching file src/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAnalyzeImmediate.h (renamed from src/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMatInt.h) patching file src/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.cpp patching file src/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.h patching file src/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchBaseInfo.cpp patching file src/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchBaseInfo.h patching file src/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchELFObjectWriter.cpp patching file src/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchELFStreamer.cpp patching file src/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchELFStreamer.h patching file src/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchFixupKinds.h patching file src/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchInstPrinter.cpp patching file src/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchInstPrinter.h patching file src/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCAsmInfo.cpp patching file src/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCAsmInfo.h patching file src/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCCodeEmitter.cpp patching file src/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCCodeEmitter.h patching file src/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCExpr.cpp patching file src/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCExpr.h patching file src/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCTargetDesc.cpp patching file src/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCTargetDesc.h patching file src/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMatInt.cpp patching file src/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchTargetStreamer.cpp patching file src/llvm-project/llvm/lib/Target/LoongArch/TargetInfo/CMakeLists.txt patching file src/llvm-project/llvm/lib/Target/LoongArch/TargetInfo/LoongArchTargetInfo.cpp patching file src/llvm-project/llvm/lib/Target/LoongArch/TargetInfo/LoongArchTargetInfo.h patching file src/llvm-project/llvm/lib/Target/Sparc/SparcCallingConv.td patching file src/llvm-project/llvm/lib/Target/Sparc/SparcISelLowering.cpp patching file src/llvm-project/llvm/lib/Target/Sparc/SparcISelLowering.h patching file src/llvm-project/llvm/lib/Target/X86/X86.td patching file src/llvm-project/llvm/lib/Transforms/IPO/GlobalOpt.cpp patching file src/llvm-project/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp patching file src/llvm-project/llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp patching file src/llvm-project/llvm/lib/Transforms/Scalar/SROA.cpp patching file src/llvm-project/llvm/lib/Transforms/Utils/LoopVersioning.cpp patching file src/llvm-project/llvm/lib/Transforms/Utils/VNCoercion.cpp patching file src/llvm-project/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp patching file src/llvm-project/llvm/lib/Transforms/Vectorize/VPlan.cpp patching file src/llvm-project/llvm/lib/Transforms/Vectorize/VPlan.h patching file src/llvm-project/llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp patching file src/llvm-project/llvm/test/CMakeLists.txt patching file src/llvm-project/llvm/test/CodeGen/LoongArch/1ri.mir patching file src/llvm-project/llvm/test/CodeGen/LoongArch/2r.mir patching file src/llvm-project/llvm/test/CodeGen/LoongArch/2ri.mir patching file src/llvm-project/llvm/test/CodeGen/LoongArch/3r.mir patching file src/llvm-project/llvm/test/CodeGen/LoongArch/3ri.mir patching file src/llvm-project/llvm/test/CodeGen/LoongArch/align.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/atomic-operand-imm0.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/atomic_16_8.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/atomic_64_32.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/bss.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/builtins-loongarch-base.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/const-mult.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/disable-tail-calls.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/divrem.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/dup-tail.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/eliminateFI.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/emergency-spill-slot.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/fcopysign.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/frame-info.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/fsel.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/immediate.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/inlineasm/extra-code.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/inlineasm/floating-point-in-gpr.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/inlineasm/non-native-value-type-registers-error.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/inlineasm/non-native-value-type-registers.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/inlineasm/preld.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/jirl-verify.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/lasx/VExtend.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/lasx/imm_vector_lasx.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/lasx/inline-asm.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/lasx/insert-lasx.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/lasx/intrinsic-lasx.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/lasx/lasxvclr.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/lasx/logic-lasx.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/lasx/set-lasx.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/lasx/shuffle_v4i64_1032.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/lasx/vext2xv.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/lasx/xvadda.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/lasx/xvaddsub.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/lasx/xvhadd.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/lasx/xvilvh.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/lasx/xvilvl.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/ldptr.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/lit.local.cfg patching file src/llvm-project/llvm/test/CodeGen/LoongArch/logic-op.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/lshr.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/lsx/imm_vector_lsx.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/lsx/inline-asm.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/lsx/intrinsic-lsx.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/lsx/logic-lsx.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/lsx/lsxvclr.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/lsx/set-lsx.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/lsx/vadda.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/lu12i.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/mcpu_load.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/misc.mir patching file src/llvm-project/llvm/test/CodeGen/LoongArch/named-register.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/nomerge.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/noti32.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/peephole-load-store-addi.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/signext.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/stptr.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/tailcall-R.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/tailcall-check.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/tailcall-mem.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/tailcall.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/thread-pointer.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/trunc.ll patching file src/llvm-project/llvm/test/CodeGen/LoongArch/unalignment.ll patching file src/llvm-project/llvm/test/CodeGen/PowerPC/regalloc-fast-debug-spill.ll patching file src/llvm-project/llvm/test/CodeGen/SPARC/bigreturn.ll patching file src/llvm-project/llvm/test/CodeGen/X86/zero-call-used-regs-i386.ll patching file src/llvm-project/llvm/test/MC/LoongArch/aligned-nops.s patching file src/llvm-project/llvm/test/MC/LoongArch/atomic-error.s patching file src/llvm-project/llvm/test/MC/LoongArch/atomic.s patching file src/llvm-project/llvm/test/MC/LoongArch/fixups-expr.s patching file src/llvm-project/llvm/test/MC/LoongArch/invalid.s patching file src/llvm-project/llvm/test/MC/LoongArch/lit.local.cfg patching file src/llvm-project/llvm/test/MC/LoongArch/macro-la.s patching file src/llvm-project/llvm/test/MC/LoongArch/macro-li.s patching file src/llvm-project/llvm/test/MC/LoongArch/valid_12imm.s patching file src/llvm-project/llvm/test/MC/LoongArch/valid_4operands.s patching file src/llvm-project/llvm/test/MC/LoongArch/valid_bigimm.s patching file src/llvm-project/llvm/test/MC/LoongArch/valid_branch.s patching file src/llvm-project/llvm/test/MC/LoongArch/valid_float.s patching file src/llvm-project/llvm/test/MC/LoongArch/valid_integer.s patching file src/llvm-project/llvm/test/MC/LoongArch/valid_memory.s patching file src/llvm-project/llvm/test/MC/LoongArch/valid_priv.s patching file src/llvm-project/llvm/test/Support/unix03-sigpipe-exit.test patching file src/llvm-project/llvm/test/Transforms/AtomicExpand/LoongArch/lit.local.cfg patching file src/llvm-project/llvm/test/Transforms/GlobalOpt/inalloca-varargs.ll patching file src/llvm-project/llvm/test/Transforms/InstCombine/cast-byval.ll patching file src/llvm-project/llvm/test/Transforms/LoopLoadElim/versioning-scev-invalidation.ll patching file src/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/interleave-allocsize-not-equal-typesize.ll patching file src/llvm-project/llvm/test/Transforms/SROA/phi-speculate-different-load-types.ll patching file src/llvm-project/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/loongarch_function_name.ll.expected patching file src/llvm-project/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/loongarch_generated_funcs.ll.generated.expected patching file src/llvm-project/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/loongarch_generated_funcs.ll.nogenerated.expected patching file src/llvm-project/llvm/test/tools/UpdateTestChecks/update_llc_test_checks/loongarch_generated_funcs.test patching file src/llvm-project/llvm/test/tools/llvm-readobj/ELF/loongarch-eflags.test patching file src/llvm-project/llvm/test/tools/obj2yaml/ELF/loongarch-eflags.yaml patching file src/llvm-project/llvm/tools/dsymutil/CMakeLists.txt patching file src/llvm-project/llvm/tools/llvm-config/CMakeLists.txt patching file src/llvm-project/llvm/tools/llvm-readobj/ELFDumper.cpp patching file src/llvm-project/llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/misc/BUILD.gn patching file src/llvm-project/llvm/utils/gn/secondary/llvm/version.gni patching file src/llvm-project/llvm/utils/lit/lit/__init__.py patching file src/llvm-project/llvm/utils/lit/lit/llvm/config.py Patch #108 (0006-rust-add-loongarch64-support.patch): + echo 'Patch #108 (0006-rust-add-loongarch64-support.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file compiler/rustc_ast_lowering/src/asm.rs patching file compiler/rustc_codegen_gcc/example/alloc_system.rs patching file compiler/rustc_codegen_gcc/src/asm.rs patching file compiler/rustc_codegen_llvm/src/asm.rs patching file compiler/rustc_codegen_ssa/src/back/metadata.rs patching file compiler/rustc_codegen_ssa/src/target_features.rs patching file compiler/rustc_feature/src/active.rs patching file compiler/rustc_hir_analysis/src/collect.rs patching file compiler/rustc_llvm/build.rs patching file compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp patching file compiler/rustc_llvm/src/lib.rs patching file compiler/rustc_span/src/symbol.rs patching file compiler/rustc_target/src/abi/call/loongarch.rs patching file compiler/rustc_target/src/abi/call/mod.rs Hunk #1 succeeded at 11 (offset 1 line). Hunk #2 succeeded at 698 (offset 1 line). patching file compiler/rustc_target/src/asm/loongarch.rs patching file compiler/rustc_target/src/asm/mod.rs patching file compiler/rustc_target/src/spec/loongarch64_unknown_linux_gnu.rs patching file compiler/rustc_target/src/spec/mod.rs Hunk #1 succeeded at 1246 (offset 1 line). patching file library/std/src/env.rs patching file library/std/src/os/linux/raw.rs patching file library/std/src/personality/gcc.rs patching file library/std/src/sys/common/alloc.rs patching file library/unwind/src/libunwind.rs patching file src/bootstrap/bootstrap.py patching file src/bootstrap/lib.rs patching file src/bootstrap/native.rs patching file src/ci/github-actions/ci.yml patching file src/doc/rustc/src/platform-support.md patching file src/librustdoc/clean/cfg.rs patching file src/test/assembly/asm/loongarch-types.rs patching file src/test/codegen/abi-main-signature-16bit-c-int.rs patching file src/test/codegen/call-llvm-intrinsics.rs patching file src/test/codegen/global_asm.rs patching file src/test/codegen/global_asm_include.rs patching file src/test/codegen/global_asm_x2.rs patching file src/test/codegen/loongarch-abi/call-llvm-intrinsics.rs patching file src/test/codegen/repr-transparent-aggregates-1.rs patching file src/test/codegen/repr-transparent-aggregates-2.rs patching file src/test/codegen/repr-transparent.rs patching file src/test/run-make-fulldeps/atomic-lock-free/Makefile patching file src/test/ui/abi/stack-probes-lto.rs patching file src/test/ui/cfg/conditional-compile-arch.rs patching file src/test/ui/check-cfg/compact-values.stderr patching file src/test/ui/process/nofile-limit.rs patching file src/test/ui/target-feature/gate.rs patching file src/test/ui/target-feature/invalid-attribute.rs patching file src/tools/build-manifest/src/main.rs patching file src/tools/clippy/tests/ui/asm_syntax.rs patching file src/tools/compiletest/src/common.rs + sed -i.try-python -e '/^try python3 /i try "/usr/libexec/platform-python" "$@"' ./configure + sed -i.rust-src -e s#@BUILDDIR@#/builddir/build/BUILD/rustc-1.66.1-src# ./src/etc/rust-gdb + rm -rf src/llvm-project/ + mkdir -p src/llvm-project/libunwind/ + rm -rf vendor/curl-sys/curl/ + rm -rf vendor/jemalloc-sys/jemalloc/ vendor/tikv-jemalloc-sys/jemalloc/ + rm -rf vendor/libmimalloc-sys/c_src/mimalloc/ + rm -rf vendor/libssh2-sys/libssh2/ + rm -rf vendor/libz-sys/src/zlib/ + rm -rf vendor/libz-sys/src/zlib-ng/ + rm -rf vendor/lzma-sys/xz-5.2/ + rm -rf vendor/openssl-src/openssl/ + rm -rf vendor/libssh2-sys/ + sed -i.lzma -e /LZMA_API_STATIC/d src/bootstrap/tool.rs + find vendor -name .cargo-checksum.json -exec sed -i.uncheck -e 's/"files":{[^}]*}/"files":{ }/' '{}' + + find -name '*.rs' -type f -perm /111 -exec chmod -v -x '{}' + mode of './vendor/gimli/tests/parse_self.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/gimli-0.25.0/tests/parse_self.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/tests/ansi_term_compat.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/src/formatters.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/src/color.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/src/control.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/src/style.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/src/lib.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/examples/most_simple.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/examples/control.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/examples/nested_colors.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/examples/dynamic_colors.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/gimli-0.26.1/tests/parse_self.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/unicode-normalization/src/no_std_prelude.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/type-map/src/lib.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './compiler/rustc_codegen_cranelift/scripts/filter_profile.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './compiler/rustc_codegen_cranelift/y.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './src/tools/rust-analyzer/crates/ide/src/folding_ranges.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.q3P7vY + umask 022 + cd /builddir/build/BUILD export CONFIG_SITE="NONE" export HISTCONTROL="ignoredups" export HISTSIZE="1000" export HOME="/builddir" export HOSTNAME="" export LANG="C" export LESSOPEN="||/usr/bin/lesspipe.sh %s" export LOGNAME="mockbuild" export MAIL="/var/spool/mail/mockbuild" export OLDPWD="/builddir/build/BUILD" export PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin" export PKG_CONFIG_PATH=":/usr/lib64/pkgconfig:/usr/share/pkgconfig" export PROMPT_COMMAND="printf \"\\033]0;\\007\"" export PWD="/builddir/build/BUILD/rustc-1.66.1-src" export PYTHON_DISALLOW_AMBIGUOUS_VERSION="warn" export RPM_ARCH="loongarch64" export RPM_BUILD_DIR="/builddir/build/BUILD" export RPM_BUILD_NCPUS="4" export RPM_BUILD_ROOT="/builddir/build/BUILDROOT/rust-1.66.1-3.an8.loongarch64" export RPM_DOC_DIR="/usr/share/doc" export RPM_LD_FLAGS="-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld" export RPM_OPT_FLAGS="-O2 -g" export RPM_OS="linux" export RPM_PACKAGE_NAME="rust" export RPM_PACKAGE_RELEASE="3.an8" export RPM_PACKAGE_VERSION="1.66.1" export RPM_SOURCE_DIR="/builddir/build/SOURCES" export SHELL="/bin/bash" export SHLVL="2" export TERM="vt100" export USER="mockbuild" export which_declare="declare -f" + cd rustc-1.66.1-src + export ++ /usr/bin/getconf _NPROCESSORS_ONLN + ncpus=4 ++ free -g ++ awk '/^Mem:/{print $2}' + max_cpus=4 + '[' 4 -ge 1 -a 4 -lt 4 ']' + /usr/bin/make -O -j4 --quiet -C /builddir/build/BUILD/wasi-libc-wasi-sdk-17 CC=clang AR=llvm-ar NM=llvm-nm find: '/builddir/build/BUILD/wasi-libc-wasi-sdk-17/build': No such file or directory + CFLAGS='-O2 -g' + export CFLAGS + CXXFLAGS='-O2 -g' + export CXXFLAGS + FFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./vendor/libffi-sys/libffi/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./vendor/libffi-sys/libffi/config.guess ++ basename ./vendor/libffi-sys/libffi/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./vendor/libffi-sys/libffi/config.guess '/usr/lib/rpm/redhat/config.guess' -> './vendor/libffi-sys/libffi/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./vendor/libffi-sys/libffi/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./vendor/libffi-sys/libffi/config.sub ++ basename ./vendor/libffi-sys/libffi/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./vendor/libffi-sys/libffi/config.sub '/usr/lib/rpm/redhat/config.sub' -> './vendor/libffi-sys/libffi/config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./vendor/libffi-sys/libffi/ltmain.sh + ./configure --build=loongarch64-Anolis-linux --host=loongarch64-Anolis-linux --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-option-checking --libdir=/usr/lib --build=loongarch64-unknown-linux-gnu --host=loongarch64-unknown-linux-gnu --target=loongarch64-unknown-linux-gnu --set target.loongarch64-unknown-linux-gnu.linker=gcc --set target.loongarch64-unknown-linux-gnu.cc=gcc --set target.loongarch64-unknown-linux-gnu.cxx=g++ --set target.loongarch64-unknown-linux-gnu.ar=ar --set target.loongarch64-unknown-linux-gnu.ranlib=/usr/bin/ranlib --set target.wasm32-wasi.wasi-root=/builddir/build/BUILD/wasi-libc-wasi-sdk-17/sysroot --python=/usr/libexec/platform-python --local-rust-root=/usr --set build.rustfmt=/bin/true --llvm-root=/usr --enable-llvm-link-shared --disable-llvm-static-stdcpp --disable-rpath --debuginfo-level=0 --debuginfo-level-std=2 --set rust.codegen-units-std=1 --set build.build-stage=2 --set build.doc-stage=2 --set build.install-stage=2 --set build.test-stage=2 --enable-extended --tools=analysis,cargo,clippy,rls,rust-analyzer,rustfmt,src --enable-vendor --enable-verbose-tests --dist-compression-formats=gz --release-channel=stable '--release-description=Red Hat 1.66.1-3.an8' configure: processing command line configure: configure: build.build := loongarch64-unknown-linux-gnu configure: build.host := ['loongarch64-unknown-linux-gnu'] configure: install.prefix := /usr configure: install.bindir := /usr/bin configure: install.sysconfdir := /etc configure: install.datadir := /usr/share configure: install.libdir := /usr/lib configure: install.localstatedir := /var configure: install.mandir := /usr/share/man configure: install.infodir := /usr/share/info configure: build.target := ['loongarch64-unknown-linux-gnu'] configure: target.loongarch64-unknown-linux-gnu.linker := gcc configure: target.loongarch64-unknown-linux-gnu.cc := gcc configure: target.loongarch64-unknown-linux-gnu.cxx := g++ configure: target.loongarch64-unknown-linux-gnu.ar := ar configure: target.loongarch64-unknown-linux-gnu.ranlib := /usr/bin/ranlib configure: target.wasm32-wasi.wasi-root := /builddir/build/BUILD/wasi-libc-wasi-s ... configure: build.rustfmt := /bin/true configure: rust.codegen-units-std := 1 configure: build.build-stage := 2 configure: build.doc-stage := 2 configure: build.install-stage := 2 configure: build.test-stage := 2 configure: build.python := /usr/libexec/platform-python configure: build.rustc := /usr/bin/rustc configure: build.cargo := /usr/bin/cargo configure: target.loongarch64-unknown-linux-gnu.llvm-config := /usr/bin/llvm-conf ... configure: llvm.link-shared := True configure: llvm.static-libstdcpp := False configure: rust.rpath := False configure: rust.debuginfo-level := 0 configure: rust.debuginfo-level-std := 2 configure: build.extended := True configure: build.tools := ['analysis', 'cargo', 'clippy', 'rls', 'rust-a ... configure: build.vendor := True configure: rust.verbose-tests := True configure: dist.compression-formats := ['gz'] configure: rust.channel := stable configure: rust.description := Red Hat 1.66.1-3.an8 configure: build.configure-args := ['--build=loongarch64-Anolis-linux', '--host=l ... warning: localstatedir will be ignored warning: infodir will be ignored configure: configure: writing `config.toml` in current directory configure: configure: run `python /builddir/build/BUILD/rustc-1.66.1-src/x.py --help` + /usr/libexec/platform-python ./x.py build -j 4 Building rustbuild Compiling libc v0.2.126 Compiling proc-macro2 v1.0.46 Compiling memchr v2.5.0 Compiling cfg-if v1.0.0 Compiling typenum v1.15.0 Compiling version_check v0.9.4 Compiling unicode-ident v1.0.0 Compiling generic-array v0.14.5 Compiling syn v1.0.102 Compiling quote v1.0.18 Compiling serde_derive v1.0.137 Compiling cc v1.0.73 Compiling lazy_static v1.4.0 Compiling log v0.4.17 Compiling regex-automata v0.1.10 Compiling serde v1.0.137 Compiling io-lifetimes v0.7.2 Compiling pkg-config v0.3.25 Compiling bstr v0.2.17 Compiling aho-corasick v0.7.18 Compiling lzma-sys v0.1.17 Compiling rustix v0.35.6 Compiling regex-syntax v0.6.26 Compiling crossbeam-utils v0.8.8 Compiling block-buffer v0.10.2 Compiling crypto-common v0.1.3 Compiling errno v0.2.8 Compiling once_cell v1.12.0 Compiling bitflags v1.3.2 Compiling fnv v1.0.7 Compiling same-file v1.0.6 Compiling serde_json v1.0.81 Compiling walkdir v2.3.2 Compiling thread_local v1.1.4 Compiling digest v0.10.3 Compiling xattr v0.2.3 Compiling regex v1.5.6 Compiling filetime v0.2.16 Compiling globset v0.4.8 Compiling bootstrap v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/bootstrap) Compiling ryu v1.0.10 Compiling itoa v1.0.2 Compiling unicode-width v0.1.9 Compiling getopts v0.2.21 Compiling ignore v0.4.18 Compiling tar v0.4.39 Compiling fd-lock v3.0.6 Compiling xz2 v0.1.6 Compiling sha2 v0.10.2 Compiling opener v0.5.0 Compiling cmake v0.1.48 Compiling hex v0.4.3 Compiling toml v0.5.9 Finished dev [unoptimized] target(s) in 1m 03s Building stage0 std artifacts (loongarch64-unknown-linux-gnu -> loongarch64-unknown-linux-gnu) Compiling compiler_builtins v0.1.82 Compiling core v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/library/core) Compiling libc v0.2.135 Compiling cc v1.0.73 Compiling memchr v2.5.0 Compiling std v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/library/std) Compiling unwind v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/library/unwind) Compiling rustc-std-workspace-core v1.99.0 (/builddir/build/BUILD/rustc-1.66.1-src/library/rustc-std-workspace-core) Compiling alloc v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/library/alloc) Compiling cfg-if v0.1.10 Compiling cfg-if v1.0.0 Compiling adler v0.2.3 Compiling rustc-demangle v0.1.21 Compiling rustc-std-workspace-alloc v1.99.0 (/builddir/build/BUILD/rustc-1.66.1-src/library/rustc-std-workspace-alloc) Compiling gimli v0.25.0 Compiling miniz_oxide v0.4.0 Compiling std_detect v0.1.5 (/builddir/build/BUILD/rustc-1.66.1-src/library/stdarch/crates/std_detect) Compiling object v0.26.2 Compiling hashbrown v0.12.3 Compiling panic_abort v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/library/panic_abort) Compiling panic_unwind v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/library/panic_unwind) Compiling addr2line v0.16.0 Compiling rustc-std-workspace-std v1.99.0 (/builddir/build/BUILD/rustc-1.66.1-src/library/rustc-std-workspace-std) Compiling proc_macro v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/library/proc_macro) Compiling unicode-width v0.1.10 Compiling getopts v0.2.21 Compiling test v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/library/test) Finished release [optimized + debuginfo] target(s) in 1m 57s Copying stage0 std from stage0 (loongarch64-unknown-linux-gnu -> loongarch64-unknown-linux-gnu / loongarch64-unknown-linux-gnu) Building stage0 compiler artifacts (loongarch64-unknown-linux-gnu -> loongarch64-unknown-linux-gnu) Compiling proc-macro2 v1.0.46 Compiling unicode-ident v1.0.5 Compiling syn v1.0.102 Compiling libc v0.2.135 Compiling cfg-if v1.0.0 Compiling version_check v0.9.3 Compiling autocfg v1.1.0 Compiling getrandom v0.2.0 Compiling quote v1.0.18 Compiling cfg-if v0.1.10 Compiling once_cell v1.12.0 Compiling proc-macro-hack v0.5.19 Compiling tinystr v0.3.4 Compiling unic-langid-impl v0.9.0 Compiling smallvec v1.8.1 Compiling ahash v0.7.4 Compiling log v0.4.14 Compiling indexmap v1.9.1 Compiling hashbrown v0.12.3 Compiling lock_api v0.4.7 Compiling parking_lot_core v0.8.5 Compiling cc v1.0.73 Compiling tracing-core v0.1.28 Compiling instant v0.1.12 Compiling scopeguard v1.1.0 Compiling unicode-xid v0.2.4 Compiling typenum v1.16.0 Compiling rustc-hash v1.1.0 Compiling pin-project-lite v0.2.8 Compiling parking_lot v0.11.2 Compiling generic-array v0.14.4 Compiling type-map v0.4.0 Compiling rand_core v0.6.2 Compiling bitflags v1.3.2 Compiling psm v0.1.16 Compiling synstructure v0.12.6 Compiling self_cell v0.10.2 Compiling ppv-lite86 v0.2.8 Compiling unicode-width v0.1.10 Compiling annotate-snippets v0.9.1 Compiling crypto-common v0.1.6 Compiling block-buffer v0.10.2 Compiling rand_chacha v0.3.0 Compiling stacker v0.1.14 Compiling ena v0.14.0 Compiling thin-vec v0.2.8 Compiling stable_deref_trait v1.2.0 Compiling rand v0.8.5 Compiling digest v0.10.6 Compiling rustc_serialize v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_serialize) Compiling remove_dir_all v0.5.3 Compiling arrayvec v0.7.0 Compiling measureme v10.1.0 Compiling memmap2 v0.2.1 Compiling tempfile v3.2.0 Compiling jobserver v0.1.24 Compiling serde_derive v1.0.147 Compiling rustc_graphviz v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_graphviz) Compiling serde v1.0.147 Compiling sha2 v0.10.1 Compiling unic-langid-macros-impl v0.9.0 Compiling thiserror-impl v1.0.33 Compiling tracing-attributes v0.1.22 Compiling unic-langid-macros v0.9.0 Compiling unic-langid v0.9.0 Compiling fluent-langneg v0.13.0 Compiling intl-memoizer v0.5.1 Compiling intl_pluralrules v7.0.1 Compiling sha-1 v0.10.0 Compiling thiserror v1.0.33 Compiling fluent-syntax v0.11.0 Compiling md-5 v0.10.0 Compiling rustc_arena v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_arena) Compiling fluent-bundle v0.15.2 Compiling unic-char-range v0.9.0 Compiling unic-common v0.9.0 Compiling scoped-tls v1.0.0 Compiling unic-ucd-version v0.9.0 Compiling tracing v0.1.35 Compiling unic-char-property v0.9.0 Compiling unic-emoji-char v0.9.0 Compiling ryu v1.0.5 Compiling rustc_lexer v0.1.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_lexer) Compiling rustc_macros v0.1.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_macros) Compiling serde_json v1.0.85 Compiling itoa v1.0.2 Compiling atty v0.2.14 Compiling lazy_static v1.4.0 Compiling odht v0.3.1 Compiling rustc_index v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_index) Compiling rustc_data_structures v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_data_structures) Compiling termize v0.1.1 Compiling termcolor v1.1.2 Compiling getopts v0.2.21 Compiling rustc_fs_util v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_fs_util) Compiling either v1.6.0 Compiling chalk-derive v0.80.0 Compiling rustc_span v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_span) Compiling chalk-ir v0.80.0 Compiling rustc_type_ir v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_type_ir) Compiling rustc_feature v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_feature) Compiling rustc_ast v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_ast) Compiling rustc_target v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_target) Compiling rustc_error_messages v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_error_messages) Compiling rustc_ast_pretty v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_ast_pretty) Compiling rustc_hir v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_hir) Compiling rustc_lint_defs v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_lint_defs) Compiling rustc_errors v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_errors) Compiling datafrog v2.0.1 Compiling polonius-engine v0.13.0 Compiling gsgdt v0.1.2 Compiling rustc_apfloat v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_apfloat) Compiling rustc_session v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_session) Compiling rustc_attr v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_attr) Compiling rustc_query_system v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_query_system) Compiling rustc_middle v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_middle) Compiling memchr v2.5.0 Compiling tinyvec_macros v0.1.0 Compiling tinyvec v1.6.0 Compiling rustc_parse_format v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_parse_format) Compiling unicode-normalization v0.1.22 Compiling regex-syntax v0.6.26 Compiling itertools v0.10.5 Compiling aho-corasick v0.7.18 Compiling regex v1.5.6 Compiling crossbeam-utils v0.8.8 Compiling rustc_parse v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_parse) Compiling rustc_hir_pretty v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_hir_pretty) Compiling rustc_infer v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_infer) Compiling rustc_ast_passes v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_ast_passes) Compiling rustc_transmute v0.1.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_transmute) Compiling rustc_trait_selection v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_trait_selection) Compiling crossbeam-channel v0.5.4 Compiling regex-automata v0.1.10 Compiling matchers v0.1.0 Compiling rustc_expand v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_expand) Compiling sharded-slab v0.1.1 Compiling tracing-log v0.1.2 Compiling thread_local v1.1.4 Compiling crc32fast v1.3.2 Compiling snap v1.0.1 Compiling ansi_term v0.12.1 Compiling tracing-subscriber v0.3.3 Compiling unicode-script v0.5.5 Compiling adler v0.2.3 Compiling miniz_oxide v0.4.0 Compiling unicode-security v0.1.0 Compiling tracing-tree v0.2.0 Compiling rustc_mir_dataflow v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_mir_dataflow) Compiling libloading v0.7.1 Compiling fixedbitset v0.2.0 Compiling petgraph v0.5.1 Compiling rustc_metadata v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_metadata) Compiling rustc_const_eval v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_const_eval) Compiling flate2 v1.0.16 Compiling rustc_lint v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_lint) Compiling fallible-iterator v0.2.0 Compiling gimli v0.26.1 Compiling object v0.29.0 Compiling chalk-solve v0.80.0 Compiling rustc_llvm v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_llvm) Compiling punycode v0.4.1 Compiling rustc-demangle v0.1.21 Compiling rustc_symbol_mangling v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_symbol_mangling) Compiling chalk-engine v0.80.0 Compiling thorin-dwp v0.3.0 Compiling rustc_hir_analysis v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_hir_analysis) Compiling rustc_incremental v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_incremental) Compiling pathdiff v0.2.1 Compiling rustc_codegen_ssa v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_codegen_ssa) Compiling rustc_traits v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_traits) Compiling rls-span v0.5.3 Compiling rand_xoshiro v0.6.0 Compiling cstr v0.2.8 Compiling rustc_codegen_llvm v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_codegen_llvm) Compiling rustc_ty_utils v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_ty_utils) Compiling rls-data v0.19.1 Compiling rustc_borrowck v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_borrowck) Compiling rustc_privacy v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_privacy) Compiling rustc_hir_typeck v0.1.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_hir_typeck) Compiling rustc_plugin_impl v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_plugin_impl) Compiling rustc_mir_transform v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_mir_transform) Compiling rustc_resolve v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_resolve) Compiling rustc_builtin_macros v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_builtin_macros) Compiling rustc_passes v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_passes) Compiling rustc_mir_build v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_mir_build) Compiling rustc_ast_lowering v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_ast_lowering) Compiling rustc_monomorphize v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_monomorphize) Compiling rustc_query_impl v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_query_impl) Compiling rustc_save_analysis v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_save_analysis) Compiling rustc_interface v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_interface) Compiling rustc_log v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_log) Compiling rustc_error_codes v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_error_codes) Compiling rustc-main v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc) Compiling rustc_driver v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_driver) Compiling rustc_smir v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_smir) Finished release [optimized] target(s) in 19m 20s Copying stage0 rustc from stage0 (loongarch64-unknown-linux-gnu -> loongarch64-unknown-linux-gnu / loongarch64-unknown-linux-gnu) Assembling stage1 compiler (loongarch64-unknown-linux-gnu) Building stage1 std artifacts (loongarch64-unknown-linux-gnu -> loongarch64-unknown-linux-gnu) Compiling compiler_builtins v0.1.82 Compiling core v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/library/core) Compiling libc v0.2.135 Compiling cc v1.0.73 Compiling memchr v2.5.0 Compiling std v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/library/std) Compiling unwind v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/library/unwind) Compiling rustc-std-workspace-core v1.99.0 (/builddir/build/BUILD/rustc-1.66.1-src/library/rustc-std-workspace-core) Compiling alloc v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/library/alloc) Compiling cfg-if v0.1.10 Compiling cfg-if v1.0.0 Compiling adler v0.2.3 Compiling rustc-demangle v0.1.21 Compiling rustc-std-workspace-alloc v1.99.0 (/builddir/build/BUILD/rustc-1.66.1-src/library/rustc-std-workspace-alloc) Compiling gimli v0.25.0 Compiling hashbrown v0.12.3 Compiling object v0.26.2 Compiling miniz_oxide v0.4.0 Compiling std_detect v0.1.5 (/builddir/build/BUILD/rustc-1.66.1-src/library/stdarch/crates/std_detect) Compiling panic_unwind v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/library/panic_unwind) Compiling panic_abort v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/library/panic_abort) Compiling addr2line v0.16.0 Compiling rustc-std-workspace-std v1.99.0 (/builddir/build/BUILD/rustc-1.66.1-src/library/rustc-std-workspace-std) Compiling proc_macro v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/library/proc_macro) Compiling unicode-width v0.1.10 Compiling getopts v0.2.21 Compiling test v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/library/test) Finished release [optimized + debuginfo] target(s) in 2m 00s Copying stage1 std from stage1 (loongarch64-unknown-linux-gnu -> loongarch64-unknown-linux-gnu / loongarch64-unknown-linux-gnu) Building stage1 compiler artifacts (loongarch64-unknown-linux-gnu -> loongarch64-unknown-linux-gnu) Compiling proc-macro2 v1.0.46 Compiling unicode-ident v1.0.5 Compiling syn v1.0.102 Compiling libc v0.2.135 Compiling cfg-if v1.0.0 Compiling version_check v0.9.3 Compiling autocfg v1.1.0 Compiling getrandom v0.2.0 Compiling quote v1.0.18 Compiling once_cell v1.12.0 Compiling cfg-if v0.1.10 Compiling proc-macro-hack v0.5.19 Compiling tinystr v0.3.4 Compiling unic-langid-impl v0.9.0 Compiling smallvec v1.8.1 Compiling ahash v0.7.4 Compiling log v0.4.14 Compiling indexmap v1.9.1 Compiling hashbrown v0.12.3 Compiling lock_api v0.4.7 Compiling parking_lot_core v0.8.5 Compiling cc v1.0.73 Compiling tracing-core v0.1.28 Compiling instant v0.1.12 Compiling scopeguard v1.1.0 Compiling rustc-hash v1.1.0 Compiling unicode-xid v0.2.4 Compiling pin-project-lite v0.2.8 Compiling typenum v1.16.0 Compiling parking_lot v0.11.2 Compiling generic-array v0.14.4 Compiling type-map v0.4.0 Compiling rand_core v0.6.2 Compiling synstructure v0.12.6 Compiling bitflags v1.3.2 Compiling psm v0.1.16 Compiling unicode-width v0.1.10 Compiling ppv-lite86 v0.2.8 Compiling self_cell v0.10.2 Compiling annotate-snippets v0.9.1 Compiling rand_chacha v0.3.0 Compiling block-buffer v0.10.2 Compiling crypto-common v0.1.6 Compiling stacker v0.1.14 Compiling ena v0.14.0 Compiling thin-vec v0.2.8 Compiling stable_deref_trait v1.2.0 Compiling digest v0.10.6 Compiling rand v0.8.5 Compiling rustc_serialize v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_serialize) Compiling arrayvec v0.7.0 Compiling remove_dir_all v0.5.3 Compiling measureme v10.1.0 Compiling jobserver v0.1.24 Compiling tempfile v3.2.0 Compiling memmap2 v0.2.1 Compiling serde_derive v1.0.147 Compiling rustc_graphviz v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_graphviz) Compiling unic-langid-macros-impl v0.9.0 Compiling thiserror-impl v1.0.33 Compiling tracing-attributes v0.1.22 Compiling unic-langid-macros v0.9.0 Compiling unic-langid v0.9.0 Compiling fluent-langneg v0.13.0 Compiling intl_pluralrules v7.0.1 Compiling intl-memoizer v0.5.1 Compiling serde v1.0.147 Compiling sha-1 v0.10.0 Compiling thiserror v1.0.33 Compiling fluent-syntax v0.11.0 Compiling fluent-bundle v0.15.2 Compiling tracing v0.1.35 Compiling sha2 v0.10.1 Compiling md-5 v0.10.0 Compiling rustc_arena v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_arena) Compiling scoped-tls v1.0.0 Compiling unic-common v0.9.0 Compiling unic-char-range v0.9.0 Compiling unic-char-property v0.9.0 Compiling rustc_macros v0.1.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_macros) Compiling unic-ucd-version v0.9.0 Compiling unic-emoji-char v0.9.0 Compiling ryu v1.0.5 Compiling rustc_lexer v0.1.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_lexer) Compiling serde_json v1.0.85 Compiling itoa v1.0.2 Compiling atty v0.2.14 Compiling lazy_static v1.4.0 Compiling odht v0.3.1 Compiling rustc_index v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_index) Compiling rustc_data_structures v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_data_structures) Compiling termize v0.1.1 Compiling termcolor v1.1.2 Compiling rustc_span v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_span) Compiling getopts v0.2.21 Compiling rustc_feature v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_feature) Compiling rustc_ast v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_ast) Compiling rustc_target v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_target) Compiling rustc_error_messages v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_error_messages) Compiling rustc_hir v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_hir) Compiling rustc_ast_pretty v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_ast_pretty) Compiling rustc_lint_defs v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_lint_defs) Compiling rustc_errors v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_errors) Compiling rustc_fs_util v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_fs_util) Compiling either v1.6.0 Compiling chalk-derive v0.80.0 Compiling rustc_session v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_session) Compiling chalk-ir v0.80.0 Compiling rustc_attr v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_attr) Compiling rustc_type_ir v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_type_ir) Compiling datafrog v2.0.1 Compiling polonius-engine v0.13.0 Compiling rustc_query_system v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_query_system) Compiling gsgdt v0.1.2 Compiling rustc_apfloat v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_apfloat) Compiling memchr v2.5.0 Compiling rustc_middle v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_middle) Compiling tinyvec_macros v0.1.0 Compiling tinyvec v1.6.0 Compiling unicode-normalization v0.1.22 Compiling rustc_parse_format v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_parse_format) Compiling regex-syntax v0.6.26 Compiling itertools v0.10.5 Compiling aho-corasick v0.7.18 Compiling regex v1.5.6 Compiling crossbeam-utils v0.8.8 Compiling rustc_parse v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_parse) Compiling rustc_hir_pretty v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_hir_pretty) Compiling rustc_ast_passes v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_ast_passes) Compiling crossbeam-channel v0.5.4 Compiling rustc_infer v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_infer) Compiling rustc_transmute v0.1.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_transmute) Compiling rustc_trait_selection v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_trait_selection) Compiling regex-automata v0.1.10 Compiling matchers v0.1.0 Compiling rustc_expand v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_expand) Compiling tracing-log v0.1.2 Compiling sharded-slab v0.1.1 Compiling thread_local v1.1.4 Compiling snap v1.0.1 Compiling crc32fast v1.3.2 Compiling ansi_term v0.12.1 Compiling tracing-subscriber v0.3.3 Compiling unicode-script v0.5.5 Compiling adler v0.2.3 Compiling miniz_oxide v0.4.0 Compiling unicode-security v0.1.0 Compiling tracing-tree v0.2.0 Compiling rustc_mir_dataflow v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_mir_dataflow) Compiling libloading v0.7.1 Compiling fixedbitset v0.2.0 Compiling petgraph v0.5.1 Compiling rustc_metadata v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_metadata) Compiling rustc_const_eval v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_const_eval) Compiling flate2 v1.0.16 Compiling rustc_lint v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_lint) Compiling fallible-iterator v0.2.0 Compiling gimli v0.26.1 Compiling object v0.29.0 Compiling chalk-solve v0.80.0 Compiling rustc_llvm v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_llvm) Compiling punycode v0.4.1 Compiling rustc-demangle v0.1.21 Compiling rustc_symbol_mangling v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_symbol_mangling) Compiling chalk-engine v0.80.0 Compiling thorin-dwp v0.3.0 Compiling rustc_hir_analysis v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_hir_analysis) Compiling rustc_incremental v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_incremental) Compiling pathdiff v0.2.1 Compiling rustc_codegen_ssa v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_codegen_ssa) Compiling rustc_traits v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_traits) Compiling rls-span v0.5.3 Compiling rand_xoshiro v0.6.0 Compiling cstr v0.2.8 Compiling rustc_codegen_llvm v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_codegen_llvm) Compiling rustc_ty_utils v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_ty_utils) Compiling rls-data v0.19.1 Compiling rustc_borrowck v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_borrowck) Compiling rustc_privacy v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_privacy) Compiling rustc_hir_typeck v0.1.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_hir_typeck) Compiling rustc_plugin_impl v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_plugin_impl) Compiling rustc_mir_transform v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_mir_transform) Compiling rustc_resolve v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_resolve) Compiling rustc_builtin_macros v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_builtin_macros) Compiling rustc_passes v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_passes) Compiling rustc_mir_build v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_mir_build) Compiling rustc_ast_lowering v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_ast_lowering) Compiling rustc_monomorphize v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_monomorphize) Compiling rustc_query_impl v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_query_impl) Compiling rustc_save_analysis v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_save_analysis) Compiling rustc_log v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_log) Compiling rustc_interface v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_interface) Compiling rustc_error_codes v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_error_codes) Compiling rustc-main v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc) Compiling rustc_driver v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_driver) Compiling rustc_smir v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/compiler/rustc_smir) Finished release [optimized] target(s) in 19m 25s Copying stage1 rustc from stage1 (loongarch64-unknown-linux-gnu -> loongarch64-unknown-linux-gnu / loongarch64-unknown-linux-gnu) Assembling stage2 compiler (loongarch64-unknown-linux-gnu) Uplifting stage1 std (loongarch64-unknown-linux-gnu -> loongarch64-unknown-linux-gnu) Copying stage2 std from stage1 (loongarch64-unknown-linux-gnu -> loongarch64-unknown-linux-gnu / loongarch64-unknown-linux-gnu) Uplifting stage1 rustc (loongarch64-unknown-linux-gnu -> loongarch64-unknown-linux-gnu) Copying stage2 rustc from stage1 (loongarch64-unknown-linux-gnu -> loongarch64-unknown-linux-gnu / loongarch64-unknown-linux-gnu) Building stage2 tool cargo (loongarch64-unknown-linux-gnu) Compiling libc v0.2.135 Compiling pkg-config v0.3.25 Compiling autocfg v1.1.0 Compiling proc-macro2 v1.0.46 Compiling unicode-ident v1.0.5 Compiling syn v1.0.102 Compiling version_check v0.9.3 Compiling jobserver v0.1.24 Compiling quote v1.0.18 Compiling cc v1.0.73 Compiling cfg-if v1.0.0 Compiling serde_derive v1.0.147 Compiling serde v1.0.147 Compiling memchr v2.5.0 Compiling typenum v1.16.0 Compiling log v0.4.14 Compiling libz-sys v1.1.3 Compiling openssl-sys v0.9.72 Compiling libnghttp2-sys v0.1.4+1.41.0 Compiling getrandom v0.2.0 Compiling cfg-if v0.1.10 Compiling bitflags v1.3.2 Compiling crc32fast v1.3.2 Compiling matches v0.1.8 Compiling tinyvec_macros v0.1.0 Compiling tinyvec v1.6.0 Compiling curl-sys v0.4.55+curl-7.83.1 Compiling generic-array v0.14.4 Compiling once_cell v1.12.0 Compiling rand_core v0.6.2 Compiling unicode-bidi v0.3.4 Compiling unicode-normalization v0.1.22 Compiling proc-macro-error-attr v1.0.4 Compiling percent-encoding v2.1.0 Compiling lazy_static v1.4.0 Compiling ryu v1.0.5 Compiling idna v0.2.0 Compiling form_urlencoded v1.0.1 Compiling libgit2-sys v0.14.1+1.5.0 Compiling aho-corasick v0.7.18 Compiling proc-macro-error v1.0.4 Compiling indexmap v1.9.1 Compiling os_str_bytes v6.0.0 Compiling serde_json v1.0.85 Compiling regex-automata v0.1.10 Compiling anyhow v1.0.65 Compiling regex-syntax v0.6.26 Compiling bstr v0.2.17 Compiling atty v0.2.14 Compiling regex v1.5.6 Compiling num-traits v0.2.12 Compiling openssl-probe v0.1.5 Compiling curl v0.4.43 Compiling itoa v1.0.2 Compiling foreign-types-shared v0.1.1 Compiling ppv-lite86 v0.2.8 Compiling openssl v0.10.38 Compiling termcolor v1.1.2 Compiling hashbrown v0.12.3 Compiling url v2.2.2 Compiling rand_chacha v0.3.0 Compiling foreign-types v0.3.2 Compiling block-buffer v0.10.2 Compiling crypto-common v0.1.6 Compiling filetime v0.2.14 Compiling socket2 v0.4.1 Compiling strsim v0.10.0 Compiling same-file v1.0.6 Compiling subtle v2.4.1 Compiling heck v0.4.0 Compiling crossbeam-utils v0.8.8 Compiling clap_derive v3.2.18 Compiling digest v0.10.6 Compiling walkdir v2.3.2 Compiling flate2 v1.0.16 Compiling tar v0.4.39 Compiling rand v0.8.5 Compiling clap_lex v0.2.2 Compiling bitmaps v2.1.0 Compiling im-rc v15.1.0 Compiling bytes v1.0.1 Compiling semver v1.0.12 Compiling hex v0.3.2 Compiling textwrap v0.15.0 Compiling either v1.6.0 Compiling utf8parse v0.1.1 Compiling fnv v1.0.7 Compiling static_assertions v1.1.0 Compiling remove_dir_all v0.5.3 Compiling kstring v2.0.0 Compiling tempfile v3.2.0 Compiling globset v0.4.9 Compiling itertools v0.10.5 Compiling vte v0.3.3 Compiling crypto-hash v0.3.4 Compiling clap v3.2.20 Compiling combine v4.6.6 Compiling sized-chunks v0.6.4 Compiling ordered-float v2.10.0 Compiling cargo v0.67.1 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/cargo) Compiling toml_datetime v0.5.0 Compiling clap_lex v0.3.0 Compiling rand_xoshiro v0.6.0 Compiling thread_local v1.1.4 Compiling humantime v2.0.1 Compiling shell-escape v0.1.5 Compiling hex v0.4.2 Compiling env_logger v0.9.0 Compiling cargo-util v0.2.2 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/cargo/crates/cargo-util) Compiling ignore v0.4.18 Compiling toml_edit v0.15.0 Compiling clap v4.0.15 Compiling serde-value v0.7.0 Compiling rustc-workspace-hack v1.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/rustc-workspace-hack) Compiling strip-ansi-escapes v0.1.0 Compiling sha1 v0.10.5 Compiling hmac v0.12.1 Compiling rustfix v0.6.1 Compiling os_info v3.5.0 Compiling serde_ignored v0.1.2 Compiling cargo-platform v0.1.2 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/cargo/crates/cargo-platform) Compiling opener v0.5.0 Compiling glob v0.3.0 Compiling lazycell v1.3.0 Compiling home v0.5.3 Compiling base64 v0.13.1 Compiling bytesize v1.0.1 Compiling pathdiff v0.2.1 Compiling unicode-width v0.1.10 Compiling unicode-xid v0.2.4 Compiling crates-io v0.34.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/cargo/crates/crates-io) Compiling git2 v0.16.0 Compiling git2-curl v0.17.0 Finished release [optimized] target(s) in 6m 39s Building stage2 tool cargo-credential-1password (loongarch64-unknown-linux-gnu) Compiling syn v1.0.102 Compiling serde_json v1.0.85 Compiling cargo-credential v0.1.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/cargo/crates/credential/cargo-credential) Compiling serde_derive v1.0.147 Compiling serde v1.0.147 Compiling cargo-credential-1password v0.1.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/cargo/crates/credential/cargo-credential-1password) Finished release [optimized] target(s) in 26.94s Building stage2 tool rls (loongarch64-unknown-linux-gnu) Compiling proc-macro2 v1.0.46 Compiling unicode-ident v1.0.5 Compiling syn v1.0.102 Compiling version_check v0.9.3 Compiling libc v0.2.135 Compiling proc-macro-error-attr v1.0.4 Compiling memchr v2.5.0 Compiling serde_derive v1.0.147 Compiling proc-macro-error v1.0.4 Compiling serde v1.0.147 Compiling matches v0.1.8 Compiling quote v1.0.18 Compiling autocfg v1.1.0 Compiling tinyvec_macros v0.1.0 Compiling tinyvec v1.6.0 Compiling indexmap v1.9.1 Compiling cc v1.0.73 Compiling pkg-config v0.3.25 Compiling ryu v1.0.5 Compiling unicode-normalization v0.1.22 Compiling libz-sys v1.1.3 Compiling unicode-bidi v0.3.4 Compiling percent-encoding v2.1.0 Compiling heck v0.4.0 Compiling serde_json v1.0.85 Compiling hashbrown v0.12.3 Compiling os_str_bytes v6.0.0 Compiling clap_lex v0.2.2 Compiling form_urlencoded v1.0.1 Compiling idna v0.2.0 Compiling atty v0.2.14 Compiling aho-corasick v0.7.18 Compiling clap_derive v3.2.18 Compiling regex-automata v0.1.10 Compiling itoa v1.0.2 Compiling once_cell v1.12.0 Compiling textwrap v0.15.0 Compiling lazy_static v1.4.0 Compiling termcolor v1.1.2 Compiling strsim v0.10.0 Compiling bitflags v1.3.2 Compiling regex-syntax v0.6.26 Compiling clap v3.2.20 Compiling bstr v0.2.17 Compiling regex v1.5.6 Compiling url v2.2.2 Compiling rustc-workspace-hack v1.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/rustc-workspace-hack) Compiling rls v2.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/rls) Finished release [optimized] target(s) in 1m 27s Building stage2 tool rust-analyzer (loongarch64-unknown-linux-gnu) Compiling proc-macro2 v1.0.47 Compiling quote v1.0.21 Compiling syn v1.0.102 Compiling cfg-if v1.0.0 Compiling serde v1.0.145 Compiling serde_derive v1.0.145 Compiling log v0.4.17 Compiling once_cell v1.15.0 Compiling hashbrown v0.12.3 Compiling scopeguard v1.1.0 Compiling rustc-hash v1.1.0 Compiling lock_api v0.4.9 Compiling smallvec v1.10.0 Compiling indexmap v1.9.1 Compiling parking_lot_core v0.9.3 Compiling always-assert v0.1.2 Compiling crossbeam-utils v0.8.12 Compiling stdx v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/rust-analyzer/crates/stdx) Compiling tracing-core v0.1.30 Compiling memoffset v0.6.5 Compiling pin-project-lite v0.2.9 Compiling dashmap v5.4.0 Compiling either v1.8.0 Compiling perf-event-open-sys v1.0.1 Compiling itertools v0.10.5 Compiling countme v3.0.1 Compiling perf-event v0.4.7 Compiling la-arena v0.3.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/rust-analyzer/lib/la-arena) Compiling text-size v1.1.0 Compiling profile v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/rust-analyzer/crates/profile) Compiling serde_json v1.0.86 Compiling unicode-xid v0.2.4 Compiling paths v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/rust-analyzer/crates/paths) Compiling rustc-ap-rustc_lexer v725.0.0 Compiling drop_bomb v0.1.5 Compiling limit v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/rust-analyzer/crates/limit) Compiling parser v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/rust-analyzer/crates/parser) Compiling text-edit v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/rust-analyzer/crates/text-edit) Compiling rowan v0.15.10 Compiling fst v0.4.7 Compiling parking_lot_core v0.8.5 Compiling cov-mark v2.0.0-pre.1 Compiling instant v0.1.12 Compiling unicode-segmentation v1.10.0 Compiling heck v0.3.3 Compiling parking_lot v0.11.2 Compiling tracing-attributes v0.1.23 Compiling vfs v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/rust-analyzer/crates/vfs) Compiling salsa-macros v0.17.0-pre.2 Compiling tracing v0.1.37 Compiling oorandom v11.1.3 Compiling dissimilar v1.0.4 Compiling synstructure v0.12.6 Compiling test-utils v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/rust-analyzer/crates/test-utils) Compiling salsa v0.17.0-pre.2 Compiling crossbeam-channel v0.5.6 Compiling chalk-derive v0.86.0 Compiling crossbeam-epoch v0.9.11 Compiling camino v1.1.1 Compiling fixedbitset v0.2.0 Compiling itoa v1.0.4 Compiling ryu v1.0.11 Compiling semver v1.0.14 Compiling petgraph v0.5.1 Compiling chalk-ir v0.86.0 Compiling ena v0.14.0 Compiling rayon-core v1.9.3 Compiling num_cpus v1.13.1 Compiling smol_str v0.1.23 Compiling tt v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/rust-analyzer/crates/tt) Compiling syntax v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/rust-analyzer/crates/syntax) Compiling cfg v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/rust-analyzer/crates/cfg) Compiling chalk-solve v0.86.0 Compiling mbe v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/rust-analyzer/crates/mbe) Compiling base-db v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/rust-analyzer/crates/base-db) Compiling anymap v1.0.0-beta.2 Compiling arrayvec v0.7.2 Compiling hir-expand v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/rust-analyzer/crates/hir-expand) Compiling hir-def v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/rust-analyzer/crates/hir-def) Compiling chalk-recursive v0.86.0 Compiling crossbeam-deque v0.8.2 Compiling rayon v1.5.3 Compiling typed-arena v2.0.1 Compiling scoped-tls v1.0.0 Compiling hir-ty v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/rust-analyzer/crates/hir-ty) Compiling hir v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/rust-analyzer/crates/hir) Compiling version_check v0.9.4 Compiling unicase v2.6.0 Compiling ide-db v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/rust-analyzer/crates/ide-db) Compiling thiserror v1.0.37 Compiling snap v1.0.5 Compiling regex-syntax v0.6.27 Compiling thiserror-impl v1.0.37 Compiling anyhow v1.0.65 Compiling home v0.5.4 Compiling percent-encoding v2.2.0 Compiling unicode-bidi v0.3.8 Compiling pulldown-cmark v0.9.2 Compiling idna v0.3.0 Compiling form_urlencoded v1.1.0 Compiling toolchain v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/rust-analyzer/crates/toolchain) Compiling regex-automata v0.1.10 Compiling cargo-platform v0.1.2 Compiling object v0.29.0 Compiling memmap2 v0.5.7 Compiling inotify-sys v0.1.5 Compiling proc-macro-srv v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/rust-analyzer/crates/proc-macro-srv) Compiling protobuf v3.1.0 Compiling same-file v1.0.6 Compiling walkdir v2.3.2 Compiling inotify v0.9.6 Compiling proc-macro-api v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/rust-analyzer/crates/proc-macro-api) Compiling matchers v0.1.0 Compiling cargo_metadata v0.15.0 Compiling protobuf-support v3.1.0 Compiling url v2.3.1 Compiling regex v1.6.0 Compiling tracing-log v0.1.3 Compiling sharded-slab v0.1.4 Compiling mio v0.8.4 Compiling thread_local v1.1.4 Compiling filetime v0.2.17 Compiling libloading v0.7.3 Compiling xflags-macros v0.3.0 Compiling jod-thread v0.1.2 Compiling crc32fast v1.3.2 Compiling notify v5.0.0 Compiling xflags v0.3.0 Compiling tracing-subscriber v0.3.16 Compiling pulldown-cmark-to-cmark v10.0.4 Compiling ide-diagnostics v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/rust-analyzer/crates/ide-diagnostics) Compiling ide-assists v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/rust-analyzer/crates/ide-assists) Compiling ide-ssr v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/rust-analyzer/crates/ide-ssr) Compiling ide-completion v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/rust-analyzer/crates/ide-completion) Compiling serde_repr v0.1.9 Compiling proc-macro-test-impl v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/rust-analyzer/crates/proc-macro-test/imp) Compiling ansi_term v0.12.1 Compiling adler v1.0.2 Compiling dot v0.1.4 Compiling xshell-macros v0.2.2 Compiling rust-analyzer v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/rust-analyzer/crates/rust-analyzer) warning: Could not find `.git/HEAD` from manifest dir! Compiling xshell v0.2.2 Compiling ide v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/rust-analyzer/crates/ide) Compiling miniz_oxide v0.5.4 Compiling tracing-tree v0.2.1 Compiling proc-macro-test v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/rust-analyzer/crates/proc-macro-test) Compiling lsp-types v0.93.1 Compiling scip v0.1.1 Compiling vfs-notify v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/rust-analyzer/crates/vfs-notify) Compiling flycheck v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/rust-analyzer/crates/flycheck) Compiling project-model v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/rust-analyzer/crates/project-model) Compiling lsp-server v0.7.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/rust-analyzer/lib/lsp-server) Compiling threadpool v1.8.1 Compiling parking_lot v0.12.1 Compiling flate2 v1.0.24 Compiling write-json v0.1.2 Compiling xtask v0.1.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/rust-analyzer/xtask) Compiling sourcegen v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/rust-analyzer/crates/sourcegen) Compiling proc-macro-srv-cli v0.0.0 (/builddir/build/BUILD/rustc-1.66.1-src/src/tools/rust-analyzer/crates/proc-macro-srv-cli) malloc(): unaligned tcache chunk detected rustc exited with signal: 6 (SIGABRT) (core dumped) The following warnings were emitted during compilation: warning: Could not find `.git/HEAD` from manifest dir! error: could not compile `rust-analyzer` Caused by: process didn't exit successfully: `/builddir/build/BUILD/rustc-1.66.1-src/build/bootstrap/debug/rustc --crate-name rust_analyzer --edition=2021 crates/rust-analyzer/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 debuginfo=0 --cfg 'feature="in-rust-tree"' -Zunstable-options --check-cfg 'values(feature, "force-always-assert", "in-rust-tree", "jemalloc", "jemallocator", "mimalloc")' --check-cfg 'names()' --check-cfg 'values()' -C metadata=03444f3bf3e20823 -C extra-filename=-03444f3bf3e20823 --out-dir /builddir/build/BUILD/rustc-1.66.1-src/build/loongarch64-unknown-linux-gnu/stage2-tools/loongarch64-unknown-linux-gnu/release/deps --target loongarch64-unknown-linux-gnu -C linker=gcc -L dependency=/builddir/build/BUILD/rustc-1.66.1-src/build/loongarch64-unknown-linux-gnu/stage2-tools/loongarch64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/rustc-1.66.1-src/build/loongarch64-unknown-linux-gnu/stage2-tools/release/deps --extern always_assert=/builddir/build/BUILD/rustc-1.66.1-src/build/loongarch64-unknown-linux-gnu/stage2-tools/loongarch64-unknown-linux-gnu/release/deps/libalways_assert-2a9b05af435d126e.rmeta --extern anyhow=/builddir/build/BUILD/rustc-1.66.1-src/build/loongarch64-unknown-linux-gnu/stage2-tools/loongarch64-unknown-linux-gnu/release/deps/libanyhow-ceb0d19cc9e71fe6.rmeta --extern cfg=/builddir/build/BUILD/rustc-1.66.1-src/build/loongarch64-unknown-linux-gnu/stage2-tools/loongarch64-unknown-linux-gnu/release/deps/libcfg-591d73e80be89d27.rmeta --extern crossbeam_channel=/builddir/build/BUILD/rustc-1.66.1-src/build/loongarch64-unknown-linux-gnu/stage2-tools/loongarch64-unknown-linux-gnu/release/deps/libcrossbeam_channel-9af1249ab218ad3b.rmeta --extern dissimilar=/builddir/build/BUILD/rustc-1.66.1-src/build/loongarch64-unknown-linux-gnu/stage2-tools/loongarch64-unknown-linux-gnu/release/deps/libdissimilar-7efc110e0a80eddb.rmeta --extern flycheck=/builddir/build/BUILD/rustc-1.66.1-src/build/loongarch64-unknown-linux-gnu/stage2-tools/loongarch64-unknown-linux-gnu/release/deps/libflycheck-efb8bdc1d66d7f7d.rmeta --extern hir=/builddir/build/BUILD/rustc-1.66.1-src/build/loongarch64-unknown-linux-gnu/stage2-tools/loongarch64-unknown-linux-gnu/release/deps/libhir-328d55c5938aaa50.rmeta --extern hir_def=/builddir/build/BUILD/rustc-1.66.1-src/build/loongarch64-unknown-linux-gnu/stage2-tools/loongarch64-unknown-linux-gnu/release/deps/libhir_def-c7c3718108dae4ac.rmeta --extern hir_ty=/builddir/build/BUILD/rustc-1.66.1-src/build/loongarch64-unknown-linux-gnu/stage2-tools/loongarch64-unknown-linux-gnu/release/deps/libhir_ty-6a9c313e0d9c5278.rmeta --extern ide=/builddir/build/BUILD/rustc-1.66.1-src/build/loongarch64-unknown-linux-gnu/stage2-tools/loongarch64-unknown-linux-gnu/release/deps/libide-ded2241cd6d917e9.rmeta --extern ide_db=/builddir/build/BUILD/rustc-1.66.1-src/build/loongarch64-unknown-linux-gnu/stage2-tools/loongarch64-unknown-linux-gnu/release/deps/libide_db-531d231b7cf2569c.rmeta --extern ide_ssr=/builddir/build/BUILD/rustc-1.66.1-src/build/loongarch64-unknown-linux-gnu/stage2-tools/loongarch64-unknown-linux-gnu/release/deps/libide_ssr-b2b04378484c05fd.rmeta --extern itertools=/builddir/build/BUILD/rustc-1.66.1-src/build/loongarch64-unknown-linux-gnu/stage2-tools/loongarch64-unknown-linux-gnu/release/deps/libitertools-b4a9ad193f42e36a.rmeta --extern lsp_server=/builddir/build/BUILD/rustc-1.66.1-src/build/loongarch64-unknown-linux-gnu/stage2-tools/loongarch64-unknown-linux-gnu/release/deps/liblsp_server-0df4448723e4b8e4.rmeta --extern lsp_types=/builddir/build/BUILD/rustc-1.66.1-src/build/loongarch64-unknown-linux-gnu/stage2-tools/loongarch64-unknown-linux-gnu/release/deps/liblsp_types-6687c432ef73c462.rmeta --extern num_cpus=/builddir/build/BUILD/rustc-1.66.1-src/build/loongarch64-unknown-linux-gnu/stage2-tools/loongarch64-unknown-linux-gnu/release/deps/libnum_cpus-f80ee72747c6c700.rmeta --extern oorandom=/builddir/build/BUILD/rustc-1.66.1-src/build/loongarch64-unknown-linux-gnu/stage2-tools/loongarch64-unknown-linux-gnu/release/deps/liboorandom-b017360e7774f621.rmeta --extern parking_lot=/builddir/build/BUILD/rustc-1.66.1-src/build/loongarch64-unknown-linux-gnu/stage2-tools/loongarch64-unknown-linux-gnu/release/deps/libparking_lot-d99fc1af5d5bb4f5.rmeta --extern proc_macro_api=/builddir/build/BUILD/rustc-1.66.1-src/build/loongarch64-unknown-linux-gnu/stage2-tools/loongarch64-unknown-linux-gnu/release/deps/libproc_macro_api-27747ac5eed239d7.rmeta --extern proc_macro_srv=/builddir/build/BUILD/rustc-1.66.1-src/build/loongarch64-unknown-linux-gnu/stage2-tools/loongarch64-unknown-linux-gnu/release/deps/libproc_macro_srv-871683efbd023de8.rmeta --extern profile=/builddir/build/BUILD/rustc-1.66.1-src/build/loongarch64-unknown-linux-gnu/stage2-tools/loongarch64-unknown-linux-gnu/release/deps/libprofile-142a73fb0f4ce92f.rmeta --extern project_model=/builddir/build/BUILD/rustc-1.66.1-src/build/loongarch64-unknown-linux-gnu/stage2-tools/loongarch64-unknown-linux-gnu/release/deps/libproject_model-2f9f4567cb3389dc.rmeta --extern rayon=/builddir/build/BUILD/rustc-1.66.1-src/build/loongarch64-unknown-linux-gnu/stage2-tools/loongarch64-unknown-linux-gnu/release/deps/librayon-803c52f788b1f040.rmeta --extern rustc_hash=/builddir/build/BUILD/rustc-1.66.1-src/build/loongarch64-unknown-linux-gnu/stage2-tools/loongarch64-unknown-linux-gnu/release/deps/librustc_hash-5600141ccbe4cfe0.rmeta --extern scip=/builddir/build/BUILD/rustc-1.66.1-src/build/loongarch64-unknown-linux-gnu/stage2-tools/loongarch64-unknown-linux-gnu/release/deps/libscip-815ec350124fc62d.rmeta --extern serde=/builddir/build/BUILD/rustc-1.66.1-src/build/loongarch64-unknown-linux-gnu/stage2-tools/loongarch64-unknown-linux-gnu/release/deps/libserde-95f3b92f91250cbe.rmeta --extern serde_json=/builddir/build/BUILD/rustc-1.66.1-src/build/loongarch64-unknown-linux-gnu/stage2-tools/loongarch64-unknown-linux-gnu/release/deps/libserde_json-f8a96e19e726776e.rmeta --extern stdx=/builddir/build/BUILD/rustc-1.66.1-src/build/loongarch64-unknown-linux-gnu/stage2-tools/loongarch64-unknown-linux-gnu/release/deps/libstdx-4d79ac433c52b680.rmeta --extern syntax=/builddir/build/BUILD/rustc-1.66.1-src/build/loongarch64-unknown-linux-gnu/stage2-tools/loongarch64-unknown-linux-gnu/release/deps/libsyntax-54da873a67dacec2.rmeta --extern threadpool=/builddir/build/BUILD/rustc-1.66.1-src/build/loongarch64-unknown-linux-gnu/stage2-tools/loongarch64-unknown-linux-gnu/release/deps/libthreadpool-ee242b284a5bbd4c.rmeta --extern toolchain=/builddir/build/BUILD/rustc-1.66.1-src/build/loongarch64-unknown-linux-gnu/stage2-tools/loongarch64-unknown-linux-gnu/release/deps/libtoolchain-a597c2a614ffeff8.rmeta --extern tracing=/builddir/build/BUILD/rustc-1.66.1-src/build/loongarch64-unknown-linux-gnu/stage2-tools/loongarch64-unknown-linux-gnu/release/deps/libtracing-13202f628f06b9ad.rmeta --extern tracing_log=/builddir/build/BUILD/rustc-1.66.1-src/build/loongarch64-unknown-linux-gnu/stage2-tools/loongarch64-unknown-linux-gnu/release/deps/libtracing_log-3a5f13d78894b4fc.rmeta --extern tracing_subscriber=/builddir/build/BUILD/rustc-1.66.1-src/build/loongarch64-unknown-linux-gnu/stage2-tools/loongarch64-unknown-linux-gnu/release/deps/libtracing_subscriber-3bcf3c916fa44eb1.rmeta --extern tracing_tree=/builddir/build/BUILD/rustc-1.66.1-src/build/loongarch64-unknown-linux-gnu/stage2-tools/loongarch64-unknown-linux-gnu/release/deps/libtracing_tree-adc09ba05188087d.rmeta --extern tt=/builddir/build/BUILD/rustc-1.66.1-src/build/loongarch64-unknown-linux-gnu/stage2-tools/loongarch64-unknown-linux-gnu/release/deps/libtt-02f7dded79367aae.rmeta --extern vfs=/builddir/build/BUILD/rustc-1.66.1-src/build/loongarch64-unknown-linux-gnu/stage2-tools/loongarch64-unknown-linux-gnu/release/deps/libvfs-5ad6422d1f750e0c.rmeta --extern vfs_notify=/builddir/build/BUILD/rustc-1.66.1-src/build/loongarch64-unknown-linux-gnu/stage2-tools/loongarch64-unknown-linux-gnu/release/deps/libvfs_notify-47fd44e3c8ae1f2c.rmeta --extern xflags=/builddir/build/BUILD/rustc-1.66.1-src/build/loongarch64-unknown-linux-gnu/stage2-tools/loongarch64-unknown-linux-gnu/release/deps/libxflags-b1694cd30d247af3.rmeta -Csymbol-mangling-version=v0 -Zunstable-options '--check-cfg=values(bootstrap)' '--check-cfg=values(rustix_use_libc)' -Zallow-features=binary-dep-depinfo,test,proc_macro_internals,proc_macro_diagnostic,proc_macro_span -Zmacro-backtrace -Csplit-debuginfo=off -Z binary-dep-depinfo` (exit status: 254) Build completed unsuccessfully in 1:01:29 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.q3P7vY (%build) Bad exit status from /var/tmp/rpm-tmp.q3P7vY (%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/rust.spec