The Swift Package Index logo.Swift Package Index

Build Information

Successful build of PerfectPCRE2 with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.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:             5.10
Building package at path:  $workDir
https://github.com/rockfordwei/perfect-pcre2.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 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
  public func pcre2Match(pattern: String, optionsOfPattern: [PCRE2.OptionPattern] = [.UTF], optionsOfMatch: [PCRE2.OptionMatch] = []) throws -> [[String]] {
  ^~~~~~~

/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.
        let start = String.Index(encodedOffset: array[i * 2])
                           ^
/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.
        let end = String.Index(encodedOffset: array[i * 2 + 1])
                         ^
[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
  public func pcre2Match(pattern: String, optionsOfPattern: [PCRE2.OptionPattern] = [.UTF], optionsOfMatch: [PCRE2.OptionMatch] = []) throws -> [[String]] {
  ^~~~~~~

Build complete! (9.34s)
Build complete.
Done.

Build Machine: Linux 2