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 SwiftKit, reference 2.4.2 (cd4ab8), with Swift 6.2 (beta) for macOS (SPM) on 20 Jun 2025 00:10:38 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/wendyliga/SwiftKit.git
Reference: 2.4.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/wendyliga/SwiftKit
 * tag               2.4.2      -> FETCH_HEAD
HEAD is now at cd4ab8d Fix Shell (#16)
Cloned https://github.com/wendyliga/SwiftKit.git
Revision (git rev-parse @):
cd4ab8d71b82209b774004954451517e565575bf
SUCCESS checkout https://github.com/wendyliga/SwiftKit.git at 2.4.2
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/wendyliga/SwiftKit.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/12] Compiling SwiftKit DefaultValue.swift
[4/12] Compiling SwiftKit Result+Extension.swift
[5/12] Compiling SwiftKit NonEmpty.swift
[6/12] Compiling SwiftKit Log.swift
[7/12] Compiling SwiftKit Traceable.swift
[8/13] Compiling SwiftKit Array+Extension.swift
[9/13] Emitting module SwiftKit
[10/13] Compiling SwiftKit Error.swift
[11/13] Compiling SwiftKit String+Extension.swift
[12/13] Compiling SwiftKit Deprecated.swift
[13/13] Compiling SwiftKit Shell.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Shell.swift:66:24: warning: 'stdOutObserver' mutated after capture by sendable closure
 63 |
 64 |         // set listener
 65 |         var stdOutObserver: NSObjectProtocol!
    |             `- note: variable defined here
 66 |         stdOutObserver = NotificationCenter.default.addObserver(
    |                        `- warning: 'stdOutObserver' mutated after capture by sendable closure
 67 |             forName: NSNotification.Name.NSFileHandleDataAvailable,
 68 |             object: stdOutReading,
 69 |             queue: nil
 70 |         ) { _ -> Void in
    |           `- note: variable captured by sendable closure
 71 |             let data = stdOutReading.availableData
 72 |
    :
 79 |             } else {
 80 |                 // That means we've reached the end of the input.
 81 |                 NotificationCenter.default.removeObserver(stdOutObserver!)
    |                                                           `- note: capturing use
 82 |             }
 83 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKit/Shell.swift:86:24: warning: 'stdErrObserver' mutated after capture by sendable closure
 83 |         }
 84 |
 85 |         var stdErrObserver: NSObjectProtocol!
    |             `- note: variable defined here
 86 |         stdErrObserver = NotificationCenter.default.addObserver(
    |                        `- warning: 'stdErrObserver' mutated after capture by sendable closure
 87 |             forName: NSNotification.Name.NSFileHandleDataAvailable,
 88 |             object: stdErrReading,
 89 |             queue: nil
 90 |         ) { _ -> Void in
    |           `- note: variable captured by sendable closure
 91 |             let data = stdErrReading.availableData
 92 |
    :
 99 |             } else {
100 |                 // That means we've reached the end of the input.
101 |                 NotificationCenter.default.removeObserver(stdErrObserver!)
    |                                                           `- note: capturing use
102 |             }
103 |         }
Build complete! (4.54s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftKit",
  "name" : "SwiftKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftKit",
      "targets" : [
        "SwiftKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftKitTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftKitTests",
      "path" : "Tests/SwiftKitTests",
      "sources" : [
        "Array+Tests.swift",
        "DefaultValue+Tests.swift",
        "NonEmpty+Tests.swift",
        "Result+Tests.swift",
        "String+Tests.swift",
        "Traceable+Tests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SwiftKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftKit",
      "module_type" : "SwiftTarget",
      "name" : "SwiftKit",
      "path" : "Sources/SwiftKit",
      "product_memberships" : [
        "SwiftKit"
      ],
      "sources" : [
        "Deprecated.swift",
        "Error.swift",
        "Extensions/Array+Extension.swift",
        "Extensions/Result+Extension.swift",
        "Extensions/String+Extension.swift",
        "Log.swift",
        "PropertyWrapper/DefaultValue.swift",
        "PropertyWrapper/NonEmpty.swift",
        "PropertyWrapper/Traceable.swift",
        "Shell.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.