The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build CardStack, reference master (33d7d1), with Swift 5.10 for macOS (SPM) on 11 Feb 2025 11:52:04 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
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:             5.10
Building package at path:  $PWD
https://github.com/dadalar/SwiftUI-CardStackView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-33747A42983211AE.txt
[3/7] Compiling CardStack CardSwipeDirection.swift
[4/7] Compiling CardStack CardStackConfiguration.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
      .onChange(of: isDragging) { newValue in
       ^
/Users/admin/builder/spi-builder-workspace/Sources/CardStack/CardView.swift:53:8: note: add 'if #available' version check
      .onChange(of: isDragging) { newValue in
       ^
/Users/admin/builder/spi-builder-workspace/Sources/CardStack/CardView.swift:50:7: note: add @available attribute to enclosing property
  var body: some View {
      ^
/Users/admin/builder/spi-builder-workspace/Sources/CardStack/CardView.swift:4:8: note: add @available attribute to enclosing generic struct
struct CardView<Direction, Content: View>: View {
       ^
/Users/admin/builder/spi-builder-workspace/Sources/CardStack/CardView.swift:51:32: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
    if #available(iOS 14.0, *) {
                               ^
/Users/admin/builder/spi-builder-workspace/Sources/CardStack/CardView.swift:51:32: note: add 'if #available' version check
    if #available(iOS 14.0, *) {
                               ^
/Users/admin/builder/spi-builder-workspace/Sources/CardStack/CardView.swift:50:7: note: add @available attribute to enclosing property
  var body: some View {
      ^
/Users/admin/builder/spi-builder-workspace/Sources/CardStack/CardView.swift:4:8: note: add @available attribute to enclosing generic struct
struct CardView<Direction, Content: View>: View {
       ^
error: fatalError
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
[1/12826] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (4.96s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.18.0 (0.38s)
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/swiftlang/swift-syntax
[1/4535] Fetching swift-custom-dump
[4536/72885] Fetching swift-custom-dump, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (11.08s)
Fetched https://github.com/swiftlang/swift-syntax from cache (11.08s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.37s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5198] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.62s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (0.55s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.1 (0.38s)
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
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.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.0
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.1
BUILD FAILURE 5.10 macosSpm