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 swiftui-bottom-sheet-drawer, reference 1.0.2 (b2abe8), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 00:26:53 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftuiux/swiftui-bottomsheet-drawer.git
Reference: 1.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swiftuiux/swiftui-bottomsheet-drawer
 * tag               1.0.2      -> FETCH_HEAD
HEAD is now at b2abe86 Update .spi.yml
Cloned https://github.com/swiftuiux/swiftui-bottomsheet-drawer.git
Revision (git rev-parse @):
b2abe86a61e38a22009074d2d1393c31b56fba97
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swiftuiux/swiftui-bottomsheet-drawer.git at 1.0.2
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/swiftuiux/swiftui-bottomsheet-drawer.git
https://github.com/swiftuiux/swiftui-bottomsheet-drawer.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swiftui-bottom-sheet-drawer",
  "name" : "swiftui-bottom-sheet-drawer",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12"
    },
    {
      "name" : "ios",
      "version" : "15"
    },
    {
      "name" : "watchos",
      "version" : "10"
    }
  ],
  "products" : [
    {
      "name" : "swiftui-bottom-sheet-drawer",
      "targets" : [
        "swiftui-bottom-sheet-drawer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "swiftui_bottom_sheet_drawerTests",
      "module_type" : "SwiftTarget",
      "name" : "swiftui-bottom-sheet-drawerTests",
      "path" : "Tests/swiftui-bottom-sheet-drawerTests",
      "sources" : [
        "swiftui_bottom_sheet_drawerTests.swift"
      ],
      "target_dependencies" : [
        "swiftui-bottom-sheet-drawer"
      ],
      "type" : "test"
    },
    {
      "c99name" : "swiftui_bottom_sheet_drawer",
      "module_type" : "SwiftTarget",
      "name" : "swiftui-bottom-sheet-drawer",
      "path" : "Sources/swiftui-bottom-sheet-drawer",
      "product_memberships" : [
        "swiftui-bottom-sheet-drawer"
      ],
      "sources" : [
        "BottomSheet.swift",
        "enum/BottomSheetPosition.swift",
        "ext/Comparable+clamped.swift",
        "ext/View+MessureSize.swift",
        "key/BottomSheetPositionKey.swift",
        "key/SizePreferenceKey.swift",
        "protocol/IBottomSheetView.swift",
        "shape/RoundedCornersShape.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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-2F0A5646E1D333AE.txt
[3/11] Compiling swiftui_bottom_sheet_drawer SizePreferenceKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-bottom-sheet-drawer/key/SizePreferenceKey.swift:14:23: 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
12 | public struct SizePreferenceKey: PreferenceKey {
13 |
14 |     public static var defaultValue = CGSize(width: 0, height: 0)
   |                       |- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |     public static func reduce(value: inout CGSize, nextValue: () -> CGSize) {
[4/11] Compiling swiftui_bottom_sheet_drawer View+MessureSize.swift
[5/11] Compiling swiftui_bottom_sheet_drawer BottomSheetPositionKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-bottom-sheet-drawer/key/BottomSheetPositionKey.swift:14:23: 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
12 | public struct BottomSheetPositionKey: PreferenceKey {
13 |
14 |     static public var defaultValue: BottomSheetPosition = .down(0)
   |                       |- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |     static public func reduce(value: inout BottomSheetPosition, nextValue: () -> BottomSheetPosition) {
[6/11] Compiling swiftui_bottom_sheet_drawer BottomSheetPosition.swift
[7/11] Compiling swiftui_bottom_sheet_drawer RoundedCornersShape.swift
[8/11] Emitting module swiftui_bottom_sheet_drawer
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-bottom-sheet-drawer/key/BottomSheetPositionKey.swift:14:23: 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
12 | public struct BottomSheetPositionKey: PreferenceKey {
13 |
14 |     static public var defaultValue: BottomSheetPosition = .down(0)
   |                       |- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |     static public func reduce(value: inout BottomSheetPosition, nextValue: () -> BottomSheetPosition) {
/Users/admin/builder/spi-builder-workspace/Sources/swiftui-bottom-sheet-drawer/key/SizePreferenceKey.swift:14:23: 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
12 | public struct SizePreferenceKey: PreferenceKey {
13 |
14 |     public static var defaultValue = CGSize(width: 0, height: 0)
   |                       |- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |     public static func reduce(value: inout CGSize, nextValue: () -> CGSize) {
[9/11] Compiling swiftui_bottom_sheet_drawer IBottomSheetView.swift
[10/11] Compiling swiftui_bottom_sheet_drawer Comparable+clamped.swift
[11/11] Compiling swiftui_bottom_sheet_drawer BottomSheet.swift
Build complete! (9.28s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swiftui-bottom-sheet-drawer",
  "name" : "swiftui-bottom-sheet-drawer",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12"
    },
    {
      "name" : "ios",
      "version" : "15"
    },
    {
      "name" : "watchos",
      "version" : "10"
    }
  ],
  "products" : [
    {
      "name" : "swiftui-bottom-sheet-drawer",
      "targets" : [
        "swiftui-bottom-sheet-drawer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "swiftui_bottom_sheet_drawerTests",
      "module_type" : "SwiftTarget",
      "name" : "swiftui-bottom-sheet-drawerTests",
      "path" : "Tests/swiftui-bottom-sheet-drawerTests",
      "sources" : [
        "swiftui_bottom_sheet_drawerTests.swift"
      ],
      "target_dependencies" : [
        "swiftui-bottom-sheet-drawer"
      ],
      "type" : "test"
    },
    {
      "c99name" : "swiftui_bottom_sheet_drawer",
      "module_type" : "SwiftTarget",
      "name" : "swiftui-bottom-sheet-drawer",
      "path" : "Sources/swiftui-bottom-sheet-drawer",
      "product_memberships" : [
        "swiftui-bottom-sheet-drawer"
      ],
      "sources" : [
        "BottomSheet.swift",
        "enum/BottomSheetPosition.swift",
        "ext/Comparable+clamped.swift",
        "ext/View+MessureSize.swift",
        "key/BottomSheetPositionKey.swift",
        "key/SizePreferenceKey.swift",
        "protocol/IBottomSheetView.swift",
        "shape/RoundedCornersShape.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Done.