The Swift Package Index logo.Swift Package Index

Build Information

Successful build of IAppRater, reference main (8fbd0b), with Swift 6.1 for macOS (SPM) on 18 Nov 2026 12:24:39 UTC.

Swift 6 data race errors: 2

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: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ukushu/IAppRater.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ukushu/IAppRater
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8fbd0bd bugfixes
Cloned https://github.com/ukushu/IAppRater.git
Revision (git rev-parse @):
8fbd0bd40998d8af43e97ccede4e89a69156ef02
SUCCESS checkout https://github.com/ukushu/IAppRater.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ukushu/IAppRater.git
https://github.com/ukushu/IAppRater.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "IAppRater",
  "name" : "IAppRater",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.3"
    },
    {
      "name" : "macos",
      "version" : "10.14"
    }
  ],
  "products" : [
    {
      "name" : "IAppRater",
      "targets" : [
        "IAppRater"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "IAppRaterTests",
      "module_type" : "SwiftTarget",
      "name" : "IAppRaterTests",
      "path" : "Tests/IAppRaterTests",
      "sources" : [
        "IAppRaterTests.swift"
      ],
      "target_dependencies" : [
        "IAppRater"
      ],
      "type" : "test"
    },
    {
      "c99name" : "IAppRater",
      "module_type" : "SwiftTarget",
      "name" : "IAppRater",
      "path" : "Sources/IAppRater",
      "product_memberships" : [
        "IAppRater"
      ],
      "sources" : [
        "IAppRater.swift",
        "Points.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
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/5] Compiling IAppRater Points.swift
[4/5] Emitting module IAppRater
/Users/admin/builder/spi-builder-workspace/Sources/IAppRater/IAppRater.swift:11:24: warning: static property 'requestPending' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  9 | public class IAppRater {
 10 |     private static let requestLock = NSLock()
 11 |     private static var requestPending = false
    |                        |- warning: static property 'requestPending' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'requestPending' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'requestPending' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 12 |     private static var requestGeneration = 0
 13 |
/Users/admin/builder/spi-builder-workspace/Sources/IAppRater/IAppRater.swift:12:24: warning: static property 'requestGeneration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 10 |     private static let requestLock = NSLock()
 11 |     private static var requestPending = false
 12 |     private static var requestGeneration = 0
    |                        |- warning: static property 'requestGeneration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'requestGeneration' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'requestGeneration' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 |
 14 |     public let minLaunches: Int
[5/5] Compiling IAppRater IAppRater.swift
/Users/admin/builder/spi-builder-workspace/Sources/IAppRater/IAppRater.swift:11:24: warning: static property 'requestPending' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  9 | public class IAppRater {
 10 |     private static let requestLock = NSLock()
 11 |     private static var requestPending = false
    |                        |- warning: static property 'requestPending' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'requestPending' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'requestPending' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 12 |     private static var requestGeneration = 0
 13 |
/Users/admin/builder/spi-builder-workspace/Sources/IAppRater/IAppRater.swift:12:24: warning: static property 'requestGeneration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 10 |     private static let requestLock = NSLock()
 11 |     private static var requestPending = false
 12 |     private static var requestGeneration = 0
    |                        |- warning: static property 'requestGeneration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'requestGeneration' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'requestGeneration' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 |
 14 |     public let minLaunches: Int
/Users/admin/builder/spi-builder-workspace/Sources/IAppRater/IAppRater.swift:220:9: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
218 | #else
219 |         SKStoreReviewController.requestReview()
220 |         completion(true)
    |         |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |         `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
221 | #endif
222 |     }
/Users/admin/builder/spi-builder-workspace/Sources/IAppRater/IAppRater.swift:233:9: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
231 |     DispatchQueue.main.async {
232 | #if os(macOS)
233 |         completion(NSWorkspace.shared.open(url))
    |         |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |         `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
234 | #else
235 |         UIApplication.shared.open(url, completionHandler: completion)
Build complete! (8.00s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "IAppRater",
  "name" : "IAppRater",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.3"
    },
    {
      "name" : "macos",
      "version" : "10.14"
    }
  ],
  "products" : [
    {
      "name" : "IAppRater",
      "targets" : [
        "IAppRater"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "IAppRaterTests",
      "module_type" : "SwiftTarget",
      "name" : "IAppRaterTests",
      "path" : "Tests/IAppRaterTests",
      "sources" : [
        "IAppRaterTests.swift"
      ],
      "target_dependencies" : [
        "IAppRater"
      ],
      "type" : "test"
    },
    {
      "c99name" : "IAppRater",
      "module_type" : "SwiftTarget",
      "name" : "IAppRater",
      "path" : "Sources/IAppRater",
      "product_memberships" : [
        "IAppRater"
      ],
      "sources" : [
        "IAppRater.swift",
        "Points.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Done.