The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftyUserDefaults, reference master (558c01), with Swift 6.4 for macOS (SPM) on 17 Sep 2026 14:24:48 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sunshinejr/SwiftyUserDefaults.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sunshinejr/SwiftyUserDefaults
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 558c015 Update README.md
Cloned https://github.com/sunshinejr/SwiftyUserDefaults.git
Revision (git rev-parse @):
558c015e49524ebf5031b66980a722a4c225c302
SUCCESS checkout https://github.com/sunshinejr/SwiftyUserDefaults.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/sunshinejr/SwiftyUserDefaults.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[19 / 28]
[20 / 29] SwiftyUserDefaults
[30 / 74]
[35 / 74]
[38 / 74]
[39 / 74]
[43 / 74]
[45 / 74]
[48 / 74]
[51 / 74]
[53 / 74]
[54 / 74]
[65 / 74] SwiftyUserDefaults
[66 / 74] SwiftyUserDefaults
[71 / 74] SwiftyUserDefaults
Build complete! (8.46 sec)
/Users/admin/builder/spi-builder-workspace/Sources/DefaultsObserver.swift:51:41: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 31 | #if !os(Linux)
 32 |
 33 | public final class DefaultsObserver<T: DefaultsSerializable>: NSObject, DefaultsDisposable where T == T.T {
    |                                     `- note: 'T' previously declared here
 34 |
 35 |     public struct Update {
    :
 49 |         }
 50 |
 51 |         private static func deserialize<T: DefaultsSerializable>(_ value: Any?, for key: DefaultsKey<T>) -> T.T? where T.T == T {
    |                                         `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 52 |             guard let value = value else { return nil }
 53 |
/Users/admin/builder/spi-builder-workspace/Sources/DefaultsObserver.swift:51:41: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 31 | #if !os(Linux)
 32 |
 33 | public final class DefaultsObserver<T: DefaultsSerializable>: NSObject, DefaultsDisposable where T == T.T {
    |                                     `- note: 'T' previously declared here
 34 |
 35 |     public struct Update {
    :
 49 |         }
 50 |
 51 |         private static func deserialize<T: DefaultsSerializable>(_ value: Any?, for key: DefaultsKey<T>) -> T.T? where T.T == T {
    |                                         `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 52 |             guard let value = value else { return nil }
 53 |
/Users/admin/builder/spi-builder-workspace/Sources/DefaultsBridges.swift:218:38: warning: 'unarchiveObject(with:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
216 |
217 |         if let object = object as? Data {
218 |             return NSKeyedUnarchiver.unarchiveObject(with: object) as? URL
    |                                      `- warning: 'unarchiveObject(with:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
219 |         }
220 |
/Users/admin/builder/spi-builder-workspace/Sources/DefaultsBridges.swift:267:46: warning: 'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
265 |         // Needed because Quick/Nimble have min target 10.10...
266 |         if #available(OSX 10.11, *) {
267 |             userDefaults.set(NSKeyedArchiver.archivedData(withRootObject: value), forKey: key)
    |                                              `- warning: 'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
268 |         } else {
269 |             fatalError("Shouldn't really happen. We do not support macOS 10.10, if it happened to you please report your use-case on GitHub issues.")
/Users/admin/builder/spi-builder-workspace/Sources/DefaultsBridges.swift:282:34: warning: 'unarchiveObject(with:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
280 |     public func deserialize(_ object: Any) -> T? {
281 |         guard let data = object as? Data else { return nil }
282 |         return NSKeyedUnarchiver.unarchiveObject(with: data) as? T
    |                                  `- warning: 'unarchiveObject(with:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
283 |     }
284 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftyUserDefaults",
  "name" : "SwiftyUserDefaults",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.11"
    },
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftyUserDefaults",
      "targets" : [
        "SwiftyUserDefaults"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftyUserDefaults",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyUserDefaults",
      "path" : "Sources",
      "product_memberships" : [
        "SwiftyUserDefaults"
      ],
      "sources" : [
        "BuiltIns.swift",
        "Defaults+Observing.swift",
        "Defaults+StringToBool.swift",
        "Defaults+Subscripts.swift",
        "Defaults.swift",
        "DefaultsAdapter.swift",
        "DefaultsBridges.swift",
        "DefaultsKey.swift",
        "DefaultsKeys.swift",
        "DefaultsObserver.swift",
        "DefaultsSerializable.swift",
        "OptionalType.swift",
        "PropertyWrappers.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.