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

Successful build of PerfectPCRE2 with Swift 6.0 for Linux.

Swift 6 data race errors: 0

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

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 /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
 * 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:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/rockfordwei/perfect-pcre2.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/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.
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.
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.
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.
227 |         offset = array[i * 2 + 1] + 1
228 |         range.append(start..<end)
[4/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)
Build complete! (11.07s)
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"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.