The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of ElegantTabs, reference 1.0.0 (870509), with Swift 6.1 for macOS (SPM) on 7 May 2025 13:55:29 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: 4.61.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Krusty84/ElegantTabs.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Krusty84/ElegantTabs
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 8705091 Update README.md
Cloned https://github.com/Krusty84/ElegantTabs.git
Revision (git rev-parse @):
8705091e669688fbb29c1130875f7390d382c4b8
SUCCESS checkout https://github.com/Krusty84/ElegantTabs.git at 1.0.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": "eleganttabs",
      "name": "ElegantTabs",
      "url": "https://github.com/Krusty84/ElegantTabs.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ElegantTabs",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/Krusty84/ElegantTabs.git
[1/67] Fetching eleganttabs
Fetched https://github.com/Krusty84/ElegantTabs.git from cache (0.66s)
Creating working copy for https://github.com/Krusty84/ElegantTabs.git
Working copy of https://github.com/Krusty84/ElegantTabs.git resolved at 1.0.0 (8705091)
warning: '.resolve-product-dependencies': dependency 'eleganttabs' is not used by any target
Found 0 product dependencies
========================================
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] Compiling ElegantTabs ElegantTabs.swift
/Users/admin/builder/spi-builder-workspace/Sources/ElegantTabs/ElegantTabs.swift:50: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
 35 | }
 36 |
 37 | public struct TabStyle {
    |               `- note: consider making struct 'TabStyle' conform to the 'Sendable' protocol
 38 |     public var selectedColor: Color = Color.blue
 39 |     public var unselectedColor: Color = Color.primary
    :
 48 |     public var selectedPadding: CGFloat = 4
 49 |
 50 |     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
 51 |
 52 |     // <-- add this:
/Users/admin/builder/spi-builder-workspace/Sources/ElegantTabs/ElegantTabs.swift:180:14: warning: previewDisplayName is ignored in a #Preview macro. Provide the name to the macro initializer, e.g. `#Preview("preview name")` (from macro 'Preview')
178 |         // Default Style
179 |         ElegantTabsPreview(selection: 0, style: .default)
180 |             .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')
181 |             .frame(width: 600, height: 400)
182 |
/Users/admin/builder/spi-builder-workspace/Sources/ElegantTabs/ElegantTabs.swift:200:10: warning: previewDisplayName is ignored in a #Preview macro. Provide the name to the macro initializer, e.g. `#Preview("preview name")` (from macro 'Preview')
198 |             )
199 |         )
200 |         .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')
201 |         .frame(width: 600, height: 400)
202 |
/Users/admin/builder/spi-builder-workspace/Sources/ElegantTabs/ElegantTabs.swift:212:10: warning: previewDisplayName is ignored in a #Preview macro. Provide the name to the macro initializer, e.g. `#Preview("preview name")` (from macro 'Preview')
210 |             )
211 |         )
212 |         .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')
213 |         .frame(width: 600, height: 300)
214 |
/Users/admin/builder/spi-builder-workspace/Sources/ElegantTabs/ElegantTabs.swift:223:10: warning: previewDisplayName is ignored in a #Preview macro. Provide the name to the macro initializer, e.g. `#Preview("preview name")` (from macro 'Preview')
221 |             )
222 |         )
223 |         .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')
224 |         .frame(width: 600, height: 300)
225 |     }
[4/4] Emitting module ElegantTabs
/Users/admin/builder/spi-builder-workspace/Sources/ElegantTabs/ElegantTabs.swift:50: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
 35 | }
 36 |
 37 | public struct TabStyle {
    |               `- note: consider making struct 'TabStyle' conform to the 'Sendable' protocol
 38 |     public var selectedColor: Color = Color.blue
 39 |     public var unselectedColor: Color = Color.primary
    :
 48 |     public var selectedPadding: CGFloat = 4
 49 |
 50 |     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
 51 |
 52 |     // <-- add this:
/Users/admin/builder/spi-builder-workspace/Sources/ElegantTabs/ElegantTabs.swift:180:14: warning: previewDisplayName is ignored in a #Preview macro. Provide the name to the macro initializer, e.g. `#Preview("preview name")` (from macro 'Preview')
178 |         // Default Style
179 |         ElegantTabsPreview(selection: 0, style: .default)
180 |             .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')
181 |             .frame(width: 600, height: 400)
182 |
/Users/admin/builder/spi-builder-workspace/Sources/ElegantTabs/ElegantTabs.swift:200:10: warning: previewDisplayName is ignored in a #Preview macro. Provide the name to the macro initializer, e.g. `#Preview("preview name")` (from macro 'Preview')
198 |             )
199 |         )
200 |         .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')
201 |         .frame(width: 600, height: 400)
202 |
/Users/admin/builder/spi-builder-workspace/Sources/ElegantTabs/ElegantTabs.swift:212:10: warning: previewDisplayName is ignored in a #Preview macro. Provide the name to the macro initializer, e.g. `#Preview("preview name")` (from macro 'Preview')
210 |             )
211 |         )
212 |         .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')
213 |         .frame(width: 600, height: 300)
214 |
/Users/admin/builder/spi-builder-workspace/Sources/ElegantTabs/ElegantTabs.swift:223:10: warning: previewDisplayName is ignored in a #Preview macro. Provide the name to the macro initializer, e.g. `#Preview("preview name")` (from macro 'Preview')
221 |             )
222 |         )
223 |         .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')
224 |         .frame(width: 600, height: 300)
225 |     }
Build complete! (8.48s)
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.