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 ThreadExtensions, reference v1.0.1 (fbe5b0), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 00:37:25 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/elegantchaos/ThreadExtensions.git
Reference: v1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/elegantchaos/ThreadExtensions
 * tag               v1.0.1     -> FETCH_HEAD
HEAD is now at fbe5b09 Xcode update
Cloned https://github.com/elegantchaos/ThreadExtensions.git
Revision (git rev-parse @):
fbe5b091bb872055cd2448c8b39c80e0a84261e7
SUCCESS checkout https://github.com/elegantchaos/ThreadExtensions.git at v1.0.1
Fetching https://github.com/elegantchaos/XCTestExtensions.git
[1/571] Fetching xctestextensions
Fetched https://github.com/elegantchaos/XCTestExtensions.git from cache (0.75s)
Computing version for https://github.com/elegantchaos/XCTestExtensions.git
Computed https://github.com/elegantchaos/XCTestExtensions.git at 1.1.2 (0.57s)
Creating working copy for https://github.com/elegantchaos/XCTestExtensions.git
Working copy of https://github.com/elegantchaos/XCTestExtensions.git resolved at 1.1.2
========================================
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": "threadextensions",
      "name": "ThreadExtensions",
      "url": "https://github.com/elegantchaos/ThreadExtensions.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ThreadExtensions",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/elegantchaos/ThreadExtensions.git
[1/42] Fetching threadextensions
Fetched https://github.com/elegantchaos/ThreadExtensions.git from cache (0.63s)
Creating working copy for https://github.com/elegantchaos/ThreadExtensions.git
Working copy of https://github.com/elegantchaos/ThreadExtensions.git resolved at v1.0.1 (fbe5b09)
warning: '.resolve-product-dependencies': dependency 'threadextensions' 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/elegantchaos/ThreadExtensions.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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/4] Emitting module ThreadExtensions
[4/4] Compiling ThreadExtensions ThreadExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/ThreadExtensions/ThreadExtensions.swift:9:39: warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
 6 | import Foundation
 7 |
 8 | public func onMainQueue(_ work: @escaping () -> ()) {
   |                           `- note: parameter 'work' is implicitly non-sendable
 9 |     DispatchQueue.main.async(execute: work)
   |                                       `- warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
10 | }
11 |
/Users/admin/builder/spi-builder-workspace/Sources/ThreadExtensions/ThreadExtensions.swift:13:72: warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
10 | }
11 |
12 | public func onMainQueue(after seconds: TimeInterval, _ work: @escaping () -> ()) {
   |                                                        `- note: parameter 'work' is implicitly non-sendable
13 |     DispatchQueue.main.asyncAfter(deadline: .now() + seconds, execute: work)
   |                                                                        `- warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
14 | }
15 |
Build complete! (5.72s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "xctestextensions",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/XCTestExtensions.git"
    }
  ],
  "manifest_display_name" : "ThreadExtensions",
  "name" : "ThreadExtensions",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "ThreadExtensions",
      "targets" : [
        "ThreadExtensions"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ThreadExtensionsTests",
      "module_type" : "SwiftTarget",
      "name" : "ThreadExtensionsTests",
      "path" : "Tests/ThreadExtensionsTests",
      "product_dependencies" : [
        "XCTestExtensions"
      ],
      "sources" : [
        "ThreadExtensionsTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "ThreadExtensions"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ThreadExtensions",
      "module_type" : "SwiftTarget",
      "name" : "ThreadExtensions",
      "path" : "Sources/ThreadExtensions",
      "product_memberships" : [
        "ThreadExtensions"
      ],
      "sources" : [
        "ThreadExtensions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Done.