Build Information
Failed to build CardStack, reference master (33d7d1
), with Swift 6.2 (beta) for macOS (SPM) on 19 Jun 2025 11:28:12 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/dadalar/SwiftUI-CardStackView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/7] Compiling CardStack CardSwipeDirection.swift
[4/7] Compiling CardStack CardStackConfiguration.swift
[5/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
[6/7] Emitting module CardStack
[7/7] Compiling CardStack CardStack.swift
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
[1/13227] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (5.00s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.18.4 (5.43s)
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4581] Fetching swift-custom-dump
[4582/75487] Fetching swift-custom-dump, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (7.72s)
Fetched https://github.com/swiftlang/swift-syntax from cache (7.72s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (8.14s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5467] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.43s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (2.01s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.39s)
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
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.18.4
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/601.0.1/swiftlang-6.2.0.9.909-MacroSupport-macos_aarch64.zip
BUILD FAILURE 6.2 macosSpm