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 BottomSheet, reference 0.3.0 (5a5aa2), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 18:39:41 UTC.

Swift 6 data race errors: 2

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/danielsaidi/BottomSheet.git
Reference: 0.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/danielsaidi/BottomSheet
 * tag               0.3.0      -> FETCH_HEAD
HEAD is now at 5a5aa25 Bump to 0.3.0
Cloned https://github.com/danielsaidi/BottomSheet.git
Revision (git rev-parse @):
5a5aa250483690820feb016b7760539938d4fbb6
SUCCESS checkout https://github.com/danielsaidi/BottomSheet.git at 0.3.0
========================================
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",
  "dependencies": [
    {
      "identity": "bottomsheet",
      "name": "BottomSheet",
      "url": "https://github.com/danielsaidi/BottomSheet.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BottomSheet",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/danielsaidi/BottomSheet.git
[1/1643] Fetching bottomsheet
Fetched https://github.com/danielsaidi/BottomSheet.git from cache (1.47s)
Creating working copy for https://github.com/danielsaidi/BottomSheet.git
Working copy of https://github.com/danielsaidi/BottomSheet.git resolved at 0.3.0 (5a5aa25)
warning: '.resolve-product-dependencies': dependency 'bottomsheet' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/danielsaidi/BottomSheet.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/4] Write sources
[1/4] Copying Info.plist
[2/4] Copying Colors.xcassets
[3/4] Write swift-version--7754E27361AE5C74.txt
[5/15] Compiling BottomSheet SheetColor.swift
[6/15] Compiling BottomSheet BottomSheetHandleStyle+Deprecated.swift
[7/16] Compiling BottomSheet View+BottomSheet.swift
[8/16] Compiling BottomSheet Color+Sheet.swift
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet/Color/Color+Sheet.swift:13:16: warning: static property 'bottomSheet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public extension Color {
12 |
13 |     static var bottomSheet: Color = color(for: .bottomSheet)
   |                |- warning: static property 'bottomSheet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'bottomSheet' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'bottomSheet' 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
14 | }
15 |
[9/16] Compiling BottomSheet BottomSheetStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet/Color/Color+Sheet.swift:13:16: warning: static property 'bottomSheet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public extension Color {
12 |
13 |     static var bottomSheet: Color = color(for: .bottomSheet)
   |                |- warning: static property 'bottomSheet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'bottomSheet' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'bottomSheet' 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
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet/BottomSheetStyle.swift:70:23: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
68 |      You can replace this value to change the standard style.
69 |      */
70 |     public static var standard = BottomSheetStyle()
   |                       |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'standard' 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
71 |
72 |     /**
[10/16] Compiling BottomSheet BottomSheetHandleStyle.swift
[11/16] Compiling BottomSheet BottomSheetHandleBar.swift
[12/16] Compiling BottomSheet BottomSheet.swift
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet/BottomSheetStyle.swift:70:23: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
68 |      You can replace this value to change the standard style.
69 |      */
70 |     public static var standard = BottomSheetStyle()
   |                       |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'standard' 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
71 |
72 |     /**
[13/16] Compiling BottomSheet BottomSheetHandle.swift
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet/BottomSheetStyle.swift:70:23: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
68 |      You can replace this value to change the standard style.
69 |      */
70 |     public static var standard = BottomSheetStyle()
   |                       |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'standard' 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
71 |
72 |     /**
[14/16] Compiling BottomSheet BottomSheetHeight.swift
[15/16] Emitting module BottomSheet
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet/BottomSheetStyle.swift:70:23: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
68 |      You can replace this value to change the standard style.
69 |      */
70 |     public static var standard = BottomSheetStyle()
   |                       |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'standard' 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
71 |
72 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet/Color/Color+Sheet.swift:13:16: warning: static property 'bottomSheet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public extension Color {
12 |
13 |     static var bottomSheet: Color = color(for: .bottomSheet)
   |                |- warning: static property 'bottomSheet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'bottomSheet' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'bottomSheet' 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
14 | }
15 |
[16/16] Compiling BottomSheet resource_bundle_accessor.swift
Build complete! (26.88s)
Build complete.
{
  "default_localization" : "en",
  "dependencies" : [
  ],
  "manifest_display_name" : "BottomSheet",
  "name" : "BottomSheet",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "BottomSheet",
      "targets" : [
        "BottomSheet"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "BottomSheetTests",
      "module_type" : "SwiftTarget",
      "name" : "BottomSheetTests",
      "path" : "Tests/BottomSheetTests",
      "sources" : [
        "BottomSheetTests.swift"
      ],
      "target_dependencies" : [
        "BottomSheet"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BottomSheet",
      "module_type" : "SwiftTarget",
      "name" : "BottomSheet",
      "path" : "Sources/BottomSheet",
      "product_memberships" : [
        "BottomSheet"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet/Resources/Colors.xcassets",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "BottomSheet.swift",
        "BottomSheetHandle.swift",
        "BottomSheetHandleBar.swift",
        "BottomSheetHandleStyle.swift",
        "BottomSheetHeight.swift",
        "BottomSheetStyle.swift",
        "Color/Color+Sheet.swift",
        "Color/SheetColor.swift",
        "View+BottomSheet.swift",
        "_Deprecated/BottomSheetHandleStyle+Deprecated.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.