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 1.0.0 (337ce0), 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: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/VergeGroup/TypedComparator
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 337ce0e Init
Cloned https://github.com/VergeGroup/TypedComparator.git
Revision (git rev-parse @):
337ce0e573e7637ddd29392cb88c3b852f042c8e
SUCCESS checkout https://github.com/VergeGroup/TypedComparator.git at 1.0.0
========================================
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] Compiling TypedComparator PackedCompare.swift
[4/5] Emitting module TypedComparator
[5/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)
Build complete! (0.74s)
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.