The Swift Package Index logo.Swift Package Index

Build Information

Successful build of ReviewKit, reference main (20f35a), with Swift 6.1 for macOS (SPM) on 17 Feb 2026 17:53:24 UTC.

Swift 6 data race errors: 3

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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/FlineDev/ReviewKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/FlineDev/ReviewKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 20f35a4 Remove ContextKit artifacts during Indie workspace cleanup in favor of shared skills
Cloned https://github.com/FlineDev/ReviewKit.git
Revision (git rev-parse @):
20f35a4f006776852515af7b14f3bf0ea4c004c4
SUCCESS checkout https://github.com/FlineDev/ReviewKit.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/FlineDev/ReviewKit.git
https://github.com/FlineDev/ReviewKit.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ReviewKit",
  "name" : "ReviewKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.14"
    },
    {
      "name" : "maccatalyst",
      "version" : "14.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "ReviewKit",
      "targets" : [
        "ReviewKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ReviewKit",
      "module_type" : "SwiftTarget",
      "name" : "ReviewKit",
      "path" : "Sources/ReviewKit",
      "product_memberships" : [
        "ReviewKit"
      ],
      "sources" : [
        "PositiveEvent.swift",
        "ReviewCriteria.swift",
        "ReviewKit.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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/6] Compiling ReviewKit ReviewCriteria.swift
[4/6] Emitting module ReviewKit
/Users/admin/builder/spi-builder-workspace/Sources/ReviewKit/ReviewKit.swift:7:22: warning: static property 'criteria' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 5 | public enum ReviewKit {
 6 |    /// The minimum criteria to be met to request a review from a user.
 7 |    public static var criteria: ReviewCriteria = ReviewCriteria(minPositiveEventsWeight: 3, eventsExpireAfterDays: 14)
   |                      |- warning: static property 'criteria' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                      |- note: convert 'criteria' to a 'let' constant to make 'Sendable' shared state immutable
   |                      |- note: add '@MainActor' to make static property 'criteria' part of global actor 'MainActor'
   |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 8 |
 9 |    /// Turns off the review request inside an `#if DEBUG`. On by default (for testing purposes).
/Users/admin/builder/spi-builder-workspace/Sources/ReviewKit/ReviewKit.swift:10:22: warning: static property 'enabledInDebugBuilds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 8 |
 9 |    /// Turns off the review request inside an `#if DEBUG`. On by default (for testing purposes).
10 |    public static var enabledInDebugBuilds: Bool = true
   |                      |- warning: static property 'enabledInDebugBuilds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                      |- note: convert 'enabledInDebugBuilds' to a 'let' constant to make 'Sendable' shared state immutable
   |                      |- note: add '@MainActor' to make static property 'enabledInDebugBuilds' part of global actor 'MainActor'
   |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 |    /// Records a positive event and requests a review if the criteria are met. Use when a user has completed a workflow and is less likely to be annoyed.
/Users/admin/builder/spi-builder-workspace/Sources/ReviewKit/ReviewKit.swift:51:15: warning: static property 'positiveEvents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 |    }
50 |
51 |    static var positiveEvents: [PositiveEvent] =
   |               |- warning: static property 'positiveEvents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |               |- note: convert 'positiveEvents' to a 'let' constant to make 'Sendable' shared state immutable
   |               |- note: add '@MainActor' to make static property 'positiveEvents' part of global actor 'MainActor'
   |               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |       UserDefaults.standard
53 |       .array(forKey: "ReviewKit.positiveEvents")?
[5/6] Compiling ReviewKit PositiveEvent.swift
[6/6] Compiling ReviewKit ReviewKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/ReviewKit/ReviewKit.swift:7:22: warning: static property 'criteria' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 5 | public enum ReviewKit {
 6 |    /// The minimum criteria to be met to request a review from a user.
 7 |    public static var criteria: ReviewCriteria = ReviewCriteria(minPositiveEventsWeight: 3, eventsExpireAfterDays: 14)
   |                      |- warning: static property 'criteria' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                      |- note: convert 'criteria' to a 'let' constant to make 'Sendable' shared state immutable
   |                      |- note: add '@MainActor' to make static property 'criteria' part of global actor 'MainActor'
   |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 8 |
 9 |    /// Turns off the review request inside an `#if DEBUG`. On by default (for testing purposes).
/Users/admin/builder/spi-builder-workspace/Sources/ReviewKit/ReviewKit.swift:10:22: warning: static property 'enabledInDebugBuilds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 8 |
 9 |    /// Turns off the review request inside an `#if DEBUG`. On by default (for testing purposes).
10 |    public static var enabledInDebugBuilds: Bool = true
   |                      |- warning: static property 'enabledInDebugBuilds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                      |- note: convert 'enabledInDebugBuilds' to a 'let' constant to make 'Sendable' shared state immutable
   |                      |- note: add '@MainActor' to make static property 'enabledInDebugBuilds' part of global actor 'MainActor'
   |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 |    /// Records a positive event and requests a review if the criteria are met. Use when a user has completed a workflow and is less likely to be annoyed.
/Users/admin/builder/spi-builder-workspace/Sources/ReviewKit/ReviewKit.swift:51:15: warning: static property 'positiveEvents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 |    }
50 |
51 |    static var positiveEvents: [PositiveEvent] =
   |               |- warning: static property 'positiveEvents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |               |- note: convert 'positiveEvents' to a 'let' constant to make 'Sendable' shared state immutable
   |               |- note: add '@MainActor' to make static property 'positiveEvents' part of global actor 'MainActor'
   |               `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |       UserDefaults.standard
53 |       .array(forKey: "ReviewKit.positiveEvents")?
Build complete! (7.16s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ReviewKit",
  "name" : "ReviewKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.14"
    },
    {
      "name" : "maccatalyst",
      "version" : "14.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "ReviewKit",
      "targets" : [
        "ReviewKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ReviewKit",
      "module_type" : "SwiftTarget",
      "name" : "ReviewKit",
      "path" : "Sources/ReviewKit",
      "product_memberships" : [
        "ReviewKit"
      ],
      "sources" : [
        "PositiveEvent.swift",
        "ReviewCriteria.swift",
        "ReviewKit.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.