Build Information
Failed to build LLVM, reference 0.8.0 (071246
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 09:55:52 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/llvm-swift/llvmswift.git
Reference: 0.8.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/llvm-swift/llvmswift
* tag 0.8.0 -> FETCH_HEAD
HEAD is now at 0712467 [Hotfix] Remove default alignment value from DIBuilder.buildTypedef
Cloned https://github.com/llvm-swift/llvmswift.git
Revision (git rev-parse @):
071246791bd677e869aba4be694ef1e4d789adfb
SUCCESS checkout https://github.com/llvm-swift/llvmswift.git at 0.8.0
Fetching https://github.com/llvm-swift/FileCheck.git
[1/479] Fetching filecheck
Fetched https://github.com/llvm-swift/FileCheck.git from cache (0.72s)
Computing version for https://github.com/llvm-swift/FileCheck.git
Computed https://github.com/llvm-swift/FileCheck.git at 0.2.6 (1.32s)
Fetching https://github.com/mxcl/Chalk.git
Fetching https://github.com/apple/swift-argument-parser from cache
[1/81] Fetching chalk
Fetched https://github.com/apple/swift-argument-parser from cache (0.71s)
Fetched https://github.com/mxcl/Chalk.git from cache (0.90s)
Computing version for https://github.com/mxcl/Chalk.git
Computed https://github.com/mxcl/Chalk.git at 0.5.0 (1.48s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.47s)
Creating working copy for https://github.com/llvm-swift/FileCheck.git
Working copy of https://github.com/llvm-swift/FileCheck.git resolved at 0.2.6
Creating working copy for https://github.com/mxcl/Chalk.git
Working copy of https://github.com/mxcl/Chalk.git resolved at 0.5.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "llvmswift",
"name": "LLVM",
"url": "https://github.com/llvm-swift/llvmswift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/llvmswift",
"dependencies": [
]
}
]
}
Fetching https://github.com/llvm-swift/llvmswift.git
[1/5119] Fetching llvmswift
Fetched https://github.com/llvm-swift/llvmswift.git from cache (1.35s)
Creating working copy for https://github.com/llvm-swift/llvmswift.git
Working copy of https://github.com/llvm-swift/llvmswift.git resolved at 0.8.0 (0712467)
warning: '.resolve-product-dependencies': dependency 'llvmswift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/llvm-swift/llvmswift.git
https://github.com/llvm-swift/llvmswift.git
{
"cxx_language_standard" : "c++14",
"dependencies" : [
{
"identity" : "filecheck",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.3",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/llvm-swift/FileCheck.git"
}
],
"manifest_display_name" : "LLVM",
"name" : "LLVM",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.14"
}
],
"products" : [
{
"name" : "LLVM",
"targets" : [
"LLVM"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "llvmshims",
"module_type" : "ClangTarget",
"name" : "llvmshims",
"path" : "Sources/llvmshims",
"product_memberships" : [
"LLVM"
],
"sources" : [
"src/shim.cpp"
],
"target_dependencies" : [
"cllvm"
],
"type" : "library"
},
{
"c99name" : "cllvm",
"module_type" : "SystemLibraryTarget",
"name" : "cllvm",
"path" : "Sources/cllvm",
"product_memberships" : [
"LLVM"
],
"sources" : [
],
"type" : "system-target"
},
{
"c99name" : "LLVMTests",
"module_type" : "SwiftTarget",
"name" : "LLVMTests",
"path" : "Tests/LLVMTests",
"product_dependencies" : [
"FileCheck"
],
"sources" : [
"APIntSpec.swift",
"BFC.swift",
"BinarySpec.swift",
"ConstantSpec.swift",
"DIBuilderSpec.swift",
"FIleCheckSpec.swift",
"IRAttributesSpec.swift",
"IRBuilderSpec.swift",
"IRExceptionSpec.swift",
"IRGlobalSpec.swift",
"IRInstructionSpec.swift",
"IRIntrinsicSpec.swift",
"IRMetadataSpec.swift",
"IROperationSpec.swift",
"IRPassManagerSpec.swift",
"JITSpec.swift",
"ModuleLinkSpec.swift",
"ModuleMetadataSpec.swift",
"TripleSpec.swift",
"UnitSpec.swift"
],
"target_dependencies" : [
"LLVM"
],
"type" : "test"
},
{
"c99name" : "LLVM",
"module_type" : "SwiftTarget",
"name" : "LLVM",
"path" : "Sources/LLVM",
"product_memberships" : [
"LLVM"
],
"sources" : [
"AddressSpace.swift",
"Alias.swift",
"Arbitrary.swift",
"ArrayType.swift",
"AttachedMetadata.swift",
"BasicBlock.swift",
"Call.swift",
"CallingConvention.swift",
"Clause.swift",
"Comdat.swift",
"Constant.swift",
"Context.swift",
"DIBuilder.swift",
"DWARFExpression.swift",
"FloatType.swift",
"Function+Attributes.swift",
"Function.swift",
"FunctionType.swift",
"Global.swift",
"IRBuilder.swift",
"IRGlobal.swift",
"IRMetadata.swift",
"IRType.swift",
"IRValue+Kinds.swift",
"IRValue.swift",
"Initialization.swift",
"Instruction.swift",
"IntType.swift",
"Intrinsic.swift",
"JIT.swift",
"LabelType.swift",
"Linkage.swift",
"MDBuilder.swift",
"MemoryBuffer.swift",
"MetadataAttributes.swift",
"MetadataType.swift",
"Module.swift",
"NamedMetadata.swift",
"ObjectFile.swift",
"OpCode.swift",
"Operation.swift",
"PassManager.swift",
"PassPipeliner.swift",
"PhiNode.swift",
"PointerType.swift",
"StructType.swift",
"Switch.swift",
"TargetData.swift",
"TargetMachine.swift",
"TokenType.swift",
"Triple.swift",
"Units.swift",
"Use.swift",
"VectorType.swift",
"VoidType.swift",
"X86MMXType.swift"
],
"target_dependencies" : [
"cllvm",
"llvmshims"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/4] Write sources
/Users/admin/builder/spi-builder-workspace/Sources/llvmshims/src/shim.cpp:1:10: fatal error: 'llvm-c/Core.h' file not found
1 | #include "llvm-c/Core.h"
| ^~~~~~~~~~~~~~~
1 error generated.
[2/4] Compiling shim.cpp
[2/4] Write swift-version-2F0A5646E1D333AE.txt
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install cllvm using your system-packager:
brew install llvm
warning: you may be able to install cllvm using your system-packager:
brew install llvm
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
/Users/admin/builder/spi-builder-workspace/Sources/llvmshims/src/shim.cpp:1:10: fatal error: 'llvm-c/Core.h' file not found
1 | #include "llvm-c/Core.h"
| ^~~~~~~~~~~~~~~
1 error generated.
[1/3] Compiling shim.cpp
[1/3] Write swift-version-2F0A5646E1D333AE.txt
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install cllvm using your system-packager:
brew install llvm
warning: you may be able to install cllvm using your system-packager:
brew install llvm
BUILD FAILURE 6.1 macosSpm