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 llvm-api, reference master (81c4cd), with Swift 5.10 for macOS (SPM) on 7 Oct 2024 15:28:19 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.55.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mrLSD/llvm-api-swift.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mrLSD/llvm-api-swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 81c4cd8 Merge pull request #6 from mrLSD/feat/new-swift
Cloned https://github.com/mrLSD/llvm-api-swift.git
Revision (git rev-parse @):
81c4cd8af4b27adb803b643bb5679aa3abcc87e1
SUCCESS checkout https://github.com/mrLSD/llvm-api-swift.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/mrLSD/llvm-api-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-33747A42983211AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/28] Emitting module LLVM
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
        ^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
         ^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
       ^
[4/30] Compiling LLVM Scalar.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
        ^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
         ^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
       ^
[5/30] Compiling LLVM Value.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
        ^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
         ^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
       ^
[6/30] Compiling LLVM Function.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
        ^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
         ^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
       ^
[7/30] Compiling LLVM Int.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
        ^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
         ^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
       ^
[8/30] Compiling LLVM Label.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
        ^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
         ^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
       ^
[9/30] Compiling LLVM AddressSpace.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
        ^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
         ^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
       ^
[10/30] Compiling LLVM BasicBlock.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
        ^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
         ^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
       ^
[11/30] Compiling LLVM Context.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
        ^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
         ^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
       ^
[12/30] Compiling LLVM Vector.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
        ^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
         ^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
       ^
[13/30] Compiling LLVM Composite.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
        ^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
         ^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
       ^
[14/30] Compiling LLVM Pointer.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
        ^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
         ^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
       ^
[15/30] Compiling LLVM Struct.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
        ^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
         ^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
       ^
[16/30] Compiling LLVM Types.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
        ^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
         ^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
       ^
[17/30] Compiling LLVM Constants.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
        ^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
         ^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
       ^
[18/30] Compiling LLVM Expressions.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
        ^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
         ^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
       ^
[19/30] Compiling LLVM Metadata.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
        ^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
         ^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
       ^
[20/30] Compiling LLVM TargetExt.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
        ^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
         ^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
       ^
[21/30] Compiling LLVM Token.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
        ^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
         ^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
       ^
[22/30] Compiling LLVM Modules.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
        ^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
         ^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
       ^
[23/30] Compiling LLVM Array.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
        ^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
         ^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
       ^
[24/30] Compiling LLVM Float.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
        ^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
         ^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
       ^
[25/30] Compiling LLVM Core.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
        ^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
         ^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
       ^
[26/30] Compiling LLVM Diagnostic.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
        ^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
         ^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
       ^
[27/30] Compiling LLVM Functions.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
        ^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
         ^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
       ^
[28/30] Compiling LLVM Void.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
        ^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
         ^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
       ^
[29/30] Compiling LLVM X86AMX.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
        ^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
         ^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
       ^
[30/30] Compiling LLVM X86MMX.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "bridge.h"
        ^
/Users/admin/builder/spi-builder-workspace/Source/CLLVM/bridge.h:11:10: error: 'llvm-c/Transforms/PassBuilder.h' file not found
#include <llvm-c/Transforms/PassBuilder.h>
         ^
/Users/admin/builder/spi-builder-workspace/Source/LLVM/Core/AddressSpace.swift:1:8: error: could not build Objective-C module 'CLLVM'
import CLLVM
       ^
error: fatalError
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: couldn't find pc file for llvm
BUILD FAILURE 5.10 macosSpm