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 1.0.0 (f8c5ba), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 13:53:07 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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/notsobigcompany/BigUIUserPreferences.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/notsobigcompany/BigUIUserPreferences
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at f8c5bad Updated README
Cloned https://github.com/notsobigcompany/BigUIUserPreferences.git
Revision (git rev-parse @):
f8c5bad68ba7fe2724351af4be4a9e5edabeafcc
SUCCESS checkout https://github.com/notsobigcompany/BigUIUserPreferences.git at 1.0.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": "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.61s)
Creating working copy for https://github.com/notsobigcompany/BigUIUserPreferences.git
Working copy of https://github.com/notsobigcompany/BigUIUserPreferences.git resolved at 1.0.0 (f8c5bad)
warning: '.resolve-product-dependencies': dependency 'biguiuserpreferences' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/notsobigcompany/BigUIUserPreferences.git
https://github.com/notsobigcompany/BigUIUserPreferences.git
{
  "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"
}
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/8] Compiling BigUIUserPreferences UserPreferenceKey.swift
[4/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
[5/8] Compiling BigUIUserPreferences CodablePreferenceValue.swift
[6/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
 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
 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
 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
 46 |         }
 47 |     }
[7/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
[8/8] Compiling BigUIUserPreferences UserDefaults.swift
Build complete! (8.48s)
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.