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 main (cc532c), with Swift 6.2 (beta) for macOS (SPM) on 24 Jun 2025 13:57:24 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/NikSativa/StorageKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at cc532c8 revert CI
Cloned https://github.com/NikSativa/StorageKit.git
Revision (git rev-parse @):
cc532c8fe7c566817e9adec5525be6c538236563
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/NikSativa/StorageKit.git at main
========================================
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
[0/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/15] Compiling StorageKit Storage.swift
[5/16] Compiling StorageKit InMemoryStorage.swift
[6/16] Compiling StorageKit UserDefaultsStorage.swift
[7/16] Compiling StorageKit KeychainStorage.swift
[8/16] Compiling StorageKit AnyStorage.swift
[9/16] Compiling StorageKit FileStorage.swift
[10/16] Compiling StorageKit Keychain.swift
[11/16] Compiling StorageKit Lifetime.swift
[12/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 |         }
[13/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 |         }
[14/16] Emitting module StorageKit
[15/16] Compiling StorageKit StorageComposition.swift
[16/16] Compiling StorageKit resource_bundle_accessor.swift
Build complete! (4.65s)
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.