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, reference 0.1.0 (15da0d), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 12:10:46 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/eneko/github.git
Reference: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/eneko/github
 * tag               0.1.0      -> FETCH_HEAD
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 0.1.0
========================================
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": "github",
      "name": "GitHub",
      "url": "https://github.com/eneko/github.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/github",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/eneko/github.git
[1/90] Fetching github
Fetched https://github.com/eneko/github.git from cache (0.69s)
Creating working copy for https://github.com/eneko/github.git
Working copy of https://github.com/eneko/github.git resolved at 0.1.0 (15da0d9)
warning: '.resolve-product-dependencies': dependency 'github' 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/eneko/github.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] Emitting module GitHub
[4/7] Compiling GitHub Models.swift
[5/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 |             }
[6/7] Compiling GitHub GitHub.swift
[7/7] Compiling GitHub GitHubError.swift
Build complete! (7.61s)
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.