Build Information
Successful build of CardStack, reference 0.0.6 (9b45ef
), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 15:52:16 UTC.
Swift 6 data race errors: 1
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 -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.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dadalar/SwiftUI-CardStackView.git
Reference: 0.0.6
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dadalar/SwiftUI-CardStackView
* tag 0.0.6 -> FETCH_HEAD
HEAD is now at 9b45ef5 Fixed using swipe threshold from configuration
Cloned https://github.com/dadalar/SwiftUI-CardStackView.git
Revision (git rev-parse @):
9b45ef54b9e7bfbee46fe4a5982ecf449ac2b47c
SUCCESS checkout https://github.com/dadalar/SwiftUI-CardStackView.git at 0.0.6
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
[1/12447] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (2.52s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.7.2 (0.63s)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.7.2
========================================
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": "swiftui-cardstackview",
"name": "CardStack",
"url": "https://github.com/dadalar/SwiftUI-CardStackView.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftUI-CardStackView",
"dependencies": [
{
"identity": "swift-snapshot-testing",
"name": "swift-snapshot-testing",
"url": "https://github.com/pointfreeco/swift-snapshot-testing.git",
"version": "1.17.6",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-snapshot-testing",
"dependencies": [
{
"identity": "swift-syntax",
"name": "swift-syntax",
"url": "https://github.com/swiftlang/swift-syntax",
"version": "600.0.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/dadalar/SwiftUI-CardStackView.git
[1/172] Fetching swiftui-cardstackview
Fetched https://github.com/dadalar/SwiftUI-CardStackView.git from cache (1.40s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git from cache
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (0.62s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.17.6 (0.55s)
Fetching https://github.com/swiftlang/swift-syntax
[1/66683] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (3.39s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (0.61s)
Creating working copy for https://github.com/dadalar/SwiftUI-CardStackView.git
Working copy of https://github.com/dadalar/SwiftUI-CardStackView.git resolved at 0.0.6 (9b45ef5)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.17.6
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
warning: '.resolve-product-dependencies': dependency 'swiftui-cardstackview' is not used by any target
Found 1 product dependencies
- swift-snapshot-testing
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/dadalar/SwiftUI-CardStackView.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 -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--7754E27361AE5C74.txt
[3/7] Compiling CardStack CardView.swift
[4/7] Compiling CardStack CardStackConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/CardStack/CardStackConfiguration.swift:5:21: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | public struct CardStackConfiguration: EnvironmentKey {
4 |
5 | public static var defaultValue = CardStackConfiguration()
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | let maxVisibleCards: Int
[5/7] Compiling CardStack CardSwipeDirection.swift
[6/7] Compiling CardStack CardStack.swift
[7/7] Emitting module CardStack
/Users/admin/builder/spi-builder-workspace/Sources/CardStack/CardStackConfiguration.swift:5:21: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | public struct CardStackConfiguration: EnvironmentKey {
4 |
5 | public static var defaultValue = CardStackConfiguration()
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | let maxVisibleCards: Int
Build complete! (13.51s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-snapshot-testing",
"requirement" : {
"range" : [
{
"lower_bound" : "1.7.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-snapshot-testing.git"
}
],
"manifest_display_name" : "CardStack",
"name" : "CardStack",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "CardStack",
"targets" : [
"CardStack"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CardStackTests",
"module_type" : "SwiftTarget",
"name" : "CardStackTests",
"path" : "Tests/CardStackTests",
"product_dependencies" : [
"SnapshotTesting"
],
"sources" : [
"CardStackTests.swift",
"DirectionTests.swift",
"SnapshotTestingHelper.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"CardStack"
],
"type" : "test"
},
{
"c99name" : "CardStack",
"module_type" : "SwiftTarget",
"name" : "CardStack",
"path" : "Sources/CardStack",
"product_memberships" : [
"CardStack"
],
"sources" : [
"CardStack.swift",
"CardStackConfiguration.swift",
"CardSwipeDirection.swift",
"CardView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.