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 set-simulator-location, reference 1.5.0 (daee53), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 09:34:48 UTC.

Swift 6 data race errors: 0

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/MobileNativeFoundation/set-simulator-location.git
Reference: 1.5.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/MobileNativeFoundation/set-simulator-location
 * tag               1.5.0      -> FETCH_HEAD
HEAD is now at daee538 Update to Xcode 11.5 / Swift 5.2 (#27)
Cloned https://github.com/MobileNativeFoundation/set-simulator-location.git
Revision (git rev-parse @):
daee5387946f72346a2f6d7511b0d217e381412a
SUCCESS checkout https://github.com/MobileNativeFoundation/set-simulator-location.git at 1.5.0
========================================
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": "set-simulator-location",
      "name": "set-simulator-location",
      "url": "https://github.com/MobileNativeFoundation/set-simulator-location.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/set-simulator-location",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/MobileNativeFoundation/set-simulator-location.git
[1/223] Fetching set-simulator-location
Fetched https://github.com/MobileNativeFoundation/set-simulator-location.git from cache (0.62s)
Creating working copy for https://github.com/MobileNativeFoundation/set-simulator-location.git
Working copy of https://github.com/MobileNativeFoundation/set-simulator-location.git resolved at 1.5.0 (daee538)
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/MobileNativeFoundation/set-simulator-location.git
https://github.com/MobileNativeFoundation/set-simulator-location.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "set-simulator-location",
  "name" : "set-simulator-location",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "set-simulator-location",
      "targets" : [
        "set-simulator-location"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "set_simulator_location",
      "module_type" : "SwiftTarget",
      "name" : "set-simulator-location",
      "path" : "sources",
      "product_memberships" : [
        "set-simulator-location"
      ],
      "sources" : [
        "cli.swift",
        "coordinate+extension.swift",
        "coordinate.swift",
        "errors.swift",
        "main.swift",
        "notification.swift",
        "query.swift",
        "result.swift",
        "simulators.swift",
        "stderr.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.2"
}
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/6] Write sources
[1/6] Write set-simulator-location-entitlement.plist
[2/6] Write swift-version-2F0A5646E1D333AE.txt
[4/16] Compiling set_simulator_location result.swift
[5/16] Compiling set_simulator_location simulators.swift
[6/17] Compiling set_simulator_location stderr.swift
/Users/admin/builder/spi-builder-workspace/sources/stderr.swift:3:5: warning: var 'stderrStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 1 | import Darwin
 2 |
 3 | var stderrStream = STDErrOutputStream()
   |     |- warning: var 'stderrStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: convert 'stderrStream' to a 'let' constant to make 'Sendable' shared state immutable
   |     |- note: add '@MainActor' to make var 'stderrStream' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 4 |
 5 | struct STDErrOutputStream: TextOutputStream {
[7/17] Compiling set_simulator_location notification.swift
[8/17] Compiling set_simulator_location coordinate.swift
[9/17] Compiling set_simulator_location main.swift
[10/17] Compiling set_simulator_location coordinate+extension.swift
[11/17] Compiling set_simulator_location errors.swift
[12/17] Compiling set_simulator_location cli.swift
[13/17] Compiling set_simulator_location query.swift
/Users/admin/builder/spi-builder-workspace/sources/query.swift:37:13: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
35 |
36 |         self.start { response, error in
37 |             result = (response, error)
   |             |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
   |             `- note: 'result' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
38 |         }
39 |
40 |         while result == nil {
   |               `- note: access can happen concurrently
41 |             RunLoop.main.run(until: Date(timeIntervalSinceNow: 1))
42 |         }
[14/17] Emitting module set_simulator_location
/Users/admin/builder/spi-builder-workspace/sources/stderr.swift:3:5: warning: var 'stderrStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 1 | import Darwin
 2 |
 3 | var stderrStream = STDErrOutputStream()
   |     |- warning: var 'stderrStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: convert 'stderrStream' to a 'let' constant to make 'Sendable' shared state immutable
   |     |- note: add '@MainActor' to make var 'stderrStream' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 4 |
 5 | struct STDErrOutputStream: TextOutputStream {
[14/17] Write Objects.LinkFileList
[15/17] Linking set-simulator-location
[16/17] Applying set-simulator-location
Build complete! (7.95s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "set-simulator-location",
  "name" : "set-simulator-location",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "set-simulator-location",
      "targets" : [
        "set-simulator-location"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "set_simulator_location",
      "module_type" : "SwiftTarget",
      "name" : "set-simulator-location",
      "path" : "sources",
      "product_memberships" : [
        "set-simulator-location"
      ],
      "sources" : [
        "cli.swift",
        "coordinate+extension.swift",
        "coordinate.swift",
        "errors.swift",
        "main.swift",
        "notification.swift",
        "query.swift",
        "result.swift",
        "simulators.swift",
        "stderr.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.2"
}
Done.