The Swift Package Index logo.Swift Package Index

Build Information

Successful build of UserDefault, reference 1.4.0 (5b06e3), with Swift 6.1 for macOS (SPM) on 10 Nov 2026 22:50:16 UTC.

Swift 6 data race errors: 2

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: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/juliand665/UserDefault.git
Reference: 1.4.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/juliand665/UserDefault
 * tag               1.4.0      -> FETCH_HEAD
HEAD is now at 5b06e37 Merge pull request #3 from pleasure2cu/fix-swiftui-state-macro
Cloned https://github.com/juliand665/UserDefault.git
Revision (git rev-parse @):
5b06e372ab94064d198ad6f902883ef74227b6c2
SUCCESS checkout https://github.com/juliand665/UserDefault.git at 1.4.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/juliand665/UserDefault.git
https://github.com/juliand665/UserDefault.git
{
  "dependencies" : [
    {
      "identity" : "handyoperators",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/juliand665/HandyOperators.git"
    }
  ],
  "manifest_display_name" : "UserDefault",
  "name" : "UserDefault",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "UserDefault",
      "targets" : [
        "UserDefault"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "UserDefaultTests",
      "module_type" : "SwiftTarget",
      "name" : "UserDefaultTests",
      "path" : "Tests/UserDefaultTests",
      "sources" : [
        "FailureTests.swift",
        "PropertyWrapperTests.swift",
        "SimpleTests.swift",
        "Tests.swift",
        "Types.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "UserDefault"
      ],
      "type" : "test"
    },
    {
      "c99name" : "UserDefault",
      "module_type" : "SwiftTarget",
      "name" : "UserDefault",
      "path" : "Sources/UserDefault",
      "product_dependencies" : [
        "HandyOperators"
      ],
      "product_memberships" : [
        "UserDefault"
      ],
      "sources" : [
        "Conditional Conformances/Array.swift",
        "Conditional Conformances/Codable.swift",
        "Conditional Conformances/Collection.swift",
        "Conditional Conformances/Dictionary.swift",
        "Conditional Conformances/NSCoding.swift",
        "Conditional Conformances/Optional.swift",
        "Conditional Conformances/RawRepresentable.swift",
        "DefaultsValue.swift",
        "DefaultsValueConvertible.swift",
        "IndirectDefaultsValueConvertible.swift",
        "UserDefault.swift",
        "UserDefaultState.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
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/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/5] Emitting module HandyOperators
[5/5] Compiling HandyOperators HandyOperators.swift
[6/17] Compiling UserDefault IndirectDefaultsValueConvertible.swift
[7/18] Compiling UserDefault UserDefault.swift
[8/18] Compiling UserDefault DefaultsValueConvertible.swift
[9/18] Compiling UserDefault DefaultsValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/UserDefault/DefaultsValue.swift:31:7: warning: associated value 'typeMismatch(found:expected:)' of 'Sendable'-conforming enum 'DefaultsError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
29 |
30 | public enum DefaultsError: Error {
31 | 	case typeMismatch(found: Any, expected: Any.Type)
   |       `- warning: associated value 'typeMismatch(found:expected:)' of 'Sendable'-conforming enum 'DefaultsError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
32 | 	case illegalValue(found: Any, for: Any.Type)
33 | 	case missingValue(key: String)
/Users/admin/builder/spi-builder-workspace/Sources/UserDefault/DefaultsValue.swift:32:7: warning: associated value 'illegalValue(found:for:)' of 'Sendable'-conforming enum 'DefaultsError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
30 | public enum DefaultsError: Error {
31 | 	case typeMismatch(found: Any, expected: Any.Type)
32 | 	case illegalValue(found: Any, for: Any.Type)
   |       `- warning: associated value 'illegalValue(found:for:)' of 'Sendable'-conforming enum 'DefaultsError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
33 | 	case missingValue(key: String)
34 | }
[10/18] Compiling UserDefault NSCoding.swift
[11/18] Compiling UserDefault Array.swift
[12/18] Compiling UserDefault Codable.swift
[13/18] Compiling UserDefault RawRepresentable.swift
[14/18] Compiling UserDefault Collection.swift
[15/18] Compiling UserDefault Dictionary.swift
[16/18] Compiling UserDefault Optional.swift
[17/18] Emitting module UserDefault
/Users/admin/builder/spi-builder-workspace/Sources/UserDefault/DefaultsValue.swift:31:7: warning: associated value 'typeMismatch(found:expected:)' of 'Sendable'-conforming enum 'DefaultsError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
29 |
30 | public enum DefaultsError: Error {
31 | 	case typeMismatch(found: Any, expected: Any.Type)
   |       `- warning: associated value 'typeMismatch(found:expected:)' of 'Sendable'-conforming enum 'DefaultsError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
32 | 	case illegalValue(found: Any, for: Any.Type)
33 | 	case missingValue(key: String)
/Users/admin/builder/spi-builder-workspace/Sources/UserDefault/DefaultsValue.swift:32:7: warning: associated value 'illegalValue(found:for:)' of 'Sendable'-conforming enum 'DefaultsError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
30 | public enum DefaultsError: Error {
31 | 	case typeMismatch(found: Any, expected: Any.Type)
32 | 	case illegalValue(found: Any, for: Any.Type)
   |       `- warning: associated value 'illegalValue(found:for:)' of 'Sendable'-conforming enum 'DefaultsError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
33 | 	case missingValue(key: String)
34 | }
[18/18] Compiling UserDefault UserDefaultState.swift
Build complete! (12.62s)
Fetching https://github.com/juliand665/HandyOperators.git
[1/77] Fetching handyoperators
Fetched https://github.com/juliand665/HandyOperators.git from cache (0.65s)
Computing version for https://github.com/juliand665/HandyOperators.git
Computed https://github.com/juliand665/HandyOperators.git at 2.1.0 (1.41s)
Creating working copy for https://github.com/juliand665/HandyOperators.git
Working copy of https://github.com/juliand665/HandyOperators.git resolved at 2.1.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "handyoperators",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/juliand665/HandyOperators.git"
    }
  ],
  "manifest_display_name" : "UserDefault",
  "name" : "UserDefault",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "UserDefault",
      "targets" : [
        "UserDefault"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "UserDefaultTests",
      "module_type" : "SwiftTarget",
      "name" : "UserDefaultTests",
      "path" : "Tests/UserDefaultTests",
      "sources" : [
        "FailureTests.swift",
        "PropertyWrapperTests.swift",
        "SimpleTests.swift",
        "Tests.swift",
        "Types.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "UserDefault"
      ],
      "type" : "test"
    },
    {
      "c99name" : "UserDefault",
      "module_type" : "SwiftTarget",
      "name" : "UserDefault",
      "path" : "Sources/UserDefault",
      "product_dependencies" : [
        "HandyOperators"
      ],
      "product_memberships" : [
        "UserDefault"
      ],
      "sources" : [
        "Conditional Conformances/Array.swift",
        "Conditional Conformances/Codable.swift",
        "Conditional Conformances/Collection.swift",
        "Conditional Conformances/Dictionary.swift",
        "Conditional Conformances/NSCoding.swift",
        "Conditional Conformances/Optional.swift",
        "Conditional Conformances/RawRepresentable.swift",
        "DefaultsValue.swift",
        "DefaultsValueConvertible.swift",
        "IndirectDefaultsValueConvertible.swift",
        "UserDefault.swift",
        "UserDefaultState.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.