The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build PhoneNumberKit, reference 4.1.0 (24af4d), with Swift 6.1 for Wasm on 11 Jun 2025 21:33:50 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/marmelroy/PhoneNumberKit.git
Reference: 4.1.0
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.1.0      -> FETCH_HEAD
HEAD is now at 24af4d5 Release 4.1.0
Cloned https://github.com/marmelroy/PhoneNumberKit.git
Revision (git rev-parse @):
24af4d5147fc42e97cb6cb3761d5d9933d41c240
SUCCESS checkout https://github.com/marmelroy/PhoneNumberKit.git at 4.1.0
========================================
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
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PhoneNumberKit",
  "name" : "PhoneNumberKit",
  "path" : "/host/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" : "/host/spi-builder-workspace/PhoneNumberKit/Resources/PhoneNumberMetadata.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/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/CountryCodePickerViewController.swift",
        "UI/PhoneNumberTextField.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/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 finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/9] Copying PhoneNumberMetadata.json
[1/9] Copying PrivacyInfo.xcprivacy
[1/9] Write sources
[3/9] Write swift-version-24593BA9C3E375BF.txt
[5/27] Compiling PhoneNumberKit CountryCodePickerOptions.swift
[6/27] Compiling PhoneNumberKit CountryCodePickerViewController.swift
[7/29] Compiling PhoneNumberKit PhoneNumberTextField.swift
[8/29] Compiling PhoneNumberKit resource_bundle_accessor.swift
[9/29] Compiling PhoneNumberKit PhoneNumberUtility.swift
/host/spi-builder-workspace/PhoneNumberKit/RegexManager.swift:22:46: error: cannot find 'DispatchQueue' in scope
 20 |     var regularExpressionPool = [String: NSRegularExpression]()
 21 |
 22 |     private let regularExpressionPoolQueue = DispatchQueue(label: "com.phonenumberkit.regexpool", target: .global())
    |                                              `- error: cannot find 'DispatchQueue' in scope
 23 |
 24 |     var spaceCharacterSet: CharacterSet
/host/spi-builder-workspace/PhoneNumberKit/RegexManager.swift:22:108: error: cannot infer contextual base in reference to member 'global'
 20 |     var regularExpressionPool = [String: NSRegularExpression]()
 21 |
 22 |     private let regularExpressionPoolQueue = DispatchQueue(label: "com.phonenumberkit.regexpool", target: .global())
    |                                                                                                            `- error: cannot infer contextual base in reference to member 'global'
 23 |
 24 |     var spaceCharacterSet: CharacterSet
[10/29] Compiling PhoneNumberKit RegexManager.swift
/host/spi-builder-workspace/PhoneNumberKit/RegexManager.swift:22:46: error: cannot find 'DispatchQueue' in scope
 20 |     var regularExpressionPool = [String: NSRegularExpression]()
 21 |
 22 |     private let regularExpressionPoolQueue = DispatchQueue(label: "com.phonenumberkit.regexpool", target: .global())
    |                                              `- error: cannot find 'DispatchQueue' in scope
 23 |
 24 |     var spaceCharacterSet: CharacterSet
/host/spi-builder-workspace/PhoneNumberKit/RegexManager.swift:22:108: error: cannot infer contextual base in reference to member 'global'
 20 |     var regularExpressionPool = [String: NSRegularExpression]()
 21 |
 22 |     private let regularExpressionPoolQueue = DispatchQueue(label: "com.phonenumberkit.regexpool", target: .global())
    |                                                                                                            `- error: cannot infer contextual base in reference to member 'global'
 23 |
 24 |     var spaceCharacterSet: CharacterSet
[11/29] 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"
[12/29] 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"
[13/29] 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"
[14/29] Compiling PhoneNumberKit MetadataManager.swift
[15/29] Compiling PhoneNumberKit MetadataParsing.swift
[16/29] Compiling PhoneNumberKit MetadataTypes.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/29] 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:33: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
 31 | public enum PhoneNumberDecodingUtils {
 32 |     /// The default `PhoneNumberUtility` instance used for parsing when decoding, if needed.
 33 |     public static var defaultUtility: () -> PhoneNumberUtility = { .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
 34 | }
 35 |
/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 PhoneNumberEncodingUtils {
 37 |     /// The default `PhoneNumberUtility` instance used for formatting when encoding, if needed.
 38 |     public static var defaultUtility: () -> PhoneNumberUtility = { .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/RegexManager.swift:22:46: error: cannot find 'DispatchQueue' in scope
 20 |     var regularExpressionPool = [String: NSRegularExpression]()
 21 |
 22 |     private let regularExpressionPoolQueue = DispatchQueue(label: "com.phonenumberkit.regexpool", target: .global())
    |                                              `- error: cannot find 'DispatchQueue' in scope
 23 |
 24 |     var spaceCharacterSet: CharacterSet
/host/spi-builder-workspace/PhoneNumberKit/RegexManager.swift:22:108: error: cannot infer contextual base in reference to member 'global'
 20 |     var regularExpressionPool = [String: NSRegularExpression]()
 21 |
 22 |     private let regularExpressionPoolQueue = DispatchQueue(label: "com.phonenumberkit.regexpool", target: .global())
    |                                                                                                            `- error: cannot infer contextual base in reference to member 'global'
 23 |
 24 |     var spaceCharacterSet: CharacterSet
[18/29] 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:33: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
 31 | public enum PhoneNumberDecodingUtils {
 32 |     /// The default `PhoneNumberUtility` instance used for parsing when decoding, if needed.
 33 |     public static var defaultUtility: () -> PhoneNumberUtility = { .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
 34 | }
 35 |
/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 PhoneNumberEncodingUtils {
 37 |     /// The default `PhoneNumberUtility` instance used for formatting when encoding, if needed.
 38 |     public static var defaultUtility: () -> PhoneNumberUtility = { .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 |
[19/29] 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:33: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
 31 | public enum PhoneNumberDecodingUtils {
 32 |     /// The default `PhoneNumberUtility` instance used for parsing when decoding, if needed.
 33 |     public static var defaultUtility: () -> PhoneNumberUtility = { .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
 34 | }
 35 |
/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 PhoneNumberEncodingUtils {
 37 |     /// The default `PhoneNumberUtility` instance used for formatting when encoding, if needed.
 38 |     public static var defaultUtility: () -> PhoneNumberUtility = { .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 |
[20/29] Compiling PhoneNumberKit PhoneNumberFormatter.swift
[21/29] Compiling PhoneNumberKit PhoneNumberParser.swift
[22/29] Compiling PhoneNumberKit NSRegularExpression+Swift.swift
[23/29] Compiling PhoneNumberKit ParseManager.swift
[24/29] Compiling PhoneNumberKit PartialFormatter.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/6] Write swift-version-24593BA9C3E375BF.txt
[2/24] Compiling PhoneNumberKit CountryCodePickerOptions.swift
[3/24] Compiling PhoneNumberKit CountryCodePickerViewController.swift
[4/26] Compiling PhoneNumberKit PhoneNumberUtility.swift
/host/spi-builder-workspace/PhoneNumberKit/RegexManager.swift:22:46: error: cannot find 'DispatchQueue' in scope
 20 |     var regularExpressionPool = [String: NSRegularExpression]()
 21 |
 22 |     private let regularExpressionPoolQueue = DispatchQueue(label: "com.phonenumberkit.regexpool", target: .global())
    |                                              `- error: cannot find 'DispatchQueue' in scope
 23 |
 24 |     var spaceCharacterSet: CharacterSet
/host/spi-builder-workspace/PhoneNumberKit/RegexManager.swift:22:108: error: cannot infer contextual base in reference to member 'global'
 20 |     var regularExpressionPool = [String: NSRegularExpression]()
 21 |
 22 |     private let regularExpressionPoolQueue = DispatchQueue(label: "com.phonenumberkit.regexpool", target: .global())
    |                                                                                                            `- error: cannot infer contextual base in reference to member 'global'
 23 |
 24 |     var spaceCharacterSet: CharacterSet
[5/26] Compiling PhoneNumberKit RegexManager.swift
/host/spi-builder-workspace/PhoneNumberKit/RegexManager.swift:22:46: error: cannot find 'DispatchQueue' in scope
 20 |     var regularExpressionPool = [String: NSRegularExpression]()
 21 |
 22 |     private let regularExpressionPoolQueue = DispatchQueue(label: "com.phonenumberkit.regexpool", target: .global())
    |                                              `- error: cannot find 'DispatchQueue' in scope
 23 |
 24 |     var spaceCharacterSet: CharacterSet
/host/spi-builder-workspace/PhoneNumberKit/RegexManager.swift:22:108: error: cannot infer contextual base in reference to member 'global'
 20 |     var regularExpressionPool = [String: NSRegularExpression]()
 21 |
 22 |     private let regularExpressionPoolQueue = DispatchQueue(label: "com.phonenumberkit.regexpool", target: .global())
    |                                                                                                            `- error: cannot infer contextual base in reference to member 'global'
 23 |
 24 |     var spaceCharacterSet: CharacterSet
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/26] Emitting module PhoneNumberKit
/host/spi-builder-workspace/PhoneNumberKit/RegexManager.swift:22:46: error: cannot find 'DispatchQueue' in scope
 20 |     var regularExpressionPool = [String: NSRegularExpression]()
 21 |
 22 |     private let regularExpressionPoolQueue = DispatchQueue(label: "com.phonenumberkit.regexpool", target: .global())
    |                                              `- error: cannot find 'DispatchQueue' in scope
 23 |
 24 |     var spaceCharacterSet: CharacterSet
/host/spi-builder-workspace/PhoneNumberKit/RegexManager.swift:22:108: error: cannot infer contextual base in reference to member 'global'
 20 |     var regularExpressionPool = [String: NSRegularExpression]()
 21 |
 22 |     private let regularExpressionPoolQueue = DispatchQueue(label: "com.phonenumberkit.regexpool", target: .global())
    |                                                                                                            `- error: cannot infer contextual base in reference to member 'global'
 23 |
 24 |     var spaceCharacterSet: CharacterSet
[7/26] Compiling PhoneNumberKit PhoneNumberTextField.swift
[8/26] Compiling PhoneNumberKit resource_bundle_accessor.swift
[9/26] Compiling PhoneNumberKit PhoneNumberFormatter.swift
[10/26] Compiling PhoneNumberKit PhoneNumberParser.swift
[11/26] Compiling PhoneNumberKit PhoneNumber+Codable.swift
[12/26] Compiling PhoneNumberKit PhoneNumber.swift
[13/26] Compiling PhoneNumberKit Bundle+Resources.swift
[14/26] Compiling PhoneNumberKit Constants.swift
[15/26] Compiling PhoneNumberKit Formatter.swift
[16/26] Compiling PhoneNumberKit NSRegularExpression+Swift.swift
[17/26] Compiling PhoneNumberKit ParseManager.swift
[18/26] Compiling PhoneNumberKit PartialFormatter.swift
[19/26] Compiling PhoneNumberKit MetadataManager.swift
[20/26] Compiling PhoneNumberKit MetadataParsing.swift
[21/26] Compiling PhoneNumberKit MetadataTypes.swift
BUILD FAILURE 6.1 wasm