Build Information
Failed to build LLVM, reference main (ff7a88
), with Swift 6.0 for visionOS using Xcode 16.0 on 1 Nov 2024 14:26:07 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme LLVM -destination generic/platform=xrOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/llvm-swift/llvmswift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/llvm-swift/llvmswift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ff7a881 Merge pull request #241 from Snowy1803/master
Cloned https://github.com/llvm-swift/llvmswift.git
Revision (git rev-parse @):
ff7a881eabf97cbd43006223494850a970761533
SUCCESS checkout https://github.com/llvm-swift/llvmswift.git at main
========================================
Build
========================================
Selected platform: visionOS
Swift version: 6.0
Building package at path: $PWD
https://github.com/llvm-swift/llvmswift.git
Command line invocation:
/Applications/Xcode-16.1.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Fetching from https://github.com/llvm-swift/FileCheck.git
Fetching from https://github.com/apple/swift-argument-parser
Fetching from https://github.com/mxcl/Chalk.git
Creating working copy of package ‘FileCheck’
Checking out 0.2.6 of package ‘FileCheck’
Creating working copy of package ‘swift-argument-parser’
Checking out 1.5.0 of package ‘swift-argument-parser’
Creating working copy of package ‘Chalk’
Checking out 0.5.0 of package ‘Chalk’
failed to retrieve search paths with pkg-config; maybe pkg-config is not installedyou may be able to install cllvm using your system-packager:
brew install llvm
Resolve Package Graph
you may be able to install cllvm using your system-packager:
brew install llvm
Resolved source packages:
swift-argument-parser: https://github.com/apple/swift-argument-parser @ 1.5.0
FileCheck: https://github.com/llvm-swift/FileCheck.git @ 0.2.6
LLVM: /Users/admin/builder/spi-builder-workspace
Chalk: https://github.com/mxcl/Chalk.git @ 0.5.0
resolved source packages: swift-argument-parser, FileCheck, LLVM, Chalk
{
"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"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"LLVM"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme LLVM -destination generic/platform=xrOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete
Command line invocation:
/Applications/Xcode-16.1.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme LLVM -destination generic/platform=xrOS "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete"
User defaults from command line:
IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete
Resolve Package Graph
failed to retrieve search paths with pkg-config; maybe pkg-config is not installedyou may be able to install cllvm using your system-packager:
brew install llvm
Resolve Package Graph
you may be able to install cllvm using your system-packager:
brew install llvm
Resolved source packages:
FileCheck: https://github.com/llvm-swift/FileCheck.git @ 0.2.6
Chalk: https://github.com/mxcl/Chalk.git @ 0.5.0
swift-argument-parser: https://github.com/apple/swift-argument-parser @ 1.5.0
LLVM: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (4 targets)
Target 'LLVM' in project 'LLVM'
➜ Explicit dependency on target 'LLVM' in project 'LLVM'
➜ Explicit dependency on target 'llvmshims' in project 'LLVM'
Target 'LLVM' in project 'LLVM'
➜ Explicit dependency on target 'cllvm' in project 'LLVM'
➜ Explicit dependency on target 'llvmshims' in project 'LLVM'
Target 'llvmshims' in project 'LLVM'
➜ Explicit dependency on target 'cllvm' in project 'LLVM'
Target 'cllvm' in project 'LLVM' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk -x c++ -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk -x c -c /dev/null
Build description signature: 57beedc819f9d224593edba1bfb3097e
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/57beedc819f9d224593edba1bfb3097e.xcbuilddata
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
ClangStatCache /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.1-22N573-02bafd7f43846583f0400bd788fa10b7.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.1-22N573-02bafd7f43846583f0400bd788fa10b7.sdkstatcache
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-xros
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-xros
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/llvmshims.build/llvmshims.modulemap (in target 'llvmshims' from project 'LLVM')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/llvmshims.build/llvmshims.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/llvmshims.build/llvmshims.DependencyMetadataFileList (in target 'llvmshims' from project 'LLVM')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/llvmshims.build/llvmshims.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/llvmshims.build/Objects-normal/arm64/llvmshims.LinkFileList (in target 'llvmshims' from project 'LLVM')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/llvmshims.build/Objects-normal/arm64/llvmshims.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/llvmshims.build/Objects-normal/arm64/82b82416624d2658e5098eb0a28c15c5-common-args.resp (in target 'llvmshims' from project 'LLVM')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/llvmshims.build/Objects-normal/arm64/82b82416624d2658e5098eb0a28c15c5-common-args.resp
-target arm64-apple-xros1.0 '-std=c++14' -fmodules -gmodules '-fmodules-cache-path=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex' '-fmodule-name=llvmshims' '-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_DEBUG' -fpascal-strings -O0 -DSWIFT_PACKAGE '-DDEBUG=1' -isysroot /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk -g -fvisibility-inlines-hidden -fprofile-instr-generate -fcoverage-mapping -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -I/Users/admin/builder/spi-builder-workspace/Sources/llvmshims/include -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/llvmshims.build/DerivedSources-normal/arm64 -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/llvmshims.build/DerivedSources/arm64 -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/llvmshims.build/DerivedSources -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -iframework /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk/Developer/Library/Frameworks '-fmodule-map-file=/Users/admin/builder/spi-builder-workspace/Sources/cllvm/module.modulemap' -DXcode
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/LLVM.build/LLVM.modulemap (in target 'LLVM' from project 'LLVM')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/LLVM.build/LLVM.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/LLVM.build/LLVM.DependencyMetadataFileList (in target 'LLVM' from project 'LLVM')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/LLVM.build/LLVM.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/LLVM.build/Objects-normal/arm64/LLVM.SwiftFileList (in target 'LLVM' from project 'LLVM')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/LLVM.build/Objects-normal/arm64/LLVM.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/LLVM.build/Objects-normal/arm64/LLVM_const_extract_protocols.json (in target 'LLVM' from project 'LLVM')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/LLVM.build/Objects-normal/arm64/LLVM_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/LLVM.build/Objects-normal/arm64/LLVM-OutputFileMap.json (in target 'LLVM' from project 'LLVM')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/LLVM.build/Objects-normal/arm64/LLVM-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/LLVM.build/Objects-normal/arm64/LLVM.LinkFileList (in target 'LLVM' from project 'LLVM')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/LLVM.build/Objects-normal/arm64/LLVM.LinkFileList
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/llvmshims.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/llvmshims.build/llvmshims.modulemap (in target 'llvmshims' from project 'LLVM')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/llvmshims.build/llvmshims.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/LLVM.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/LLVM.build/LLVM.modulemap (in target 'LLVM' from project 'LLVM')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/LLVM.build/LLVM.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/llvmshims.build/Objects-normal/arm64/shim.o /Users/admin/builder/spi-builder-workspace/Sources/llvmshims/src/shim.cpp normal arm64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'llvmshims' from project 'LLVM')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
Using response file: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/llvmshims.build/Objects-normal/arm64/82b82416624d2658e5098eb0a28c15c5-common-args.resp
/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.1-22N573-02bafd7f43846583f0400bd788fa10b7.sdkstatcache -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -Wno-sign-conversion -Wno-infinite-recursion -Wno-move -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-range-loop-analysis -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/llvmshims.build/Objects-normal/arm64/82b82416624d2658e5098eb0a28c15c5-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/llvmshims.build/Objects-normal/arm64/shim.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/llvmshims.build/Objects-normal/arm64/shim.dia -c /Users/admin/builder/spi-builder-workspace/Sources/llvmshims/src/shim.cpp -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/llvmshims.build/Objects-normal/arm64/shim.o -index-unit-output-path /LLVM.build/Debug-xros/llvmshims.build/Objects-normal/arm64/shim.o
/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.
SwiftDriver LLVM normal arm64 com.apple.xcode.tools.swift.compiler (in target 'LLVM' from project 'LLVM')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name LLVM -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/LLVM.build/Objects-normal/arm64/LLVM.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/llvmshims.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/Sources/cllvm/module.modulemap -stats-output-dir .stats -strict-concurrency\=complete -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk -target arm64-apple-xros1.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -enable-experimental-feature OpaqueTypeErasure -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.1-22N573-02bafd7f43846583f0400bd788fa10b7.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/LLVM.build/Objects-normal/arm64/LLVM-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/LLVM.build/Objects-normal/arm64/LLVM.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/LLVM.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/LLVM.build/Objects-normal/arm64/LLVM_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/Sources/llvmshims/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/LLVM.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/LLVM.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/LLVM.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/LLVM.build/Objects-normal/arm64/LLVM-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
** BUILD FAILED **
The following build commands failed:
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/llvmshims.build/Objects-normal/arm64/shim.o /Users/admin/builder/spi-builder-workspace/Sources/llvmshims/src/shim.cpp normal arm64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'llvmshims' from project 'LLVM')
Building workspace spi-builder-workspace with scheme LLVM
(2 failures)
Command line invocation:
/Applications/Xcode-16.1.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme LLVM -destination generic/platform=xrOS "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete"
User defaults from command line:
IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete
Resolve Package Graph
failed to retrieve search paths with pkg-config; maybe pkg-config is not installedyou may be able to install cllvm using your system-packager:
brew install llvm
Resolved source packages:
LLVM: /Users/admin/builder/spi-builder-workspace
Chalk: https://github.com/mxcl/Chalk.git @ 0.5.0
swift-argument-parser: https://github.com/apple/swift-argument-parser @ 1.5.0
FileCheck: https://github.com/llvm-swift/FileCheck.git @ 0.2.6
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (4 targets)
Target 'LLVM' in project 'LLVM'
➜ Explicit dependency on target 'LLVM' in project 'LLVM'
➜ Explicit dependency on target 'llvmshims' in project 'LLVM'
Target 'LLVM' in project 'LLVM'
➜ Explicit dependency on target 'cllvm' in project 'LLVM'
➜ Explicit dependency on target 'llvmshims' in project 'LLVM'
Target 'llvmshims' in project 'LLVM'
➜ Explicit dependency on target 'cllvm' in project 'LLVM'
Target 'cllvm' in project 'LLVM' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.1-22N573-02bafd7f43846583f0400bd788fa10b7.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.1-22N573-02bafd7f43846583f0400bd788fa10b7.sdkstatcache
SwiftDriver LLVM normal arm64 com.apple.xcode.tools.swift.compiler (in target 'LLVM' from project 'LLVM')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name LLVM -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/LLVM.build/Objects-normal/arm64/LLVM.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/llvmshims.modulemap -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/Sources/cllvm/module.modulemap -stats-output-dir .stats -strict-concurrency\=complete -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk -target arm64-apple-xros1.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -enable-experimental-feature OpaqueTypeErasure -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.1-22N573-02bafd7f43846583f0400bd788fa10b7.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/LLVM.build/Objects-normal/arm64/LLVM-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/LLVM.build/Objects-normal/arm64/LLVM.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/LLVM.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/LLVM.build/Objects-normal/arm64/LLVM_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/Sources/llvmshims/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/LLVM.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/LLVM.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/LLVM.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/LLVM.build/Objects-normal/arm64/LLVM-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/llvmshims.build/Objects-normal/arm64/shim.o /Users/admin/builder/spi-builder-workspace/Sources/llvmshims/src/shim.cpp normal arm64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'llvmshims' from project 'LLVM')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
Using response file: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/llvmshims.build/Objects-normal/arm64/82b82416624d2658e5098eb0a28c15c5-common-args.resp
/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -ivfsstatcache /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.1-22N573-02bafd7f43846583f0400bd788fa10b7.sdkstatcache -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -Wno-sign-conversion -Wno-infinite-recursion -Wno-move -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-range-loop-analysis -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/llvmshims.build/Objects-normal/arm64/82b82416624d2658e5098eb0a28c15c5-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/llvmshims.build/Objects-normal/arm64/shim.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/llvmshims.build/Objects-normal/arm64/shim.dia -c /Users/admin/builder/spi-builder-workspace/Sources/llvmshims/src/shim.cpp -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/llvmshims.build/Objects-normal/arm64/shim.o -index-unit-output-path /LLVM.build/Debug-xros/llvmshims.build/Objects-normal/arm64/shim.o
/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.
** BUILD FAILED **
The following build commands failed:
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LLVM.build/Debug-xros/llvmshims.build/Objects-normal/arm64/shim.o /Users/admin/builder/spi-builder-workspace/Sources/llvmshims/src/shim.cpp normal arm64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'llvmshims' from project 'LLVM')
Building workspace spi-builder-workspace with scheme LLVM
(2 failures)
BUILD FAILURE 6.0 visionOS