The Swift Package Index logo.Swift Package Index

Build Information

Failed to build NativeRegexExamples, reference main (c2150c), with Swift 6.2 for Android on 22 Jun 2025 01:21:25 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build 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:         android
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-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/pointfreeco/swift-custom-dump.git
Fetching https://github.com/marmelroy/PhoneNumberKit.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 (1.23s)
Fetched https://github.com/marmelroy/PhoneNumberKit.git from cache (1.24s)
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.72s)
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.75s)
Computing version for https://github.com/marmelroy/PhoneNumberKit.git
Computed https://github.com/marmelroy/PhoneNumberKit.git at 4.1.0 (3.76s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (1.14s)
Creating working copy for https://github.com/marmelroy/PhoneNumberKit.git
Working copy of https://github.com/marmelroy/PhoneNumberKit.git resolved at 4.1.0
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
Building for debugging...
[0/8] Write sources
[5/8] Copying PrivacyInfo.xcprivacy
[6/8] Copying PhoneNumberMetadata.json
[7/8] Write swift-version-8C5A4AE7A8CE2BA.txt
[9/45] Emitting module IssueReporting
[10/47] Compiling IssueReporting WithExpectedIssue.swift
[11/47] Compiling IssueReporting WithIssueContext.swift
[12/47] Compiling PhoneNumberKit CountryCodePickerOptions.swift
[13/47] Compiling PhoneNumberKit CountryCodePickerViewController.swift
[14/49] Compiling PhoneNumberKit PhoneNumberTextField.swift
[15/49] Compiling PhoneNumberKit resource_bundle_accessor.swift
[16/49] Compiling PhoneNumberKit MetadataManager.swift
[17/49] Compiling PhoneNumberKit MetadataParsing.swift
[18/49] Compiling PhoneNumberKit PhoneNumber+Codable.swift
[19/49] Compiling PhoneNumberKit PhoneNumber.swift
[20/49] Compiling PhoneNumberKit MetadataTypes.swift
[21/49] Compiling PhoneNumberKit PhoneNumberFormatter.swift
[22/49] Compiling PhoneNumberKit PhoneNumberParser.swift
[23/49] Compiling PhoneNumberKit PhoneNumberUtility.swift
[24/49] Compiling PhoneNumberKit RegexManager.swift
[25/49] Compiling IssueReporting ErrorReporting.swift
[26/49] Compiling IssueReporting AppHostWarning.swift
[27/49] Compiling IssueReporting Deprecations.swift
[31/49] Compiling IssueReporting FailureObserver.swift
[32/49] Compiling IssueReporting LockIsolated.swift
[33/49] Compiling IssueReporting Rethrows.swift
[40/50] Emitting module PhoneNumberKit
[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 ExpectNoDifference.swift
[64/85] Compiling CustomDump AnyType.swift
[65/85] Compiling CustomDump CollectionDifference.swift
[66/85] Compiling CustomDump Identifiable.swift
[67/85] Compiling CustomDump Mirror.swift
[68/85] Compiling CustomDump String.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 StoreKit.swift
[75/85] Compiling CustomDump Swift.swift
[76/85] Compiling CustomDump SwiftUI.swift
[77/85] Compiling CustomDump UIKit.swift
[78/85] Compiling CustomDump UserNotifications.swift
[79/85] Compiling CustomDump UserNotificationsUI.swift
[80/85] Compiling CustomDump CustomDumpReflectable.swift
[81/85] Compiling CustomDump CustomDumpRepresentable.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 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>
[91/95] Compiling NativeRegexExamples email.swift
[92/95] Compiling NativeRegexExamples SSN.swift
[93/95] Compiling NativeRegexExamples IPv4.swift
[94/95] Compiling NativeRegexExamples Date.swift
[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 android