Build Information
Failed to build Clang, reference master (c540be), with Swift 6.3 for macOS (SPM) on 10 Apr 2026 16:41:26 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/llvm-swift/clangswift.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/llvm-swift/clangswift
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at c540bea Merge pull request #42 from segiddins/segiddins/support-CXType_ObjCTypeParam
Cloned https://github.com/llvm-swift/clangswift.git
Revision (git rev-parse @):
c540bea54b3d92ebd2df4ad96141d7dbce5307b6
SUCCESS checkout https://github.com/llvm-swift/clangswift.git at master
========================================
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",
"traits": [
"default"
],
"dependencies": [
{
"identity": "clangswift",
"name": "Clang",
"url": "https://github.com/llvm-swift/clangswift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/clangswift",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/llvm-swift/clangswift.git
[1/1285] Fetching clangswift
Fetched https://github.com/llvm-swift/clangswift.git from cache (1.02s)
Creating working copy for https://github.com/llvm-swift/clangswift.git
Working copy of https://github.com/llvm-swift/clangswift.git resolved at master (c540bea)
warning: '.resolve-product-dependencies': dependency 'clangswift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/llvm-swift/clangswift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/19] Emitting module Clang
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/cclang/shim.h:1:10: error: 'clang-c/Platform.h' file not found
1 | #include <clang-c/Platform.h>
| `- error: 'clang-c/Platform.h' file not found
2 |
3 | #ifdef I // For some reason this is defined
/Users/admin/builder/spi-builder-workspace/Sources/Clang/Availability.swift:2:8: error: could not build Objective-C module 'cclang'
1 | #if SWIFT_PACKAGE
2 | import cclang
| `- error: could not build Objective-C module 'cclang'
3 | #endif
4 |
[4/19] Compiling Clang TranslationUnit.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/cclang/shim.h:1:10: error: 'clang-c/Platform.h' file not found
1 | #include <clang-c/Platform.h>
| `- error: 'clang-c/Platform.h' file not found
2 |
3 | #ifdef I // For some reason this is defined
/Users/admin/builder/spi-builder-workspace/Sources/Clang/Availability.swift:2:8: error: could not build Objective-C module 'cclang'
1 | #if SWIFT_PACKAGE
2 | import cclang
| `- error: could not build Objective-C module 'cclang'
3 | #endif
4 |
[5/19] Compiling Clang Token.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/cclang/shim.h:1:10: error: 'clang-c/Platform.h' file not found
1 | #include <clang-c/Platform.h>
| `- error: 'clang-c/Platform.h' file not found
2 |
3 | #ifdef I // For some reason this is defined
/Users/admin/builder/spi-builder-workspace/Sources/Clang/Availability.swift:2:8: error: could not build Objective-C module 'cclang'
1 | #if SWIFT_PACKAGE
2 | import cclang
| `- error: could not build Objective-C module 'cclang'
3 | #endif
4 |
[6/19] Compiling Clang Language.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/cclang/shim.h:1:10: error: 'clang-c/Platform.h' file not found
1 | #include <clang-c/Platform.h>
| `- error: 'clang-c/Platform.h' file not found
2 |
3 | #ifdef I // For some reason this is defined
/Users/admin/builder/spi-builder-workspace/Sources/Clang/Availability.swift:2:8: error: could not build Objective-C module 'cclang'
1 | #if SWIFT_PACKAGE
2 | import cclang
| `- error: could not build Objective-C module 'cclang'
3 | #endif
4 |
[7/19] Compiling Clang NameRefOptions.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/cclang/shim.h:1:10: error: 'clang-c/Platform.h' file not found
1 | #include <clang-c/Platform.h>
| `- error: 'clang-c/Platform.h' file not found
2 |
3 | #ifdef I // For some reason this is defined
/Users/admin/builder/spi-builder-workspace/Sources/Clang/Availability.swift:2:8: error: could not build Objective-C module 'cclang'
1 | #if SWIFT_PACKAGE
2 | import cclang
| `- error: could not build Objective-C module 'cclang'
3 | #endif
4 |
[8/19] Compiling Clang Availability.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/cclang/shim.h:1:10: error: 'clang-c/Platform.h' file not found
1 | #include <clang-c/Platform.h>
| `- error: 'clang-c/Platform.h' file not found
2 |
3 | #ifdef I // For some reason this is defined
/Users/admin/builder/spi-builder-workspace/Sources/Clang/Availability.swift:2:8: error: could not build Objective-C module 'cclang'
1 | #if SWIFT_PACKAGE
2 | import cclang
| `- error: could not build Objective-C module 'cclang'
3 | #endif
4 |
[9/19] Compiling Clang CType.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/cclang/shim.h:1:10: error: 'clang-c/Platform.h' file not found
1 | #include <clang-c/Platform.h>
| `- error: 'clang-c/Platform.h' file not found
2 |
3 | #ifdef I // For some reason this is defined
/Users/admin/builder/spi-builder-workspace/Sources/Clang/Availability.swift:2:8: error: could not build Objective-C module 'cclang'
1 | #if SWIFT_PACKAGE
2 | import cclang
| `- error: could not build Objective-C module 'cclang'
3 | #endif
4 |
[10/19] Compiling Clang Comment.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/cclang/shim.h:1:10: error: 'clang-c/Platform.h' file not found
1 | #include <clang-c/Platform.h>
| `- error: 'clang-c/Platform.h' file not found
2 |
3 | #ifdef I // For some reason this is defined
/Users/admin/builder/spi-builder-workspace/Sources/Clang/Availability.swift:2:8: error: could not build Objective-C module 'cclang'
1 | #if SWIFT_PACKAGE
2 | import cclang
| `- error: could not build Objective-C module 'cclang'
3 | #endif
4 |
[11/19] Compiling Clang Cursor.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/cclang/shim.h:1:10: error: 'clang-c/Platform.h' file not found
1 | #include <clang-c/Platform.h>
| `- error: 'clang-c/Platform.h' file not found
2 |
3 | #ifdef I // For some reason this is defined
/Users/admin/builder/spi-builder-workspace/Sources/Clang/Availability.swift:2:8: error: could not build Objective-C module 'cclang'
1 | #if SWIFT_PACKAGE
2 | import cclang
| `- error: could not build Objective-C module 'cclang'
3 | #endif
4 |
[12/19] Compiling Clang CTypes.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/cclang/shim.h:1:10: error: 'clang-c/Platform.h' file not found
1 | #include <clang-c/Platform.h>
| `- error: 'clang-c/Platform.h' file not found
2 |
3 | #ifdef I // For some reason this is defined
/Users/admin/builder/spi-builder-workspace/Sources/Clang/Availability.swift:2:8: error: could not build Objective-C module 'cclang'
1 | #if SWIFT_PACKAGE
2 | import cclang
| `- error: could not build Objective-C module 'cclang'
3 | #endif
4 |
[13/19] Compiling Clang ClangError.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/cclang/shim.h:1:10: error: 'clang-c/Platform.h' file not found
1 | #include <clang-c/Platform.h>
| `- error: 'clang-c/Platform.h' file not found
2 |
3 | #ifdef I // For some reason this is defined
/Users/admin/builder/spi-builder-workspace/Sources/Clang/Availability.swift:2:8: error: could not build Objective-C module 'cclang'
1 | #if SWIFT_PACKAGE
2 | import cclang
| `- error: could not build Objective-C module 'cclang'
3 | #endif
4 |
[14/19] Compiling Clang Cursors.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/cclang/shim.h:1:10: error: 'clang-c/Platform.h' file not found
1 | #include <clang-c/Platform.h>
| `- error: 'clang-c/Platform.h' file not found
2 |
3 | #ifdef I // For some reason this is defined
/Users/admin/builder/spi-builder-workspace/Sources/Clang/Availability.swift:2:8: error: could not build Objective-C module 'cclang'
1 | #if SWIFT_PACKAGE
2 | import cclang
| `- error: could not build Objective-C module 'cclang'
3 | #endif
4 |
[15/19] Compiling Clang Diagnostic.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/cclang/shim.h:1:10: error: 'clang-c/Platform.h' file not found
1 | #include <clang-c/Platform.h>
| `- error: 'clang-c/Platform.h' file not found
2 |
3 | #ifdef I // For some reason this is defined
/Users/admin/builder/spi-builder-workspace/Sources/Clang/Availability.swift:2:8: error: could not build Objective-C module 'cclang'
1 | #if SWIFT_PACKAGE
2 | import cclang
| `- error: could not build Objective-C module 'cclang'
3 | #endif
4 |
[16/19] Compiling Clang FunctionDecl.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/cclang/shim.h:1:10: error: 'clang-c/Platform.h' file not found
1 | #include <clang-c/Platform.h>
| `- error: 'clang-c/Platform.h' file not found
2 |
3 | #ifdef I // For some reason this is defined
/Users/admin/builder/spi-builder-workspace/Sources/Clang/Availability.swift:2:8: error: could not build Objective-C module 'cclang'
1 | #if SWIFT_PACKAGE
2 | import cclang
| `- error: could not build Objective-C module 'cclang'
3 | #endif
4 |
[17/19] Compiling Clang Index.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/cclang/shim.h:1:10: error: 'clang-c/Platform.h' file not found
1 | #include <clang-c/Platform.h>
| `- error: 'clang-c/Platform.h' file not found
2 |
3 | #ifdef I // For some reason this is defined
/Users/admin/builder/spi-builder-workspace/Sources/Clang/Availability.swift:2:8: error: could not build Objective-C module 'cclang'
1 | #if SWIFT_PACKAGE
2 | import cclang
| `- error: could not build Objective-C module 'cclang'
3 | #endif
4 |
[18/19] Compiling Clang EvalResult.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/cclang/shim.h:1:10: error: 'clang-c/Platform.h' file not found
1 | #include <clang-c/Platform.h>
| `- error: 'clang-c/Platform.h' file not found
2 |
3 | #ifdef I // For some reason this is defined
/Users/admin/builder/spi-builder-workspace/Sources/Clang/Availability.swift:2:8: error: could not build Objective-C module 'cclang'
1 | #if SWIFT_PACKAGE
2 | import cclang
| `- error: could not build Objective-C module 'cclang'
3 | #endif
4 |
[19/19] Compiling Clang File.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/cclang/shim.h:1:10: error: 'clang-c/Platform.h' file not found
1 | #include <clang-c/Platform.h>
| `- error: 'clang-c/Platform.h' file not found
2 |
3 | #ifdef I // For some reason this is defined
/Users/admin/builder/spi-builder-workspace/Sources/Clang/Availability.swift:2:8: error: could not build Objective-C module 'cclang'
1 | #if SWIFT_PACKAGE
2 | import cclang
| `- error: could not build Objective-C module 'cclang'
3 | #endif
4 |
[20/20] Compiling Clang Utilities.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/cclang/shim.h:1:10: error: 'clang-c/Platform.h' file not found
1 | #include <clang-c/Platform.h>
| `- error: 'clang-c/Platform.h' file not found
2 |
3 | #ifdef I // For some reason this is defined
/Users/admin/builder/spi-builder-workspace/Sources/Clang/Availability.swift:2:8: error: could not build Objective-C module 'cclang'
1 | #if SWIFT_PACKAGE
2 | import cclang
| `- error: could not build Objective-C module 'cclang'
3 | #endif
4 |
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install cclang using your system-packager:
brew install llvm
warning: you may be able to install cclang using your system-packager:
brew install llvm
BUILD FAILURE 6.3 macosSpm