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 Kuery, reference master (d20e34), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 15:50:16 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kishikawakatsumi/Kuery.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kishikawakatsumi/Kuery
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at d20e34f Update README.md
Cloned https://github.com/kishikawakatsumi/Kuery.git
Revision (git rev-parse @):
d20e34fa5600e7b905e08ce422a2116270e37864
SUCCESS checkout https://github.com/kishikawakatsumi/Kuery.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": "kuery",
      "name": "Kuery",
      "url": "https://github.com/kishikawakatsumi/Kuery.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Kuery",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/kishikawakatsumi/Kuery.git
[1/179] Fetching kuery
Fetched https://github.com/kishikawakatsumi/Kuery.git from cache (0.68s)
Creating working copy for https://github.com/kishikawakatsumi/Kuery.git
Working copy of https://github.com/kishikawakatsumi/Kuery.git resolved at master (d20e34f)
warning: '.resolve-product-dependencies': dependency 'kuery' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/kishikawakatsumi/Kuery.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/7] Compiling Kuery Query.swift
/Users/admin/builder/spi-builder-workspace/Sources/Kuery/Query.swift:44:60: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
42 |     public func reverse() -> Query {
43 |         if let sortDescriptors = fetchRequest.sortDescriptors {
44 |             fetchRequest.sortDescriptors = sortDescriptors.flatMap { $0.reversedSortDescriptor as? NSSortDescriptor }
   |                                                            |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
   |                                                            `- note: use 'compactMap(_:)' instead
45 |             return self
46 |         }
[4/7] Compiling Kuery Predicate.swift
[5/7] Compiling Kuery ManagedObjectProperty.swift
[6/7] Compiling Kuery Operator.swift
[7/7] Emitting module Kuery
Build complete! (7.37s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Kuery",
  "name" : "Kuery",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Kuery",
      "targets" : [
        "Kuery"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "KueryTests",
      "module_type" : "SwiftTarget",
      "name" : "KueryTests",
      "path" : "Tests/KueryTests",
      "sources" : [
        "Dog+CoreDataClass.swift",
        "Dog+CoreDataProperties.swift",
        "OptionalTestObject+CoreDataClass.swift",
        "OptionalTestObject+CoreDataProperties.swift",
        "Person+CoreDataClass.swift",
        "Person+CoreDataProperties.swift",
        "TestObject+CoreDataClass.swift",
        "TestObject+CoreDataProperties.swift",
        "Tests.swift"
      ],
      "target_dependencies" : [
        "Kuery"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Kuery",
      "module_type" : "SwiftTarget",
      "name" : "Kuery",
      "path" : "Sources/Kuery",
      "product_memberships" : [
        "Kuery"
      ],
      "sources" : [
        "ManagedObjectProperty.swift",
        "Operator.swift",
        "Predicate.swift",
        "Query.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.