Build Information
Successful build of PhoneNumberKit, reference master (169ab1), with Swift 6.1 for macOS (SPM) on 24 Jun 2026 20:37:06 UTC.
Swift 6 data race errors: 6
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/marmelroy/PhoneNumberKit.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/marmelroy/PhoneNumberKit
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 169ab10 Deprecate repository — moved to the PhoneNumberKit organization (#906)
Cloned https://github.com/marmelroy/PhoneNumberKit.git
Revision (git rev-parse @):
169ab10234347fb19b37441f2867ace896a284b0
SUCCESS checkout https://github.com/marmelroy/PhoneNumberKit.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/marmelroy/PhoneNumberKit.git
https://github.com/marmelroy/PhoneNumberKit.git
{
"dependencies" : [
],
"manifest_display_name" : "PhoneNumberKit",
"name" : "PhoneNumberKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "4.0"
}
],
"products" : [
{
"name" : "PhoneNumberKit",
"targets" : [
"PhoneNumberKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "PhoneNumberKit-Static",
"targets" : [
"PhoneNumberKit"
],
"type" : {
"library" : [
"static"
]
}
},
{
"name" : "PhoneNumberKit-Dynamic",
"targets" : [
"PhoneNumberKit"
],
"type" : {
"library" : [
"dynamic"
]
}
}
],
"targets" : [
{
"c99name" : "PhoneNumberKitTests",
"module_type" : "SwiftTarget",
"name" : "PhoneNumberKitTests",
"path" : "PhoneNumberKitTests",
"sources" : [
"PartialFormatterTests.swift",
"PhoneNumber+CodableTests.swift",
"PhoneNumberTextFieldTests.swift",
"PhoneNumberUtilityParsingTests.swift",
"PhoneNumberUtilityTests.swift"
],
"target_dependencies" : [
"PhoneNumberKit"
],
"type" : "test"
},
{
"c99name" : "PhoneNumberKit",
"module_type" : "SwiftTarget",
"name" : "PhoneNumberKit",
"path" : "PhoneNumberKit",
"product_memberships" : [
"PhoneNumberKit",
"PhoneNumberKit-Static",
"PhoneNumberKit-Dynamic"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/PhoneNumberKit/Resources/PhoneNumberMetadata.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/PhoneNumberKit/Resources/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Bundle+Resources.swift",
"Constants.swift",
"Formatter.swift",
"MetadataManager.swift",
"MetadataParsing.swift",
"MetadataTypes.swift",
"NSRegularExpression+Swift.swift",
"ParseManager.swift",
"PartialFormatter.swift",
"PhoneNumber+Codable.swift",
"PhoneNumber.swift",
"PhoneNumberFormatter.swift",
"PhoneNumberParser.swift",
"PhoneNumberUtility.swift",
"RegexManager.swift",
"UI/CountryCodePickerOptions.swift",
"UI/CountryCodePickerSectionHeaderView.swift",
"UI/CountryCodePickerTableViewCell.swift",
"UI/CountryCodePickerViewController.swift",
"UI/PhoneNumberTextField.swift",
"UI/PhoneNumberTextFieldDelegate.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/8] Copying PhoneNumberMetadata.json
[0/8] Write sources
[0/8] Copying PrivacyInfo.xcprivacy
[3/8] Write swift-version-2F0A5646E1D333AE.txt
[5/29] Emitting module PhoneNumberKit
/Users/admin/builder/spi-builder-workspace/PhoneNumberKit/Bundle+Resources.swift:11:16: warning: static property 'phoneNumberKit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | //
10 | extension Bundle {
11 | static var phoneNumberKit: Bundle = {
| |- warning: static property 'phoneNumberKit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'phoneNumberKit' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'phoneNumberKit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | #if DEBUG && SWIFT_PACKAGE
13 | let bundleName = "PhoneNumberKit_PhoneNumberKit"
/Users/admin/builder/spi-builder-workspace/PhoneNumberKit/PhoneNumber+Codable.swift:18:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | case e164
17 | /// The default ``PhoneNumber`` encoding strategy.
18 | public static var `default` = properties
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/PhoneNumberKit/PhoneNumber+Codable.swift:28:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | case e164
27 | /// The default ``PhoneNumber`` encoding strategy.
28 | public static var `default` = properties
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/PhoneNumberKit/PhoneNumber+Codable.swift:38:23: warning: static property 'defaultUtility' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | public enum PhoneNumberDecodingUtils {
37 | /// The default ``PhoneNumberUtility`` instance used for parsing when decoding, if needed.
38 | public static var defaultUtility: PhoneNumberUtilityProvider = { .init() }
| |- warning: static property 'defaultUtility' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultUtility' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultUtility' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/PhoneNumberKit/PhoneNumber+Codable.swift:38:71: warning: 'init(metadataCallback:)' is deprecated: PhoneNumberKit has moved to github.com/PhoneNumberKit/PhoneNumberKit and is no longer maintained here. See the README to migrate.
36 | public enum PhoneNumberDecodingUtils {
37 | /// The default ``PhoneNumberUtility`` instance used for parsing when decoding, if needed.
38 | public static var defaultUtility: PhoneNumberUtilityProvider = { .init() }
| `- warning: 'init(metadataCallback:)' is deprecated: PhoneNumberKit has moved to github.com/PhoneNumberKit/PhoneNumberKit and is no longer maintained here. See the README to migrate.
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/PhoneNumberKit/PhoneNumber+Codable.swift:43:23: warning: static property 'defaultUtility' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | public enum PhoneNumberEncodingUtils {
42 | /// The default ``PhoneNumberUtility`` instance used for formatting when encoding, if needed.
43 | public static var defaultUtility: PhoneNumberUtilityProvider = { .init() }
| |- warning: static property 'defaultUtility' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultUtility' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultUtility' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/PhoneNumberKit/PhoneNumber+Codable.swift:43:71: warning: 'init(metadataCallback:)' is deprecated: PhoneNumberKit has moved to github.com/PhoneNumberKit/PhoneNumberKit and is no longer maintained here. See the README to migrate.
41 | public enum PhoneNumberEncodingUtils {
42 | /// The default ``PhoneNumberUtility`` instance used for formatting when encoding, if needed.
43 | public static var defaultUtility: PhoneNumberUtilityProvider = { .init() }
| `- warning: 'init(metadataCallback:)' is deprecated: PhoneNumberKit has moved to github.com/PhoneNumberKit/PhoneNumberKit and is no longer maintained here. See the README to migrate.
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/PhoneNumberKit/PhoneNumberUtility.swift:25:23: warning: static property 'canUseContactsFramework' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// When true, use the countryCode from the Contacts framework if the framework is available. Has no effect when Contacts framework is not available. Must be set before calling other methods in this class.
25 | static public var canUseContactsFramework = true
| |- warning: static property 'canUseContactsFramework' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'canUseContactsFramework' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'canUseContactsFramework' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | // MARK: Lifecycle
[6/31] Compiling PhoneNumberKit PhoneNumberTextFieldDelegate.swift
[7/31] Compiling PhoneNumberKit resource_bundle_accessor.swift
[8/31] Compiling PhoneNumberKit RegexManager.swift
[9/31] Compiling PhoneNumberKit CountryCodePickerOptions.swift
[10/31] Compiling PhoneNumberKit CountryCodePickerViewController.swift
[11/31] Compiling PhoneNumberKit PhoneNumberTextField.swift
[12/31] Compiling PhoneNumberKit PhoneNumber.swift
/Users/admin/builder/spi-builder-workspace/PhoneNumberKit/PhoneNumberFormatter.swift:51:24: warning: 'init(metadataCallback:)' is deprecated: PhoneNumberKit has moved to github.com/PhoneNumberKit/PhoneNumberKit and is no longer maintained here. See the README to migrate.
49 |
50 | public required init?(coder aDecoder: NSCoder) {
51 | self.utility = PhoneNumberUtility()
| `- warning: 'init(metadataCallback:)' is deprecated: PhoneNumberKit has moved to github.com/PhoneNumberKit/PhoneNumberKit and is no longer maintained here. See the README to migrate.
52 | self.partialFormatter = PartialFormatter(utility: self.utility, defaultRegion: self.defaultRegion, withPrefix: self.withPrefix)
53 | super.init(coder: aDecoder)
/Users/admin/builder/spi-builder-workspace/PhoneNumberKit/PhoneNumberFormatter.swift:52:33: warning: 'init(utility:defaultRegion:withPrefix:maxDigits:ignoreIntlNumbers:)' is deprecated: PhoneNumberKit has moved to github.com/PhoneNumberKit/PhoneNumberKit and is no longer maintained here. See the README to migrate.
50 | public required init?(coder aDecoder: NSCoder) {
51 | self.utility = PhoneNumberUtility()
52 | self.partialFormatter = PartialFormatter(utility: self.utility, defaultRegion: self.defaultRegion, withPrefix: self.withPrefix)
| `- warning: 'init(utility:defaultRegion:withPrefix:maxDigits:ignoreIntlNumbers:)' is deprecated: PhoneNumberKit has moved to github.com/PhoneNumberKit/PhoneNumberKit and is no longer maintained here. See the README to migrate.
53 | super.init(coder: aDecoder)
54 | }
[13/31] Compiling PhoneNumberKit PhoneNumberFormatter.swift
/Users/admin/builder/spi-builder-workspace/PhoneNumberKit/PhoneNumberFormatter.swift:51:24: warning: 'init(metadataCallback:)' is deprecated: PhoneNumberKit has moved to github.com/PhoneNumberKit/PhoneNumberKit and is no longer maintained here. See the README to migrate.
49 |
50 | public required init?(coder aDecoder: NSCoder) {
51 | self.utility = PhoneNumberUtility()
| `- warning: 'init(metadataCallback:)' is deprecated: PhoneNumberKit has moved to github.com/PhoneNumberKit/PhoneNumberKit and is no longer maintained here. See the README to migrate.
52 | self.partialFormatter = PartialFormatter(utility: self.utility, defaultRegion: self.defaultRegion, withPrefix: self.withPrefix)
53 | super.init(coder: aDecoder)
/Users/admin/builder/spi-builder-workspace/PhoneNumberKit/PhoneNumberFormatter.swift:52:33: warning: 'init(utility:defaultRegion:withPrefix:maxDigits:ignoreIntlNumbers:)' is deprecated: PhoneNumberKit has moved to github.com/PhoneNumberKit/PhoneNumberKit and is no longer maintained here. See the README to migrate.
50 | public required init?(coder aDecoder: NSCoder) {
51 | self.utility = PhoneNumberUtility()
52 | self.partialFormatter = PartialFormatter(utility: self.utility, defaultRegion: self.defaultRegion, withPrefix: self.withPrefix)
| `- warning: 'init(utility:defaultRegion:withPrefix:maxDigits:ignoreIntlNumbers:)' is deprecated: PhoneNumberKit has moved to github.com/PhoneNumberKit/PhoneNumberKit and is no longer maintained here. See the README to migrate.
53 | super.init(coder: aDecoder)
54 | }
[14/31] Compiling PhoneNumberKit Bundle+Resources.swift
/Users/admin/builder/spi-builder-workspace/PhoneNumberKit/Bundle+Resources.swift:11:16: warning: static property 'phoneNumberKit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | //
10 | extension Bundle {
11 | static var phoneNumberKit: Bundle = {
| |- warning: static property 'phoneNumberKit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'phoneNumberKit' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'phoneNumberKit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | #if DEBUG && SWIFT_PACKAGE
13 | let bundleName = "PhoneNumberKit_PhoneNumberKit"
[15/31] Compiling PhoneNumberKit Constants.swift
/Users/admin/builder/spi-builder-workspace/PhoneNumberKit/Bundle+Resources.swift:11:16: warning: static property 'phoneNumberKit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | //
10 | extension Bundle {
11 | static var phoneNumberKit: Bundle = {
| |- warning: static property 'phoneNumberKit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'phoneNumberKit' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'phoneNumberKit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | #if DEBUG && SWIFT_PACKAGE
13 | let bundleName = "PhoneNumberKit_PhoneNumberKit"
[16/31] Compiling PhoneNumberKit Formatter.swift
/Users/admin/builder/spi-builder-workspace/PhoneNumberKit/Bundle+Resources.swift:11:16: warning: static property 'phoneNumberKit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | //
10 | extension Bundle {
11 | static var phoneNumberKit: Bundle = {
| |- warning: static property 'phoneNumberKit' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'phoneNumberKit' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'phoneNumberKit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | #if DEBUG && SWIFT_PACKAGE
13 | let bundleName = "PhoneNumberKit_PhoneNumberKit"
[17/31] Compiling PhoneNumberKit CountryCodePickerSectionHeaderView.swift
[18/31] Compiling PhoneNumberKit CountryCodePickerTableViewCell.swift
[19/31] Compiling PhoneNumberKit MetadataManager.swift
[20/31] Compiling PhoneNumberKit MetadataParsing.swift
[21/31] Compiling PhoneNumberKit MetadataTypes.swift
[22/31] Compiling PhoneNumberKit PartialFormatter.swift
/Users/admin/builder/spi-builder-workspace/PhoneNumberKit/PhoneNumber+Codable.swift:18:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | case e164
17 | /// The default ``PhoneNumber`` encoding strategy.
18 | public static var `default` = properties
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/PhoneNumberKit/PhoneNumber+Codable.swift:28:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | case e164
27 | /// The default ``PhoneNumber`` encoding strategy.
28 | public static var `default` = properties
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/PhoneNumberKit/PhoneNumber+Codable.swift:38:23: warning: static property 'defaultUtility' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | public enum PhoneNumberDecodingUtils {
37 | /// The default ``PhoneNumberUtility`` instance used for parsing when decoding, if needed.
38 | public static var defaultUtility: PhoneNumberUtilityProvider = { .init() }
| |- warning: static property 'defaultUtility' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultUtility' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultUtility' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/PhoneNumberKit/PhoneNumber+Codable.swift:38:71: warning: 'init(metadataCallback:)' is deprecated: PhoneNumberKit has moved to github.com/PhoneNumberKit/PhoneNumberKit and is no longer maintained here. See the README to migrate.
36 | public enum PhoneNumberDecodingUtils {
37 | /// The default ``PhoneNumberUtility`` instance used for parsing when decoding, if needed.
38 | public static var defaultUtility: PhoneNumberUtilityProvider = { .init() }
| `- warning: 'init(metadataCallback:)' is deprecated: PhoneNumberKit has moved to github.com/PhoneNumberKit/PhoneNumberKit and is no longer maintained here. See the README to migrate.
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/PhoneNumberKit/PhoneNumber+Codable.swift:43:23: warning: static property 'defaultUtility' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | public enum PhoneNumberEncodingUtils {
42 | /// The default ``PhoneNumberUtility`` instance used for formatting when encoding, if needed.
43 | public static var defaultUtility: PhoneNumberUtilityProvider = { .init() }
| |- warning: static property 'defaultUtility' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultUtility' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultUtility' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/PhoneNumberKit/PhoneNumber+Codable.swift:43:71: warning: 'init(metadataCallback:)' is deprecated: PhoneNumberKit has moved to github.com/PhoneNumberKit/PhoneNumberKit and is no longer maintained here. See the README to migrate.
41 | public enum PhoneNumberEncodingUtils {
42 | /// The default ``PhoneNumberUtility`` instance used for formatting when encoding, if needed.
43 | public static var defaultUtility: PhoneNumberUtilityProvider = { .init() }
| `- warning: 'init(metadataCallback:)' is deprecated: PhoneNumberKit has moved to github.com/PhoneNumberKit/PhoneNumberKit and is no longer maintained here. See the README to migrate.
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/PhoneNumberKit/PhoneNumber+Codable.swift:53:54: warning: type 'PhoneNumberDecodingStrategy' does not conform to the 'Sendable' protocol
10 |
11 | /// The strategy used to decode a ``PhoneNumber`` value.
12 | public enum PhoneNumberDecodingStrategy {
| `- note: consider making enum 'PhoneNumberDecodingStrategy' conform to the 'Sendable' protocol
13 | /// Decode ``PhoneNumber`` properties as key-value pairs. This is the default strategy.
14 | case properties
:
51 | }
52 | set {
53 | userInfo[.phoneNumberDecodingStrategy] = newValue
| `- warning: type 'PhoneNumberDecodingStrategy' does not conform to the 'Sendable' protocol
54 | }
55 | }
/Users/admin/builder/spi-builder-workspace/PhoneNumberKit/PhoneNumber+Codable.swift:63:45: warning: type '() -> PhoneNumberUtility' does not conform to the 'Sendable' protocol
61 | }
62 | set {
63 | userInfo[.phoneNumberUtility] = newValue
| |- warning: type '() -> PhoneNumberUtility' does not conform to the 'Sendable' protocol
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
64 | }
65 | }
/Users/admin/builder/spi-builder-workspace/PhoneNumberKit/PhoneNumber+Codable.swift:75:54: warning: type 'PhoneNumberEncodingStrategy' does not conform to the 'Sendable' protocol
20 |
21 | /// The strategy used to encode a ``PhoneNumber`` value.
22 | public enum PhoneNumberEncodingStrategy {
| `- note: consider making enum 'PhoneNumberEncodingStrategy' conform to the 'Sendable' protocol
23 | /// Encode ``PhoneNumber`` properties as key-value pairs. This is the default strategy.
24 | case properties
:
73 | }
74 | set {
75 | userInfo[.phoneNumberEncodingStrategy] = newValue
| `- warning: type 'PhoneNumberEncodingStrategy' does not conform to the 'Sendable' protocol
76 | }
77 | }
/Users/admin/builder/spi-builder-workspace/PhoneNumberKit/PhoneNumber+Codable.swift:85:45: warning: type '() -> PhoneNumberUtility' does not conform to the 'Sendable' protocol
83 | }
84 | set {
85 | userInfo[.phoneNumberUtility] = newValue
| |- warning: type '() -> PhoneNumberUtility' does not conform to the 'Sendable' protocol
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
86 | }
87 | }
[23/31] Compiling PhoneNumberKit PhoneNumber+Codable.swift
/Users/admin/builder/spi-builder-workspace/PhoneNumberKit/PhoneNumber+Codable.swift:18:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | case e164
17 | /// The default ``PhoneNumber`` encoding strategy.
18 | public static var `default` = properties
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/PhoneNumberKit/PhoneNumber+Codable.swift:28:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | case e164
27 | /// The default ``PhoneNumber`` encoding strategy.
28 | public static var `default` = properties
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/PhoneNumberKit/PhoneNumber+Codable.swift:38:23: warning: static property 'defaultUtility' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | public enum PhoneNumberDecodingUtils {
37 | /// The default ``PhoneNumberUtility`` instance used for parsing when decoding, if needed.
38 | public static var defaultUtility: PhoneNumberUtilityProvider = { .init() }
| |- warning: static property 'defaultUtility' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultUtility' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultUtility' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/PhoneNumberKit/PhoneNumber+Codable.swift:38:71: warning: 'init(metadataCallback:)' is deprecated: PhoneNumberKit has moved to github.com/PhoneNumberKit/PhoneNumberKit and is no longer maintained here. See the README to migrate.
36 | public enum PhoneNumberDecodingUtils {
37 | /// The default ``PhoneNumberUtility`` instance used for parsing when decoding, if needed.
38 | public static var defaultUtility: PhoneNumberUtilityProvider = { .init() }
| `- warning: 'init(metadataCallback:)' is deprecated: PhoneNumberKit has moved to github.com/PhoneNumberKit/PhoneNumberKit and is no longer maintained here. See the README to migrate.
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/PhoneNumberKit/PhoneNumber+Codable.swift:43:23: warning: static property 'defaultUtility' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | public enum PhoneNumberEncodingUtils {
42 | /// The default ``PhoneNumberUtility`` instance used for formatting when encoding, if needed.
43 | public static var defaultUtility: PhoneNumberUtilityProvider = { .init() }
| |- warning: static property 'defaultUtility' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultUtility' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultUtility' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/PhoneNumberKit/PhoneNumber+Codable.swift:43:71: warning: 'init(metadataCallback:)' is deprecated: PhoneNumberKit has moved to github.com/PhoneNumberKit/PhoneNumberKit and is no longer maintained here. See the README to migrate.
41 | public enum PhoneNumberEncodingUtils {
42 | /// The default ``PhoneNumberUtility`` instance used for formatting when encoding, if needed.
43 | public static var defaultUtility: PhoneNumberUtilityProvider = { .init() }
| `- warning: 'init(metadataCallback:)' is deprecated: PhoneNumberKit has moved to github.com/PhoneNumberKit/PhoneNumberKit and is no longer maintained here. See the README to migrate.
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/PhoneNumberKit/PhoneNumber+Codable.swift:53:54: warning: type 'PhoneNumberDecodingStrategy' does not conform to the 'Sendable' protocol
10 |
11 | /// The strategy used to decode a ``PhoneNumber`` value.
12 | public enum PhoneNumberDecodingStrategy {
| `- note: consider making enum 'PhoneNumberDecodingStrategy' conform to the 'Sendable' protocol
13 | /// Decode ``PhoneNumber`` properties as key-value pairs. This is the default strategy.
14 | case properties
:
51 | }
52 | set {
53 | userInfo[.phoneNumberDecodingStrategy] = newValue
| `- warning: type 'PhoneNumberDecodingStrategy' does not conform to the 'Sendable' protocol
54 | }
55 | }
/Users/admin/builder/spi-builder-workspace/PhoneNumberKit/PhoneNumber+Codable.swift:63:45: warning: type '() -> PhoneNumberUtility' does not conform to the 'Sendable' protocol
61 | }
62 | set {
63 | userInfo[.phoneNumberUtility] = newValue
| |- warning: type '() -> PhoneNumberUtility' does not conform to the 'Sendable' protocol
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
64 | }
65 | }
/Users/admin/builder/spi-builder-workspace/PhoneNumberKit/PhoneNumber+Codable.swift:75:54: warning: type 'PhoneNumberEncodingStrategy' does not conform to the 'Sendable' protocol
20 |
21 | /// The strategy used to encode a ``PhoneNumber`` value.
22 | public enum PhoneNumberEncodingStrategy {
| `- note: consider making enum 'PhoneNumberEncodingStrategy' conform to the 'Sendable' protocol
23 | /// Encode ``PhoneNumber`` properties as key-value pairs. This is the default strategy.
24 | case properties
:
73 | }
74 | set {
75 | userInfo[.phoneNumberEncodingStrategy] = newValue
| `- warning: type 'PhoneNumberEncodingStrategy' does not conform to the 'Sendable' protocol
76 | }
77 | }
/Users/admin/builder/spi-builder-workspace/PhoneNumberKit/PhoneNumber+Codable.swift:85:45: warning: type '() -> PhoneNumberUtility' does not conform to the 'Sendable' protocol
83 | }
84 | set {
85 | userInfo[.phoneNumberUtility] = newValue
| |- warning: type '() -> PhoneNumberUtility' does not conform to the 'Sendable' protocol
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
86 | }
87 | }
[24/31] Compiling PhoneNumberKit PhoneNumberParser.swift
/Users/admin/builder/spi-builder-workspace/PhoneNumberKit/PhoneNumberUtility.swift:25:23: warning: static property 'canUseContactsFramework' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// When true, use the countryCode from the Contacts framework if the framework is available. Has no effect when Contacts framework is not available. Must be set before calling other methods in this class.
25 | static public var canUseContactsFramework = true
| |- warning: static property 'canUseContactsFramework' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'canUseContactsFramework' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'canUseContactsFramework' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | // MARK: Lifecycle
[25/31] Compiling PhoneNumberKit PhoneNumberUtility.swift
/Users/admin/builder/spi-builder-workspace/PhoneNumberKit/PhoneNumberUtility.swift:25:23: warning: static property 'canUseContactsFramework' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// When true, use the countryCode from the Contacts framework if the framework is available. Has no effect when Contacts framework is not available. Must be set before calling other methods in this class.
25 | static public var canUseContactsFramework = true
| |- warning: static property 'canUseContactsFramework' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'canUseContactsFramework' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'canUseContactsFramework' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | // MARK: Lifecycle
[26/31] Compiling PhoneNumberKit NSRegularExpression+Swift.swift
[27/31] Compiling PhoneNumberKit ParseManager.swift
[27/31] Write Objects.LinkFileList
[29/31] Archiving libPhoneNumberKit-Static.a
[30/31] Linking libPhoneNumberKit-Dynamic.dylib
Build complete! (5.87s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "PhoneNumberKit",
"name" : "PhoneNumberKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "4.0"
}
],
"products" : [
{
"name" : "PhoneNumberKit",
"targets" : [
"PhoneNumberKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "PhoneNumberKit-Static",
"targets" : [
"PhoneNumberKit"
],
"type" : {
"library" : [
"static"
]
}
},
{
"name" : "PhoneNumberKit-Dynamic",
"targets" : [
"PhoneNumberKit"
],
"type" : {
"library" : [
"dynamic"
]
}
}
],
"targets" : [
{
"c99name" : "PhoneNumberKitTests",
"module_type" : "SwiftTarget",
"name" : "PhoneNumberKitTests",
"path" : "PhoneNumberKitTests",
"sources" : [
"PartialFormatterTests.swift",
"PhoneNumber+CodableTests.swift",
"PhoneNumberTextFieldTests.swift",
"PhoneNumberUtilityParsingTests.swift",
"PhoneNumberUtilityTests.swift"
],
"target_dependencies" : [
"PhoneNumberKit"
],
"type" : "test"
},
{
"c99name" : "PhoneNumberKit",
"module_type" : "SwiftTarget",
"name" : "PhoneNumberKit",
"path" : "PhoneNumberKit",
"product_memberships" : [
"PhoneNumberKit",
"PhoneNumberKit-Static",
"PhoneNumberKit-Dynamic"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/PhoneNumberKit/Resources/PhoneNumberMetadata.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/PhoneNumberKit/Resources/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Bundle+Resources.swift",
"Constants.swift",
"Formatter.swift",
"MetadataManager.swift",
"MetadataParsing.swift",
"MetadataTypes.swift",
"NSRegularExpression+Swift.swift",
"ParseManager.swift",
"PartialFormatter.swift",
"PhoneNumber+Codable.swift",
"PhoneNumber.swift",
"PhoneNumberFormatter.swift",
"PhoneNumberParser.swift",
"PhoneNumberUtility.swift",
"RegexManager.swift",
"UI/CountryCodePickerOptions.swift",
"UI/CountryCodePickerSectionHeaderView.swift",
"UI/CountryCodePickerTableViewCell.swift",
"UI/CountryCodePickerViewController.swift",
"UI/PhoneNumberTextField.swift",
"UI/PhoneNumberTextFieldDelegate.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.