Build Information
Failed to build NativeRegexExamples, reference main (c2150c), with Swift 6.2 for Linux on 22 Jun 2025 01:20:05 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/DandyLyons/NativeRegexExamples.git
Reference: main
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/DandyLyons/NativeRegexExamples
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at c2150cf Update README
Cloned https://github.com/DandyLyons/NativeRegexExamples.git
Revision (git rev-parse @):
c2150cf9e44a158e65083e0763ff643505dc2694
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/DandyLyons/NativeRegexExamples.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/DandyLyons/NativeRegexExamples.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/marmelroy/PhoneNumberKit.git
Fetching https://github.com/pointfreeco/swift-custom-dump.git
[1/4581] Fetching swift-custom-dump
[4582/11618] Fetching swift-custom-dump, phonenumberkit
Fetched https://github.com/pointfreeco/swift-custom-dump.git from cache (0.82s)
Fetched https://github.com/marmelroy/PhoneNumberKit.git from cache (0.83s)
Computing version for https://github.com/pointfreeco/swift-custom-dump.git
Computed https://github.com/pointfreeco/swift-custom-dump.git at 1.3.3 (1.17s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5467] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.66s)
Computing version for https://github.com/marmelroy/PhoneNumberKit.git
Computed https://github.com/marmelroy/PhoneNumberKit.git at 4.1.0 (3.38s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.43s)
Creating working copy for https://github.com/pointfreeco/swift-custom-dump.git
Working copy of https://github.com/pointfreeco/swift-custom-dump.git resolved at 1.3.3
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/marmelroy/PhoneNumberKit.git
Working copy of https://github.com/marmelroy/PhoneNumberKit.git resolved at 4.1.0
Building for debugging...
[0/8] Write sources
[1/8] Copying PrivacyInfo.xcprivacy
[2/8] Write sources
[4/8] Copying PhoneNumberMetadata.json
[5/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/45] Compiling PhoneNumberKit CountryCodePickerOptions.swift
[10/45] Compiling PhoneNumberKit CountryCodePickerViewController.swift
[11/47] Compiling IssueReporting TestContext.swift
[12/47] Compiling IssueReporting Unimplemented.swift
[13/47] Compiling IssueReporting BreakpointReporter.swift
[16/47] Compiling PhoneNumberKit PhoneNumberTextField.swift
[17/49] Compiling IssueReporting XCTest.swift
[18/49] Compiling IssueReporting IsTesting.swift
[19/49] Compiling IssueReporting IssueReporter.swift
[22/49] Compiling IssueReporting Rethrows.swift
[25/49] Compiling IssueReporting WithExpectedIssue.swift
[26/49] Compiling PhoneNumberKit Bundle+Resources.swift
[27/49] Compiling IssueReporting AppHostWarning.swift
[28/49] Compiling IssueReporting Deprecations.swift
[29/49] Compiling IssueReporting SwiftTesting.swift
[30/49] Compiling IssueReporting UncheckedSendable.swift
[31/49] Compiling IssueReporting Warn.swift
[38/49] Compiling IssueReporting FailureObserver.swift
[39/49] Compiling IssueReporting LockIsolated.swift
[40/49] Emitting module PhoneNumberKit
[41/49] Emitting module IssueReporting
[50/50] Compiling IssueReporting WithIssueContext.swift
[52/54] Compiling XCTestDynamicOverlay Exports.swift
[53/54] Emitting module XCTestDynamicOverlay
[54/54] Compiling XCTestDynamicOverlay Deprecations.swift
[56/82] Compiling CustomDump GameKit.swift
[57/82] Compiling CustomDump KeyPath.swift
[58/82] Compiling CustomDump Photos.swift
[59/82] Compiling CustomDump Speech.swift
[60/85] Compiling CustomDump Unordered.swift
[61/85] Compiling CustomDump XCTAssertDifference.swift
[62/85] Compiling CustomDump XCTAssertNoDifference.swift
[63/85] Compiling CustomDump Identifiable.swift
[64/85] Compiling CustomDump Mirror.swift
[65/85] Compiling CustomDump String.swift
[66/85] Compiling CustomDump ExpectNoDifference.swift
[67/85] Compiling CustomDump AnyType.swift
[68/85] Compiling CustomDump CollectionDifference.swift
[69/85] Compiling CustomDump CoreImage.swift
[70/85] Compiling CustomDump CoreLocation.swift
[71/85] Compiling CustomDump CoreMotion.swift
[72/85] Compiling CustomDump Foundation.swift
[73/85] Emitting module CustomDump
[74/85] Compiling CustomDump UserNotifications.swift
[75/85] Compiling CustomDump UserNotificationsUI.swift
[76/85] Compiling CustomDump CustomDumpReflectable.swift
[77/85] Compiling CustomDump CustomDumpRepresentable.swift
[78/85] Compiling CustomDump StoreKit.swift
[79/85] Compiling CustomDump Swift.swift
[80/85] Compiling CustomDump SwiftUI.swift
[81/85] Compiling CustomDump UIKit.swift
[82/85] Compiling CustomDump CustomDumpStringConvertible.swift
[83/85] Compiling CustomDump Diff.swift
[84/85] Compiling CustomDump Dump.swift
[85/85] Compiling CustomDump ExpectDifference.swift
[87/94] Compiling NativeRegexExamples RegexTestSuite protocol.swift
/host/spi-builder-workspace/Sources/NativeRegexExamples/RegexTestSuite protocol.swift:1:18: warning: file 'RegexTestSuite protocol.swift' is part of module 'NativeRegexExamples'; ignoring import
1 | @testable import NativeRegexExamples
| `- warning: file 'RegexTestSuite protocol.swift' is part of module 'NativeRegexExamples'; ignoring import
2 |
3 | /// A protocol used to ensure that each `@Suite` is testing for the same things.
[88/95] Compiling NativeRegexExamples RegexActor.swift
[89/95] Compiling NativeRegexExamples name spaces.swift
[90/95] Compiling NativeRegexExamples email.swift
[91/95] Compiling NativeRegexExamples IPv4.swift
[92/95] Compiling NativeRegexExamples Date.swift
[93/95] Compiling NativeRegexExamples SSN.swift
[94/95] Compiling NativeRegexExamples Phone Numbers.swift
/host/spi-builder-workspace/Sources/NativeRegexExamples/DataTypes/Phone Numbers.swift:90:58: warning: 'phoneNumber' is deprecated: These types of result will not be returned by swift-corelibs-foundation API. [#DeprecatedDeclaration]
88 | var result: (upperBound: String.Index, output: String)?
89 |
90 | let types: NSTextCheckingResult.CheckingType = [.phoneNumber]
| `- warning: 'phoneNumber' is deprecated: These types of result will not be returned by swift-corelibs-foundation API. [#DeprecatedDeclaration]
91 | let detector = try NSDataDetector(types: types.rawValue)
92 | let swiftRange = index..<input.endIndex
/host/spi-builder-workspace/Sources/NativeRegexExamples/DataTypes/Phone Numbers.swift:91:28: error: cannot find 'NSDataDetector' in scope
89 |
90 | let types: NSTextCheckingResult.CheckingType = [.phoneNumber]
91 | let detector = try NSDataDetector(types: types.rawValue)
| `- error: cannot find 'NSDataDetector' in scope
92 | let swiftRange = index..<input.endIndex
93 | let nsRange = NSRange(swiftRange, in: input)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[95/95] Emitting module NativeRegexExamples
/host/spi-builder-workspace/Sources/NativeRegexExamples/RegexTestSuite protocol.swift:1:18: warning: file 'RegexTestSuite protocol.swift' is part of module 'NativeRegexExamples'; ignoring import
1 | @testable import NativeRegexExamples
| `- warning: file 'RegexTestSuite protocol.swift' is part of module 'NativeRegexExamples'; ignoring import
2 |
3 | /// A protocol used to ensure that each `@Suite` is testing for the same things.
BUILD FAILURE 6.2 linux