Build Information
Successful build of PagerTabStripView, reference 4.0.0 (39ec00
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 09:36:00 UTC.
Swift 6 data race errors: 5
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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/xmartlabs/PagerTabStripView.git
Reference: 4.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/xmartlabs/PagerTabStripView
* tag 4.0.0 -> FETCH_HEAD
HEAD is now at 39ec00d Merge pull request #120 from xmartlabs/updateReadme
Cloned https://github.com/xmartlabs/PagerTabStripView.git
Revision (git rev-parse @):
39ec00d2577adf75d82d1c7023c56950b96d2298
SUCCESS checkout https://github.com/xmartlabs/PagerTabStripView.git at 4.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": "pagertabstripview",
"name": "PagerTabStripView",
"url": "https://github.com/xmartlabs/PagerTabStripView.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PagerTabStripView",
"dependencies": [
]
}
]
}
Fetching https://github.com/xmartlabs/PagerTabStripView.git
[1/3042] Fetching pagertabstripview
Fetched https://github.com/xmartlabs/PagerTabStripView.git from cache (1.58s)
Creating working copy for https://github.com/xmartlabs/PagerTabStripView.git
Working copy of https://github.com/xmartlabs/PagerTabStripView.git resolved at 4.0.0 (39ec00d)
warning: '.resolve-product-dependencies': dependency 'pagertabstripview' 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/xmartlabs/PagerTabStripView.git
https://github.com/xmartlabs/PagerTabStripView.git
{
"dependencies" : [
],
"manifest_display_name" : "PagerTabStripView",
"name" : "PagerTabStripView",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "PagerTabStripView",
"targets" : [
"PagerTabStripView"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PagerTabStripViewTests",
"module_type" : "SwiftTarget",
"name" : "PagerTabStripViewTests",
"path" : "PagerTabStripViewTests",
"sources" : [
"PagerTabStripViewTests.swift"
],
"target_dependencies" : [
"PagerTabStripView"
],
"type" : "test"
},
{
"c99name" : "PagerTabStripView",
"module_type" : "SwiftTarget",
"name" : "PagerTabStripView",
"path" : "Sources",
"product_memberships" : [
"PagerTabStripView"
],
"sources" : [
"Collection+Extensions.swift",
"NavBarItem.swift",
"NavBarModifier.swift",
"NavigationBarStyles/FixedSizeNavBarView.swift",
"NavigationBarStyles/IndicatorBarView.swift",
"NavigationBarStyles/ScrollableNavBarView.swift",
"NavigationBarStyles/SegmentedNavBarView.swift",
"PagerSettings.swift",
"PagerStyle.swift",
"PagerTabItemModifier.swift",
"PagerTabStripView.swift",
"View+Modifiers.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/14] Compiling PagerTabStripView PagerTabStripView.swift
/Users/admin/builder/spi-builder-workspace/Sources/PagerTabStripView.swift:24:23: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'HorizontalContainerEdge' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public struct HorizontalContainerEdge: OptionSet {
| `- note: consider making struct 'HorizontalContainerEdge' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
22 | }
23 |
24 | public static let left = HorizontalContainerEdge(rawValue: 1 << 0)
| |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'HorizontalContainerEdge' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'left' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let right = HorizontalContainerEdge(rawValue: 1 << 1)
26 |
/Users/admin/builder/spi-builder-workspace/Sources/PagerTabStripView.swift:25:23: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'HorizontalContainerEdge' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public struct HorizontalContainerEdge: OptionSet {
| `- note: consider making struct 'HorizontalContainerEdge' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
23 |
24 | public static let left = HorizontalContainerEdge(rawValue: 1 << 0)
25 | public static let right = HorizontalContainerEdge(rawValue: 1 << 1)
| |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'HorizontalContainerEdge' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'right' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | public static let both: HorizontalContainerEdge = [.left, .right]
/Users/admin/builder/spi-builder-workspace/Sources/PagerTabStripView.swift:27:23: warning: static property 'both' is not concurrency-safe because non-'Sendable' type 'HorizontalContainerEdge' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public struct HorizontalContainerEdge: OptionSet {
| `- note: consider making struct 'HorizontalContainerEdge' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
25 | public static let right = HorizontalContainerEdge(rawValue: 1 << 1)
26 |
27 | public static let both: HorizontalContainerEdge = [.left, .right]
| |- warning: static property 'both' is not concurrency-safe because non-'Sendable' type 'HorizontalContainerEdge' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'both' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | }
29 |
[4/15] Compiling PagerTabStripView PagerTabItemModifier.swift
[5/15] Compiling PagerTabStripView ScrollableNavBarView.swift
[6/15] Compiling PagerTabStripView PagerStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/PagerStyle.swift:185:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any PagerStyle' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import SwiftUI
10 |
11 | public protocol PagerStyle {
| `- note: protocol 'PagerStyle' does not conform to the 'Sendable' protocol
12 | var placedInToolbar: Bool { get }
13 | var pagerAnimationOnTap: Animation? { get }
:
183 |
184 | private struct PagerStyleKey: EnvironmentKey {
185 | static let defaultValue: PagerStyle = .barButton()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any PagerStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 | }
187 |
[7/15] Emitting module PagerTabStripView
/Users/admin/builder/spi-builder-workspace/Sources/NavBarItem.swift:12:9: warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | struct NavBarItem<SelectionType>: View, Identifiable where SelectionType: Hashable {
| `- note: add '@preconcurrency' to the 'Identifiable' conformance to defer isolation checking to run time
11 |
12 | var id: SelectionType
| `- warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
13 | @Binding private var selection: SelectionType
14 | @EnvironmentObject private var pagerSettings: PagerSettings<SelectionType>
/Users/admin/builder/spi-builder-workspace/Sources/PagerStyle.swift:185:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any PagerStyle' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import SwiftUI
10 |
11 | public protocol PagerStyle {
| `- note: protocol 'PagerStyle' does not conform to the 'Sendable' protocol
12 | var placedInToolbar: Bool { get }
13 | var pagerAnimationOnTap: Animation? { get }
:
183 |
184 | private struct PagerStyleKey: EnvironmentKey {
185 | static let defaultValue: PagerStyle = .barButton()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any PagerStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 | }
187 |
/Users/admin/builder/spi-builder-workspace/Sources/PagerTabStripView.swift:24:23: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'HorizontalContainerEdge' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public struct HorizontalContainerEdge: OptionSet {
| `- note: consider making struct 'HorizontalContainerEdge' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
22 | }
23 |
24 | public static let left = HorizontalContainerEdge(rawValue: 1 << 0)
| |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'HorizontalContainerEdge' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'left' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let right = HorizontalContainerEdge(rawValue: 1 << 1)
26 |
/Users/admin/builder/spi-builder-workspace/Sources/PagerTabStripView.swift:25:23: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'HorizontalContainerEdge' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public struct HorizontalContainerEdge: OptionSet {
| `- note: consider making struct 'HorizontalContainerEdge' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
23 |
24 | public static let left = HorizontalContainerEdge(rawValue: 1 << 0)
25 | public static let right = HorizontalContainerEdge(rawValue: 1 << 1)
| |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'HorizontalContainerEdge' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'right' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | public static let both: HorizontalContainerEdge = [.left, .right]
/Users/admin/builder/spi-builder-workspace/Sources/PagerTabStripView.swift:27:23: warning: static property 'both' is not concurrency-safe because non-'Sendable' type 'HorizontalContainerEdge' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public struct HorizontalContainerEdge: OptionSet {
| `- note: consider making struct 'HorizontalContainerEdge' conform to the 'Sendable' protocol
18 | public let rawValue: Int
19 |
:
25 | public static let right = HorizontalContainerEdge(rawValue: 1 << 1)
26 |
27 | public static let both: HorizontalContainerEdge = [.left, .right]
| |- warning: static property 'both' is not concurrency-safe because non-'Sendable' type 'HorizontalContainerEdge' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'both' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | }
29 |
[8/15] Compiling PagerTabStripView NavBarModifier.swift
[9/15] Compiling PagerTabStripView FixedSizeNavBarView.swift
[10/15] Compiling PagerTabStripView PagerSettings.swift
[11/15] Compiling PagerTabStripView SegmentedNavBarView.swift
[12/15] Compiling PagerTabStripView Collection+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/NavBarItem.swift:12:9: warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | struct NavBarItem<SelectionType>: View, Identifiable where SelectionType: Hashable {
| `- note: add '@preconcurrency' to the 'Identifiable' conformance to defer isolation checking to run time
11 |
12 | var id: SelectionType
| `- warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
13 | @Binding private var selection: SelectionType
14 | @EnvironmentObject private var pagerSettings: PagerSettings<SelectionType>
[13/15] Compiling PagerTabStripView NavBarItem.swift
/Users/admin/builder/spi-builder-workspace/Sources/NavBarItem.swift:12:9: warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | struct NavBarItem<SelectionType>: View, Identifiable where SelectionType: Hashable {
| `- note: add '@preconcurrency' to the 'Identifiable' conformance to defer isolation checking to run time
11 |
12 | var id: SelectionType
| `- warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
13 | @Binding private var selection: SelectionType
14 | @EnvironmentObject private var pagerSettings: PagerSettings<SelectionType>
[14/15] Compiling PagerTabStripView IndicatorBarView.swift
[15/15] Compiling PagerTabStripView View+Modifiers.swift
Build complete! (9.65s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "PagerTabStripView",
"name" : "PagerTabStripView",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "PagerTabStripView",
"targets" : [
"PagerTabStripView"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PagerTabStripViewTests",
"module_type" : "SwiftTarget",
"name" : "PagerTabStripViewTests",
"path" : "PagerTabStripViewTests",
"sources" : [
"PagerTabStripViewTests.swift"
],
"target_dependencies" : [
"PagerTabStripView"
],
"type" : "test"
},
{
"c99name" : "PagerTabStripView",
"module_type" : "SwiftTarget",
"name" : "PagerTabStripView",
"path" : "Sources",
"product_memberships" : [
"PagerTabStripView"
],
"sources" : [
"Collection+Extensions.swift",
"NavBarItem.swift",
"NavBarModifier.swift",
"NavigationBarStyles/FixedSizeNavBarView.swift",
"NavigationBarStyles/IndicatorBarView.swift",
"NavigationBarStyles/ScrollableNavBarView.swift",
"NavigationBarStyles/SegmentedNavBarView.swift",
"PagerSettings.swift",
"PagerStyle.swift",
"PagerTabItemModifier.swift",
"PagerTabStripView.swift",
"View+Modifiers.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.