Build Information
Failed to build Clang, reference master (c540be
), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 18:17:45 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/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",
"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",
"dependencies": [
]
}
]
}
Fetching https://github.com/llvm-swift/clangswift.git
[1/1279] Fetching clangswift
Fetched https://github.com/llvm-swift/clangswift.git from cache (1.08s)
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.1
Building package at path: $PWD
https://github.com/llvm-swift/clangswift.git
https://github.com/llvm-swift/clangswift.git
{
"dependencies" : [
],
"manifest_display_name" : "Clang",
"name" : "Clang",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Clang",
"targets" : [
"Clang"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "cclang",
"module_type" : "SystemLibraryTarget",
"name" : "cclang",
"path" : "Sources/cclang",
"product_memberships" : [
"Clang"
],
"sources" : [
],
"type" : "system-target"
},
{
"c99name" : "ClangTests",
"module_type" : "SwiftTarget",
"name" : "ClangTests",
"path" : "Tests/ClangTests",
"sources" : [
"ClangTests.swift"
],
"target_dependencies" : [
"Clang"
],
"type" : "test"
},
{
"c99name" : "Clang",
"module_type" : "SwiftTarget",
"name" : "Clang",
"path" : "Sources/Clang",
"product_memberships" : [
"Clang"
],
"sources" : [
"Availability.swift",
"CType.swift",
"CTypes.swift",
"ClangError.swift",
"Comment.swift",
"Cursor.swift",
"Cursors.swift",
"Diagnostic.swift",
"EvalResult.swift",
"File.swift",
"FunctionDecl.swift",
"Index.swift",
"Language.swift",
"NameRefOptions.swift",
"Token.swift",
"TranslationUnit.swift",
"Utilities.swift"
],
"target_dependencies" : [
"cclang"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/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 |
[4/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 |
[5/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 |
[6/20] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/20] 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 |
[8/20] 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 |
[9/20] 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 |
[10/20] 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 |
[11/20] 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 |
[12/20] 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 |
[13/20] 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 |
[14/20] 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 |
[15/20] 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 |
[16/20] 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 |
[17/20] 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 |
[18/20] 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 |
[19/20] 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 |
[20/20] 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 |
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
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/18] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/18] 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 |
[4/18] 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 |
[5/18] 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 |
[6/18] 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 |
[7/18] 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 |
[8/18] 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 |
[9/18] 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 |
[10/18] 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 |
[11/18] 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 |
[12/18] 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 |
[13/18] 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 |
[14/18] 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 |
[15/18] 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 |
[16/18] 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 |
[17/18] 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 |
[18/18] 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 |
[19/19] 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.1 macosSpm