Build Information
Failed to build IndexStoreDB, reference main (960835
), with Swift 5.10 for Linux on 10 Apr 2025 19:33:42 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/indexstore-db.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/swiftlang/indexstore-db
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 960835a Merge pull request #243 from ahoppen/delete-import-llvm
Cloned https://github.com/swiftlang/indexstore-db.git
Revision (git rev-parse @):
960835a8eb948dfade54fe3057021975b249b124
SUCCESS checkout https://github.com/swiftlang/indexstore-db.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $PWD
https://github.com/swiftlang/indexstore-db.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:616ef225d0085997f26355ad9695b1159b91f6187a43f9ff135cb59d096bc97d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/swiftlang/swift-lmdb.git
[1/10186] Fetching swift-lmdb
Fetched https://github.com/swiftlang/swift-lmdb.git from cache (0.93s)
Creating working copy for https://github.com/swiftlang/swift-lmdb.git
Working copy of https://github.com/swiftlang/swift-lmdb.git resolved at main (1ad9a2d)
Building for debugging...
[0/93] Compiling IndexStoreDB_LLVMSupport DJB.cpp
[1/93] Write sources
[2/93] Write swift-version-24593BA9C3E375BF.txt
[3/93] Compiling IndexStoreDB_LLVMSupport Timer.cpp
While building module 'IndexStoreDB_Core' imported from /host/spi-builder-workspace/Sources/IndexStoreDB_Database/include/IndexStoreDB_Database/ReadTransaction.h:16:
While building module 'IndexStoreDB_Support' imported from /host/spi-builder-workspace/Sources/IndexStoreDB_Core/include/IndexStoreDB_Core/Symbol.h:18:
While building module 'IndexStoreDB_LLVMSupport' imported from /host/spi-builder-workspace/Sources/IndexStoreDB_Support/include/IndexStoreDB_Support/Concurrency.h:17:
In file included from <module-includes>:53:
In file included from /host/spi-builder-workspace/Sources/IndexStoreDB_LLVMSupport/include/IndexStoreDB_LLVMSupport/llvm_Support_AArch64TargetParser.h:19:
/host/spi-builder-workspace/Sources/IndexStoreDB_LLVMSupport/include/IndexStoreDB_LLVMSupport/llvm_Support_ARMTargetParser.h:71:1: error: expected expression
#include <IndexStoreDB_LLVMSupport/llvm_Support_ARMTargetParser.def>
^
/host/spi-builder-workspace/Sources/IndexStoreDB_LLVMSupport/include/IndexStoreDB_LLVMSupport/llvm_Support_ARMTargetParser.h:71:1: error: expected '}'
/host/spi-builder-workspace/Sources/IndexStoreDB_LLVMSupport/include/IndexStoreDB_LLVMSupport/llvm_Support_ARMTargetParser.h:68:32: note: to match this '{'
const ExtName ARCHExtNames[] = {
^
/host/spi-builder-workspace/Sources/IndexStoreDB_LLVMSupport/include/IndexStoreDB_LLVMSupport/llvm_Support_ARMTargetParser.h:68:33: error: expected ';' after top level declarator
const ExtName ARCHExtNames[] = {
^
;
/host/spi-builder-workspace/Sources/IndexStoreDB_LLVMSupport/include/IndexStoreDB_LLVMSupport/llvm_Support_ARMTargetParser.h:71:1: error: redundant #include of module 'IndexStoreDB_LLVMSupport' appears within namespace 'indexstoredb_llvm::ARM' [-Wmodules-import-nested-redundant]
#include <IndexStoreDB_LLVMSupport/llvm_Support_ARMTargetParser.def>
^
/host/spi-builder-workspace/Sources/IndexStoreDB_LLVMSupport/include/IndexStoreDB_LLVMSupport/llvm_Support_ARMTargetParser.h:23:1: note: namespace 'indexstoredb_llvm::ARM' begins here
namespace ARM {
^
While building module 'IndexStoreDB_Core' imported from /host/spi-builder-workspace/Sources/IndexStoreDB_Database/include/IndexStoreDB_Database/ReadTransaction.h:16:
While building module 'IndexStoreDB_Support' imported from /host/spi-builder-workspace/Sources/IndexStoreDB_Core/include/IndexStoreDB_Core/Symbol.h:18:
While building module 'IndexStoreDB_LLVMSupport' imported from /host/spi-builder-workspace/Sources/IndexStoreDB_Support/include/IndexStoreDB_Support/Concurrency.h:17:
In file included from <module-includes>:53:
In file included from /host/spi-builder-workspace/Sources/IndexStoreDB_LLVMSupport/include/IndexStoreDB_LLVMSupport/llvm_Support_AArch64TargetParser.h:19:
In file included from /host/spi-builder-workspace/Sources/IndexStoreDB_LLVMSupport/include/IndexStoreDB_LLVMSupport/llvm_Support_ARMTargetParser.h:71:
/host/spi-builder-workspace/Sources/IndexStoreDB_LLVMSupport/include/IndexStoreDB_LLVMSupport/llvm_Support_ARMTargetParser.def:138:1: error: expected unqualified-id
ARM_ARCH_EXT_NAME("invalid", ARM::AEK_INVALID, nullptr, nullptr)
^
/host/spi-builder-workspace/Sources/IndexStoreDB_LLVMSupport/include/IndexStoreDB_LLVMSupport/llvm_Support_ARMTargetParser.h:70:3: note: expanded from macro 'ARM_ARCH_EXT_NAME'
{NAME, sizeof(NAME) - 1, ID, FEATURE, NEGFEATURE},
^
/host/spi-builder-workspace/Sources/IndexStoreDB_LLVMSupport/include/IndexStoreDB_LLVMSupport/llvm_Support_ARMTargetParser.h:85:1: error: expected expression
#include <IndexStoreDB_LLVMSupport/llvm_Support_ARMTargetParser.def>
^
/host/spi-builder-workspace/Sources/IndexStoreDB_LLVMSupport/include/IndexStoreDB_LLVMSupport/llvm_Support_ARMTargetParser.h:85:1: error: expected '}'
/host/spi-builder-workspace/Sources/IndexStoreDB_LLVMSupport/include/IndexStoreDB_LLVMSupport/llvm_Support_ARMTargetParser.h:83:18: note: to match this '{'
} HWDivNames[] = {
^
/host/spi-builder-workspace/Sources/IndexStoreDB_LLVMSupport/include/IndexStoreDB_LLVMSupport/llvm_Support_ARMTargetParser.h:83:19: error: expected ';' after top level declarator
} HWDivNames[] = {
^
;
/host/spi-builder-workspace/Sources/IndexStoreDB_LLVMSupport/include/IndexStoreDB_LLVMSupport/llvm_Support_ARMTargetParser.h:85:1: error: redundant #include of module 'IndexStoreDB_LLVMSupport' appears within namespace 'indexstoredb_llvm' [-Wmodules-import-nested-redundant]
#include <IndexStoreDB_LLVMSupport/llvm_Support_ARMTargetParser.def>
^
/host/spi-builder-workspace/Sources/IndexStoreDB_LLVMSupport/include/IndexStoreDB_LLVMSupport/llvm_Support_ARMTargetParser.h:22:1: note: namespace 'indexstoredb_llvm' begins here
namespace llvm {
^
While building module 'IndexStoreDB_Core' imported from /host/spi-builder-workspace/Sources/IndexStoreDB_Database/include/IndexStoreDB_Database/ReadTransaction.h:16:
While building module 'IndexStoreDB_Support' imported from /host/spi-builder-workspace/Sources/IndexStoreDB_Core/include/IndexStoreDB_Core/Symbol.h:18:
While building module 'IndexStoreDB_LLVMSupport' imported from /host/spi-builder-workspace/Sources/IndexStoreDB_Support/include/IndexStoreDB_Support/Concurrency.h:17:
In file included from <module-includes>:53:
In file included from /host/spi-builder-workspace/Sources/IndexStoreDB_LLVMSupport/include/IndexStoreDB_LLVMSupport/llvm_Support_AArch64TargetParser.h:19:
In file included from /host/spi-builder-workspace/Sources/IndexStoreDB_LLVMSupport/include/IndexStoreDB_LLVMSupport/llvm_Support_ARMTargetParser.h:85:
/host/spi-builder-workspace/Sources/IndexStoreDB_LLVMSupport/include/IndexStoreDB_LLVMSupport/llvm_Support_ARMTargetParser.def:166:1: error: expected unqualified-id
ARM_HW_DIV_NAME("invalid", ARM::AEK_INVALID)
^
/host/spi-builder-workspace/Sources/IndexStoreDB_LLVMSupport/include/IndexStoreDB_LLVMSupport/llvm_Support_ARMTargetParser.h:84:35: note: expanded from macro 'ARM_HW_DIV_NAME'
#define ARM_HW_DIV_NAME(NAME, ID) {NAME, sizeof(NAME) - 1, ID},
^
/host/spi-builder-workspace/Sources/IndexStoreDB_LLVMSupport/include/IndexStoreDB_LLVMSupport/llvm_Support_ARMTargetParser.h:91:1: error: expected identifier
#include <IndexStoreDB_LLVMSupport/llvm_Support_ARMTargetParser.def>
^
/host/spi-builder-workspace/Sources/IndexStoreDB_LLVMSupport/include/IndexStoreDB_LLVMSupport/llvm_Support_ARMTargetParser.h:91:1: error: expected '}'
/host/spi-builder-workspace/Sources/IndexStoreDB_LLVMSupport/include/IndexStoreDB_LLVMSupport/llvm_Support_ARMTargetParser.h:89:21: note: to match this '{'
enum class ArchKind {
^
/host/spi-builder-workspace/Sources/IndexStoreDB_LLVMSupport/include/IndexStoreDB_LLVMSupport/llvm_Support_ARMTargetParser.h:89:22: error: expected ';' after enum
enum class ArchKind {
^
;
While building module 'IndexStoreDB_Core' imported from /host/spi-builder-workspace/Sources/IndexStoreDB_Database/include/IndexStoreDB_Database/ReadTransaction.h:16:
While building module 'IndexStoreDB_Support' imported from /host/spi-builder-workspace/Sources/IndexStoreDB_Core/include/IndexStoreDB_Core/Symbol.h:18:
While building module 'IndexStoreDB_LLVMSupport' imported from /host/spi-builder-workspace/Sources/IndexStoreDB_Support/include/IndexStoreDB_Support/Concurrency.h:17:
In file included from <module-includes>:53:
In file included from /host/spi-builder-workspace/Sources/IndexStoreDB_LLVMSupport/include/IndexStoreDB_LLVMSupport/llvm_Support_AArch64TargetParser.h:19:
In file included from /host/spi-builder-workspace/Sources/IndexStoreDB_LLVMSupport/include/IndexStoreDB_LLVMSupport/llvm_Support_ARMTargetParser.h:91:
/host/spi-builder-workspace/Sources/IndexStoreDB_LLVMSupport/include/IndexStoreDB_LLVMSupport/llvm_Support_ARMTargetParser.def:46:21: error: a type specifier is required for all declarations
ARM_ARCH("invalid", INVALID, "", "",
^
/host/spi-builder-workspace/Sources/IndexStoreDB_LLVMSupport/include/IndexStoreDB_LLVMSupport/llvm_Support_ARMTargetParser.def:285:20: error: expected unqualified-id
#undef ARM_CPU_NAME
^
/host/spi-builder-workspace/Sources/IndexStoreDB_LLVMSupport/include/IndexStoreDB_LLVMSupport/llvm_Support_ARMTargetParser.def:131:33: error: expected ';' after top level declarator
FK_NONE, ARM::AEK_DSP)
^
;
While building module 'IndexStoreDB_Core' imported from /host/spi-builder-workspace/Sources/IndexStoreDB_Database/include/IndexStoreDB_Database/ReadTransaction.h:16:
While building module 'IndexStoreDB_Support' imported from /host/spi-builder-workspace/Sources/IndexStoreDB_Core/include/IndexStoreDB_Core/Symbol.h:18:
While building module 'IndexStoreDB_LLVMSupport' imported from /host/spi-builder-workspace/Sources/IndexStoreDB_Support/include/IndexStoreDB_Support/Concurrency.h:17:
In file included from <module-includes>:53:
In file included from /host/spi-builder-workspace/Sources/IndexStoreDB_LLVMSupport/include/IndexStoreDB_LLVMSupport/llvm_Support_AArch64TargetParser.h:19:
/host/spi-builder-workspace/Sources/IndexStoreDB_LLVMSupport/include/IndexStoreDB_LLVMSupport/llvm_Support_ARMTargetParser.h:92:1: error: extraneous closing brace ('}')
};
^
/host/spi-builder-workspace/Sources/IndexStoreDB_LLVMSupport/include/IndexStoreDB_LLVMSupport/llvm_Support_ARMTargetParser.h:106:3: error: unknown type name 'StringRef'; did you mean 'indexstoredb_llvm::StringRef'?
StringRef getName() const { return StringRef(NameCStr, NameLength); }
^~~~~~~~~
indexstoredb_llvm::StringRef
/host/spi-builder-workspace/Sources/IndexStoreDB_LLVMSupport/include/IndexStoreDB_LLVMSupport/llvm_Support_ARMBuildAttributes.h:24:7: note: 'indexstoredb_llvm::StringRef' declared here
class StringRef;
^
While building module 'IndexStoreDB_Core' imported from /host/spi-builder-workspace/Sources/IndexStoreDB_Database/include/IndexStoreDB_Database/ReadTransaction.h:16:
While building module 'IndexStoreDB_Support' imported from /host/spi-builder-workspace/Sources/IndexStoreDB_Core/include/IndexStoreDB_Core/Symbol.h:18:
While building module 'IndexStoreDB_LLVMSupport' imported from /host/spi-builder-workspace/Sources/IndexStoreDB_Support/include/IndexStoreDB_Support/Concurrency.h:17:
In file included from <module-includes>:53:
In file included from /host/spi-builder-workspace/Sources/IndexStoreDB_LLVMSupport/include/IndexStoreDB_LLVMSupport/llvm_Support_AArch64TargetParser.h:19:
/host/spi-builder-workspace/Sources/IndexStoreDB_LLVMSupport/include/IndexStoreDB_LLVMSupport/llvm_Support_ARMTargetParser.h:106:38: error: use of undeclared identifier 'StringRef'; did you mean 'indexstoredb_llvm::StringRef'?
StringRef getName() const { return StringRef(NameCStr, NameLength); }
^
/host/spi-builder-workspace/Sources/IndexStoreDB_LLVMSupport/include/IndexStoreDB_LLVMSupport/llvm_Support_ARMBuildAttributes.h:24:7: note: 'indexstoredb_llvm::StringRef' declared here
class StringRef;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
While building module 'IndexStoreDB_Core' imported from /host/spi-builder-workspace/Sources/IndexStoreDB_Database/include/IndexStoreDB_Database/ReadTransaction.h:16:
While building module 'IndexStoreDB_Support' imported from /host/spi-builder-workspace/Sources/IndexStoreDB_Core/include/IndexStoreDB_Core/Symbol.h:18:
In file included from <module-includes>:1:
/host/spi-builder-workspace/Sources/IndexStoreDB_Support/include/IndexStoreDB_Support/Concurrency.h:17:10: fatal error: could not build module 'IndexStoreDB_LLVMSupport'
#include <IndexStoreDB_LLVMSupport/llvm_ADT_StringRef.h>
~~~~~~~~^
While building module 'IndexStoreDB_Core' imported from /host/spi-builder-workspace/Sources/IndexStoreDB_Database/include/IndexStoreDB_Database/ReadTransaction.h:16:
In file included from <module-includes>:1:
/host/spi-builder-workspace/Sources/IndexStoreDB_Core/include/IndexStoreDB_Core/Symbol.h:18:10: fatal error: could not build module 'IndexStoreDB_Support'
#include <IndexStoreDB_Support/LLVM.h>
~~~~~~~~^
In file included from /host/spi-builder-workspace/Sources/IndexStoreDB_Database/ReadTransaction.cpp:13:
In file included from /host/spi-builder-workspace/Sources/IndexStoreDB_Database/ReadTransactionImpl.h:16:
/host/spi-builder-workspace/Sources/IndexStoreDB_Database/include/IndexStoreDB_Database/ReadTransaction.h:16:10: fatal error: could not build module 'IndexStoreDB_Core'
#include <IndexStoreDB_Core/Symbol.h>
~~~~~~~~^
23 errors generated.
[4/93] Compiling IndexStoreDB_Database ReadTransaction.cpp
[4/93] Compiling IndexStoreDB_Index IndexSystem.cpp
[4/93] Compiling IndexStoreDB_Support Path.cpp
[4/93] Compiling IndexStoreDB_Support PatternMatching.cpp
[4/93] Compiling IndexStoreDB_Core Symbol.cpp
[4/93] Compiling IndexStoreDB_Index StoreSymbolRecord.cpp
[4/93] Compiling IndexStoreDB_Database Database.cpp
[4/93] Compiling IndexStoreDB_CIndexStoreDB CIndexStoreDB.cpp
BUILD FAILURE 5.10 linux