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 PerfectPCRE2 with Swift 5.10 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rockfordwei/perfect-pcre2.git
Reference: master
Initialized empty Git repository in /Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/rockfordwei/perfect-pcre2
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 2bd01fc updating README
Cloned https://github.com/rockfordwei/perfect-pcre2.git
Revision (git rev-parse @):
2bd01fc85e8f2789ef42e907c90065b991214a64
SUCCESS checkout https://github.com/rockfordwei/perfect-pcre2.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/rockfordwei/perfect-pcre2.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module PerfectPCRE2
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "pcre2api.h"
        ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/pcre2api/pcre2api.h:5:10: error: 'pcre2.h' file not found
#include "pcre2.h"
         ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectPCRE2/PerfectPCRE2.swift:1:8: error: could not build Objective-C module 'pcre2api'
import pcre2api
       ^
[4/4] Compiling PerfectPCRE2 PerfectPCRE2.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "pcre2api.h"
        ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/pcre2api/pcre2api.h:5:10: error: 'pcre2.h' file not found
#include "pcre2.h"
         ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectPCRE2/PerfectPCRE2.swift:1:8: error: could not build Objective-C module 'pcre2api'
import pcre2api
       ^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module PerfectPCRE2
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "pcre2api.h"
        ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/pcre2api/pcre2api.h:5:10: error: 'pcre2.h' file not found
#include "pcre2.h"
         ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectPCRE2/PerfectPCRE2.swift:1:8: error: could not build Objective-C module 'pcre2api'
import pcre2api
       ^
[3/3] Compiling PerfectPCRE2 PerfectPCRE2.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "pcre2api.h"
        ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/pcre2api/pcre2api.h:5:10: error: 'pcre2.h' file not found
#include "pcre2.h"
         ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PerfectPCRE2/PerfectPCRE2.swift:1:8: error: could not build Objective-C module 'pcre2api'
import pcre2api
       ^
error: fatalError
BUILD FAILURE 5.10 macosSpm