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 Tabs, reference 1.3.0 (738616), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 13:51:14 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/heestand-xyz/Tabs.git
Reference: 1.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/heestand-xyz/Tabs
 * tag               1.3.0      -> FETCH_HEAD
HEAD is now at 738616a OSC
Cloned https://github.com/heestand-xyz/Tabs.git
Revision (git rev-parse @):
738616a53bd5fe7f5e4fbac0d98ee520a239fa00
SUCCESS checkout https://github.com/heestand-xyz/Tabs.git at 1.3.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": "tabs",
      "name": "Tabs",
      "url": "https://github.com/heestand-xyz/Tabs.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Tabs",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/heestand-xyz/Tabs.git
[5/212] Fetching tabs
Fetched https://github.com/heestand-xyz/Tabs.git from cache (0.75s)
Creating working copy for https://github.com/heestand-xyz/Tabs.git
Working copy of https://github.com/heestand-xyz/Tabs.git resolved at 1.3.0 (738616a)
warning: '.resolve-product-dependencies': dependency 'tabs' 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/heestand-xyz/Tabs.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/11] Compiling Tabs Tabs.swift
[4/11] Compiling Tabs Contstants.swift
[5/11] Compiling Tabs TabValue.swift
[6/11] Compiling Tabs View+tab.swift
[7/11] Compiling Tabs Tab.swift
[8/11] Emitting module Tabs
[9/11] Compiling Tabs TabGesture.swift
[10/11] Compiling Tabs TabEngine.swift
/Users/admin/builder/spi-builder-workspace/Sources/Tabs/Engine/TabEngine.swift:168:19: warning: capture of 'self' with non-sendable type 'TabEngine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  5 | import SwiftUI
  6 |
  7 | public class TabEngine: ObservableObject {
    |              `- note: class 'TabEngine' does not conform to the 'Sendable' protocol
  8 |
  9 |     let axis: Axis
    :
166 |
167 |         DispatchQueue.main.asyncAfter(deadline: .now() + .milliseconds(1)) {
168 |             guard self.index == nil
    |                   `- warning: capture of 'self' with non-sendable type 'TabEngine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
169 |             else { return }
170 |             self.active = false
/Users/admin/builder/spi-builder-workspace/Sources/Tabs/Engine/TabEngine.swift:168:19: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
166 |
167 |         DispatchQueue.main.asyncAfter(deadline: .now() + .milliseconds(1)) {
168 |             guard self.index == nil
    |                   |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                   `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
169 |             else { return }
170 |             self.active = false
[11/11] Compiling Tabs TabsStyle.swift
Build complete! (17.94s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Tabs",
  "name" : "Tabs",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Tabs",
      "targets" : [
        "Tabs"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Tabs",
      "module_type" : "SwiftTarget",
      "name" : "Tabs",
      "path" : "Sources/Tabs",
      "product_memberships" : [
        "Tabs"
      ],
      "sources" : [
        "Engine/TabEngine.swift",
        "Engine/TabGesture.swift",
        "Engine/View+tab.swift",
        "Models/TabValue.swift",
        "Style/Contstants.swift",
        "Style/Tab.swift",
        "Style/TabsStyle.swift",
        "Tabs.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.