The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of GoogleStaticMapsKit, reference master (85f5da), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 14:46:04 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.61.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
========================================
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": "googlestaticmapskit",
      "name": "GoogleStaticMapsKit",
      "url": "https://github.com/PoissonBallon/GoogleStaticMapsKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/GoogleStaticMapsKit",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/PoissonBallon/GoogleStaticMapsKit.git
[1/183] Fetching googlestaticmapskit
Fetched https://github.com/PoissonBallon/GoogleStaticMapsKit.git from cache (1.18s)
Creating working copy for https://github.com/PoissonBallon/GoogleStaticMapsKit.git
Working copy of https://github.com/PoissonBallon/GoogleStaticMapsKit.git resolved at master (85f5da3)
warning: '.resolve-product-dependencies': dependency 'googlestaticmapskit' 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/PoissonBallon/GoogleStaticMapsKit.git
https://github.com/PoissonBallon/GoogleStaticMapsKit.git
{
  "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"
}
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/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 nonisolated 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 nonisolated 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: add '@MainActor' to make var 'intern_google_static_maps_api_key' part of global actor 'MainActor'
   |              `- 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 Style.swift
[9/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 nonisolated 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 nonisolated 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: add '@MainActor' to make var 'intern_google_static_maps_api_key' part of global actor 'MainActor'
   |              `- 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 |   }
[10/13] Compiling GoogleStaticMapsKit Feature.swift
[11/13] Compiling GoogleStaticMapsKit Parameters.swift
[12/13] Compiling GoogleStaticMapsKit Error.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 }
Build complete! (6.51s)
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.