Build Information
Successful build of w3w-swift-core, reference v1.1.3 (5e81cb
), with Swift 6.0 for macOS (SPM) on 5 Dec 2024 05:23:50 UTC.
Swift 6 data race errors: 6
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.5
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/what3words/w3w-swift-core.git
Reference: v1.1.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/what3words/w3w-swift-core
* tag v1.1.3 -> FETCH_HEAD
HEAD is now at 5e81cb9 Merge pull request #10 from what3words/staging
Cloned https://github.com/what3words/w3w-swift-core.git
Revision (git rev-parse @):
5e81cb99e3424d0de58e5c3df12716b834a44685
SUCCESS checkout https://github.com/what3words/w3w-swift-core.git at v1.1.3
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "w3w-swift-core",
"name": "w3w-swift-core",
"url": "https://github.com/what3words/w3w-swift-core.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/w3w-swift-core",
"dependencies": [
]
}
]
}
Fetching https://github.com/what3words/w3w-swift-core.git
[1/313] Fetching w3w-swift-core
Fetched https://github.com/what3words/w3w-swift-core.git from cache (0.76s)
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 v1.1.3 (5e81cb9)
warning: '.resolve-product-dependencies': dependency 'w3w-swift-core' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/what3words/w3w-swift-core.git
https://github.com/what3words/w3w-swift-core.git
{
"dependencies" : [
],
"manifest_display_name" : "w3w-swift-core",
"name" : "w3w-swift-core",
"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" : "W3WSwiftCore",
"targets" : [
"W3WSwiftCore"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "w3w_swift_typesTests",
"module_type" : "SwiftTarget",
"name" : "w3w-swift-typesTests",
"path" : "Tests/w3w-swift-typesTests",
"sources" : [
"w3w_swift_typesTests.swift"
],
"target_dependencies" : [
"W3WSwiftCore"
],
"type" : "test"
},
{
"c99name" : "w3w_swift_Tests",
"module_type" : "SwiftTarget",
"name" : "w3w-swift-Tests",
"path" : "Tests/w3w-swift-Tests",
"sources" : [
"IsValid3waTests.swift"
],
"target_dependencies" : [
"W3WSwiftCore"
],
"type" : "test"
},
{
"c99name" : "W3WSwiftCore",
"module_type" : "SwiftTarget",
"name" : "W3WSwiftCore",
"path" : "Sources/W3WSwiftCore",
"product_memberships" : [
"W3WSwiftCore"
],
"sources" : [
"Accounts/W3WUser.swift",
"Audio/W3WAudioRecorder.swift",
"Audio/W3WAudioRecording.swift",
"Audio/W3WAudioStream.swift",
"Audio/W3WEncoding.swift",
"Audio/W3WMicrophone.swift",
"Bridges/ApiExtension.swift",
"Bridges/SdkExtension.swift",
"Bridges/SdkTypes.swift",
"Gps/W3WGpsReading.swift",
"Gps/W3WGpsState.swift",
"Gps/W3WGpsStatus.swift",
"Interfaces/W3WProtocolV3.swift",
"Interfaces/W3WProtocolV4.swift",
"Localization/W3WMockTranslation.swift",
"Localization/W3WTranslate.swift",
"Localization/W3WTranslationsProtocol.swift",
"Network/W3WJson.swift",
"Network/W3WRequest.swift",
"Reactive/W3WEvent.swift",
"Reactive/W3WEventSubscriberProtocol.swift",
"Reactive/W3WEventsSubscriptions.swift",
"Reactive/W3WLive.swift",
"Regex/W3WRegex.swift",
"Threading/W3WDebouncer.swift",
"Threading/W3WThread.swift",
"Types/Geometry/W3WBox.swift",
"Types/Geometry/W3WCircle.swift",
"Types/Geometry/W3WDistance.swift",
"Types/Geometry/W3WLine.swift",
"Types/Geometry/W3WPolygon.swift",
"Types/Options/W3WInputType.swift",
"Types/Options/W3WOption.swift",
"Types/Options/W3WOptionAcceptorProtocol.swift",
"Types/Options/W3WOptionProtocol.swift",
"Types/Options/W3WOptions.swift",
"Types/Time/W3WDuration.swift",
"Types/Util/ClosureDefinitions.swift",
"Types/Util/W3WError+W3WSwiftCore.swift",
"Types/Util/W3WMeasurementSystem.swift",
"Types/Util/W3WUtilitiesProtocol.swift",
"Types/Values/W3WCountry.swift",
"Types/Values/W3WLanguage.swift",
"Types/Values/W3WRanked.swift",
"Types/Values/W3WSquare.swift",
"Types/Values/W3WSuggestion.swift",
"Voice/W3WAudioStreamProtocol.swift",
"Voice/W3WVoiceListeningState.swift",
"Voice/W3WVoiceProtocol.swift",
"Voice/W3WVoiceSuggestion+W3WSwiftCore.swift",
"W3WSettings+W3WSwiftCore.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/49] Compiling W3WSwiftCore W3WTranslationsProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Network/W3WRequest.swift:123:9: warning: capture of 'self' with non-sendable type 'W3WRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 |
31 | /// A base class for making API calls to a service
32 | open class W3WRequest {
| `- note: class 'W3WRequest' does not conform to the 'Sendable' protocol
33 |
34 | public var baseUrl = ""
:
121 |
122 | // deal with the results, and complete with the info
123 | self.processResults(data: data, response: response, error: error, completion: completion)
| `- warning: capture of 'self' with non-sendable type 'W3WRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
124 | }
125 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Network/W3WRequest.swift:123:87: warning: capture of 'completion' with non-sendable type 'W3WRequestResponse' (aka '(Optional<Int>, Optional<Data>, Optional<W3WError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
121 |
122 | // deal with the results, and complete with the info
123 | self.processResults(data: data, response: response, error: error, completion: completion)
| |- warning: capture of 'completion' with non-sendable type 'W3WRequestResponse' (aka '(Optional<Int>, Optional<Data>, Optional<W3WError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
124 | }
125 |
[4/49] Compiling W3WSwiftCore W3WJson.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Network/W3WRequest.swift:123:9: warning: capture of 'self' with non-sendable type 'W3WRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 |
31 | /// A base class for making API calls to a service
32 | open class W3WRequest {
| `- note: class 'W3WRequest' does not conform to the 'Sendable' protocol
33 |
34 | public var baseUrl = ""
:
121 |
122 | // deal with the results, and complete with the info
123 | self.processResults(data: data, response: response, error: error, completion: completion)
| `- warning: capture of 'self' with non-sendable type 'W3WRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
124 | }
125 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Network/W3WRequest.swift:123:87: warning: capture of 'completion' with non-sendable type 'W3WRequestResponse' (aka '(Optional<Int>, Optional<Data>, Optional<W3WError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
121 |
122 | // deal with the results, and complete with the info
123 | self.processResults(data: data, response: response, error: error, completion: completion)
| |- warning: capture of 'completion' with non-sendable type 'W3WRequestResponse' (aka '(Optional<Int>, Optional<Data>, Optional<W3WError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
124 | }
125 |
[5/49] Compiling W3WSwiftCore W3WRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Network/W3WRequest.swift:123:9: warning: capture of 'self' with non-sendable type 'W3WRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 |
31 | /// A base class for making API calls to a service
32 | open class W3WRequest {
| `- note: class 'W3WRequest' does not conform to the 'Sendable' protocol
33 |
34 | public var baseUrl = ""
:
121 |
122 | // deal with the results, and complete with the info
123 | self.processResults(data: data, response: response, error: error, completion: completion)
| `- warning: capture of 'self' with non-sendable type 'W3WRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
124 | }
125 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Network/W3WRequest.swift:123:87: warning: capture of 'completion' with non-sendable type 'W3WRequestResponse' (aka '(Optional<Int>, Optional<Data>, Optional<W3WError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
121 |
122 | // deal with the results, and complete with the info
123 | self.processResults(data: data, response: response, error: error, completion: completion)
| |- warning: capture of 'completion' with non-sendable type 'W3WRequestResponse' (aka '(Optional<Int>, Optional<Data>, Optional<W3WError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
124 | }
125 |
[6/49] Compiling W3WSwiftCore W3WEvent.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Network/W3WRequest.swift:123:9: warning: capture of 'self' with non-sendable type 'W3WRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 |
31 | /// A base class for making API calls to a service
32 | open class W3WRequest {
| `- note: class 'W3WRequest' does not conform to the 'Sendable' protocol
33 |
34 | public var baseUrl = ""
:
121 |
122 | // deal with the results, and complete with the info
123 | self.processResults(data: data, response: response, error: error, completion: completion)
| `- warning: capture of 'self' with non-sendable type 'W3WRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
124 | }
125 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Network/W3WRequest.swift:123:87: warning: capture of 'completion' with non-sendable type 'W3WRequestResponse' (aka '(Optional<Int>, Optional<Data>, Optional<W3WError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
121 |
122 | // deal with the results, and complete with the info
123 | self.processResults(data: data, response: response, error: error, completion: completion)
| |- warning: capture of 'completion' with non-sendable type 'W3WRequestResponse' (aka '(Optional<Int>, Optional<Data>, Optional<W3WError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
124 | }
125 |
[7/49] Compiling W3WSwiftCore W3WEventSubscriberProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Network/W3WRequest.swift:123:9: warning: capture of 'self' with non-sendable type 'W3WRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 |
31 | /// A base class for making API calls to a service
32 | open class W3WRequest {
| `- note: class 'W3WRequest' does not conform to the 'Sendable' protocol
33 |
34 | public var baseUrl = ""
:
121 |
122 | // deal with the results, and complete with the info
123 | self.processResults(data: data, response: response, error: error, completion: completion)
| `- warning: capture of 'self' with non-sendable type 'W3WRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
124 | }
125 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Network/W3WRequest.swift:123:87: warning: capture of 'completion' with non-sendable type 'W3WRequestResponse' (aka '(Optional<Int>, Optional<Data>, Optional<W3WError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
121 |
122 | // deal with the results, and complete with the info
123 | self.processResults(data: data, response: response, error: error, completion: completion)
| |- warning: capture of 'completion' with non-sendable type 'W3WRequestResponse' (aka '(Optional<Int>, Optional<Data>, Optional<W3WError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
124 | }
125 |
[8/54] Compiling W3WSwiftCore ApiExtension.swift
[9/54] Compiling W3WSwiftCore SdkExtension.swift
[10/54] Compiling W3WSwiftCore SdkTypes.swift
[11/54] Compiling W3WSwiftCore W3WGpsReading.swift
[12/54] Compiling W3WSwiftCore W3WGpsState.swift
[13/54] Compiling W3WSwiftCore W3WCountry.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Types/Values/W3WLanguage.swift:160:21: warning: static property 'english' is not concurrency-safe because non-'Sendable' type 'W3WBaseLanguage' may have shared mutable state; this is an error in the Swift 6 language mode
90 |
91 |
92 | public struct W3WBaseLanguage: W3WLanguage, ExpressibleByStringLiteral {
| `- note: consider making struct 'W3WBaseLanguage' conform to the 'Sendable' protocol
93 | public typealias StringLiteralType = String
94 |
:
158 |
159 |
160 | static public let english = W3WBaseLanguage(locale: "en_gb")
| |- warning: static property 'english' is not concurrency-safe because non-'Sendable' type 'W3WBaseLanguage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'english' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 | }
162 |
[14/54] Compiling W3WSwiftCore W3WLanguage.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Types/Values/W3WLanguage.swift:160:21: warning: static property 'english' is not concurrency-safe because non-'Sendable' type 'W3WBaseLanguage' may have shared mutable state; this is an error in the Swift 6 language mode
90 |
91 |
92 | public struct W3WBaseLanguage: W3WLanguage, ExpressibleByStringLiteral {
| `- note: consider making struct 'W3WBaseLanguage' conform to the 'Sendable' protocol
93 | public typealias StringLiteralType = String
94 |
:
158 |
159 |
160 | static public let english = W3WBaseLanguage(locale: "en_gb")
| |- warning: static property 'english' is not concurrency-safe because non-'Sendable' type 'W3WBaseLanguage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'english' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 | }
162 |
[15/54] Compiling W3WSwiftCore W3WRanked.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Types/Values/W3WLanguage.swift:160:21: warning: static property 'english' is not concurrency-safe because non-'Sendable' type 'W3WBaseLanguage' may have shared mutable state; this is an error in the Swift 6 language mode
90 |
91 |
92 | public struct W3WBaseLanguage: W3WLanguage, ExpressibleByStringLiteral {
| `- note: consider making struct 'W3WBaseLanguage' conform to the 'Sendable' protocol
93 | public typealias StringLiteralType = String
94 |
:
158 |
159 |
160 | static public let english = W3WBaseLanguage(locale: "en_gb")
| |- warning: static property 'english' is not concurrency-safe because non-'Sendable' type 'W3WBaseLanguage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'english' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 | }
162 |
[16/54] Compiling W3WSwiftCore W3WSquare.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Types/Values/W3WLanguage.swift:160:21: warning: static property 'english' is not concurrency-safe because non-'Sendable' type 'W3WBaseLanguage' may have shared mutable state; this is an error in the Swift 6 language mode
90 |
91 |
92 | public struct W3WBaseLanguage: W3WLanguage, ExpressibleByStringLiteral {
| `- note: consider making struct 'W3WBaseLanguage' conform to the 'Sendable' protocol
93 | public typealias StringLiteralType = String
94 |
:
158 |
159 |
160 | static public let english = W3WBaseLanguage(locale: "en_gb")
| |- warning: static property 'english' is not concurrency-safe because non-'Sendable' type 'W3WBaseLanguage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'english' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 | }
162 |
[17/54] Compiling W3WSwiftCore W3WSuggestion.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Types/Values/W3WLanguage.swift:160:21: warning: static property 'english' is not concurrency-safe because non-'Sendable' type 'W3WBaseLanguage' may have shared mutable state; this is an error in the Swift 6 language mode
90 |
91 |
92 | public struct W3WBaseLanguage: W3WLanguage, ExpressibleByStringLiteral {
| `- note: consider making struct 'W3WBaseLanguage' conform to the 'Sendable' protocol
93 | public typealias StringLiteralType = String
94 |
:
158 |
159 |
160 | static public let english = W3WBaseLanguage(locale: "en_gb")
| |- warning: static property 'english' is not concurrency-safe because non-'Sendable' type 'W3WBaseLanguage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'english' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 | }
162 |
[18/54] Compiling W3WSwiftCore W3WEventsSubscriptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WDebouncer.swift:27:102: warning: capture of 'self' with non-sendable type 'W3WDebouncer<T>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 |
10 |
11 | public class W3WDebouncer<T> {
| `- note: generic class 'W3WDebouncer' does not conform to the 'Sendable' protocol
12 |
13 | let delay: TimeInterval
:
25 | public func execute(_ x: T) {
26 | timer?.invalidate()
27 | timer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false, block: { [weak self] _ in self?.closure(x)})
| `- warning: capture of 'self' with non-sendable type 'W3WDebouncer<T>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WDebouncer.swift:27:116: warning: capture of 'x' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 |
10 |
11 | public class W3WDebouncer<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
12 |
13 | let delay: TimeInterval
:
25 | public func execute(_ x: T) {
26 | timer?.invalidate()
27 | timer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false, block: { [weak self] _ in self?.closure(x)})
| `- warning: capture of 'x' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:56:9: warning: capture of 'block' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | } else {
55 | DispatchQueue.global(qos: .userInitiated).async {
56 | block()
| |- warning: capture of 'block' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | }
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:24:9: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
22 | } else {
23 | DispatchQueue.main.async {
24 | block()
| |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
25 | }
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:32:7: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
30 | static public func queueOnMain(_ block: @escaping () -> ()) {
31 | DispatchQueue.main.async {
32 | block()
| |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:39:7: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
37 | static public func runIn(duration: W3WDuration, _ block: @escaping () -> ()) {
38 | DispatchQueue.main.asyncAfter(deadline: .now() + duration.seconds) {
39 | block()
| |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
40 | }
41 | }
[19/54] Compiling W3WSwiftCore W3WLive.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WDebouncer.swift:27:102: warning: capture of 'self' with non-sendable type 'W3WDebouncer<T>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 |
10 |
11 | public class W3WDebouncer<T> {
| `- note: generic class 'W3WDebouncer' does not conform to the 'Sendable' protocol
12 |
13 | let delay: TimeInterval
:
25 | public func execute(_ x: T) {
26 | timer?.invalidate()
27 | timer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false, block: { [weak self] _ in self?.closure(x)})
| `- warning: capture of 'self' with non-sendable type 'W3WDebouncer<T>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WDebouncer.swift:27:116: warning: capture of 'x' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 |
10 |
11 | public class W3WDebouncer<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
12 |
13 | let delay: TimeInterval
:
25 | public func execute(_ x: T) {
26 | timer?.invalidate()
27 | timer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false, block: { [weak self] _ in self?.closure(x)})
| `- warning: capture of 'x' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:56:9: warning: capture of 'block' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | } else {
55 | DispatchQueue.global(qos: .userInitiated).async {
56 | block()
| |- warning: capture of 'block' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | }
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:24:9: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
22 | } else {
23 | DispatchQueue.main.async {
24 | block()
| |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
25 | }
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:32:7: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
30 | static public func queueOnMain(_ block: @escaping () -> ()) {
31 | DispatchQueue.main.async {
32 | block()
| |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:39:7: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
37 | static public func runIn(duration: W3WDuration, _ block: @escaping () -> ()) {
38 | DispatchQueue.main.asyncAfter(deadline: .now() + duration.seconds) {
39 | block()
| |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
40 | }
41 | }
[20/54] Compiling W3WSwiftCore W3WRegex.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WDebouncer.swift:27:102: warning: capture of 'self' with non-sendable type 'W3WDebouncer<T>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 |
10 |
11 | public class W3WDebouncer<T> {
| `- note: generic class 'W3WDebouncer' does not conform to the 'Sendable' protocol
12 |
13 | let delay: TimeInterval
:
25 | public func execute(_ x: T) {
26 | timer?.invalidate()
27 | timer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false, block: { [weak self] _ in self?.closure(x)})
| `- warning: capture of 'self' with non-sendable type 'W3WDebouncer<T>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WDebouncer.swift:27:116: warning: capture of 'x' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 |
10 |
11 | public class W3WDebouncer<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
12 |
13 | let delay: TimeInterval
:
25 | public func execute(_ x: T) {
26 | timer?.invalidate()
27 | timer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false, block: { [weak self] _ in self?.closure(x)})
| `- warning: capture of 'x' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:56:9: warning: capture of 'block' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | } else {
55 | DispatchQueue.global(qos: .userInitiated).async {
56 | block()
| |- warning: capture of 'block' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | }
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:24:9: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
22 | } else {
23 | DispatchQueue.main.async {
24 | block()
| |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
25 | }
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:32:7: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
30 | static public func queueOnMain(_ block: @escaping () -> ()) {
31 | DispatchQueue.main.async {
32 | block()
| |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:39:7: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
37 | static public func runIn(duration: W3WDuration, _ block: @escaping () -> ()) {
38 | DispatchQueue.main.asyncAfter(deadline: .now() + duration.seconds) {
39 | block()
| |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
40 | }
41 | }
[21/54] Compiling W3WSwiftCore W3WDebouncer.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WDebouncer.swift:27:102: warning: capture of 'self' with non-sendable type 'W3WDebouncer<T>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 |
10 |
11 | public class W3WDebouncer<T> {
| `- note: generic class 'W3WDebouncer' does not conform to the 'Sendable' protocol
12 |
13 | let delay: TimeInterval
:
25 | public func execute(_ x: T) {
26 | timer?.invalidate()
27 | timer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false, block: { [weak self] _ in self?.closure(x)})
| `- warning: capture of 'self' with non-sendable type 'W3WDebouncer<T>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WDebouncer.swift:27:116: warning: capture of 'x' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 |
10 |
11 | public class W3WDebouncer<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
12 |
13 | let delay: TimeInterval
:
25 | public func execute(_ x: T) {
26 | timer?.invalidate()
27 | timer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false, block: { [weak self] _ in self?.closure(x)})
| `- warning: capture of 'x' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:56:9: warning: capture of 'block' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | } else {
55 | DispatchQueue.global(qos: .userInitiated).async {
56 | block()
| |- warning: capture of 'block' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | }
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:24:9: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
22 | } else {
23 | DispatchQueue.main.async {
24 | block()
| |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
25 | }
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:32:7: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
30 | static public func queueOnMain(_ block: @escaping () -> ()) {
31 | DispatchQueue.main.async {
32 | block()
| |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:39:7: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
37 | static public func runIn(duration: W3WDuration, _ block: @escaping () -> ()) {
38 | DispatchQueue.main.asyncAfter(deadline: .now() + duration.seconds) {
39 | block()
| |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
40 | }
41 | }
[22/54] Compiling W3WSwiftCore W3WThread.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WDebouncer.swift:27:102: warning: capture of 'self' with non-sendable type 'W3WDebouncer<T>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 |
10 |
11 | public class W3WDebouncer<T> {
| `- note: generic class 'W3WDebouncer' does not conform to the 'Sendable' protocol
12 |
13 | let delay: TimeInterval
:
25 | public func execute(_ x: T) {
26 | timer?.invalidate()
27 | timer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false, block: { [weak self] _ in self?.closure(x)})
| `- warning: capture of 'self' with non-sendable type 'W3WDebouncer<T>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WDebouncer.swift:27:116: warning: capture of 'x' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 |
10 |
11 | public class W3WDebouncer<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
12 |
13 | let delay: TimeInterval
:
25 | public func execute(_ x: T) {
26 | timer?.invalidate()
27 | timer = Timer.scheduledTimer(withTimeInterval: delay, repeats: false, block: { [weak self] _ in self?.closure(x)})
| `- warning: capture of 'x' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:56:9: warning: capture of 'block' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | } else {
55 | DispatchQueue.global(qos: .userInitiated).async {
56 | block()
| |- warning: capture of 'block' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | }
58 | }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:24:9: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
22 | } else {
23 | DispatchQueue.main.async {
24 | block()
| |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
25 | }
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:32:7: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
30 | static public func queueOnMain(_ block: @escaping () -> ()) {
31 | DispatchQueue.main.async {
32 | block()
| |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Threading/W3WThread.swift:39:7: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
37 | static public func runIn(duration: W3WDuration, _ block: @escaping () -> ()) {
38 | DispatchQueue.main.asyncAfter(deadline: .now() + duration.seconds) {
39 | block()
| |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
40 | }
41 | }
[23/54] Compiling W3WSwiftCore W3WAudioStreamProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/W3WSettings+W3WSwiftCore.swift:15:21: warning: static property 'measurement' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | // mutable settings
15 | static public var measurement = W3WMeasurementSystem.system
| |- warning: static property 'measurement' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'measurement' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'measurement' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | // direction of writing
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/W3WSettings+W3WSwiftCore.swift:18:21: warning: static property 'leftToRight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | // direction of writing
18 | static public var leftToRight = (NSLocale.characterDirection(forLanguage: NSLocale.preferredLanguages.first ?? W3WSettings.defaultLanguage.code) == Locale.LanguageDirection.leftToRight)
| |- warning: static property 'leftToRight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'leftToRight' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'leftToRight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | // language to defaul to when not provided in a call
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/W3WSettings+W3WSwiftCore.swift:21:21: warning: static property 'defaultLanguage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | // language to defaul to when not provided in a call
21 | public static var defaultLanguage = W3WBaseLanguage(code: "en", name: "English", nativeName: "English")
| |- warning: static property 'defaultLanguage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultLanguage' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultLanguage' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 |
[24/54] Compiling W3WSwiftCore W3WVoiceListeningState.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/W3WSettings+W3WSwiftCore.swift:15:21: warning: static property 'measurement' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | // mutable settings
15 | static public var measurement = W3WMeasurementSystem.system
| |- warning: static property 'measurement' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'measurement' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'measurement' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | // direction of writing
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/W3WSettings+W3WSwiftCore.swift:18:21: warning: static property 'leftToRight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | // direction of writing
18 | static public var leftToRight = (NSLocale.characterDirection(forLanguage: NSLocale.preferredLanguages.first ?? W3WSettings.defaultLanguage.code) == Locale.LanguageDirection.leftToRight)
| |- warning: static property 'leftToRight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'leftToRight' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'leftToRight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | // language to defaul to when not provided in a call
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/W3WSettings+W3WSwiftCore.swift:21:21: warning: static property 'defaultLanguage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | // language to defaul to when not provided in a call
21 | public static var defaultLanguage = W3WBaseLanguage(code: "en", name: "English", nativeName: "English")
| |- warning: static property 'defaultLanguage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultLanguage' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultLanguage' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 |
[25/54] Compiling W3WSwiftCore W3WVoiceProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/W3WSettings+W3WSwiftCore.swift:15:21: warning: static property 'measurement' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | // mutable settings
15 | static public var measurement = W3WMeasurementSystem.system
| |- warning: static property 'measurement' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'measurement' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'measurement' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | // direction of writing
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/W3WSettings+W3WSwiftCore.swift:18:21: warning: static property 'leftToRight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | // direction of writing
18 | static public var leftToRight = (NSLocale.characterDirection(forLanguage: NSLocale.preferredLanguages.first ?? W3WSettings.defaultLanguage.code) == Locale.LanguageDirection.leftToRight)
| |- warning: static property 'leftToRight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'leftToRight' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'leftToRight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | // language to defaul to when not provided in a call
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/W3WSettings+W3WSwiftCore.swift:21:21: warning: static property 'defaultLanguage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | // language to defaul to when not provided in a call
21 | public static var defaultLanguage = W3WBaseLanguage(code: "en", name: "English", nativeName: "English")
| |- warning: static property 'defaultLanguage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultLanguage' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultLanguage' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 |
[26/54] Compiling W3WSwiftCore W3WVoiceSuggestion+W3WSwiftCore.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/W3WSettings+W3WSwiftCore.swift:15:21: warning: static property 'measurement' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | // mutable settings
15 | static public var measurement = W3WMeasurementSystem.system
| |- warning: static property 'measurement' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'measurement' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'measurement' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | // direction of writing
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/W3WSettings+W3WSwiftCore.swift:18:21: warning: static property 'leftToRight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | // direction of writing
18 | static public var leftToRight = (NSLocale.characterDirection(forLanguage: NSLocale.preferredLanguages.first ?? W3WSettings.defaultLanguage.code) == Locale.LanguageDirection.leftToRight)
| |- warning: static property 'leftToRight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'leftToRight' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'leftToRight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | // language to defaul to when not provided in a call
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/W3WSettings+W3WSwiftCore.swift:21:21: warning: static property 'defaultLanguage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | // language to defaul to when not provided in a call
21 | public static var defaultLanguage = W3WBaseLanguage(code: "en", name: "English", nativeName: "English")
| |- warning: static property 'defaultLanguage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultLanguage' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultLanguage' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 |
[27/54] Compiling W3WSwiftCore W3WSettings+W3WSwiftCore.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/W3WSettings+W3WSwiftCore.swift:15:21: warning: static property 'measurement' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | // mutable settings
15 | static public var measurement = W3WMeasurementSystem.system
| |- warning: static property 'measurement' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'measurement' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'measurement' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | // direction of writing
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/W3WSettings+W3WSwiftCore.swift:18:21: warning: static property 'leftToRight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | // direction of writing
18 | static public var leftToRight = (NSLocale.characterDirection(forLanguage: NSLocale.preferredLanguages.first ?? W3WSettings.defaultLanguage.code) == Locale.LanguageDirection.leftToRight)
| |- warning: static property 'leftToRight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'leftToRight' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'leftToRight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | // language to defaul to when not provided in a call
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/W3WSettings+W3WSwiftCore.swift:21:21: warning: static property 'defaultLanguage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | // language to defaul to when not provided in a call
21 | public static var defaultLanguage = W3WBaseLanguage(code: "en", name: "English", nativeName: "English")
| |- warning: static property 'defaultLanguage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultLanguage' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultLanguage' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 |
[28/54] Compiling W3WSwiftCore W3WGpsStatus.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Localization/W3WTranslate.swift:14:21: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'W3WTranslations' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | @available(*, deprecated, message: "use W3WTranslationsProtocol instead")
12 | public class W3WTranslations {
| `- note: class 'W3WTranslations' does not conform to the 'Sendable' protocol
13 |
14 | public static let main = W3WTranslations()
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'W3WTranslations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'main' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Localization/W3WTranslate.swift:17:14: warning: static property 'bundles' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 |
17 | static var bundles = [Bundle]()
| |- warning: static property 'bundles' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bundles' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'bundles' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |
[29/54] Compiling W3WSwiftCore W3WProtocolV3.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Localization/W3WTranslate.swift:14:21: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'W3WTranslations' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | @available(*, deprecated, message: "use W3WTranslationsProtocol instead")
12 | public class W3WTranslations {
| `- note: class 'W3WTranslations' does not conform to the 'Sendable' protocol
13 |
14 | public static let main = W3WTranslations()
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'W3WTranslations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'main' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Localization/W3WTranslate.swift:17:14: warning: static property 'bundles' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 |
17 | static var bundles = [Bundle]()
| |- warning: static property 'bundles' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bundles' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'bundles' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |
[30/54] Compiling W3WSwiftCore W3WProtocolV4.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Localization/W3WTranslate.swift:14:21: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'W3WTranslations' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | @available(*, deprecated, message: "use W3WTranslationsProtocol instead")
12 | public class W3WTranslations {
| `- note: class 'W3WTranslations' does not conform to the 'Sendable' protocol
13 |
14 | public static let main = W3WTranslations()
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'W3WTranslations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'main' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Localization/W3WTranslate.swift:17:14: warning: static property 'bundles' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 |
17 | static var bundles = [Bundle]()
| |- warning: static property 'bundles' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bundles' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'bundles' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |
[31/54] Compiling W3WSwiftCore W3WMockTranslation.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Localization/W3WTranslate.swift:14:21: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'W3WTranslations' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | @available(*, deprecated, message: "use W3WTranslationsProtocol instead")
12 | public class W3WTranslations {
| `- note: class 'W3WTranslations' does not conform to the 'Sendable' protocol
13 |
14 | public static let main = W3WTranslations()
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'W3WTranslations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'main' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Localization/W3WTranslate.swift:17:14: warning: static property 'bundles' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 |
17 | static var bundles = [Bundle]()
| |- warning: static property 'bundles' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bundles' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'bundles' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |
[32/54] Compiling W3WSwiftCore W3WTranslate.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Localization/W3WTranslate.swift:14:21: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'W3WTranslations' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | @available(*, deprecated, message: "use W3WTranslationsProtocol instead")
12 | public class W3WTranslations {
| `- note: class 'W3WTranslations' does not conform to the 'Sendable' protocol
13 |
14 | public static let main = W3WTranslations()
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'W3WTranslations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'main' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Localization/W3WTranslate.swift:17:14: warning: static property 'bundles' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 |
17 | static var bundles = [Bundle]()
| |- warning: static property 'bundles' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bundles' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'bundles' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |
[33/54] Compiling W3WSwiftCore W3WDuration.swift
[34/54] Compiling W3WSwiftCore ClosureDefinitions.swift
[35/54] Compiling W3WSwiftCore W3WError+W3WSwiftCore.swift
[36/54] Compiling W3WSwiftCore W3WMeasurementSystem.swift
[37/54] Compiling W3WSwiftCore W3WUtilitiesProtocol.swift
[38/54] Compiling W3WSwiftCore W3WInputType.swift
[39/54] Compiling W3WSwiftCore W3WOption.swift
[40/54] Compiling W3WSwiftCore W3WOptionAcceptorProtocol.swift
[41/54] Compiling W3WSwiftCore W3WOptionProtocol.swift
[42/54] Compiling W3WSwiftCore W3WOptions.swift
[43/54] Compiling W3WSwiftCore W3WBox.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/W3WSettings+W3WSwiftCore.swift:15:21: warning: static property 'measurement' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | // mutable settings
15 | static public var measurement = W3WMeasurementSystem.system
| |- warning: static property 'measurement' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'measurement' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'measurement' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | // direction of writing
[44/54] Compiling W3WSwiftCore W3WCircle.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/W3WSettings+W3WSwiftCore.swift:15:21: warning: static property 'measurement' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | // mutable settings
15 | static public var measurement = W3WMeasurementSystem.system
| |- warning: static property 'measurement' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'measurement' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'measurement' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | // direction of writing
[45/54] Compiling W3WSwiftCore W3WDistance.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/W3WSettings+W3WSwiftCore.swift:15:21: warning: static property 'measurement' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | // mutable settings
15 | static public var measurement = W3WMeasurementSystem.system
| |- warning: static property 'measurement' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'measurement' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'measurement' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | // direction of writing
[46/54] Compiling W3WSwiftCore W3WLine.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/W3WSettings+W3WSwiftCore.swift:15:21: warning: static property 'measurement' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | // mutable settings
15 | static public var measurement = W3WMeasurementSystem.system
| |- warning: static property 'measurement' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'measurement' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'measurement' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | // direction of writing
[47/54] Compiling W3WSwiftCore W3WPolygon.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/W3WSettings+W3WSwiftCore.swift:15:21: warning: static property 'measurement' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | // mutable settings
15 | static public var measurement = W3WMeasurementSystem.system
| |- warning: static property 'measurement' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'measurement' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'measurement' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | // direction of writing
[48/54] Emitting module W3WSwiftCore
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Localization/W3WTranslate.swift:14:21: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'W3WTranslations' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | @available(*, deprecated, message: "use W3WTranslationsProtocol instead")
12 | public class W3WTranslations {
| `- note: class 'W3WTranslations' does not conform to the 'Sendable' protocol
13 |
14 | public static let main = W3WTranslations()
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'W3WTranslations' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'main' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Localization/W3WTranslate.swift:17:14: warning: static property 'bundles' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 |
17 | static var bundles = [Bundle]()
| |- warning: static property 'bundles' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bundles' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'bundles' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Types/Values/W3WLanguage.swift:160:21: warning: static property 'english' is not concurrency-safe because non-'Sendable' type 'W3WBaseLanguage' may have shared mutable state; this is an error in the Swift 6 language mode
90 |
91 |
92 | public struct W3WBaseLanguage: W3WLanguage, ExpressibleByStringLiteral {
| `- note: consider making struct 'W3WBaseLanguage' conform to the 'Sendable' protocol
93 | public typealias StringLiteralType = String
94 |
:
158 |
159 |
160 | static public let english = W3WBaseLanguage(locale: "en_gb")
| |- warning: static property 'english' is not concurrency-safe because non-'Sendable' type 'W3WBaseLanguage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'english' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 | }
162 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/W3WSettings+W3WSwiftCore.swift:15:21: warning: static property 'measurement' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | // mutable settings
15 | static public var measurement = W3WMeasurementSystem.system
| |- warning: static property 'measurement' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'measurement' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'measurement' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | // direction of writing
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/W3WSettings+W3WSwiftCore.swift:18:21: warning: static property 'leftToRight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | // direction of writing
18 | static public var leftToRight = (NSLocale.characterDirection(forLanguage: NSLocale.preferredLanguages.first ?? W3WSettings.defaultLanguage.code) == Locale.LanguageDirection.leftToRight)
| |- warning: static property 'leftToRight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'leftToRight' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'leftToRight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | // language to defaul to when not provided in a call
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/W3WSettings+W3WSwiftCore.swift:21:21: warning: static property 'defaultLanguage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | // language to defaul to when not provided in a call
21 | public static var defaultLanguage = W3WBaseLanguage(code: "en", name: "English", nativeName: "English")
| |- warning: static property 'defaultLanguage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultLanguage' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultLanguage' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 |
[49/54] Compiling W3WSwiftCore W3WUser.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Audio/W3WAudioRecorder.swift:245:7: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
243 |
244 | DispatchQueue.main.async {
245 | self.volumeUpdate(self.recordingLevel)
| |- 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
246 | }
247 | }
[50/54] Compiling W3WSwiftCore W3WAudioRecorder.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Audio/W3WAudioRecorder.swift:245:7: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
243 |
244 | DispatchQueue.main.async {
245 | self.volumeUpdate(self.recordingLevel)
| |- 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
246 | }
247 | }
[51/54] Compiling W3WSwiftCore W3WAudioRecording.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Audio/W3WAudioRecorder.swift:245:7: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
243 |
244 | DispatchQueue.main.async {
245 | self.volumeUpdate(self.recordingLevel)
| |- 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
246 | }
247 | }
[52/54] Compiling W3WSwiftCore W3WAudioStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Audio/W3WAudioRecorder.swift:245:7: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
243 |
244 | DispatchQueue.main.async {
245 | self.volumeUpdate(self.recordingLevel)
| |- 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
246 | }
247 | }
[53/54] Compiling W3WSwiftCore W3WEncoding.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Audio/W3WAudioRecorder.swift:245:7: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
243 |
244 | DispatchQueue.main.async {
245 | self.volumeUpdate(self.recordingLevel)
| |- 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
246 | }
247 | }
[54/54] Compiling W3WSwiftCore W3WMicrophone.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Audio/W3WAudioRecorder.swift:245:7: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
243 |
244 | DispatchQueue.main.async {
245 | self.volumeUpdate(self.recordingLevel)
| |- 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
246 | }
247 | }
Build complete! (20.00s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "w3w-swift-core",
"name" : "w3w-swift-core",
"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" : "W3WSwiftCore",
"targets" : [
"W3WSwiftCore"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "w3w_swift_typesTests",
"module_type" : "SwiftTarget",
"name" : "w3w-swift-typesTests",
"path" : "Tests/w3w-swift-typesTests",
"sources" : [
"w3w_swift_typesTests.swift"
],
"target_dependencies" : [
"W3WSwiftCore"
],
"type" : "test"
},
{
"c99name" : "w3w_swift_Tests",
"module_type" : "SwiftTarget",
"name" : "w3w-swift-Tests",
"path" : "Tests/w3w-swift-Tests",
"sources" : [
"IsValid3waTests.swift"
],
"target_dependencies" : [
"W3WSwiftCore"
],
"type" : "test"
},
{
"c99name" : "W3WSwiftCore",
"module_type" : "SwiftTarget",
"name" : "W3WSwiftCore",
"path" : "Sources/W3WSwiftCore",
"product_memberships" : [
"W3WSwiftCore"
],
"sources" : [
"Accounts/W3WUser.swift",
"Audio/W3WAudioRecorder.swift",
"Audio/W3WAudioRecording.swift",
"Audio/W3WAudioStream.swift",
"Audio/W3WEncoding.swift",
"Audio/W3WMicrophone.swift",
"Bridges/ApiExtension.swift",
"Bridges/SdkExtension.swift",
"Bridges/SdkTypes.swift",
"Gps/W3WGpsReading.swift",
"Gps/W3WGpsState.swift",
"Gps/W3WGpsStatus.swift",
"Interfaces/W3WProtocolV3.swift",
"Interfaces/W3WProtocolV4.swift",
"Localization/W3WMockTranslation.swift",
"Localization/W3WTranslate.swift",
"Localization/W3WTranslationsProtocol.swift",
"Network/W3WJson.swift",
"Network/W3WRequest.swift",
"Reactive/W3WEvent.swift",
"Reactive/W3WEventSubscriberProtocol.swift",
"Reactive/W3WEventsSubscriptions.swift",
"Reactive/W3WLive.swift",
"Regex/W3WRegex.swift",
"Threading/W3WDebouncer.swift",
"Threading/W3WThread.swift",
"Types/Geometry/W3WBox.swift",
"Types/Geometry/W3WCircle.swift",
"Types/Geometry/W3WDistance.swift",
"Types/Geometry/W3WLine.swift",
"Types/Geometry/W3WPolygon.swift",
"Types/Options/W3WInputType.swift",
"Types/Options/W3WOption.swift",
"Types/Options/W3WOptionAcceptorProtocol.swift",
"Types/Options/W3WOptionProtocol.swift",
"Types/Options/W3WOptions.swift",
"Types/Time/W3WDuration.swift",
"Types/Util/ClosureDefinitions.swift",
"Types/Util/W3WError+W3WSwiftCore.swift",
"Types/Util/W3WMeasurementSystem.swift",
"Types/Util/W3WUtilitiesProtocol.swift",
"Types/Values/W3WCountry.swift",
"Types/Values/W3WLanguage.swift",
"Types/Values/W3WRanked.swift",
"Types/Values/W3WSquare.swift",
"Types/Values/W3WSuggestion.swift",
"Voice/W3WAudioStreamProtocol.swift",
"Voice/W3WVoiceListeningState.swift",
"Voice/W3WVoiceProtocol.swift",
"Voice/W3WVoiceSuggestion+W3WSwiftCore.swift",
"W3WSettings+W3WSwiftCore.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Done.