Build Information
Failed to build CardStack, reference master (33d7d1), with Swift 6.3 for macOS (SPM) on 12 Apr 2026 23:55:39 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dadalar/SwiftUI-CardStackView.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dadalar/SwiftUI-CardStackView
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 33d7d14 Merge pull request #14 from Eugene-Kugut/fix/card-stack-gesture-and-animation-issues
Cloned https://github.com/dadalar/SwiftUI-CardStackView.git
Revision (git rev-parse @):
33d7d1425407546045bac6e04cd7309a738c1ae3
SUCCESS checkout https://github.com/dadalar/SwiftUI-CardStackView.git at master
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
[1/16046] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (4.86s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.7.2 (5.68s)
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",
"traits": [
"default"
],
"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",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-snapshot-testing",
"name": "swift-snapshot-testing",
"url": "https://github.com/pointfreeco/swift-snapshot-testing.git",
"version": "1.19.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-snapshot-testing",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-custom-dump",
"name": "swift-custom-dump",
"url": "https://github.com/pointfreeco/swift-custom-dump",
"version": "1.5.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-custom-dump",
"traits": [
"default"
],
"dependencies": [
{
"identity": "xctest-dynamic-overlay",
"name": "xctest-dynamic-overlay",
"url": "https://github.com/pointfreeco/xctest-dynamic-overlay",
"version": "1.9.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/xctest-dynamic-overlay",
"traits": [
"default"
],
"dependencies": [
]
}
]
},
{
"identity": "swift-syntax",
"name": "swift-syntax",
"url": "https://github.com/swiftlang/swift-syntax",
"version": "603.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/dadalar/SwiftUI-CardStackView.git
[1/343] Fetching swiftui-cardstackview
Fetched https://github.com/dadalar/SwiftUI-CardStackView.git from cache (1.19s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git from cache
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (0.52s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.19.2 (1.10s)
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5464] Fetching swift-custom-dump
[5465/80426] Fetching swift-custom-dump, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (3.96s)
Fetched https://github.com/swiftlang/swift-syntax from cache (3.96s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.5.0 (4.55s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5723] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.36s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 603.0.0 (2.13s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.9.0 (0.58s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 603.0.0
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.19.2
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.5.0
Creating working copy for https://github.com/dadalar/SwiftUI-CardStackView.git
Working copy of https://github.com/dadalar/SwiftUI-CardStackView.git resolved at master (33d7d14)
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.9.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.0/swiftlang-6.3.0.123.5-macosx26.4-MacroSupport.zip
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.0/swiftlang-6.3.0.123.5-macosx26.4-MacroSupport.zip (0.30s)
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.3
Building package at path: $PWD
https://github.com/dadalar/SwiftUI-CardStackView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/7] Compiling CardStack CardStackConfiguration.swift
[4/7] Compiling CardStack CardSwipeDirection.swift
[5/7] Emitting module CardStack
[6/7] Compiling CardStack CardStack.swift
[7/7] Compiling CardStack CardView.swift
/Users/admin/builder/spi-builder-workspace/Sources/CardStack/CardView.swift:53:8: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
2 | import Combine
3 |
4 | struct CardView<Direction, Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
5 | @Environment(\.cardStackConfiguration) private var configuration: CardStackConfiguration
6 | @State private var translation: CGSize = .zero
:
48 | }
49 |
50 | var body: some View {
| `- note: add '@available' attribute to enclosing property
51 | if #available(iOS 14.0, *) {
52 | cardView
53 | .onChange(of: isDragging) { newValue in
| |- error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
54 | if !newValue && draggingState == .dragging {
55 | cancelDragging()
/Users/admin/builder/spi-builder-workspace/Sources/CardStack/CardView.swift:51:32: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
2 | import Combine
3 |
4 | struct CardView<Direction, Content: View>: View {
| `- note: add '@available' attribute to enclosing generic struct
5 | @Environment(\.cardStackConfiguration) private var configuration: CardStackConfiguration
6 | @State private var translation: CGSize = .zero
:
48 | }
49 |
50 | var body: some View {
| `- note: add '@available' attribute to enclosing property
51 | if #available(iOS 14.0, *) {
| |- error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
52 | cardView
53 | .onChange(of: isDragging) { newValue in
BUILD FAILURE 6.3 macosSpm