Build Information
Failed to build NativeRegexExamples, reference main (c2150c
), with Swift 6.0 for Linux on 5 Nov 2024 23:27:05 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" 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.56.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.0
Building package at path: $PWD
https://github.com/DandyLyons/NativeRegexExamples.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" 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
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/pointfreeco/swift-custom-dump.git
Fetching https://github.com/marmelroy/PhoneNumberKit.git
[1/4511] Fetching swift-custom-dump
[4512/11349] Fetching swift-custom-dump, phonenumberkit
Fetched https://github.com/pointfreeco/swift-custom-dump.git from cache (0.27s)
[2120/6838] Fetching phonenumberkit
Fetched https://github.com/marmelroy/PhoneNumberKit.git from cache (0.71s)
Computing version for https://github.com/marmelroy/PhoneNumberKit.git
Computed https://github.com/marmelroy/PhoneNumberKit.git at 4.0.0 (2.07s)
Computing version for https://github.com/pointfreeco/swift-custom-dump.git
Computed https://github.com/pointfreeco/swift-custom-dump.git at 1.3.3 (0.43s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/4985] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.75s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.4.2 (0.43s)
Creating working copy for https://github.com/marmelroy/PhoneNumberKit.git
Working copy of https://github.com/marmelroy/PhoneNumberKit.git resolved at 4.0.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.4.2
Building for debugging...
[0/8] Write sources
[0/8] Copying PrivacyInfo.xcprivacy
[0/8] Write sources
[6/8] Copying PhoneNumberMetadata.json
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/44] Emitting module PhoneNumberKit
[10/46] Emitting module IssueReporting
[11/48] Compiling IssueReporting BreakpointReporter.swift
[12/48] Compiling IssueReporting FatalErrorReporter.swift
[13/48] Compiling IssueReporting WithExpectedIssue.swift
[14/48] Compiling IssueReporting WithIssueContext.swift
[15/48] Compiling IssueReporting TestContext.swift
[16/48] Compiling IssueReporting Unimplemented.swift
[17/48] Compiling IssueReporting RuntimeWarningReporter.swift
[18/48] Compiling IssueReporting ReportIssue.swift
[19/48] Compiling IssueReporting AppHostWarning.swift
[20/48] Compiling IssueReporting Deprecations.swift
[21/48] Compiling IssueReporting FailureObserver.swift
[22/48] Compiling IssueReporting IsTesting.swift
[23/48] Compiling IssueReporting IssueReporter.swift
[33/48] Compiling IssueReporting UncheckedSendable.swift
[34/48] Compiling IssueReporting Warn.swift
[35/48] Compiling IssueReporting XCTest.swift
[39/48] Compiling IssueReporting LockIsolated.swift
[40/48] Compiling IssueReporting Rethrows.swift
[41/48] Compiling IssueReporting SwiftTesting.swift
[51/53] Compiling XCTestDynamicOverlay Exports.swift
[52/53] Compiling XCTestDynamicOverlay Deprecations.swift
[53/53] Emitting module XCTestDynamicOverlay
[55/81] Compiling CustomDump GameKit.swift
[56/81] Compiling CustomDump KeyPath.swift
[57/81] Compiling CustomDump Photos.swift
[58/81] Compiling CustomDump Speech.swift
[59/84] Compiling CustomDump Identifiable.swift
[60/84] Compiling CustomDump Mirror.swift
[61/84] Compiling CustomDump String.swift
[62/84] Compiling CustomDump CoreImage.swift
[63/84] Compiling CustomDump CoreLocation.swift
[64/84] Compiling CustomDump CoreMotion.swift
[65/84] Compiling CustomDump Foundation.swift
[66/84] Compiling CustomDump Unordered.swift
[67/84] Compiling CustomDump XCTAssertDifference.swift
[68/84] Compiling CustomDump XCTAssertNoDifference.swift
[69/84] Emitting module CustomDump
[70/84] Compiling CustomDump ExpectNoDifference.swift
[71/84] Compiling CustomDump AnyType.swift
[72/84] Compiling CustomDump CollectionDifference.swift
[73/84] Compiling CustomDump UserNotifications.swift
[74/84] Compiling CustomDump UserNotificationsUI.swift
[75/84] Compiling CustomDump CustomDumpReflectable.swift
[76/84] Compiling CustomDump CustomDumpRepresentable.swift
[77/84] Compiling CustomDump CustomDumpStringConvertible.swift
[78/84] Compiling CustomDump Diff.swift
[79/84] Compiling CustomDump Dump.swift
[80/84] Compiling CustomDump ExpectDifference.swift
[81/84] Compiling CustomDump StoreKit.swift
[82/84] Compiling CustomDump Swift.swift
[83/84] Compiling CustomDump SwiftUI.swift
[84/84] Compiling CustomDump UIKit.swift
[86/93] Compiling NativeRegexExamples RegexActor.swift
[87/93] 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/94] Compiling NativeRegexExamples name spaces.swift
[89/94] Compiling NativeRegexExamples email.swift
[90/94] Compiling NativeRegexExamples IPv4.swift
[91/94] Compiling NativeRegexExamples SSN.swift
[92/94] 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.
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.
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)
[93/94] Compiling NativeRegexExamples Date.swift
[94/94] 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.0 linux