The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of TypedComparator, reference main (a53cb6), with Swift 6.2 (beta) for macOS (SPM) on 22 Jun 2025 21:09:59 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/VergeGroup/TypedComparator.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/VergeGroup/TypedComparator
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a53cb62 Create LICENSE
Cloned https://github.com/VergeGroup/TypedComparator.git
Revision (git rev-parse @):
a53cb628637b06d7dff24c64a6d17694f273430d
SUCCESS checkout https://github.com/VergeGroup/TypedComparator.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/VergeGroup/TypedComparator.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/5] Emitting module TypedComparator
[4/5] Compiling TypedComparator TypedComparator.swift
/Users/admin/builder/spi-builder-workspace/Sources/TypedComparator/TypedComparator.swift:43:28: warning: capture of non-sendable type '(each T).Type' in an isolated closure
 41 |     return .init { a, b in
 42 |
 43 |       for (left, right) in repeat (each a, each b) {
    |                            `- warning: capture of non-sendable type '(each T).Type' in an isolated closure
 44 |         guard left == right else { return false }
 45 |       }
/Users/admin/builder/spi-builder-workspace/Sources/TypedComparator/TypedComparator.swift:57:20: warning: capture of non-sendable type 'U.Type' in an isolated closure
 55 |   public static func any<T, U: Equatable>(selector: @escaping @Sendable (T) -> U) -> Self where Self == AnyEqualityComparator<T> {
 56 |     .init {
 57 |       selector($0) == selector($1)
    |                    `- warning: capture of non-sendable type 'U.Type' in an isolated closure
 58 |     }
 59 |   }
/Users/admin/builder/spi-builder-workspace/Sources/TypedComparator/TypedComparator.swift:55:43: warning: capture of non-sendable type 'U.Type' in an isolated closure
 53 |   }
 54 |
 55 |   public static func any<T, U: Equatable>(selector: @escaping @Sendable (T) -> U) -> Self where Self == AnyEqualityComparator<T> {
    |                                           `- warning: capture of non-sendable type 'U.Type' in an isolated closure
 56 |     .init {
 57 |       selector($0) == selector($1)
[5/5] Compiling TypedComparator PackedCompare.swift
Build complete! (0.65s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "TypedComparator",
  "name" : "TypedComparator",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "TypedComparator",
      "targets" : [
        "TypedComparator"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TypedComparatorTests",
      "module_type" : "SwiftTarget",
      "name" : "TypedComparatorTests",
      "path" : "Tests/TypedComparatorTests",
      "sources" : [
        "ComparatorTests.swift"
      ],
      "target_dependencies" : [
        "TypedComparator"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TypedComparator",
      "module_type" : "SwiftTarget",
      "name" : "TypedComparator",
      "path" : "Sources/TypedComparator",
      "product_memberships" : [
        "TypedComparator"
      ],
      "sources" : [
        "PackedCompare.swift",
        "TypedComparator.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Done.