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 BigUIUserPreferences, reference main (e3686b), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 15:28:33 UTC.

Swift 6 data race errors: 0

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/notsobigcompany/BigUIUserPreferences.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/notsobigcompany/BigUIUserPreferences
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e3686bc Updated docs.
Cloned https://github.com/notsobigcompany/BigUIUserPreferences.git
Revision (git rev-parse @):
e3686bcc1d3e7358a80e9002b8079d27e797db68
SUCCESS checkout https://github.com/notsobigcompany/BigUIUserPreferences.git at main
========================================
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": "biguiuserpreferences",
      "name": "BigUIUserPreferences",
      "url": "https://github.com/notsobigcompany/BigUIUserPreferences.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BigUIUserPreferences",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/notsobigcompany/BigUIUserPreferences.git
[1/34] Fetching biguiuserpreferences
Fetched https://github.com/notsobigcompany/BigUIUserPreferences.git from cache (0.67s)
Creating working copy for https://github.com/notsobigcompany/BigUIUserPreferences.git
Working copy of https://github.com/notsobigcompany/BigUIUserPreferences.git resolved at main (e3686bc)
warning: '.resolve-product-dependencies': dependency 'biguiuserpreferences' 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/notsobigcompany/BigUIUserPreferences.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/8] Compiling BigUIUserPreferences UserDefaults.swift
[4/8] Compiling BigUIUserPreferences UserPreferenceKey.swift
[5/8] Compiling BigUIUserPreferences CodablePreferenceValue.swift
[6/8] Compiling BigUIUserPreferences Date+RawRepresentable.swift
/Users/admin/builder/spi-builder-workspace/Sources/BigUIUserPreferences/Extensions/Date+RawRepresentable.swift:3:1: warning: extension declares a conformance of imported type 'Date' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
 1 | import Foundation
 2 |
 3 | extension Date: RawRepresentable {
   | |- warning: extension declares a conformance of imported type 'Date' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 4 |
 5 |     public typealias RawValue = String
[7/8] Compiling BigUIUserPreferences UserPreference.swift
/Users/admin/builder/spi-builder-workspace/Sources/BigUIUserPreferences/UserPreference.swift:43:13: warning: capture of 'self' with non-sendable type 'UserPreference<Key>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 26 | ///
 27 | @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
 28 | @frozen @propertyWrapper public struct UserPreference<Key> : DynamicProperty where Key : UserPreferenceKey {
    |                                        `- note: consider making generic struct 'UserPreference' conform to the 'Sendable' protocol
 29 |
 30 |     @AppStorage private var value: Key.Value
    :
 41 |     public var projectedValue: Binding<Key.Value> {
 42 |         .init {
 43 |             wrappedValue
    |             `- warning: capture of 'self' with non-sendable type 'UserPreference<Key>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 44 |         } set: { newValue in
 45 |             wrappedValue = newValue
/Users/admin/builder/spi-builder-workspace/Sources/BigUIUserPreferences/UserPreference.swift:45:13: warning: capture of 'self' with non-sendable type 'UserPreference<Key>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 26 | ///
 27 | @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
 28 | @frozen @propertyWrapper public struct UserPreference<Key> : DynamicProperty where Key : UserPreferenceKey {
    |                                        `- note: consider making generic struct 'UserPreference' conform to the 'Sendable' protocol
 29 |
 30 |     @AppStorage private var value: Key.Value
    :
 43 |             wrappedValue
 44 |         } set: { newValue in
 45 |             wrappedValue = newValue
    |             `- warning: capture of 'self' with non-sendable type 'UserPreference<Key>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 46 |         }
 47 |     }
[8/8] Emitting module BigUIUserPreferences
/Users/admin/builder/spi-builder-workspace/Sources/BigUIUserPreferences/Extensions/Date+RawRepresentable.swift:3:1: warning: extension declares a conformance of imported type 'Date' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
 1 | import Foundation
 2 |
 3 | extension Date: RawRepresentable {
   | |- warning: extension declares a conformance of imported type 'Date' to imported protocol 'RawRepresentable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 4 |
 5 |     public typealias RawValue = String
Build complete! (14.27s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "BigUIUserPreferences",
  "name" : "BigUIUserPreferences",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "BigUIUserPreferences",
      "targets" : [
        "BigUIUserPreferences"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "BigUIUserPreferencesTests",
      "module_type" : "SwiftTarget",
      "name" : "BigUIUserPreferencesTests",
      "path" : "Tests/BigUIUserPreferencesTests",
      "sources" : [
        "BigUIUserPreferencesTests.swift"
      ],
      "target_dependencies" : [
        "BigUIUserPreferences"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BigUIUserPreferences",
      "module_type" : "SwiftTarget",
      "name" : "BigUIUserPreferences",
      "path" : "Sources/BigUIUserPreferences",
      "product_memberships" : [
        "BigUIUserPreferences"
      ],
      "sources" : [
        "CodablePreferenceValue.swift",
        "Extensions/Date+RawRepresentable.swift",
        "UserDefaults.swift",
        "UserPreference.swift",
        "UserPreferenceKey.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.