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 main (25fd5a), with Swift 6.0 for macOS (SPM) on 10 Nov 2024 04:05:24 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.57.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/heestand-xyz/Tabs.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/heestand-xyz/Tabs
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 25fd5af Tabs Fix
Cloned https://github.com/heestand-xyz/Tabs.git
Revision (git rev-parse @):
25fd5aff3e5913586465fd83da21e5f30de0f091
SUCCESS checkout https://github.com/heestand-xyz/Tabs.git at main
========================================
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
[1/219] Fetching tabs
Fetched https://github.com/heestand-xyz/Tabs.git from cache (0.68s)
Creating working copy for https://github.com/heestand-xyz/Tabs.git
Working copy of https://github.com/heestand-xyz/Tabs.git resolved at main (25fd5af)
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 Contstants.swift
[4/11] Compiling Tabs TabGesture.swift
[5/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
[6/11] Emitting module Tabs
[7/11] Compiling Tabs Tab.swift
[8/11] Compiling Tabs TabValue.swift
[9/11] Compiling Tabs TabsStyle.swift
[10/11] Compiling Tabs View+tab.swift
[11/11] Compiling Tabs Tabs.swift
Build complete! (14.65s)
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.