Build Information
Successful build of w3w-swift-core, reference main (7fe876
), with Swift 6.1 for macOS (SPM) on 4 Aug 2025 13:14:56 UTC.
Swift 6 data race errors: 7
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.65.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/what3words/w3w-swift-core.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/what3words/w3w-swift-core
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 7fe8769 Merge pull request #21 from what3words/staging
Cloned https://github.com/what3words/w3w-swift-core.git
Revision (git rev-parse @):
7fe8769bfbe105bcf3b05f42aeb8833673780ec1
SUCCESS checkout https://github.com/what3words/w3w-swift-core.git at main
========================================
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/502] Fetching w3w-swift-core
Fetched https://github.com/what3words/w3w-swift-core.git from cache (0.69s)
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 main (7fe8769)
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.1
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/NetworkConnection.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/Street/W3WStreetAddress.swift",
"Types/Street/W3WStreetAddressKey.swift",
"Types/Time/W3WDuration.swift",
"Types/Util/ClosureDefinitions.swift",
"Types/Util/W3WError+W3WSwiftCore.swift",
"Types/Util/W3WMeasurementSystem.swift",
"Types/Util/W3WUtilitiesProtocol.swift",
"Types/Util/W3WWritingDirection.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.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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/53] 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: add '@MainActor' to make static property 'main' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'bundles' part of global actor 'MainActor'
| `- 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:180: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
110 |
111 |
112 | public struct W3WBaseLanguage: W3WLanguage, ExpressibleByStringLiteral {
| `- note: consider making struct 'W3WBaseLanguage' conform to the 'Sendable' protocol
113 | public typealias StringLiteralType = String
114 |
:
178 |
179 |
180 | 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: add '@MainActor' to make static property 'english' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
181 | }
182 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/W3WSettings+W3WSwiftCore.swift:13: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
11 |
12 | // mutable settings
13 | 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: add '@MainActor' to make static property 'measurement' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | static public var separatorType = W3WSeparatorsType.firstCommaSecondDot
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/W3WSettings+W3WSwiftCore.swift:15:21: warning: static property 'separatorType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | static public var measurement = W3WMeasurementSystem.system
14 |
15 | static public var separatorType = W3WSeparatorsType.firstCommaSecondDot
| |- warning: static property 'separatorType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'separatorType' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'separatorType' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'leftToRight' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultLanguage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 |
[4/58] Compiling W3WSwiftCore W3WAudioStreamProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/W3WSettings+W3WSwiftCore.swift:13: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
11 |
12 | // mutable settings
13 | 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: add '@MainActor' to make static property 'measurement' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | static public var separatorType = W3WSeparatorsType.firstCommaSecondDot
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/W3WSettings+W3WSwiftCore.swift:15:21: warning: static property 'separatorType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | static public var measurement = W3WMeasurementSystem.system
14 |
15 | static public var separatorType = W3WSeparatorsType.firstCommaSecondDot
| |- warning: static property 'separatorType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'separatorType' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'separatorType' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'leftToRight' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultLanguage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 |
[5/58] Compiling W3WSwiftCore W3WVoiceListeningState.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/W3WSettings+W3WSwiftCore.swift:13: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
11 |
12 | // mutable settings
13 | 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: add '@MainActor' to make static property 'measurement' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | static public var separatorType = W3WSeparatorsType.firstCommaSecondDot
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/W3WSettings+W3WSwiftCore.swift:15:21: warning: static property 'separatorType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | static public var measurement = W3WMeasurementSystem.system
14 |
15 | static public var separatorType = W3WSeparatorsType.firstCommaSecondDot
| |- warning: static property 'separatorType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'separatorType' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'separatorType' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'leftToRight' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultLanguage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 |
[6/58] Compiling W3WSwiftCore W3WVoiceProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/W3WSettings+W3WSwiftCore.swift:13: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
11 |
12 | // mutable settings
13 | 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: add '@MainActor' to make static property 'measurement' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | static public var separatorType = W3WSeparatorsType.firstCommaSecondDot
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/W3WSettings+W3WSwiftCore.swift:15:21: warning: static property 'separatorType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | static public var measurement = W3WMeasurementSystem.system
14 |
15 | static public var separatorType = W3WSeparatorsType.firstCommaSecondDot
| |- warning: static property 'separatorType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'separatorType' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'separatorType' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'leftToRight' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultLanguage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 |
[7/58] Compiling W3WSwiftCore W3WVoiceSuggestion+W3WSwiftCore.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/W3WSettings+W3WSwiftCore.swift:13: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
11 |
12 | // mutable settings
13 | 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: add '@MainActor' to make static property 'measurement' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | static public var separatorType = W3WSeparatorsType.firstCommaSecondDot
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/W3WSettings+W3WSwiftCore.swift:15:21: warning: static property 'separatorType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | static public var measurement = W3WMeasurementSystem.system
14 |
15 | static public var separatorType = W3WSeparatorsType.firstCommaSecondDot
| |- warning: static property 'separatorType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'separatorType' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'separatorType' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'leftToRight' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultLanguage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 |
[8/58] Compiling W3WSwiftCore W3WSettings+W3WSwiftCore.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/W3WSettings+W3WSwiftCore.swift:13: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
11 |
12 | // mutable settings
13 | 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: add '@MainActor' to make static property 'measurement' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | static public var separatorType = W3WSeparatorsType.firstCommaSecondDot
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/W3WSettings+W3WSwiftCore.swift:15:21: warning: static property 'separatorType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | static public var measurement = W3WMeasurementSystem.system
14 |
15 | static public var separatorType = W3WSeparatorsType.firstCommaSecondDot
| |- warning: static property 'separatorType' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'separatorType' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'separatorType' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'leftToRight' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultLanguage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 |
[9/58] Compiling W3WSwiftCore ApiExtension.swift
[10/58] Compiling W3WSwiftCore SdkExtension.swift
[11/58] Compiling W3WSwiftCore SdkTypes.swift
[12/58] Compiling W3WSwiftCore W3WGpsReading.swift
[13/58] Compiling W3WSwiftCore W3WGpsState.swift
[14/58] Compiling W3WSwiftCore W3WGpsStatus.swift
[15/58] Compiling W3WSwiftCore W3WCountry.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Types/Values/W3WLanguage.swift:180: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
110 |
111 |
112 | public struct W3WBaseLanguage: W3WLanguage, ExpressibleByStringLiteral {
| `- note: consider making struct 'W3WBaseLanguage' conform to the 'Sendable' protocol
113 | public typealias StringLiteralType = String
114 |
:
178 |
179 |
180 | 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: add '@MainActor' to make static property 'english' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
181 | }
182 |
[16/58] Compiling W3WSwiftCore W3WLanguage.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Types/Values/W3WLanguage.swift:180: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
110 |
111 |
112 | public struct W3WBaseLanguage: W3WLanguage, ExpressibleByStringLiteral {
| `- note: consider making struct 'W3WBaseLanguage' conform to the 'Sendable' protocol
113 | public typealias StringLiteralType = String
114 |
:
178 |
179 |
180 | 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: add '@MainActor' to make static property 'english' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
181 | }
182 |
[17/58] Compiling W3WSwiftCore W3WRanked.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Types/Values/W3WLanguage.swift:180: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
110 |
111 |
112 | public struct W3WBaseLanguage: W3WLanguage, ExpressibleByStringLiteral {
| `- note: consider making struct 'W3WBaseLanguage' conform to the 'Sendable' protocol
113 | public typealias StringLiteralType = String
114 |
:
178 |
179 |
180 | 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: add '@MainActor' to make static property 'english' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
181 | }
182 |
[18/58] Compiling W3WSwiftCore W3WSquare.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Types/Values/W3WLanguage.swift:180: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
110 |
111 |
112 | public struct W3WBaseLanguage: W3WLanguage, ExpressibleByStringLiteral {
| `- note: consider making struct 'W3WBaseLanguage' conform to the 'Sendable' protocol
113 | public typealias StringLiteralType = String
114 |
:
178 |
179 |
180 | 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: add '@MainActor' to make static property 'english' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
181 | }
182 |
[19/58] Compiling W3WSwiftCore W3WSuggestion.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Types/Values/W3WLanguage.swift:180: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
110 |
111 |
112 | public struct W3WBaseLanguage: W3WLanguage, ExpressibleByStringLiteral {
| `- note: consider making struct 'W3WBaseLanguage' conform to the 'Sendable' protocol
113 | public typealias StringLiteralType = String
114 |
:
178 |
179 |
180 | 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: add '@MainActor' to make static property 'english' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
181 | }
182 |
[20/58] Compiling W3WSwiftCore W3WOptionProtocol.swift
[21/58] Compiling W3WSwiftCore W3WOptions.swift
[22/58] Compiling W3WSwiftCore W3WStreetAddress.swift
[23/58] Compiling W3WSwiftCore W3WStreetAddressKey.swift
[24/58] Compiling W3WSwiftCore W3WDuration.swift
[25/58] Compiling W3WSwiftCore W3WJson.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Network/W3WRequest.swift:124:9: warning: capture of 'self' with non-sendable type 'W3WRequest?' in a '@Sendable' closure
31 | }
32 | /// A base class for making API calls to a service
33 | open class W3WRequest {
| `- note: class 'W3WRequest' does not conform to the 'Sendable' protocol
34 |
35 | public var baseUrl = ""
:
122 |
123 | // deal with the results, and complete with the info
124 | self?.processResults(data: data, response: response, error: error, completion: completion)
| `- warning: capture of 'self' with non-sendable type 'W3WRequest?' in a '@Sendable' closure
125 | }
126 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Network/W3WRequest.swift:124:88: warning: capture of 'completion' with non-sendable type 'W3WRequestResponse' (aka '(Optional<Int>, Optional<Data>, Optional<W3WError>) -> ()') in a '@Sendable' closure
122 |
123 | // deal with the results, and complete with the info
124 | 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
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
125 | }
126 |
[26/58] Compiling W3WSwiftCore W3WRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Network/W3WRequest.swift:124:9: warning: capture of 'self' with non-sendable type 'W3WRequest?' in a '@Sendable' closure
31 | }
32 | /// A base class for making API calls to a service
33 | open class W3WRequest {
| `- note: class 'W3WRequest' does not conform to the 'Sendable' protocol
34 |
35 | public var baseUrl = ""
:
122 |
123 | // deal with the results, and complete with the info
124 | self?.processResults(data: data, response: response, error: error, completion: completion)
| `- warning: capture of 'self' with non-sendable type 'W3WRequest?' in a '@Sendable' closure
125 | }
126 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Network/W3WRequest.swift:124:88: warning: capture of 'completion' with non-sendable type 'W3WRequestResponse' (aka '(Optional<Int>, Optional<Data>, Optional<W3WError>) -> ()') in a '@Sendable' closure
122 |
123 | // deal with the results, and complete with the info
124 | 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
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
125 | }
126 |
[27/58] Compiling W3WSwiftCore W3WEvent.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Network/W3WRequest.swift:124:9: warning: capture of 'self' with non-sendable type 'W3WRequest?' in a '@Sendable' closure
31 | }
32 | /// A base class for making API calls to a service
33 | open class W3WRequest {
| `- note: class 'W3WRequest' does not conform to the 'Sendable' protocol
34 |
35 | public var baseUrl = ""
:
122 |
123 | // deal with the results, and complete with the info
124 | self?.processResults(data: data, response: response, error: error, completion: completion)
| `- warning: capture of 'self' with non-sendable type 'W3WRequest?' in a '@Sendable' closure
125 | }
126 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Network/W3WRequest.swift:124:88: warning: capture of 'completion' with non-sendable type 'W3WRequestResponse' (aka '(Optional<Int>, Optional<Data>, Optional<W3WError>) -> ()') in a '@Sendable' closure
122 |
123 | // deal with the results, and complete with the info
124 | 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
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
125 | }
126 |
[28/58] Compiling W3WSwiftCore W3WEventSubscriberProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Network/W3WRequest.swift:124:9: warning: capture of 'self' with non-sendable type 'W3WRequest?' in a '@Sendable' closure
31 | }
32 | /// A base class for making API calls to a service
33 | open class W3WRequest {
| `- note: class 'W3WRequest' does not conform to the 'Sendable' protocol
34 |
35 | public var baseUrl = ""
:
122 |
123 | // deal with the results, and complete with the info
124 | self?.processResults(data: data, response: response, error: error, completion: completion)
| `- warning: capture of 'self' with non-sendable type 'W3WRequest?' in a '@Sendable' closure
125 | }
126 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Network/W3WRequest.swift:124:88: warning: capture of 'completion' with non-sendable type 'W3WRequestResponse' (aka '(Optional<Int>, Optional<Data>, Optional<W3WError>) -> ()') in a '@Sendable' closure
122 |
123 | // deal with the results, and complete with the info
124 | 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
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
125 | }
126 |
[29/58] Compiling W3WSwiftCore W3WEventsSubscriptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Network/W3WRequest.swift:124:9: warning: capture of 'self' with non-sendable type 'W3WRequest?' in a '@Sendable' closure
31 | }
32 | /// A base class for making API calls to a service
33 | open class W3WRequest {
| `- note: class 'W3WRequest' does not conform to the 'Sendable' protocol
34 |
35 | public var baseUrl = ""
:
122 |
123 | // deal with the results, and complete with the info
124 | self?.processResults(data: data, response: response, error: error, completion: completion)
| `- warning: capture of 'self' with non-sendable type 'W3WRequest?' in a '@Sendable' closure
125 | }
126 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Network/W3WRequest.swift:124:88: warning: capture of 'completion' with non-sendable type 'W3WRequestResponse' (aka '(Optional<Int>, Optional<Data>, Optional<W3WError>) -> ()') in a '@Sendable' closure
122 |
123 | // deal with the results, and complete with the info
124 | 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
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
125 | }
126 |
[30/58] Compiling W3WSwiftCore W3WLive.swift
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Network/W3WRequest.swift:124:9: warning: capture of 'self' with non-sendable type 'W3WRequest?' in a '@Sendable' closure
31 | }
32 | /// A base class for making API calls to a service
33 | open class W3WRequest {
| `- note: class 'W3WRequest' does not conform to the 'Sendable' protocol
34 |
35 | public var baseUrl = ""
:
122 |
123 | // deal with the results, and complete with the info
124 | self?.processResults(data: data, response: response, error: error, completion: completion)
| `- warning: capture of 'self' with non-sendable type 'W3WRequest?' in a '@Sendable' closure
125 | }
126 |
/Users/admin/builder/spi-builder-workspace/Sources/W3WSwiftCore/Network/W3WRequest.swift:124:88: warning: capture of 'completion' with non-sendable type 'W3WRequestResponse' (aka '(Optional<Int>, Optional<Data>, Optional<W3WError>) -> ()') in a '@Sendable' closure
122 |
123 | // deal with the results, and complete with the info
124 | 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
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
125 | }
126 |
[31/58] 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: add '@MainActor' to make static property 'main' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'bundles' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |
[32/58] 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: add '@MainActor' to make static property 'main' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'bundles' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |
[33/58] 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: add '@MainActor' to make static property 'main' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'bundles' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |
[34/58] 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: add '@MainActor' to make static property 'main' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'bundles' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |
[35/58] Compiling W3WSwiftCore W3WTranslationsProtocol.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: add '@MainActor' to make static property 'main' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'bundles' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |
[36/58] Compiling W3WSwiftCore NetworkConnection.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: add '@MainActor' to make static property 'main' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'bundles' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |
[37/58] Compiling W3WSwiftCore W3WLine.swift
[38/58] Compiling W3WSwiftCore W3WPolygon.swift
[39/58] Compiling W3WSwiftCore W3WInputType.swift
[40/58] Compiling W3WSwiftCore W3WOption.swift
[41/58] Compiling W3WSwiftCore W3WOptionAcceptorProtocol.swift
[42/58] Compiling W3WSwiftCore ClosureDefinitions.swift
[43/58] Compiling W3WSwiftCore W3WError+W3WSwiftCore.swift
[44/58] Compiling W3WSwiftCore W3WMeasurementSystem.swift
[45/58] Compiling W3WSwiftCore W3WUtilitiesProtocol.swift
[46/58] Compiling W3WSwiftCore W3WWritingDirection.swift
[47/58] 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
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
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
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
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
54 | } else {
55 | DispatchQueue.global(qos: .userInitiated).async {
56 | block()
| |- warning: capture of 'block' with non-sendable type '() -> ()' in a '@Sendable' closure
| `- 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 | }
[48/58] 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
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
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
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
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
54 | } else {
55 | DispatchQueue.global(qos: .userInitiated).async {
56 | block()
| |- warning: capture of 'block' with non-sendable type '() -> ()' in a '@Sendable' closure
| `- 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 | }
[49/58] 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
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
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
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
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
54 | } else {
55 | DispatchQueue.global(qos: .userInitiated).async {
56 | block()
| |- warning: capture of 'block' with non-sendable type '() -> ()' in a '@Sendable' closure
| `- 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 | }
[50/58] Compiling W3WSwiftCore W3WBox.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
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
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
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
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
54 | } else {
55 | DispatchQueue.global(qos: .userInitiated).async {
56 | block()
| |- warning: capture of 'block' with non-sendable type '() -> ()' in a '@Sendable' closure
| `- 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 | }
[51/58] Compiling W3WSwiftCore W3WCircle.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
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
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
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
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
54 | } else {
55 | DispatchQueue.global(qos: .userInitiated).async {
56 | block()
| |- warning: capture of 'block' with non-sendable type '() -> ()' in a '@Sendable' closure
| `- 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 | }
[52/58] Compiling W3WSwiftCore W3WDistance.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
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
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
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
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
54 | } else {
55 | DispatchQueue.global(qos: .userInitiated).async {
56 | block()
| |- warning: capture of 'block' with non-sendable type '() -> ()' in a '@Sendable' closure
| `- 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 | }
[53/58] 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 | }
[54/58] 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 | }
[55/58] 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 | }
[56/58] 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 | }
[57/58] 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 | }
[58/58] 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! (10.17s)
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/NetworkConnection.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/Street/W3WStreetAddress.swift",
"Types/Street/W3WStreetAddressKey.swift",
"Types/Time/W3WDuration.swift",
"Types/Util/ClosureDefinitions.swift",
"Types/Util/W3WError+W3WSwiftCore.swift",
"Types/Util/W3WMeasurementSystem.swift",
"Types/Util/W3WUtilitiesProtocol.swift",
"Types/Util/W3WWritingDirection.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.