The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of StorageKit, reference 2.0.2 (41d39e), with Swift 6.2 (beta) for macOS (SPM) on 24 Jun 2025 13:57:40 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NikSativa/StorageKit.git
Reference: 2.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/NikSativa/StorageKit
 * tag               2.0.2      -> FETCH_HEAD
HEAD is now at 41d39ef upd SwiftFormat rules and github actions
Cloned https://github.com/NikSativa/StorageKit.git
Revision (git rev-parse @):
41d39ef6943141ae51c3981d167f021c51fb718d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/NikSativa/StorageKit.git at 2.0.2
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/NikSativa/StorageKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[1/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/15] Compiling StorageKit UserDefaultsStorage.swift
[5/16] Emitting module StorageKit
[6/16] Compiling StorageKit Keychain.swift
[7/16] Compiling StorageKit Lifetime.swift
[8/16] Compiling StorageKit Defaults.swift
/Users/admin/builder/spi-builder-workspace/Source/Defaults.swift:97:17: warning: capture of non-sendable type 'Value.Type' in an isolated closure
 95 |         self.defaultsObserver = .init(key: key, userDefaults: userDefaults)
 96 |         defaultsObserver.updateHandler = { [weak self] _ in
 97 |             self?.syncMain()
    |                 `- warning: capture of non-sendable type 'Value.Type' in an isolated closure
 98 |         }
 99 |
/Users/admin/builder/spi-builder-workspace/Source/Defaults.swift:96:50: warning: capture of non-sendable type 'Value.Type' in an isolated closure
 94 |
 95 |         self.defaultsObserver = .init(key: key, userDefaults: userDefaults)
 96 |         defaultsObserver.updateHandler = { [weak self] _ in
    |                                                  `- warning: capture of non-sendable type 'Value.Type' in an isolated closure
 97 |             self?.syncMain()
 98 |         }
/Users/admin/builder/spi-builder-workspace/Source/Defaults.swift:104:17: warning: capture of non-sendable type 'Value.Type' in an isolated closure
102 |                                                                         object: userDefaults,
103 |                                                                         queue: .main) { [weak self] _ in
104 |             self?.syncMain()
    |                 `- warning: capture of non-sendable type 'Value.Type' in an isolated closure
105 |         }
106 |     }
/Users/admin/builder/spi-builder-workspace/Source/Defaults.swift:103:95: warning: capture of non-sendable type 'Value.Type' in an isolated closure
101 |         self.notificationToken = NotificationCenter.default.addObserver(forName: UserDefaults.didChangeNotification,
102 |                                                                         object: userDefaults,
103 |                                                                         queue: .main) { [weak self] _ in
    |                                                                                               `- warning: capture of non-sendable type 'Value.Type' in an isolated closure
104 |             self?.syncMain()
105 |         }
[9/16] Compiling StorageKit Expirable.swift
/Users/admin/builder/spi-builder-workspace/Source/Defaults.swift:97:17: warning: capture of non-sendable type 'Value.Type' in an isolated closure
 95 |         self.defaultsObserver = .init(key: key, userDefaults: userDefaults)
 96 |         defaultsObserver.updateHandler = { [weak self] _ in
 97 |             self?.syncMain()
    |                 `- warning: capture of non-sendable type 'Value.Type' in an isolated closure
 98 |         }
 99 |
/Users/admin/builder/spi-builder-workspace/Source/Defaults.swift:96:50: warning: capture of non-sendable type 'Value.Type' in an isolated closure
 94 |
 95 |         self.defaultsObserver = .init(key: key, userDefaults: userDefaults)
 96 |         defaultsObserver.updateHandler = { [weak self] _ in
    |                                                  `- warning: capture of non-sendable type 'Value.Type' in an isolated closure
 97 |             self?.syncMain()
 98 |         }
/Users/admin/builder/spi-builder-workspace/Source/Defaults.swift:104:17: warning: capture of non-sendable type 'Value.Type' in an isolated closure
102 |                                                                         object: userDefaults,
103 |                                                                         queue: .main) { [weak self] _ in
104 |             self?.syncMain()
    |                 `- warning: capture of non-sendable type 'Value.Type' in an isolated closure
105 |         }
106 |     }
/Users/admin/builder/spi-builder-workspace/Source/Defaults.swift:103:95: warning: capture of non-sendable type 'Value.Type' in an isolated closure
101 |         self.notificationToken = NotificationCenter.default.addObserver(forName: UserDefaults.didChangeNotification,
102 |                                                                         object: userDefaults,
103 |                                                                         queue: .main) { [weak self] _ in
    |                                                                                               `- warning: capture of non-sendable type 'Value.Type' in an isolated closure
104 |             self?.syncMain()
105 |         }
[10/16] Compiling StorageKit InMemoryStorage.swift
[11/16] Compiling StorageKit KeychainStorage.swift
[12/16] Compiling StorageKit Storage.swift
[13/16] Compiling StorageKit AnyStorage.swift
[14/16] Compiling StorageKit StorageComposition.swift
[15/16] Compiling StorageKit FileStorage.swift
[16/16] Compiling StorageKit resource_bundle_accessor.swift
Build complete! (4.42s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "StorageKit",
  "name" : "StorageKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "StorageKit",
      "targets" : [
        "StorageKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "StorageKitTests",
      "module_type" : "SwiftTarget",
      "name" : "StorageKitTests",
      "path" : "Tests",
      "sources" : [
        "DefaultsTests.swift",
        "StorageTests.swift"
      ],
      "target_dependencies" : [
        "StorageKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "StorageKit",
      "module_type" : "SwiftTarget",
      "name" : "StorageKit",
      "path" : "Source",
      "product_memberships" : [
        "StorageKit"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Source/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Defaults.swift",
        "Expirable.swift",
        "Keychain.swift",
        "Lifetime.swift",
        "Storage.swift",
        "StorageComposition.swift",
        "Storages/AnyStorage.swift",
        "Storages/FileStorage.swift",
        "Storages/InMemoryStorage.swift",
        "Storages/KeychainStorage.swift",
        "Storages/UserDefaultsStorage.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Done.