Build Information
Successful build of w3w-swift-wrapper, reference v4.0.2 (3c0115
), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 21:00:10 UTC.
Swift 6 data race errors: 3
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 InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/what3words/w3w-swift-wrapper.git
Reference: v4.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/what3words/w3w-swift-wrapper
* tag v4.0.2 -> FETCH_HEAD
HEAD is now at 3c01152 Merge pull request #18 from what3words/staging
Cloned https://github.com/what3words/w3w-swift-wrapper.git
Revision (git rev-parse @):
3c01152aa316b7a9714f038b34a8adb4adeb7c4a
SUCCESS checkout https://github.com/what3words/w3w-swift-wrapper.git at v4.0.2
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/what3words/w3w-swift-wrapper.git
https://github.com/what3words/w3w-swift-wrapper.git
{
"dependencies" : [
{
"identity" : "w3w-swift-core",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/what3words/w3w-swift-core.git"
},
{
"identity" : "w3w-swift-voice-api",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/what3words/w3w-swift-voice-api.git"
}
],
"manifest_display_name" : "w3w-swift-wrapper",
"name" : "w3w-swift-wrapper",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "tvos",
"version" : "10.0"
},
{
"name" : "watchos",
"version" : "2.0"
}
],
"products" : [
{
"name" : "W3WSwiftApi",
"targets" : [
"W3WSwiftApi"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "w3w_swift_wrapperTests",
"module_type" : "SwiftTarget",
"name" : "w3w-swift-wrapperTests",
"path" : "Tests/w3w-swift-wrapperTests",
"sources" : [
"w3w_swift_wrapper.v3.tests.swift",
"w3w_swift_wrapper.v4.tests.swift"
],
"target_dependencies" : [
"W3WSwiftApi"
],
"type" : "test"
},
{
"c99name" : "W3WSwiftApi",
"module_type" : "SwiftTarget",
"name" : "W3WSwiftApi",
"path" : "Sources/W3WSwiftApi",
"product_dependencies" : [
"W3WSwiftCore",
"W3WSwiftVoiceApi"
],
"product_memberships" : [
"W3WSwiftApi"
],
"sources" : [
"Deprecated/What3WordsV3.swift",
"Enums/W3WFormat.swift",
"Enums/W3WSelectionType.swift",
"Errors/W3WWebSocketError.swift",
"Extensions/W3WApiLineExtension.swift",
"Extensions/W3WApiSquareExtension.swift",
"Extensions/W3WApiSuggestionExtension.swift",
"Extensions/W3WErrorExtension.swift",
"Json/JsonBoundingSquare.swift",
"Json/JsonCoordinates.swift",
"Json/JsonEnd.swift",
"Json/JsonError.swift",
"Json/JsonLanguage.swift",
"Json/JsonLanguages.swift",
"Json/JsonLine.swift",
"Json/JsonLines.swift",
"Json/JsonNortheast.swift",
"Json/JsonSouthwest.swift",
"Json/JsonSquare.swift",
"Json/JsonSquareSuggestions.swift",
"Json/JsonStart.swift",
"Json/JsonSuggestion.swift",
"Json/JsonSuggestions.swift",
"Types/ExportCoreTypes.swift",
"Types/Types.swift",
"Voice/What3Words+VoiceAPI.swift",
"W3WAutosuggestHelper.swift",
"W3WSettings.swift",
"What3WordsV4.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
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/4] Write sources
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/51] Emitting module W3WSwiftCore
[6/56] Compiling W3WSwiftCore W3WAudioStreamProtocol.swift
[7/56] Compiling W3WSwiftCore W3WVoiceListeningState.swift
[8/56] Compiling W3WSwiftCore W3WVoiceProtocol.swift
[9/56] Compiling W3WSwiftCore W3WVoiceSuggestion+W3WSwiftCore.swift
[10/56] Compiling W3WSwiftCore W3WSettings+W3WSwiftCore.swift
[11/56] Compiling W3WSwiftCore ApiExtension.swift
[12/56] Compiling W3WSwiftCore SdkExtension.swift
[13/56] Compiling W3WSwiftCore SdkTypes.swift
[14/56] Compiling W3WSwiftCore W3WGpsReading.swift
[15/56] Compiling W3WSwiftCore W3WGpsState.swift
[16/56] Compiling W3WSwiftCore W3WDuration.swift
[17/56] Compiling W3WSwiftCore ClosureDefinitions.swift
[18/56] Compiling W3WSwiftCore W3WError+W3WSwiftCore.swift
[19/56] Compiling W3WSwiftCore W3WMeasurementSystem.swift
[20/56] Compiling W3WSwiftCore W3WUtilitiesProtocol.swift
[21/56] Compiling W3WSwiftCore W3WInputType.swift
[22/56] Compiling W3WSwiftCore W3WOption.swift
[23/56] Compiling W3WSwiftCore W3WOptionAcceptorProtocol.swift
[24/56] Compiling W3WSwiftCore W3WOptionProtocol.swift
[25/56] Compiling W3WSwiftCore W3WOptions.swift
[26/56] Compiling W3WSwiftCore W3WTranslationsProtocol.swift
[27/56] Compiling W3WSwiftCore W3WJson.swift
[28/56] Compiling W3WSwiftCore W3WRequest.swift
[29/56] Compiling W3WSwiftCore W3WEvent.swift
[30/56] Compiling W3WSwiftCore W3WEventSubscriberProtocol.swift
[31/56] Compiling W3WSwiftCore W3WGpsStatus.swift
[32/56] Compiling W3WSwiftCore W3WProtocolV3.swift
[33/56] Compiling W3WSwiftCore W3WProtocolV4.swift
[34/56] Compiling W3WSwiftCore W3WMockTranslation.swift
[35/56] Compiling W3WSwiftCore W3WTranslate.swift
[36/56] Compiling W3WSwiftCore W3WCountry.swift
[37/56] Compiling W3WSwiftCore W3WLanguage.swift
[38/56] Compiling W3WSwiftCore W3WRanked.swift
[39/56] Compiling W3WSwiftCore W3WSquare.swift
[40/56] Compiling W3WSwiftCore W3WSuggestion.swift
[41/56] Compiling W3WSwiftCore W3WEventsSubscriptions.swift
[42/56] Compiling W3WSwiftCore W3WLive.swift
[43/56] Compiling W3WSwiftCore W3WRegex.swift
[44/56] Compiling W3WSwiftCore W3WDebouncer.swift
[45/56] Compiling W3WSwiftCore W3WThread.swift
[46/56] Compiling W3WSwiftCore W3WBox.swift
[47/56] Compiling W3WSwiftCore W3WCircle.swift
[48/56] Compiling W3WSwiftCore W3WDistance.swift
[49/56] Compiling W3WSwiftCore W3WLine.swift
[50/56] Compiling W3WSwiftCore W3WPolygon.swift
[51/56] Compiling W3WSwiftCore W3WUser.swift
[52/56] Compiling W3WSwiftCore W3WAudioRecorder.swift
[53/56] Compiling W3WSwiftCore W3WAudioRecording.swift
[54/56] Compiling W3WSwiftCore W3WAudioStream.swift
[55/56] Compiling W3WSwiftCore W3WEncoding.swift
[56/56] Compiling W3WSwiftCore W3WMicrophone.swift
[57/72] Compiling W3WSwiftVoiceApi W3WSettings.swift
[58/73] Compiling W3WSwiftVoiceApi W3WVoiceApi.swift
[59/73] Compiling W3WSwiftVoiceApi W3WVoiceUpload.swift
[60/73] Compiling W3WSwiftVoiceApi W3WTypes.swift
[61/73] Compiling W3WSwiftVoiceApi JsonVoiceResponse.swift
[62/73] Compiling W3WSwiftVoiceApi JsonVoiceSuggestion.swift
[63/73] Compiling W3WSwiftVoiceApi W3WJsonVoiceError.swift
[64/73] Compiling W3WSwiftVoiceApi W3WApiCall.swift
[65/73] Compiling W3WSwiftVoiceApi W3WVoiceSuggestion.swift
[66/73] Compiling W3WSwiftVoiceApi JsonVoiceError.swift
[67/73] Compiling W3WSwiftVoiceApi JsonVoiceLanguage.swift
[68/73] Compiling W3WSwiftVoiceApi JsonVoiceLanguages.swift
[69/73] Compiling W3WSwiftVoiceApi W3WVoiceSocket.swift
[70/73] Compiling W3WSwiftVoiceApi W3WebSocket.swift
[71/73] Emitting module W3WSwiftVoiceApi
[72/73] Compiling W3WSwiftVoiceApi Export.swift
[73/73] Compiling W3WSwiftVoiceApi W3WError.swift
[74/101] Compiling W3WSwiftApi W3WWebSocketError.swift
[75/101] Compiling W3WSwiftApi W3WApiLineExtension.swift
[76/101] Compiling W3WSwiftApi W3WApiSquareExtension.swift
[77/103] Emitting module W3WSwiftApi
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftApi/W3WSettings.swift:16:14: warning: static property 'domains' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | static let apiVersion = "4.0.0"
15 |
16 | static var domains = ["what3words.com", "w3w.io"]
| |- warning: static property 'domains' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'domains' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'domains' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | // MARK: Defaults
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftApi/W3WSettings.swift:20:14: warning: static property 'defaultDebounceDelay' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | // MARK: Defaults
19 |
20 | static var defaultDebounceDelay = 0.3
| |- warning: static property 'defaultDebounceDelay' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultDebounceDelay' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultDebounceDelay' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | // MARK: Constants
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftApi/W3WSettings.swift:24:21: warning: static property 'maxMetersDiagonalForGrid' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | // MARK: Constants
23 |
24 | public static var maxMetersDiagonalForGrid = 4000.0
| |- warning: static property 'maxMetersDiagonalForGrid' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'maxMetersDiagonalForGrid' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'maxMetersDiagonalForGrid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | // MARK: Audio
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftApi/What3WordsV4.swift:13:14: warning: deprecated default implementation is used to satisfy instance method 'isValid3wa(words:completion:)' required by protocol 'W3WProtocolV4': Use isValid3wa(words: String, completion: @escaping (Bool, W3WError) -> ()) instead
11 |
12 |
13 | public class What3WordsV4: W3WRequest, W3WProtocolV4 {
| `- warning: deprecated default implementation is used to satisfy instance method 'isValid3wa(words:completion:)' required by protocol 'W3WProtocolV4': Use isValid3wa(words: String, completion: @escaping (Bool, W3WError) -> ()) instead
14 |
15 | var apiKey: String
/Users/admin/builder/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Interfaces/W3WProtocolV4.swift:127:15: note: 'isValid3wa(words:completion:)' declared here
83 | - parameter completion: returns true if the address is a real three word address
84 | */
85 | func isValid3wa(words: String, completion: @escaping (Bool) -> ())
| `- note: requirement 'isValid3wa(words:completion:)' declared here
86 |
87 | }
:
125 | */
126 | @available(*, deprecated, message: "Use isValid3wa(words: String, completion: @escaping (Bool, W3WError) -> ()) instead")
127 | public func isValid3wa(words: String, completion: @escaping (Bool) -> ()) {
| `- note: 'isValid3wa(words:completion:)' declared here
128 | autosuggest(text: words) { suggestions, error in
129 | for suggestion in suggestions ?? [] {
[78/103] Compiling W3WSwiftApi What3WordsV3.swift
[79/103] Compiling W3WSwiftApi W3WFormat.swift
[80/103] Compiling W3WSwiftApi W3WSelectionType.swift
[81/103] Compiling W3WSwiftApi JsonCoordinates.swift
[82/103] Compiling W3WSwiftApi JsonEnd.swift
[83/103] Compiling W3WSwiftApi JsonError.swift
[84/103] Compiling W3WSwiftApi W3WApiSuggestionExtension.swift
[85/103] Compiling W3WSwiftApi W3WErrorExtension.swift
[86/103] Compiling W3WSwiftApi JsonBoundingSquare.swift
[87/103] Compiling W3WSwiftApi JsonSuggestion.swift
[88/103] Compiling W3WSwiftApi JsonSuggestions.swift
[89/103] Compiling W3WSwiftApi ExportCoreTypes.swift
[90/103] Compiling W3WSwiftApi JsonLanguage.swift
[91/103] Compiling W3WSwiftApi JsonLanguages.swift
[92/103] Compiling W3WSwiftApi JsonLine.swift
[93/103] Compiling W3WSwiftApi JsonSquare.swift
[94/103] Compiling W3WSwiftApi JsonSquareSuggestions.swift
[95/103] Compiling W3WSwiftApi JsonStart.swift
[96/103] Compiling W3WSwiftApi Types.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftApi/W3WAutosuggestHelper.swift:71:9: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
69 | DispatchQueue.main.async {
70 | // TODO: check this works
71 | completion([], nil)
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
72 | }
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftApi/W3WAutosuggestHelper.swift:59:13: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
57 | }
58 | DispatchQueue.main.async {
59 | completion(self.suggestions, error)
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
60 | }
61 | }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftApi/W3WAutosuggestHelper.swift:59:24: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
57 | }
58 | DispatchQueue.main.async {
59 | completion(self.suggestions, error)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
60 | }
61 | }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftApi/W3WAutosuggestHelper.swift:142:11: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
140 | w3w?.convertToCoordinates(words: words) { square, error in
141 | DispatchQueue.main.async {
142 | completion(square, error)
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
143 | }
144 | }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftApi/W3WAutosuggestHelper.swift:142:22: warning: sending 'square' risks causing data races; this is an error in the Swift 6 language mode
140 | w3w?.convertToCoordinates(words: words) { square, error in
141 | DispatchQueue.main.async {
142 | completion(square, error)
| |- warning: sending 'square' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'square' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
143 | }
144 | }
[97/103] Compiling W3WSwiftApi What3Words+VoiceAPI.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftApi/W3WAutosuggestHelper.swift:71:9: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
69 | DispatchQueue.main.async {
70 | // TODO: check this works
71 | completion([], nil)
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
72 | }
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftApi/W3WAutosuggestHelper.swift:59:13: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
57 | }
58 | DispatchQueue.main.async {
59 | completion(self.suggestions, error)
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
60 | }
61 | }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftApi/W3WAutosuggestHelper.swift:59:24: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
57 | }
58 | DispatchQueue.main.async {
59 | completion(self.suggestions, error)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
60 | }
61 | }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftApi/W3WAutosuggestHelper.swift:142:11: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
140 | w3w?.convertToCoordinates(words: words) { square, error in
141 | DispatchQueue.main.async {
142 | completion(square, error)
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
143 | }
144 | }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftApi/W3WAutosuggestHelper.swift:142:22: warning: sending 'square' risks causing data races; this is an error in the Swift 6 language mode
140 | w3w?.convertToCoordinates(words: words) { square, error in
141 | DispatchQueue.main.async {
142 | completion(square, error)
| |- warning: sending 'square' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'square' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
143 | }
144 | }
[98/103] Compiling W3WSwiftApi W3WAutosuggestHelper.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftApi/W3WAutosuggestHelper.swift:71:9: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
69 | DispatchQueue.main.async {
70 | // TODO: check this works
71 | completion([], nil)
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
72 | }
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftApi/W3WAutosuggestHelper.swift:59:13: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
57 | }
58 | DispatchQueue.main.async {
59 | completion(self.suggestions, error)
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
60 | }
61 | }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftApi/W3WAutosuggestHelper.swift:59:24: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
57 | }
58 | DispatchQueue.main.async {
59 | completion(self.suggestions, error)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
60 | }
61 | }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftApi/W3WAutosuggestHelper.swift:142:11: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
140 | w3w?.convertToCoordinates(words: words) { square, error in
141 | DispatchQueue.main.async {
142 | completion(square, error)
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
143 | }
144 | }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftApi/W3WAutosuggestHelper.swift:142:22: warning: sending 'square' risks causing data races; this is an error in the Swift 6 language mode
140 | w3w?.convertToCoordinates(words: words) { square, error in
141 | DispatchQueue.main.async {
142 | completion(square, error)
| |- warning: sending 'square' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'square' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
143 | }
144 | }
[99/103] Compiling W3WSwiftApi JsonLines.swift
[100/103] Compiling W3WSwiftApi JsonNortheast.swift
[101/103] Compiling W3WSwiftApi JsonSouthwest.swift
[102/103] Compiling W3WSwiftApi W3WSettings.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftApi/W3WSettings.swift:16:14: warning: static property 'domains' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | static let apiVersion = "4.0.0"
15 |
16 | static var domains = ["what3words.com", "w3w.io"]
| |- warning: static property 'domains' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'domains' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'domains' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | // MARK: Defaults
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftApi/W3WSettings.swift:20:14: warning: static property 'defaultDebounceDelay' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | // MARK: Defaults
19 |
20 | static var defaultDebounceDelay = 0.3
| |- warning: static property 'defaultDebounceDelay' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultDebounceDelay' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultDebounceDelay' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | // MARK: Constants
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftApi/W3WSettings.swift:24:21: warning: static property 'maxMetersDiagonalForGrid' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | // MARK: Constants
23 |
24 | public static var maxMetersDiagonalForGrid = 4000.0
| |- warning: static property 'maxMetersDiagonalForGrid' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'maxMetersDiagonalForGrid' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'maxMetersDiagonalForGrid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | // MARK: Audio
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftApi/What3WordsV4.swift:13:14: warning: deprecated default implementation is used to satisfy instance method 'isValid3wa(words:completion:)' required by protocol 'W3WProtocolV4': Use isValid3wa(words: String, completion: @escaping (Bool, W3WError) -> ()) instead
11 |
12 |
13 | public class What3WordsV4: W3WRequest, W3WProtocolV4 {
| `- warning: deprecated default implementation is used to satisfy instance method 'isValid3wa(words:completion:)' required by protocol 'W3WProtocolV4': Use isValid3wa(words: String, completion: @escaping (Bool, W3WError) -> ()) instead
14 |
15 | var apiKey: String
/Users/admin/builder/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Interfaces/W3WProtocolV4.swift:127:15: note: 'isValid3wa(words:completion:)' declared here
83 | - parameter completion: returns true if the address is a real three word address
84 | */
85 | func isValid3wa(words: String, completion: @escaping (Bool) -> ())
| `- note: requirement 'isValid3wa(words:completion:)' declared here
86 |
87 | }
:
125 | */
126 | @available(*, deprecated, message: "Use isValid3wa(words: String, completion: @escaping (Bool, W3WError) -> ()) instead")
127 | public func isValid3wa(words: String, completion: @escaping (Bool) -> ()) {
| `- note: 'isValid3wa(words:completion:)' declared here
128 | autosuggest(text: words) { suggestions, error in
129 | for suggestion in suggestions ?? [] {
[103/103] Compiling W3WSwiftApi What3WordsV4.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftApi/W3WSettings.swift:16:14: warning: static property 'domains' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | static let apiVersion = "4.0.0"
15 |
16 | static var domains = ["what3words.com", "w3w.io"]
| |- warning: static property 'domains' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'domains' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'domains' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | // MARK: Defaults
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftApi/W3WSettings.swift:20:14: warning: static property 'defaultDebounceDelay' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | // MARK: Defaults
19 |
20 | static var defaultDebounceDelay = 0.3
| |- warning: static property 'defaultDebounceDelay' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultDebounceDelay' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultDebounceDelay' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | // MARK: Constants
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftApi/W3WSettings.swift:24:21: warning: static property 'maxMetersDiagonalForGrid' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | // MARK: Constants
23 |
24 | public static var maxMetersDiagonalForGrid = 4000.0
| |- warning: static property 'maxMetersDiagonalForGrid' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'maxMetersDiagonalForGrid' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'maxMetersDiagonalForGrid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | // MARK: Audio
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftApi/What3WordsV4.swift:13:14: warning: deprecated default implementation is used to satisfy instance method 'isValid3wa(words:completion:)' required by protocol 'W3WProtocolV4': Use isValid3wa(words: String, completion: @escaping (Bool, W3WError) -> ()) instead
11 |
12 |
13 | public class What3WordsV4: W3WRequest, W3WProtocolV4 {
| `- warning: deprecated default implementation is used to satisfy instance method 'isValid3wa(words:completion:)' required by protocol 'W3WProtocolV4': Use isValid3wa(words: String, completion: @escaping (Bool, W3WError) -> ()) instead
14 |
15 | var apiKey: String
/Users/admin/builder/spi-builder-workspace/.build/checkouts/w3w-swift-core/Sources/W3WSwiftCore/Interfaces/W3WProtocolV4.swift:127:15: note: 'isValid3wa(words:completion:)' declared here
83 | - parameter completion: returns true if the address is a real three word address
84 | */
85 | func isValid3wa(words: String, completion: @escaping (Bool) -> ())
| `- note: requirement 'isValid3wa(words:completion:)' declared here
86 |
87 | }
:
125 | */
126 | @available(*, deprecated, message: "Use isValid3wa(words: String, completion: @escaping (Bool, W3WError) -> ()) instead")
127 | public func isValid3wa(words: String, completion: @escaping (Bool) -> ()) {
| `- note: 'isValid3wa(words:completion:)' declared here
128 | autosuggest(text: words) { suggestions, error in
129 | for suggestion in suggestions ?? [] {
Build complete! (18.51s)
Fetching https://github.com/what3words/w3w-swift-core.git
Fetching https://github.com/what3words/w3w-swift-voice-api.git
[1/404] Fetching w3w-swift-core
[139/459] Fetching w3w-swift-core, w3w-swift-voice-api
Fetched https://github.com/what3words/w3w-swift-core.git from cache (0.99s)
Fetched https://github.com/what3words/w3w-swift-voice-api.git from cache (0.99s)
Computing version for https://github.com/what3words/w3w-swift-voice-api.git
Computed https://github.com/what3words/w3w-swift-voice-api.git at 1.0.0 (1.58s)
Computing version for https://github.com/what3words/w3w-swift-core.git
Computed https://github.com/what3words/w3w-swift-core.git at 1.1.3 (0.58s)
Creating working copy for https://github.com/what3words/w3w-swift-core.git
Working copy of https://github.com/what3words/w3w-swift-core.git resolved at 1.1.3
Creating working copy for https://github.com/what3words/w3w-swift-voice-api.git
Working copy of https://github.com/what3words/w3w-swift-voice-api.git resolved at 1.0.0
Build complete.
{
"dependencies" : [
{
"identity" : "w3w-swift-core",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/what3words/w3w-swift-core.git"
},
{
"identity" : "w3w-swift-voice-api",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/what3words/w3w-swift-voice-api.git"
}
],
"manifest_display_name" : "w3w-swift-wrapper",
"name" : "w3w-swift-wrapper",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "tvos",
"version" : "10.0"
},
{
"name" : "watchos",
"version" : "2.0"
}
],
"products" : [
{
"name" : "W3WSwiftApi",
"targets" : [
"W3WSwiftApi"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "w3w_swift_wrapperTests",
"module_type" : "SwiftTarget",
"name" : "w3w-swift-wrapperTests",
"path" : "Tests/w3w-swift-wrapperTests",
"sources" : [
"w3w_swift_wrapper.v3.tests.swift",
"w3w_swift_wrapper.v4.tests.swift"
],
"target_dependencies" : [
"W3WSwiftApi"
],
"type" : "test"
},
{
"c99name" : "W3WSwiftApi",
"module_type" : "SwiftTarget",
"name" : "W3WSwiftApi",
"path" : "Sources/W3WSwiftApi",
"product_dependencies" : [
"W3WSwiftCore",
"W3WSwiftVoiceApi"
],
"product_memberships" : [
"W3WSwiftApi"
],
"sources" : [
"Deprecated/What3WordsV3.swift",
"Enums/W3WFormat.swift",
"Enums/W3WSelectionType.swift",
"Errors/W3WWebSocketError.swift",
"Extensions/W3WApiLineExtension.swift",
"Extensions/W3WApiSquareExtension.swift",
"Extensions/W3WApiSuggestionExtension.swift",
"Extensions/W3WErrorExtension.swift",
"Json/JsonBoundingSquare.swift",
"Json/JsonCoordinates.swift",
"Json/JsonEnd.swift",
"Json/JsonError.swift",
"Json/JsonLanguage.swift",
"Json/JsonLanguages.swift",
"Json/JsonLine.swift",
"Json/JsonLines.swift",
"Json/JsonNortheast.swift",
"Json/JsonSouthwest.swift",
"Json/JsonSquare.swift",
"Json/JsonSquareSuggestions.swift",
"Json/JsonStart.swift",
"Json/JsonSuggestion.swift",
"Json/JsonSuggestions.swift",
"Types/ExportCoreTypes.swift",
"Types/Types.swift",
"Voice/What3Words+VoiceAPI.swift",
"W3WAutosuggestHelper.swift",
"W3WSettings.swift",
"What3WordsV4.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Done.