The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LLVM with Swift 5.9 for macOS (SPM).

Build Command

Build command unavailable

Build Log

========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/llvm-swift/llvmswift.git
Reference: master
Initialized empty Git repository in /Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/llvm-swift/llvmswift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
Fetching https://github.com/llvm-swift/FileCheck.git from cache
Fetched https://github.com/llvm-swift/FileCheck.git (0.20s)
Computing version for https://github.com/llvm-swift/FileCheck.git
Computed https://github.com/llvm-swift/FileCheck.git at 0.2.6 (0.03s)
Fetching https://github.com/mxcl/Chalk.git from cache
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/mxcl/Chalk.git (0.17s)
Fetched https://github.com/apple/swift-argument-parser (0.25s)
Computing version for https://github.com/mxcl/Chalk.git
Computed https://github.com/mxcl/Chalk.git at 0.5.0 (0.03s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.2.3 (0.03s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.2.3
Creating working copy for https://github.com/mxcl/Chalk.git
Working copy of https://github.com/mxcl/Chalk.git resolved at 0.5.0
Creating working copy for https://github.com/llvm-swift/FileCheck.git
Working copy of https://github.com/llvm-swift/FileCheck.git resolved at 0.2.6
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "llvmswift",
      "name": "LLVM",
      "url": "https://github.com/llvm-swift/llvmswift.git",
      "version": "unspecified",
      "path": "/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/llvmswift",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/llvm-swift/llvmswift.git
[1/5050] Fetching llvmswift
Fetched https://github.com/llvm-swift/llvmswift.git (2.12s)
Creating working copy for https://github.com/llvm-swift/llvmswift.git
Working copy of https://github.com/llvm-swift/llvmswift.git resolved at master
warning: '.resolve-product-dependencies': dependency 'llvmswift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin GenerateManual
Building for debugging...
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/llvmshims/src/shim.cpp:1:10: fatal error: 'llvm-c/Core.h' file not found
#include "llvm-c/Core.h"
         ^~~~~~~~~~~~~~~
1 error generated.
[1/2] Compiling shim.cpp
warning: you may be able to install cllvm using your system-packager:
    brew install llvm
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/llvmshims/src/shim.cpp:1:10: fatal error: 'llvm-c/Core.h' file not found
#include "llvm-c/Core.h"
         ^~~~~~~~~~~~~~~
1 error generated.
[1/2] Compiling shim.cpp
warning: you may be able to install cllvm using your system-packager:
    brew install llvm
BUILD FAILURE 5.9 macosSpm