This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 GitHub with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/eneko/github.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/eneko/github
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 15da0d9 Create FUNDING.yml
Cloned https://github.com/eneko/github.git
Revision (git rev-parse @):
15da0d97d49d7fab76a9847c0cf1c2fe4bd49e55
SUCCESS checkout https://github.com/eneko/github.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/eneko/github.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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-6F35C1178C84523A.txt
[3/7] Compiling GitHub GitHubError.swift
[4/7] Compiling GitHub Models.swift
[5/7] Emitting module GitHub
[6/7] Compiling GitHub Client.swift
/Users/admin/builder/spi-builder-workspace/Sources/GitHub/Client.swift:57:17: warning: capture of 'completion' with non-sendable type 'Client.CompletionBlock' (aka '(Optional<Response>, Optional<any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
55 |         let task = session.dataTask(with: urlRequest) { (data, response, error) in
56 |             guard let data = data else {
57 |                 completion(nil, error)
   |                 |- warning: capture of 'completion' with non-sendable type 'Client.CompletionBlock' (aka '(Optional<Response>, Optional<any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
58 |                 return
59 |             }
[7/7] Compiling GitHub GitHub.swift
Build complete! (17.75s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "GitHub",
  "name" : "GitHub",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "GitHub",
      "targets" : [
        "GitHub"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GitHubTests",
      "module_type" : "SwiftTarget",
      "name" : "GitHubTests",
      "path" : "Tests/GitHubTests",
      "sources" : [
        "GitHubTests.swift"
      ],
      "target_dependencies" : [
        "GitHub"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GitHub",
      "module_type" : "SwiftTarget",
      "name" : "GitHub",
      "path" : "Sources/GitHub",
      "product_memberships" : [
        "GitHub"
      ],
      "sources" : [
        "Client.swift",
        "GitHub.swift",
        "GitHubError.swift",
        "Models.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.