The Swift Package Index logo.Swift Package Index

Build Information

Failed to build InputFence, reference v1.0.0 (c2e513), with Swift 6.1 for Wasm on 23 Aug 2025 05:58:18 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PalmeiraLabs/InputFence.git
Reference: v1.0.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/PalmeiraLabs/InputFence
 * tag               v1.0.0     -> FETCH_HEAD
HEAD is now at c2e5137 Add full documentation.
Cloned https://github.com/PalmeiraLabs/InputFence.git
Revision (git rev-parse @):
c2e5137a94367026d727f7c386d1f37fbaf31f35
SUCCESS checkout https://github.com/PalmeiraLabs/InputFence.git at v1.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/PalmeiraLabs/InputFence.git
https://github.com/PalmeiraLabs/InputFence.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.1.0 but the installed version is 6.0.2
error: fatalError
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/marmelroy/PhoneNumberKit.git
[1/7113] Fetching phonenumberkit
Fetched https://github.com/marmelroy/PhoneNumberKit.git from cache (1.40s)
Computing version for https://github.com/marmelroy/PhoneNumberKit.git
Computed https://github.com/marmelroy/PhoneNumberKit.git at 3.8.0 (3.74s)
Creating working copy for https://github.com/marmelroy/PhoneNumberKit.git
Working copy of https://github.com/marmelroy/PhoneNumberKit.git resolved at 3.8.0
Building for debugging...
[0/5] Write sources
[1/5] Copying PrivacyInfo.xcprivacy
[3/5] Copying PhoneNumberMetadata.json
[4/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/23] Emitting module PhoneNumberKit
/host/spi-builder-workspace/.build/checkouts/PhoneNumberKit/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/.build/checkouts/PhoneNumberKit/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/25] Compiling PhoneNumberKit CountryCodePickerOptions.swift
[8/25] Compiling PhoneNumberKit CountryCodePickerViewController.swift
[9/25] Compiling PhoneNumberKit PhoneNumberFormatter.swift
/host/spi-builder-workspace/.build/checkouts/PhoneNumberKit/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/.build/checkouts/PhoneNumberKit/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/25] Compiling PhoneNumberKit PhoneNumberKit.swift
/host/spi-builder-workspace/.build/checkouts/PhoneNumberKit/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/.build/checkouts/PhoneNumberKit/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/25] Compiling PhoneNumberKit MetadataManager.swift
[12/25] Compiling PhoneNumberKit MetadataParsing.swift
[13/25] Compiling PhoneNumberKit MetadataTypes.swift
[14/25] Compiling PhoneNumberKit Bundle+Resources.swift
[15/25] Compiling PhoneNumberKit Constants.swift
[16/25] Compiling PhoneNumberKit Formatter.swift
[17/25] Compiling PhoneNumberKit PhoneNumber+Codable.swift
[18/25] Compiling PhoneNumberKit PhoneNumber.swift
[19/25] Compiling PhoneNumberKit PhoneNumberParser.swift
/host/spi-builder-workspace/.build/checkouts/PhoneNumberKit/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/.build/checkouts/PhoneNumberKit/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
[20/25] Compiling PhoneNumberKit RegexManager.swift
/host/spi-builder-workspace/.build/checkouts/PhoneNumberKit/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/.build/checkouts/PhoneNumberKit/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
[21/25] Compiling PhoneNumberKit PhoneNumberTextField.swift
[22/25] Compiling PhoneNumberKit resource_bundle_accessor.swift
[23/25] Compiling PhoneNumberKit NSRegularExpression+Swift.swift
/host/spi-builder-workspace/.build/checkouts/PhoneNumberKit/PhoneNumberKit/ParseManager.swift:108:13: error: cannot find 'DispatchQueue' in scope
106 |
107 |         var multiParseArray = [PhoneNumber](unsafeUninitializedCapacity: numberStrings.count) { buffer, initializedCount in
108 |             DispatchQueue.concurrentPerform(iterations: numberStrings.count) { [buffer] index in
    |             `- error: cannot find 'DispatchQueue' in scope
109 |                 let numberString = numberStrings[index]
110 |                 do {
/host/spi-builder-workspace/.build/checkouts/PhoneNumberKit/PhoneNumberKit/ParseManager.swift:108:89: error: cannot infer type of closure parameter 'index' without a type annotation
106 |
107 |         var multiParseArray = [PhoneNumber](unsafeUninitializedCapacity: numberStrings.count) { buffer, initializedCount in
108 |             DispatchQueue.concurrentPerform(iterations: numberStrings.count) { [buffer] index in
    |                                                                                         `- error: cannot infer type of closure parameter 'index' without a type annotation
109 |                 let numberString = numberStrings[index]
110 |                 do {
/host/spi-builder-workspace/.build/checkouts/PhoneNumberKit/PhoneNumberKit/ParseManager.swift:122:68: error: cannot infer contextual base in reference to member 'notParsed'
120 |
121 |         if hasError, !shouldReturnFailedEmptyNumbers {
122 |             multiParseArray = multiParseArray.filter { $0.type != .notParsed }
    |                                                                    `- error: cannot infer contextual base in reference to member 'notParsed'
123 |         }
124 |
[24/25] Compiling PhoneNumberKit ParseManager.swift
/host/spi-builder-workspace/.build/checkouts/PhoneNumberKit/PhoneNumberKit/ParseManager.swift:108:13: error: cannot find 'DispatchQueue' in scope
106 |
107 |         var multiParseArray = [PhoneNumber](unsafeUninitializedCapacity: numberStrings.count) { buffer, initializedCount in
108 |             DispatchQueue.concurrentPerform(iterations: numberStrings.count) { [buffer] index in
    |             `- error: cannot find 'DispatchQueue' in scope
109 |                 let numberString = numberStrings[index]
110 |                 do {
/host/spi-builder-workspace/.build/checkouts/PhoneNumberKit/PhoneNumberKit/ParseManager.swift:108:89: error: cannot infer type of closure parameter 'index' without a type annotation
106 |
107 |         var multiParseArray = [PhoneNumber](unsafeUninitializedCapacity: numberStrings.count) { buffer, initializedCount in
108 |             DispatchQueue.concurrentPerform(iterations: numberStrings.count) { [buffer] index in
    |                                                                                         `- error: cannot infer type of closure parameter 'index' without a type annotation
109 |                 let numberString = numberStrings[index]
110 |                 do {
/host/spi-builder-workspace/.build/checkouts/PhoneNumberKit/PhoneNumberKit/ParseManager.swift:122:68: error: cannot infer contextual base in reference to member 'notParsed'
120 |
121 |         if hasError, !shouldReturnFailedEmptyNumbers {
122 |             multiParseArray = multiParseArray.filter { $0.type != .notParsed }
    |                                                                    `- error: cannot infer contextual base in reference to member 'notParsed'
123 |         }
124 |
[25/25] Compiling PhoneNumberKit PartialFormatter.swift
/host/spi-builder-workspace/.build/checkouts/PhoneNumberKit/PhoneNumberKit/ParseManager.swift:108:13: error: cannot find 'DispatchQueue' in scope
106 |
107 |         var multiParseArray = [PhoneNumber](unsafeUninitializedCapacity: numberStrings.count) { buffer, initializedCount in
108 |             DispatchQueue.concurrentPerform(iterations: numberStrings.count) { [buffer] index in
    |             `- error: cannot find 'DispatchQueue' in scope
109 |                 let numberString = numberStrings[index]
110 |                 do {
/host/spi-builder-workspace/.build/checkouts/PhoneNumberKit/PhoneNumberKit/ParseManager.swift:108:89: error: cannot infer type of closure parameter 'index' without a type annotation
106 |
107 |         var multiParseArray = [PhoneNumber](unsafeUninitializedCapacity: numberStrings.count) { buffer, initializedCount in
108 |             DispatchQueue.concurrentPerform(iterations: numberStrings.count) { [buffer] index in
    |                                                                                         `- error: cannot infer type of closure parameter 'index' without a type annotation
109 |                 let numberString = numberStrings[index]
110 |                 do {
/host/spi-builder-workspace/.build/checkouts/PhoneNumberKit/PhoneNumberKit/ParseManager.swift:122:68: error: cannot infer contextual base in reference to member 'notParsed'
120 |
121 |         if hasError, !shouldReturnFailedEmptyNumbers {
122 |             multiParseArray = multiParseArray.filter { $0.type != .notParsed }
    |                                                                    `- error: cannot infer contextual base in reference to member 'notParsed'
123 |         }
124 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
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/1] Write swift-version-24593BA9C3E375BF.txt
[2/19] Compiling PhoneNumberKit PhoneNumberParser.swift
/host/spi-builder-workspace/.build/checkouts/PhoneNumberKit/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/.build/checkouts/PhoneNumberKit/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
[3/19] Compiling PhoneNumberKit RegexManager.swift
/host/spi-builder-workspace/.build/checkouts/PhoneNumberKit/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/.build/checkouts/PhoneNumberKit/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
[4/21] Compiling PhoneNumberKit CountryCodePickerOptions.swift
[5/21] Compiling PhoneNumberKit CountryCodePickerViewController.swift
[6/21] Compiling PhoneNumberKit PhoneNumber+Codable.swift
[7/21] Compiling PhoneNumberKit PhoneNumber.swift
[8/21] Compiling PhoneNumberKit PhoneNumberFormatter.swift
/host/spi-builder-workspace/.build/checkouts/PhoneNumberKit/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/.build/checkouts/PhoneNumberKit/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
[9/21] Compiling PhoneNumberKit PhoneNumberKit.swift
/host/spi-builder-workspace/.build/checkouts/PhoneNumberKit/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/.build/checkouts/PhoneNumberKit/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/21] Compiling PhoneNumberKit NSRegularExpression+Swift.swift
/host/spi-builder-workspace/.build/checkouts/PhoneNumberKit/PhoneNumberKit/ParseManager.swift:108:13: error: cannot find 'DispatchQueue' in scope
106 |
107 |         var multiParseArray = [PhoneNumber](unsafeUninitializedCapacity: numberStrings.count) { buffer, initializedCount in
108 |             DispatchQueue.concurrentPerform(iterations: numberStrings.count) { [buffer] index in
    |             `- error: cannot find 'DispatchQueue' in scope
109 |                 let numberString = numberStrings[index]
110 |                 do {
/host/spi-builder-workspace/.build/checkouts/PhoneNumberKit/PhoneNumberKit/ParseManager.swift:108:89: error: cannot infer type of closure parameter 'index' without a type annotation
106 |
107 |         var multiParseArray = [PhoneNumber](unsafeUninitializedCapacity: numberStrings.count) { buffer, initializedCount in
108 |             DispatchQueue.concurrentPerform(iterations: numberStrings.count) { [buffer] index in
    |                                                                                         `- error: cannot infer type of closure parameter 'index' without a type annotation
109 |                 let numberString = numberStrings[index]
110 |                 do {
/host/spi-builder-workspace/.build/checkouts/PhoneNumberKit/PhoneNumberKit/ParseManager.swift:122:68: error: cannot infer contextual base in reference to member 'notParsed'
120 |
121 |         if hasError, !shouldReturnFailedEmptyNumbers {
122 |             multiParseArray = multiParseArray.filter { $0.type != .notParsed }
    |                                                                    `- error: cannot infer contextual base in reference to member 'notParsed'
123 |         }
124 |
[11/21] Compiling PhoneNumberKit ParseManager.swift
/host/spi-builder-workspace/.build/checkouts/PhoneNumberKit/PhoneNumberKit/ParseManager.swift:108:13: error: cannot find 'DispatchQueue' in scope
106 |
107 |         var multiParseArray = [PhoneNumber](unsafeUninitializedCapacity: numberStrings.count) { buffer, initializedCount in
108 |             DispatchQueue.concurrentPerform(iterations: numberStrings.count) { [buffer] index in
    |             `- error: cannot find 'DispatchQueue' in scope
109 |                 let numberString = numberStrings[index]
110 |                 do {
/host/spi-builder-workspace/.build/checkouts/PhoneNumberKit/PhoneNumberKit/ParseManager.swift:108:89: error: cannot infer type of closure parameter 'index' without a type annotation
106 |
107 |         var multiParseArray = [PhoneNumber](unsafeUninitializedCapacity: numberStrings.count) { buffer, initializedCount in
108 |             DispatchQueue.concurrentPerform(iterations: numberStrings.count) { [buffer] index in
    |                                                                                         `- error: cannot infer type of closure parameter 'index' without a type annotation
109 |                 let numberString = numberStrings[index]
110 |                 do {
/host/spi-builder-workspace/.build/checkouts/PhoneNumberKit/PhoneNumberKit/ParseManager.swift:122:68: error: cannot infer contextual base in reference to member 'notParsed'
120 |
121 |         if hasError, !shouldReturnFailedEmptyNumbers {
122 |             multiParseArray = multiParseArray.filter { $0.type != .notParsed }
    |                                                                    `- error: cannot infer contextual base in reference to member 'notParsed'
123 |         }
124 |
[12/21] Compiling PhoneNumberKit PartialFormatter.swift
/host/spi-builder-workspace/.build/checkouts/PhoneNumberKit/PhoneNumberKit/ParseManager.swift:108:13: error: cannot find 'DispatchQueue' in scope
106 |
107 |         var multiParseArray = [PhoneNumber](unsafeUninitializedCapacity: numberStrings.count) { buffer, initializedCount in
108 |             DispatchQueue.concurrentPerform(iterations: numberStrings.count) { [buffer] index in
    |             `- error: cannot find 'DispatchQueue' in scope
109 |                 let numberString = numberStrings[index]
110 |                 do {
/host/spi-builder-workspace/.build/checkouts/PhoneNumberKit/PhoneNumberKit/ParseManager.swift:108:89: error: cannot infer type of closure parameter 'index' without a type annotation
106 |
107 |         var multiParseArray = [PhoneNumber](unsafeUninitializedCapacity: numberStrings.count) { buffer, initializedCount in
108 |             DispatchQueue.concurrentPerform(iterations: numberStrings.count) { [buffer] index in
    |                                                                                         `- error: cannot infer type of closure parameter 'index' without a type annotation
109 |                 let numberString = numberStrings[index]
110 |                 do {
/host/spi-builder-workspace/.build/checkouts/PhoneNumberKit/PhoneNumberKit/ParseManager.swift:122:68: error: cannot infer contextual base in reference to member 'notParsed'
120 |
121 |         if hasError, !shouldReturnFailedEmptyNumbers {
122 |             multiParseArray = multiParseArray.filter { $0.type != .notParsed }
    |                                                                    `- error: cannot infer contextual base in reference to member 'notParsed'
123 |         }
124 |
[13/21] Compiling PhoneNumberKit PhoneNumberTextField.swift
[14/21] Compiling PhoneNumberKit resource_bundle_accessor.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/21] Compiling PhoneNumberKit Bundle+Resources.swift
[16/21] Compiling PhoneNumberKit Constants.swift
[17/21] Compiling PhoneNumberKit Formatter.swift
[18/21] Emitting module PhoneNumberKit
/host/spi-builder-workspace/.build/checkouts/PhoneNumberKit/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/.build/checkouts/PhoneNumberKit/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
[19/21] Compiling PhoneNumberKit MetadataManager.swift
[20/21] Compiling PhoneNumberKit MetadataParsing.swift
[21/21] Compiling PhoneNumberKit MetadataTypes.swift
BUILD FAILURE 6.1 wasm