This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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

Successful build of CardStack with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.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 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 master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/dadalar/SwiftUI-CardStackView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/7] Compiling CardStack CardSwipeDirection.swift
[4/7] Compiling CardStack CardStack.swift
[5/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 non-isolated 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 non-isolated 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
[6/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 non-isolated 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 non-isolated 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
[7/7] Compiling CardStack CardView.swift
Build complete! (36.60s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
[1/11249] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (3.43s)
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.72s)
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
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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.