The Swift Package Index logo.Swift Package Index

Build Information

Successful build of PerfectPCRE2, reference 3.1.0 (5c04d8), with Swift 6.3 for Linux on 23 Apr 2026 05:36:33 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rockfordwei/perfect-pcre2.git
Reference: 3.1.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/rockfordwei/perfect-pcre2
 * tag               3.1.0      -> FETCH_HEAD
HEAD is now at 5c04d84 upgrading to swift 4.2
Cloned https://github.com/rockfordwei/perfect-pcre2.git
Revision (git rev-parse @):
5c04d84b93dafe52393910dd79352f8e7860f367
SUCCESS checkout https://github.com/rockfordwei/perfect-pcre2.git at 3.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/rockfordwei/perfect-pcre2.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/4] Emitting module PerfectPCRE2
/host/spi-builder-workspace/Sources/PerfectPCRE2/PerfectPCRE2.swift:256:3: warning: 'public' modifier is redundant for instance method declared in a public extension
254 |   /// - returns: array of matched substrings
255 |   /// - throws: Exception
256 |   public func pcre2Match(pattern: String, optionsOfPattern: [PCRE2.OptionPattern] = [.UTF], optionsOfMatch: [PCRE2.OptionMatch] = []) throws -> [[String]] {
    |   `- warning: 'public' modifier is redundant for instance method declared in a public extension
257 |     let re = try PCRE2(pattern: pattern, options: optionsOfPattern)
258 |     let ranges = try re.match(self, options: optionsOfMatch)
[4/4] Compiling PerfectPCRE2 PerfectPCRE2.swift
/host/spi-builder-workspace/Sources/PerfectPCRE2/PerfectPCRE2.swift:256:3: warning: 'public' modifier is redundant for instance method declared in a public extension
254 |   /// - returns: array of matched substrings
255 |   /// - throws: Exception
256 |   public func pcre2Match(pattern: String, optionsOfPattern: [PCRE2.OptionPattern] = [.UTF], optionsOfMatch: [PCRE2.OptionMatch] = []) throws -> [[String]] {
    |   `- warning: 'public' modifier is redundant for instance method declared in a public extension
257 |     let re = try PCRE2(pattern: pattern, options: optionsOfPattern)
258 |     let ranges = try re.match(self, options: optionsOfMatch)
/host/spi-builder-workspace/Sources/PerfectPCRE2/PerfectPCRE2.swift:225:28: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
223 |       let array = Array(UnsafeBufferPointer<Int>(start: ovector, count: Int(rc) * 2))
224 |       for i in 0..<Int(rc) {
225 |         let start = String.Index(encodedOffset: array[i * 2])
    |                            `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
226 |         let end = String.Index(encodedOffset: array[i * 2 + 1])
227 |         offset = array[i * 2 + 1] + 1
/host/spi-builder-workspace/Sources/PerfectPCRE2/PerfectPCRE2.swift:226:26: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
224 |       for i in 0..<Int(rc) {
225 |         let start = String.Index(encodedOffset: array[i * 2])
226 |         let end = String.Index(encodedOffset: array[i * 2 + 1])
    |                          `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior. [#DeprecatedDeclaration]
227 |         offset = array[i * 2 + 1] + 1
228 |         range.append(start..<end)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete! (10.17s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PerfectPCRE2",
  "name" : "PerfectPCRE2",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "PerfectPCRE2",
      "targets" : [
        "PerfectPCRE2"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "pcre2api",
      "module_type" : "SystemLibraryTarget",
      "name" : "pcre2api",
      "path" : "Sources/pcre2api",
      "product_memberships" : [
        "PerfectPCRE2"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    },
    {
      "c99name" : "PerfectPCRE2Tests",
      "module_type" : "SwiftTarget",
      "name" : "PerfectPCRE2Tests",
      "path" : "Tests/PerfectPCRE2Tests",
      "sources" : [
        "PerfectPCRE2Tests.swift"
      ],
      "target_dependencies" : [
        "PerfectPCRE2"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PerfectPCRE2",
      "module_type" : "SwiftTarget",
      "name" : "PerfectPCRE2",
      "path" : "Sources/PerfectPCRE2",
      "product_memberships" : [
        "PerfectPCRE2"
      ],
      "sources" : [
        "PerfectPCRE2.swift"
      ],
      "target_dependencies" : [
        "pcre2api"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Done.