The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build Clang, reference master (c540be), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 05:50:45 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.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.18s)
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.0
Building package at path:  $PWD
https://github.com/llvm-swift/clangswift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/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 |
[4/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 |
[5/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/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 |
[7/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 |
[8/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 |
[9/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 |
[10/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 |
[11/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 |
[12/20] 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 |
[13/20] 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 |
[14/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 |
[15/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 |
[16/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 |
[17/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 |
[18/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 |
[19/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 |
[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
BUILD FAILURE 6.0 macosSpm