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, reference master (2bd01f), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 13:11:47 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.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
========================================
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": "perfect-pcre2",
      "name": "PerfectPCRE2",
      "url": "https://github.com/rockfordwei/perfect-pcre2.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/perfect-pcre2",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/rockfordwei/perfect-pcre2.git
[1/42] Fetching perfect-pcre2
Fetched https://github.com/rockfordwei/perfect-pcre2.git from cache (0.66s)
Creating working copy for https://github.com/rockfordwei/perfect-pcre2.git
Working copy of https://github.com/rockfordwei/perfect-pcre2.git resolved at master (2bd01fc)
warning: '.resolve-product-dependencies': dependency 'perfect-pcre2' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/rockfordwei/perfect-pcre2.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun 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--7754E27361AE5C74.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