Build Information
Successful build of GoogleStaticMapsKit with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PoissonBallon/GoogleStaticMapsKit.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/PoissonBallon/GoogleStaticMapsKit
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 85f5da3 fix misspelling
Cloned https://github.com/PoissonBallon/GoogleStaticMapsKit.git
Revision (git rev-parse @):
85f5da396f7ebc404cfd6c678206483ffe385f9c
SUCCESS checkout https://github.com/PoissonBallon/GoogleStaticMapsKit.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/PoissonBallon/GoogleStaticMapsKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/12] Compiling GoogleStaticMapsKit StylesImport.swift
[4/13] Compiling GoogleStaticMapsKit Location.swift
[5/13] Compiling GoogleStaticMapsKit Query.swift
[6/13] Compiling GoogleStaticMapsKit Marker.swift
[7/13] Compiling GoogleStaticMapsKit GoogleStaticMaps.swift
/Users/admin/builder/spi-builder-workspace/Sources/GoogleStaticMaps.swift:39:14: warning: var 'intern_google_static_maps_api_key' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
37 | }
38 |
39 | internal var intern_google_static_maps_api_key: String?
| |- warning: var 'intern_google_static_maps_api_key' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'intern_google_static_maps_api_key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'intern_google_static_maps_api_key' 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
40 |
41 | public extension GoogleStaticMaps {
/Users/admin/builder/spi-builder-workspace/Sources/GoogleStaticMaps.swift:42:3: warning: 'public' modifier is redundant for static method declared in a public extension
40 |
41 | public extension GoogleStaticMaps {
42 | public static func setAPIKey(apiKey: String) {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
43 | intern_google_static_maps_api_key = apiKey
44 | }
[8/13] Compiling GoogleStaticMapsKit Parameters.swift
[9/13] Compiling GoogleStaticMapsKit Error.swift
[10/13] Emitting module GoogleStaticMapsKit
/Users/admin/builder/spi-builder-workspace/Sources/GoogleStaticMaps.swift:39:14: warning: var 'intern_google_static_maps_api_key' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
37 | }
38 |
39 | internal var intern_google_static_maps_api_key: String?
| |- warning: var 'intern_google_static_maps_api_key' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'intern_google_static_maps_api_key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'intern_google_static_maps_api_key' 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
40 |
41 | public extension GoogleStaticMaps {
/Users/admin/builder/spi-builder-workspace/Sources/GoogleStaticMaps.swift:42:3: warning: 'public' modifier is redundant for static method declared in a public extension
40 |
41 | public extension GoogleStaticMaps {
42 | public static func setAPIKey(apiKey: String) {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
43 | intern_google_static_maps_api_key = apiKey
44 | }
[11/13] Compiling GoogleStaticMapsKit Style.swift
[12/13] Compiling GoogleStaticMapsKit Feature.swift
[13/13] Compiling GoogleStaticMapsKit URL.swift
/Users/admin/builder/spi-builder-workspace/Sources/URL.swift:54:8: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
52 | let centerItem = try self.location.asDictionary()
53 | .flatMap { queryComponents(fromKey: $0.key, value: $0.value) }
54 | .flatMap { URLQueryItem(name: $0.0, value: $0.1) }
| |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
| `- note: use 'compactMap(_:)' instead
55 |
56 | let settingsItem = try self.parameters.asDictionary()
/Users/admin/builder/spi-builder-workspace/Sources/URL.swift:58:8: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
56 | let settingsItem = try self.parameters.asDictionary()
57 | .flatMap { queryComponents(fromKey: $0.key, value: $0.value) }
58 | .flatMap { URLQueryItem(name: $0.0, value: $0.1) }
| |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
| `- note: use 'compactMap(_:)' instead
59 |
60 | let componentsItem = try self.feature?.asArray()
/Users/admin/builder/spi-builder-workspace/Sources/URL.swift:63:8: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
61 | .flatMap { $0 }
62 | .flatMap { queryComponents(fromKey: $0.key, value: $0.value) }
63 | .flatMap { URLQueryItem(name: $0.0, value: $0.1) } ?? [URLQueryItem]()
| |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
| `- note: use 'compactMap(_:)' instead
64 |
65 | let items = [centerItem, settingsItem, componentsItem, [keyItem]].flatMap { $0 }
/Users/admin/builder/spi-builder-workspace/Sources/GoogleStaticMaps.swift:39:14: warning: var 'intern_google_static_maps_api_key' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
37 | }
38 |
39 | internal var intern_google_static_maps_api_key: String?
| |- warning: var 'intern_google_static_maps_api_key' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'intern_google_static_maps_api_key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'intern_google_static_maps_api_key' 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
40 |
41 | public extension GoogleStaticMaps {
Build complete! (20.70s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "GoogleStaticMapsKit",
"name" : "GoogleStaticMapsKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "GoogleStaticMapsKit",
"targets" : [
"GoogleStaticMapsKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "GoogleStaticMapsKitTests",
"module_type" : "SwiftTarget",
"name" : "GoogleStaticMapsKitTests",
"path" : "Tests",
"sources" : [
"GoogleStaticMapsKitTests/GoogleStaticMapsKitTests.swift",
"LinuxMain.swift"
],
"target_dependencies" : [
"GoogleStaticMapsKit"
],
"type" : "test"
},
{
"c99name" : "GoogleStaticMapsKit",
"module_type" : "SwiftTarget",
"name" : "GoogleStaticMapsKit",
"path" : "Sources",
"product_memberships" : [
"GoogleStaticMapsKit"
],
"sources" : [
"Error.swift",
"Feature.swift",
"GoogleStaticMaps.swift",
"Location.swift",
"Marker.swift",
"Parameters.swift",
"Query.swift",
"Style.swift",
"StylesImport.swift",
"URL.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Done.