Build Information
Failed to build PhoneNumberKit, reference 4.2.11 (840ca3), with Swift 6.1 for Wasm on 27 Apr 2026 16:29:59 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/marmelroy/PhoneNumberKit.git
Reference: 4.2.11
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/marmelroy/PhoneNumberKit
* tag 4.2.11 -> FETCH_HEAD
HEAD is now at 840ca3a Release 4.2.11
Cloned https://github.com/marmelroy/PhoneNumberKit.git
Revision (git rev-parse @):
840ca3a89ced1a190e20ac93666ff3cdb376c973
SUCCESS checkout https://github.com/marmelroy/PhoneNumberKit.git at 4.2.11
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/marmelroy/PhoneNumberKit.git
https://github.com/marmelroy/PhoneNumberKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Building for debugging...
[0/9] Copying PrivacyInfo.xcprivacy
[0/9] Write sources
[0/9] Copying PhoneNumberMetadata.json
[3/9] Write swift-version-24593BA9C3E375BF.txt
[5/30] Compiling PhoneNumberKit CountryCodePickerOptions.swift
[6/30] Compiling PhoneNumberKit CountryCodePickerSectionHeaderView.swift
[7/30] Compiling PhoneNumberKit CountryCodePickerTableViewCell.swift
[8/30] Compiling PhoneNumberKit CountryCodePickerViewController.swift
[9/30] Compiling PhoneNumberKit PhoneNumberTextField.swift
[10/32] Compiling PhoneNumberKit PhoneNumberTextFieldDelegate.swift
[11/32] Compiling PhoneNumberKit resource_bundle_accessor.swift
[12/32] Emitting module PhoneNumberKit
/host/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"
/host/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 |
/host/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 |
/host/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 |
/host/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 |
/host/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
[13/32] Compiling PhoneNumberKit Bundle+Resources.swift
/host/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"
[14/32] Compiling PhoneNumberKit Constants.swift
/host/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/32] Compiling PhoneNumberKit Formatter.swift
/host/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/32] Compiling PhoneNumberKit NSRegularExpression+Swift.swift
[17/32] Compiling PhoneNumberKit ParseManager.swift
[18/32] Compiling PhoneNumberKit PartialFormatter.swift
[19/32] Compiling PhoneNumberKit PhoneNumber+Codable.swift
/host/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 |
/host/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 |
/host/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 |
/host/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 |
[20/32] Compiling PhoneNumberKit PhoneNumber.swift
/host/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 |
/host/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 |
/host/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 |
/host/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 |
[21/32] Compiling PhoneNumberKit PhoneNumberFormatter.swift
/host/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 |
/host/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 |
/host/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 |
/host/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 |
[22/32] Compiling PhoneNumberKit MetadataManager.swift
[23/32] Compiling PhoneNumberKit MetadataParsing.swift
[24/32] Compiling PhoneNumberKit MetadataTypes.swift
[25/32] Compiling PhoneNumberKit PhoneNumberParser.swift
/host/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/32] Compiling PhoneNumberKit PhoneNumberUtility.swift
/host/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
[27/32] Compiling PhoneNumberKit RegexManager.swift
/host/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
[28/33] Wrapping AST for PhoneNumberKit for debugging
[29/33] Write Objects.LinkFileList
[31/33] Archiving libPhoneNumberKit-Static.a
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[32/33] Linking libPhoneNumberKit-Dynamic.wasm
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/5] Write swift-version-24593BA9C3E375BF.txt
[2/26] Compiling PhoneNumberKit CountryCodePickerOptions.swift
[3/26] Compiling PhoneNumberKit CountryCodePickerSectionHeaderView.swift
[4/26] Compiling PhoneNumberKit CountryCodePickerTableViewCell.swift
[5/26] Compiling PhoneNumberKit CountryCodePickerViewController.swift
[6/26] Compiling PhoneNumberKit PhoneNumberTextField.swift
[7/28] Compiling PhoneNumberKit PhoneNumberTextFieldDelegate.swift
[8/28] Compiling PhoneNumberKit resource_bundle_accessor.swift
[9/28] Emitting module PhoneNumberKit
[10/28] Compiling PhoneNumberKit NSRegularExpression+Swift.swift
[11/28] Compiling PhoneNumberKit ParseManager.swift
[12/28] Compiling PhoneNumberKit PartialFormatter.swift
[13/28] Compiling PhoneNumberKit PhoneNumber+Codable.swift
[14/28] Compiling PhoneNumberKit PhoneNumber.swift
[15/28] Compiling PhoneNumberKit PhoneNumberFormatter.swift
[16/28] Compiling PhoneNumberKit PhoneNumberParser.swift
[17/28] Compiling PhoneNumberKit PhoneNumberUtility.swift
[18/28] Compiling PhoneNumberKit RegexManager.swift
[19/28] Compiling PhoneNumberKit Bundle+Resources.swift
[20/28] Compiling PhoneNumberKit Constants.swift
[21/28] Compiling PhoneNumberKit Formatter.swift
[22/28] Compiling PhoneNumberKit MetadataManager.swift
[23/28] Compiling PhoneNumberKit MetadataParsing.swift
[24/28] Compiling PhoneNumberKit MetadataTypes.swift
[25/30] Wrapping AST for PhoneNumberKit for debugging
[26/30] Write Objects.LinkFileList
[28/30] Archiving libPhoneNumberKit-Static.a
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[29/30] Linking libPhoneNumberKit-Dynamic.wasm
BUILD FAILURE 6.1 wasm