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 PredicateKit, reference 1.10.0 (8e3c45), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 14:24:21 UTC.

Swift 6 data race errors: 5

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/ftchirou/PredicateKit.git
Reference: 1.10.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ftchirou/PredicateKit
 * tag               1.10.0     -> FETCH_HEAD
HEAD is now at 8e3c45c 🔖 Bump PredicateKit.podspec
Cloned https://github.com/ftchirou/PredicateKit.git
Revision (git rev-parse @):
8e3c45cb580baceb70384572d0aa38002b972bfc
SUCCESS checkout https://github.com/ftchirou/PredicateKit.git at 1.10.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": "predicatekit",
      "name": "PredicateKit",
      "url": "https://github.com/ftchirou/PredicateKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PredicateKit",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/ftchirou/PredicateKit.git
[10/475] Fetching predicatekit
Fetched https://github.com/ftchirou/PredicateKit.git from cache (0.73s)
Creating working copy for https://github.com/ftchirou/PredicateKit.git
Working copy of https://github.com/ftchirou/PredicateKit.git resolved at 1.10.0 (8e3c45c)
warning: '.resolve-product-dependencies': dependency 'predicatekit' 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/ftchirou/PredicateKit.git
https://github.com/ftchirou/PredicateKit.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PredicateKit",
  "name" : "PredicateKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "5.0"
    }
  ],
  "products" : [
    {
      "name" : "PredicateKit",
      "targets" : [
        "PredicateKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "PredicateKit",
      "module_type" : "SwiftTarget",
      "name" : "PredicateKit",
      "path" : "PredicateKit",
      "product_memberships" : [
        "PredicateKit"
      ],
      "sources" : [
        "CoreData/NSFetchRequestBuilder.swift",
        "CoreData/NSFetchRequestInspector.swift",
        "CoreData/NSManagedObjectContextExtensions.swift",
        "Functions.swift",
        "Predicate.swift",
        "Primitive.swift",
        "SwiftUI/SwiftUISupport.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
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/10] Compiling PredicateKit Predicate.swift
/Users/admin/builder/spi-builder-workspace/PredicateKit/Predicate.swift:349:21: warning: static property 'caseInsensitive' is not concurrency-safe because non-'Sendable' type 'ComparisonOptions' may have shared mutable state; this is an error in the Swift 6 language mode
344 | }
345 |
346 | public struct ComparisonOptions: OptionSet {
    |               `- note: consider making struct 'ComparisonOptions' conform to the 'Sendable' protocol
347 |   public let rawValue: Int
348 |
349 |   public static let caseInsensitive = ComparisonOptions(rawValue: 1 << 0)
    |                     |- warning: static property 'caseInsensitive' is not concurrency-safe because non-'Sendable' type 'ComparisonOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'caseInsensitive' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
350 |   public static let diacriticInsensitive = ComparisonOptions(rawValue: 1 << 1)
351 |   public static let normalized = ComparisonOptions(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/PredicateKit/Predicate.swift:350:21: warning: static property 'diacriticInsensitive' is not concurrency-safe because non-'Sendable' type 'ComparisonOptions' may have shared mutable state; this is an error in the Swift 6 language mode
344 | }
345 |
346 | public struct ComparisonOptions: OptionSet {
    |               `- note: consider making struct 'ComparisonOptions' conform to the 'Sendable' protocol
347 |   public let rawValue: Int
348 |
349 |   public static let caseInsensitive = ComparisonOptions(rawValue: 1 << 0)
350 |   public static let diacriticInsensitive = ComparisonOptions(rawValue: 1 << 1)
    |                     |- warning: static property 'diacriticInsensitive' is not concurrency-safe because non-'Sendable' type 'ComparisonOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'diacriticInsensitive' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
351 |   public static let normalized = ComparisonOptions(rawValue: 1 << 2)
352 |   public static let none = ComparisonOptions(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/PredicateKit/Predicate.swift:351:21: warning: static property 'normalized' is not concurrency-safe because non-'Sendable' type 'ComparisonOptions' may have shared mutable state; this is an error in the Swift 6 language mode
344 | }
345 |
346 | public struct ComparisonOptions: OptionSet {
    |               `- note: consider making struct 'ComparisonOptions' conform to the 'Sendable' protocol
347 |   public let rawValue: Int
348 |
349 |   public static let caseInsensitive = ComparisonOptions(rawValue: 1 << 0)
350 |   public static let diacriticInsensitive = ComparisonOptions(rawValue: 1 << 1)
351 |   public static let normalized = ComparisonOptions(rawValue: 1 << 2)
    |                     |- warning: static property 'normalized' is not concurrency-safe because non-'Sendable' type 'ComparisonOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'normalized' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
352 |   public static let none = ComparisonOptions(rawValue: 1 << 3)
353 |
/Users/admin/builder/spi-builder-workspace/PredicateKit/Predicate.swift:352:21: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ComparisonOptions' may have shared mutable state; this is an error in the Swift 6 language mode
344 | }
345 |
346 | public struct ComparisonOptions: OptionSet {
    |               `- note: consider making struct 'ComparisonOptions' conform to the 'Sendable' protocol
347 |   public let rawValue: Int
348 |
    :
350 |   public static let diacriticInsensitive = ComparisonOptions(rawValue: 1 << 1)
351 |   public static let normalized = ComparisonOptions(rawValue: 1 << 2)
352 |   public static let none = ComparisonOptions(rawValue: 1 << 3)
    |                     |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ComparisonOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
353 |
354 |   public init(rawValue: Int) {
[4/10] Compiling PredicateKit Primitive.swift
/Users/admin/builder/spi-builder-workspace/PredicateKit/Primitive.swift:164:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
162 | }
163 |
164 | extension Optional: Comparable where Wrapped: Comparable {
    | |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
165 |   public static func < (lhs: Self, rhs: Self) -> Bool {
166 |     switch (lhs, rhs) {
/Users/admin/builder/spi-builder-workspace/PredicateKit/Primitive.swift:176:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
174 |
175 | @available(iOS 13.0, watchOS 6.0, tvOS 13.0, *)
176 | extension Optional: Identifiable where Wrapped: Identifiable {
    | |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
177 |   public var id: Wrapped.ID? {
178 |     self?.id
[5/10] Compiling PredicateKit NSManagedObjectContextExtensions.swift
[6/10] Compiling PredicateKit Functions.swift
/Users/admin/builder/spi-builder-workspace/PredicateKit/Functions.swift:26:14: warning: static property 'fatalError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | struct Functions {
26 |   static var fatalError: FatalError = Swift.fatalError
   |              |- warning: static property 'fatalError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert 'fatalError' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: add '@MainActor' to make static property 'fatalError' part of global actor 'MainActor'
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[7/10] Compiling PredicateKit NSFetchRequestBuilder.swift
[8/10] Compiling PredicateKit SwiftUISupport.swift
[9/10] Compiling PredicateKit NSFetchRequestInspector.swift
[10/10] Emitting module PredicateKit
/Users/admin/builder/spi-builder-workspace/PredicateKit/Functions.swift:26:14: warning: static property 'fatalError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | struct Functions {
26 |   static var fatalError: FatalError = Swift.fatalError
   |              |- warning: static property 'fatalError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert 'fatalError' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: add '@MainActor' to make static property 'fatalError' part of global actor 'MainActor'
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/PredicateKit/Predicate.swift:349:21: warning: static property 'caseInsensitive' is not concurrency-safe because non-'Sendable' type 'ComparisonOptions' may have shared mutable state; this is an error in the Swift 6 language mode
344 | }
345 |
346 | public struct ComparisonOptions: OptionSet {
    |               `- note: consider making struct 'ComparisonOptions' conform to the 'Sendable' protocol
347 |   public let rawValue: Int
348 |
349 |   public static let caseInsensitive = ComparisonOptions(rawValue: 1 << 0)
    |                     |- warning: static property 'caseInsensitive' is not concurrency-safe because non-'Sendable' type 'ComparisonOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'caseInsensitive' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
350 |   public static let diacriticInsensitive = ComparisonOptions(rawValue: 1 << 1)
351 |   public static let normalized = ComparisonOptions(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/PredicateKit/Predicate.swift:350:21: warning: static property 'diacriticInsensitive' is not concurrency-safe because non-'Sendable' type 'ComparisonOptions' may have shared mutable state; this is an error in the Swift 6 language mode
344 | }
345 |
346 | public struct ComparisonOptions: OptionSet {
    |               `- note: consider making struct 'ComparisonOptions' conform to the 'Sendable' protocol
347 |   public let rawValue: Int
348 |
349 |   public static let caseInsensitive = ComparisonOptions(rawValue: 1 << 0)
350 |   public static let diacriticInsensitive = ComparisonOptions(rawValue: 1 << 1)
    |                     |- warning: static property 'diacriticInsensitive' is not concurrency-safe because non-'Sendable' type 'ComparisonOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'diacriticInsensitive' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
351 |   public static let normalized = ComparisonOptions(rawValue: 1 << 2)
352 |   public static let none = ComparisonOptions(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/PredicateKit/Predicate.swift:351:21: warning: static property 'normalized' is not concurrency-safe because non-'Sendable' type 'ComparisonOptions' may have shared mutable state; this is an error in the Swift 6 language mode
344 | }
345 |
346 | public struct ComparisonOptions: OptionSet {
    |               `- note: consider making struct 'ComparisonOptions' conform to the 'Sendable' protocol
347 |   public let rawValue: Int
348 |
349 |   public static let caseInsensitive = ComparisonOptions(rawValue: 1 << 0)
350 |   public static let diacriticInsensitive = ComparisonOptions(rawValue: 1 << 1)
351 |   public static let normalized = ComparisonOptions(rawValue: 1 << 2)
    |                     |- warning: static property 'normalized' is not concurrency-safe because non-'Sendable' type 'ComparisonOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'normalized' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
352 |   public static let none = ComparisonOptions(rawValue: 1 << 3)
353 |
/Users/admin/builder/spi-builder-workspace/PredicateKit/Predicate.swift:352:21: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ComparisonOptions' may have shared mutable state; this is an error in the Swift 6 language mode
344 | }
345 |
346 | public struct ComparisonOptions: OptionSet {
    |               `- note: consider making struct 'ComparisonOptions' conform to the 'Sendable' protocol
347 |   public let rawValue: Int
348 |
    :
350 |   public static let diacriticInsensitive = ComparisonOptions(rawValue: 1 << 1)
351 |   public static let normalized = ComparisonOptions(rawValue: 1 << 2)
352 |   public static let none = ComparisonOptions(rawValue: 1 << 3)
    |                     |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ComparisonOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
353 |
354 |   public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/PredicateKit/Primitive.swift:164:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
162 | }
163 |
164 | extension Optional: Comparable where Wrapped: Comparable {
    | |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
165 |   public static func < (lhs: Self, rhs: Self) -> Bool {
166 |     switch (lhs, rhs) {
/Users/admin/builder/spi-builder-workspace/PredicateKit/Primitive.swift:176:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
174 |
175 | @available(iOS 13.0, watchOS 6.0, tvOS 13.0, *)
176 | extension Optional: Identifiable where Wrapped: Identifiable {
    | |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
177 |   public var id: Wrapped.ID? {
178 |     self?.id
Build complete! (8.02s)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/PredicateKit/PrivacyInfo.xcprivacy
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PredicateKit",
  "name" : "PredicateKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "5.0"
    }
  ],
  "products" : [
    {
      "name" : "PredicateKit",
      "targets" : [
        "PredicateKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "PredicateKit",
      "module_type" : "SwiftTarget",
      "name" : "PredicateKit",
      "path" : "PredicateKit",
      "product_memberships" : [
        "PredicateKit"
      ],
      "sources" : [
        "CoreData/NSFetchRequestBuilder.swift",
        "CoreData/NSFetchRequestInspector.swift",
        "CoreData/NSManagedObjectContextExtensions.swift",
        "Functions.swift",
        "Predicate.swift",
        "Primitive.swift",
        "SwiftUI/SwiftUISupport.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.