Build Information
Failed to build Swifty-LLVM, reference main (509567
), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 09:52:47 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hylo-lang/Swifty-LLVM.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/hylo-lang/Swifty-LLVM
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5095674 Ensure proper alignment for store instructions. (#83)
Cloned https://github.com/hylo-lang/Swifty-LLVM.git
Revision (git rev-parse @):
509567462dfff80f93244884876dba27858453ef
SUCCESS checkout https://github.com/hylo-lang/Swifty-LLVM.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/hylo-lang/Swifty-LLVM.git
https://github.com/hylo-lang/Swifty-LLVM.git
{
"cxx_language_standard" : "c++20",
"dependencies" : [
],
"manifest_display_name" : "Swifty-LLVM",
"name" : "Swifty-LLVM",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftyLLVM",
"targets" : [
"SwiftyLLVM"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "llvmshims",
"module_type" : "ClangTarget",
"name" : "llvmshims",
"path" : "Sources/llvmshims",
"product_memberships" : [
"SwiftyLLVM"
],
"sources" : [
"src/shim.cc"
],
"target_dependencies" : [
"llvmc"
],
"type" : "library"
},
{
"c99name" : "llvmc",
"module_type" : "SystemLibraryTarget",
"name" : "llvmc",
"path" : "Sources/llvmc",
"product_memberships" : [
"SwiftyLLVM"
],
"sources" : [
],
"type" : "system-target"
},
{
"c99name" : "SwiftyLLVM",
"module_type" : "SwiftTarget",
"name" : "SwiftyLLVM",
"path" : "Sources/SwiftyLLVM",
"product_memberships" : [
"SwiftyLLVM"
],
"sources" : [
"AddressSpace.swift",
"AtomicOrdering.swift",
"AtomicRMWBinOp.swift",
"BasicBlock.swift",
"CodeGenerationResultType.swift",
"CodeModel.swift",
"DataLayout.swift",
"InsertionPoint.swift",
"LLVMError.swift",
"Linkage.swift",
"MemoryBuffer.swift",
"Module.swift",
"OptimizationLevel.swift",
"Refs.swift",
"RelocationModel.swift",
"Target.swift",
"TargetMachine.swift",
"Types/AnyType.swift",
"Types/ArrayType.swift",
"Types/FloatingPointType.swift",
"Types/FunctionType.swift",
"Types/IRType.swift",
"Types/IntegerType.swift",
"Types/PointerType.swift",
"Types/StructType.swift",
"Types/VoidType.swift",
"Utils/ManagedPointer.swift",
"Utils/String+Extensions.swift",
"Values/Constants/AggregateConstant.swift",
"Values/Constants/AnyValue.swift",
"Values/Constants/ArrayConstant.swift",
"Values/Constants/Attribute.swift",
"Values/Constants/FloatingPointConstant.swift",
"Values/Constants/Function+Attributes.swift",
"Values/Constants/Function.swift",
"Values/Constants/IntegerConstant.swift",
"Values/Constants/Intrinsic.swift",
"Values/Constants/Parameter+Attributes.swift",
"Values/Constants/Parameter.swift",
"Values/Constants/Poison.swift",
"Values/Constants/StringConstant.swift",
"Values/Constants/StructConstant.swift",
"Values/Constants/Undefined.swift",
"Values/Global.swift",
"Values/GlobalVariable.swift",
"Values/IRValue.swift",
"Values/Instructions/Alloca.swift",
"Values/Instructions/FloatingPointPredicate.swift",
"Values/Instructions/Instruction.swift",
"Values/Instructions/IntegerPredicate.swift",
"Values/Instructions/OverflowBehavior.swift"
],
"target_dependencies" : [
"llvmc",
"llvmshims"
],
"type" : "library"
},
{
"c99name" : "LLVMTests",
"module_type" : "SwiftTarget",
"name" : "LLVMTests",
"path" : "Tests/LLVMTests",
"sources" : [
"CodeGenerationTests.swift",
"DataLayoutTests.swift",
"MemoryBufferTests.swift",
"ModuleTests.swift",
"TargetMachineTests.swift",
"TargetTests.swift",
"Types/ArrayTypeTests.swift",
"Types/FloatingPointTypeTests.swift",
"Types/FunctionTypeTests.swift",
"Types/IRTypeTests.swift",
"Types/IntegerTypeTests.swift",
"Types/PointerTypeTests.swift",
"Types/StructTypeTests.swift",
"Types/VoidTypeTests.swift",
"Utils/StringTests.swift",
"Values/Constants/ArrayConstantTests.swift",
"Values/Constants/AttributeTests.swift",
"Values/Constants/FloatingPointConstantTests.swift",
"Values/Constants/FunctionTests.swift",
"Values/Constants/IntegerConstantTests.swift",
"Values/Constants/IntrinsicTests.swift",
"Values/Constants/ParameterTests.swift",
"Values/Constants/PoisonTests.swift",
"Values/Constants/StringConstantTests.swift",
"Values/Constants/StructConstantTests.swift",
"Values/Constants/UndefinedTests.swift",
"Values/GlobalVariableTests.swift",
"Values/IRValueTests.swift",
"Values/Instructions/AllocaTests.swift",
"Values/Instructions/SwitchTests.swift"
],
"target_dependencies" : [
"SwiftyLLVM"
],
"type" : "test"
}
],
"tools_version" : "5.9"
}
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
Building for debugging...
[0/3] Write sources
/Users/admin/builder/spi-builder-workspace/Sources/llvmshims/src/shim.cc:15:10: fatal error: 'llvm-c/TargetMachine.h' file not found
15 | #include "llvm-c/TargetMachine.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/3] Compiling shim.cc
[1/3] Write swift-version-2F0A5646E1D333AE.txt
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: couldn't find pc file for llvm
warning: couldn't find pc file for llvm
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
/Users/admin/builder/spi-builder-workspace/Sources/llvmshims/src/shim.cc:15:10: fatal error: 'llvm-c/TargetMachine.h' file not found
15 | #include "llvm-c/TargetMachine.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/2] Compiling shim.cc
[0/2] Write swift-version-2F0A5646E1D333AE.txt
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: couldn't find pc file for llvm
warning: couldn't find pc file for llvm
BUILD FAILURE 6.1 macosSpm