Build Information
Failed to build llvm-api, reference v0.3.0 (174917
), with Swift 5.10 for macOS (SPM) on 27 Jul 2024 14:13:47 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.48.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mrLSD/llvm-api-swift.git
Reference: v0.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mrLSD/llvm-api-swift
* tag v0.3.0 -> FETCH_HEAD
HEAD is now at 174917d Merge pull request #5 from mrLSD/feat/restructure-2
Cloned https://github.com/mrLSD/llvm-api-swift.git
Revision (git rev-parse @):
174917ddf6d943407c40c5c299abd1d4bf2633a2
SUCCESS checkout https://github.com/mrLSD/llvm-api-swift.git at v0.3.0
========================================
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": "llvm-api-swift",
"name": "llvm-api",
"url": "https://github.com/mrLSD/llvm-api-swift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/llvm-api-swift",
"dependencies": [
]
}
]
}
Fetching https://github.com/mrLSD/llvm-api-swift.git
[1/707] Fetching llvm-api-swift
Fetched https://github.com/mrLSD/llvm-api-swift.git from cache (1.32s)
Creating working copy for https://github.com/mrLSD/llvm-api-swift.git
Working copy of https://github.com/mrLSD/llvm-api-swift.git resolved at v0.3.0 (174917d)
warning: '.resolve-product-dependencies': dependency 'llvm-api-swift' is not used by any target
Found 0 product dependencies
========================================
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 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
^
[5/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
^
[6/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
^
[7/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
^
[8/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
^
[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 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
^
[13/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
^
[14/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
^
[15/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
^
[16/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
^
[17/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
^
[18/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
^
[19/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
^
[20/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
^
[21/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
^
[22/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
^
[23/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
^
[24/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
^
[25/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
^
[26/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
^
[27/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
^
[28/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
^
[29/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
^
[30/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
^
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