This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 6.0 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rockfordwei/perfect-pcre2.git
Reference: master
Initialized empty Git repository in /Users/admin/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:             6.0
Building package at path:  $workDir
https://github.com/rockfordwei/perfect-pcre2.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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-6F35C1178C84523A.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:
1 | #import "pcre2api.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/pcre2api/pcre2api.h:5:10: error: 'pcre2.h' file not found
3 | #define PCRE2_CODE_UNIT_WIDTH 8
4 |
5 | #include "pcre2.h"
  |          `- error: 'pcre2.h' file not found
6 |
7 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/PerfectPCRE2/PerfectPCRE2.swift:1:8: error: could not build Objective-C module 'pcre2api'
  1 | import pcre2api
    |        `- error: could not build Objective-C module 'pcre2api'
  2 | import Foundation
  3 |
[4/4] Compiling PerfectPCRE2 PerfectPCRE2.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "pcre2api.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/pcre2api/pcre2api.h:5:10: error: 'pcre2.h' file not found
3 | #define PCRE2_CODE_UNIT_WIDTH 8
4 |
5 | #include "pcre2.h"
  |          `- error: 'pcre2.h' file not found
6 |
7 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/PerfectPCRE2/PerfectPCRE2.swift:1:8: error: could not build Objective-C module 'pcre2api'
  1 | import pcre2api
    |        `- error: could not build Objective-C module 'pcre2api'
  2 | import Foundation
  3 |
BUILD FAILURE 6.0 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.