The Swift Package Index logo.Swift Package Index

Build Information

Successful build of ElegantTabs, reference main (88275a), with Swift 6.1 for macOS (SPM) on 3 Jul 2026 02:04:43 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Krusty84/ElegantTabs.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Krusty84/ElegantTabs
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 88275a8 Merge remote-tracking branch 'refs/remotes/origin/main'
Cloned https://github.com/Krusty84/ElegantTabs.git
Revision (git rev-parse @):
88275a8e68873ac121624061a1730af1edaca292
SUCCESS checkout https://github.com/Krusty84/ElegantTabs.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Krusty84/ElegantTabs.git
https://github.com/Krusty84/ElegantTabs.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ElegantTabs",
  "name" : "ElegantTabs",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "ElegantTabs",
      "targets" : [
        "ElegantTabs"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ElegantTabsTests",
      "module_type" : "SwiftTarget",
      "name" : "ElegantTabsTests",
      "path" : "Tests/ElegantTabsTests",
      "sources" : [
        "ElegantTabsTests.swift"
      ],
      "target_dependencies" : [
        "ElegantTabs"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ElegantTabs",
      "module_type" : "SwiftTarget",
      "name" : "ElegantTabs",
      "path" : "Sources/ElegantTabs",
      "product_memberships" : [
        "ElegantTabs"
      ],
      "sources" : [
        "ElegantTabs.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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-2F0A5646E1D333AE.txt
[3/4] Emitting module ElegantTabs
/Users/admin/builder/spi-builder-workspace/Sources/ElegantTabs/ElegantTabs.swift:77:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TabStyle' may have shared mutable state; this is an error in the Swift 6 language mode
 62 | }
 63 |
 64 | public struct TabStyle {
    |               `- note: consider making struct 'TabStyle' conform to the 'Sendable' protocol
 65 |     public var selectedColor: Color = Color.blue
 66 |     public var unselectedColor: Color = Color.primary
    :
 75 |     public var selectedPadding: CGFloat = 4
 76 |
 77 |     public static let `default` = TabStyle()
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TabStyle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 78 |
 79 |     public init(
/Users/admin/builder/spi-builder-workspace/Sources/ElegantTabs/ElegantTabs.swift:209:14: warning: previewDisplayName is ignored in a #Preview macro. Provide the name to the macro initializer, e.g. `#Preview("preview name")` (from macro 'Preview')
207 |         // Default Style
208 |         ElegantTabsPreview(selection: 0, style: .default)
209 |             .previewDisplayName("Default Style")
    |              `- warning: previewDisplayName is ignored in a #Preview macro. Provide the name to the macro initializer, e.g. `#Preview("preview name")` (from macro 'Preview')
210 |             .frame(width: 600, height: 400)
211 |
/Users/admin/builder/spi-builder-workspace/Sources/ElegantTabs/ElegantTabs.swift:229:10: warning: previewDisplayName is ignored in a #Preview macro. Provide the name to the macro initializer, e.g. `#Preview("preview name")` (from macro 'Preview')
227 |             )
228 |         )
229 |         .previewDisplayName("Bold & Large Tabs")
    |          `- warning: previewDisplayName is ignored in a #Preview macro. Provide the name to the macro initializer, e.g. `#Preview("preview name")` (from macro 'Preview')
230 |         .frame(width: 600, height: 400)
231 |
/Users/admin/builder/spi-builder-workspace/Sources/ElegantTabs/ElegantTabs.swift:241:10: warning: previewDisplayName is ignored in a #Preview macro. Provide the name to the macro initializer, e.g. `#Preview("preview name")` (from macro 'Preview')
239 |             )
240 |         )
241 |         .previewDisplayName("Compact Tabs")
    |          `- warning: previewDisplayName is ignored in a #Preview macro. Provide the name to the macro initializer, e.g. `#Preview("preview name")` (from macro 'Preview')
242 |         .frame(width: 600, height: 300)
243 |
/Users/admin/builder/spi-builder-workspace/Sources/ElegantTabs/ElegantTabs.swift:252:10: warning: previewDisplayName is ignored in a #Preview macro. Provide the name to the macro initializer, e.g. `#Preview("preview name")` (from macro 'Preview')
250 |             )
251 |         )
252 |         .previewDisplayName("Small Icons & Captions")
    |          `- warning: previewDisplayName is ignored in a #Preview macro. Provide the name to the macro initializer, e.g. `#Preview("preview name")` (from macro 'Preview')
253 |         .frame(width: 600, height: 300)
254 |     }
[4/4] Compiling ElegantTabs ElegantTabs.swift
/Users/admin/builder/spi-builder-workspace/Sources/ElegantTabs/ElegantTabs.swift:77:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TabStyle' may have shared mutable state; this is an error in the Swift 6 language mode
 62 | }
 63 |
 64 | public struct TabStyle {
    |               `- note: consider making struct 'TabStyle' conform to the 'Sendable' protocol
 65 |     public var selectedColor: Color = Color.blue
 66 |     public var unselectedColor: Color = Color.primary
    :
 75 |     public var selectedPadding: CGFloat = 4
 76 |
 77 |     public static let `default` = TabStyle()
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TabStyle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 78 |
 79 |     public init(
/Users/admin/builder/spi-builder-workspace/Sources/ElegantTabs/ElegantTabs.swift:209:14: warning: previewDisplayName is ignored in a #Preview macro. Provide the name to the macro initializer, e.g. `#Preview("preview name")` (from macro 'Preview')
207 |         // Default Style
208 |         ElegantTabsPreview(selection: 0, style: .default)
209 |             .previewDisplayName("Default Style")
    |              `- warning: previewDisplayName is ignored in a #Preview macro. Provide the name to the macro initializer, e.g. `#Preview("preview name")` (from macro 'Preview')
210 |             .frame(width: 600, height: 400)
211 |
/Users/admin/builder/spi-builder-workspace/Sources/ElegantTabs/ElegantTabs.swift:229:10: warning: previewDisplayName is ignored in a #Preview macro. Provide the name to the macro initializer, e.g. `#Preview("preview name")` (from macro 'Preview')
227 |             )
228 |         )
229 |         .previewDisplayName("Bold & Large Tabs")
    |          `- warning: previewDisplayName is ignored in a #Preview macro. Provide the name to the macro initializer, e.g. `#Preview("preview name")` (from macro 'Preview')
230 |         .frame(width: 600, height: 400)
231 |
/Users/admin/builder/spi-builder-workspace/Sources/ElegantTabs/ElegantTabs.swift:241:10: warning: previewDisplayName is ignored in a #Preview macro. Provide the name to the macro initializer, e.g. `#Preview("preview name")` (from macro 'Preview')
239 |             )
240 |         )
241 |         .previewDisplayName("Compact Tabs")
    |          `- warning: previewDisplayName is ignored in a #Preview macro. Provide the name to the macro initializer, e.g. `#Preview("preview name")` (from macro 'Preview')
242 |         .frame(width: 600, height: 300)
243 |
/Users/admin/builder/spi-builder-workspace/Sources/ElegantTabs/ElegantTabs.swift:252:10: warning: previewDisplayName is ignored in a #Preview macro. Provide the name to the macro initializer, e.g. `#Preview("preview name")` (from macro 'Preview')
250 |             )
251 |         )
252 |         .previewDisplayName("Small Icons & Captions")
    |          `- warning: previewDisplayName is ignored in a #Preview macro. Provide the name to the macro initializer, e.g. `#Preview("preview name")` (from macro 'Preview')
253 |         .frame(width: 600, height: 300)
254 |     }
Build complete! (7.26s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ElegantTabs",
  "name" : "ElegantTabs",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "ElegantTabs",
      "targets" : [
        "ElegantTabs"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ElegantTabsTests",
      "module_type" : "SwiftTarget",
      "name" : "ElegantTabsTests",
      "path" : "Tests/ElegantTabsTests",
      "sources" : [
        "ElegantTabsTests.swift"
      ],
      "target_dependencies" : [
        "ElegantTabs"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ElegantTabs",
      "module_type" : "SwiftTarget",
      "name" : "ElegantTabs",
      "path" : "Sources/ElegantTabs",
      "product_memberships" : [
        "ElegantTabs"
      ],
      "sources" : [
        "ElegantTabs.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.