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 Tabs 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/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 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 main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/heestand-xyz/Tabs.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/11] Compiling Tabs Tab.swift
[4/11] Compiling Tabs TabValue.swift
[5/11] Emitting module Tabs
[6/11] Compiling Tabs TabGesture.swift
[7/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
[8/11] Compiling Tabs View+tab.swift
[9/11] Compiling Tabs Tabs.swift
[10/11] Compiling Tabs Contstants.swift
[11/11] Compiling Tabs TabsStyle.swift
Build complete! (33.55s)
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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.