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 Shallows, reference 0.13.4 (3a9d67), with Swift 6.2 (beta) for macOS (SPM) on 19 Jun 2025 11:50:23 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/dreymonde/Shallows.git
Reference: 0.13.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dreymonde/Shallows
 * tag               0.13.4     -> FETCH_HEAD
HEAD is now at 3a9d673 add asyncMapKeys operator
Cloned https://github.com/dreymonde/Shallows.git
Revision (git rev-parse @):
3a9d673a7c01d6fd4fbaa5cd592648dbae42d4a7
SUCCESS checkout https://github.com/dreymonde/Shallows.git at 0.13.4
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/dreymonde/Shallows.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/6] Write sources
[1/6] Write swift-version-1EA4D86E10B52AF.txt
[3/20] Compiling Shallows WriteOnlyStorage.swift
[4/21] Compiling Shallows Storage.swift
[5/21] Compiling Shallows Shallows.swift
[6/21] Compiling Shallows SyncStorage.swift
[7/21] Compiling Shallows Zip.swift
[8/21] Compiling Shallows Filename.swift
[9/21] Compiling Shallows MemoryStorage.swift
[10/21] Compiling Shallows NSCacheStorage.swift
[11/21] Compiling Shallows ReadOnlyStorage.swift
[12/21] Emitting module Shallows
/Users/admin/builder/spi-builder-workspace/Sources/Shallows/DiskStorage/DiskStorage.swift:24:54: warning: 'base64' is deprecated: for any new storages, please use .base64URL [#DeprecatedDeclaration]
 22 |     public init(folderURL: URL,
 23 |                 diskStorage: Storage<URL, Data> = DiskStorage.main.asStorage(),
 24 |                 filenameEncoder: Filename.Encoder = .base64) {
    |                                                      `- warning: 'base64' is deprecated: for any new storages, please use .base64URL [#DeprecatedDeclaration]
 25 |         self.diskStorage = diskStorage
 26 |         self.folderURL = folderURL
/Users/admin/builder/spi-builder-workspace/Sources/Shallows/DiskStorage/DiskStorage.swift:167:68: warning: 'base64' is deprecated: for any new storages, please use .base64URL [#DeprecatedDeclaration]
165 |                               in directory: FileManager.SearchPathDirectory,
166 |                               domainMask: FileManager.SearchPathDomainMask = .userDomainMask,
167 |                               filenameEncoder: Filename.Encoder = .base64) -> DiskFolderStorage {
    |                                                                    `- warning: 'base64' is deprecated: for any new storages, please use .base64URL [#DeprecatedDeclaration]
168 |         return DiskStorage.main.folder(folderName, in: directory, domainMask: domainMask, filenameEncoder: filenameEncoder)
169 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Shallows/DiskStorage/DiskStorage.swift:174:61: warning: 'base64' is deprecated: for any new storages, please use .base64URL [#DeprecatedDeclaration]
172 |                        in directory: FileManager.SearchPathDirectory,
173 |                        domainMask: FileManager.SearchPathDomainMask = .userDomainMask,
174 |                        filenameEncoder: Filename.Encoder = .base64) -> DiskFolderStorage {
    |                                                             `- warning: 'base64' is deprecated: for any new storages, please use .base64URL [#DeprecatedDeclaration]
175 |         return DiskFolderStorage.inDirectory(
176 |             directory,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[13/21] Compiling Shallows ShallowsResult.swift
[14/21] Compiling Shallows DiskExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Shallows/DiskStorage/DiskStorage.swift:24:54: warning: 'base64' is deprecated: for any new storages, please use .base64URL [#DeprecatedDeclaration]
 22 |     public init(folderURL: URL,
 23 |                 diskStorage: Storage<URL, Data> = DiskStorage.main.asStorage(),
 24 |                 filenameEncoder: Filename.Encoder = .base64) {
    |                                                      `- warning: 'base64' is deprecated: for any new storages, please use .base64URL [#DeprecatedDeclaration]
 25 |         self.diskStorage = diskStorage
 26 |         self.folderURL = folderURL
/Users/admin/builder/spi-builder-workspace/Sources/Shallows/DiskStorage/DiskStorage.swift:167:68: warning: 'base64' is deprecated: for any new storages, please use .base64URL [#DeprecatedDeclaration]
165 |                               in directory: FileManager.SearchPathDirectory,
166 |                               domainMask: FileManager.SearchPathDomainMask = .userDomainMask,
167 |                               filenameEncoder: Filename.Encoder = .base64) -> DiskFolderStorage {
    |                                                                    `- warning: 'base64' is deprecated: for any new storages, please use .base64URL [#DeprecatedDeclaration]
168 |         return DiskStorage.main.folder(folderName, in: directory, domainMask: domainMask, filenameEncoder: filenameEncoder)
169 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Shallows/DiskStorage/DiskStorage.swift:174:61: warning: 'base64' is deprecated: for any new storages, please use .base64URL [#DeprecatedDeclaration]
172 |                        in directory: FileManager.SearchPathDirectory,
173 |                        domainMask: FileManager.SearchPathDomainMask = .userDomainMask,
174 |                        filenameEncoder: Filename.Encoder = .base64) -> DiskFolderStorage {
    |                                                             `- warning: 'base64' is deprecated: for any new storages, please use .base64URL [#DeprecatedDeclaration]
175 |         return DiskFolderStorage.inDirectory(
176 |             directory,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[15/21] Compiling Shallows DiskStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Shallows/DiskStorage/DiskStorage.swift:24:54: warning: 'base64' is deprecated: for any new storages, please use .base64URL [#DeprecatedDeclaration]
 22 |     public init(folderURL: URL,
 23 |                 diskStorage: Storage<URL, Data> = DiskStorage.main.asStorage(),
 24 |                 filenameEncoder: Filename.Encoder = .base64) {
    |                                                      `- warning: 'base64' is deprecated: for any new storages, please use .base64URL [#DeprecatedDeclaration]
 25 |         self.diskStorage = diskStorage
 26 |         self.folderURL = folderURL
/Users/admin/builder/spi-builder-workspace/Sources/Shallows/DiskStorage/DiskStorage.swift:167:68: warning: 'base64' is deprecated: for any new storages, please use .base64URL [#DeprecatedDeclaration]
165 |                               in directory: FileManager.SearchPathDirectory,
166 |                               domainMask: FileManager.SearchPathDomainMask = .userDomainMask,
167 |                               filenameEncoder: Filename.Encoder = .base64) -> DiskFolderStorage {
    |                                                                    `- warning: 'base64' is deprecated: for any new storages, please use .base64URL [#DeprecatedDeclaration]
168 |         return DiskStorage.main.folder(folderName, in: directory, domainMask: domainMask, filenameEncoder: filenameEncoder)
169 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Shallows/DiskStorage/DiskStorage.swift:174:61: warning: 'base64' is deprecated: for any new storages, please use .base64URL [#DeprecatedDeclaration]
172 |                        in directory: FileManager.SearchPathDirectory,
173 |                        domainMask: FileManager.SearchPathDomainMask = .userDomainMask,
174 |                        filenameEncoder: Filename.Encoder = .base64) -> DiskFolderStorage {
    |                                                             `- warning: 'base64' is deprecated: for any new storages, please use .base64URL [#DeprecatedDeclaration]
175 |         return DiskFolderStorage.inDirectory(
176 |             directory,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[16/21] Compiling Shallows Async.swift
/Users/admin/builder/spi-builder-workspace/Sources/Shallows/Async.swift:71:11: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
 69 |     public func asyncMapValues<OtherValue>(
 70 |         to type: OtherValue.Type = OtherValue.self,
 71 |         _ transform: @escaping (Value) async throws -> OtherValue
    |           `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
 72 |     ) -> ReadOnlyStorage<Key, OtherValue> {
 73 |         return ReadOnlyStorage<Key, OtherValue>(storageName: storageName, retrieve: { (key, completion) in
/Users/admin/builder/spi-builder-workspace/Sources/Shallows/Async.swift:94:11: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
 92 |     public func asyncMapKeys<OtherKey>(
 93 |         to type: OtherKey.Type = OtherKey.self,
 94 |         _ transform: @escaping (OtherKey) async throws -> Key)
    |           `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
 95 |     -> ReadOnlyStorage<OtherKey, Value> {
 96 |         return ReadOnlyStorage<OtherKey, Value>(storageName: storageName, retrieve: { key, completion in
/Users/admin/builder/spi-builder-workspace/Sources/Shallows/Async.swift:100:21: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
 98 |                 do {
 99 |                     let newKey = try await transform(key)
100 |                     self.retrieve(forKey: newKey, completion: completion)
    |                     `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
101 |                 } catch {
102 |                     completion(.failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/Shallows/Async.swift:126:11: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
124 |     public func asyncMapValues<OtherValue>(
125 |         to type: OtherValue.Type = OtherValue.self,
126 |         _ transform: @escaping (OtherValue) async throws -> Value
    |           `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
127 |     ) -> WriteOnlyStorage<Key, OtherValue> {
128 |         return WriteOnlyStorage<Key, OtherValue>(storageName: storageName, set: { (value, key, completion) in
/Users/admin/builder/spi-builder-workspace/Sources/Shallows/Async.swift:132:21: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
130 |                 do {
131 |                     let newValue = try await transform(value)
132 |                     self.set(newValue, forKey: key, completion: completion)
    |                     `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
133 |                 } catch {
134 |                     completion(.failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/Shallows/Async.swift:142:11: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
140 |     public func asyncMapKeys<OtherKey>(
141 |         to type: OtherKey.Type = OtherKey.self,
142 |         _ transform: @escaping (OtherKey) async throws -> Key)
    |           `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
143 |     -> WriteOnlyStorage<OtherKey, Value> {
144 |         return WriteOnlyStorage<OtherKey, Value>(storageName: storageName, set: { value, key, completion in
/Users/admin/builder/spi-builder-workspace/Sources/Shallows/Async.swift:148:21: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
146 |                 do {
147 |                     let newKey = try await transform(key)
148 |                     self.set(value, forKey: newKey, completion: completion)
    |                     `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
149 |                 } catch {
150 |                     completion(.failure(error))
[17/21] Compiling Shallows Composition.swift
/Users/admin/builder/spi-builder-workspace/Sources/Shallows/Async.swift:71:11: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
 69 |     public func asyncMapValues<OtherValue>(
 70 |         to type: OtherValue.Type = OtherValue.self,
 71 |         _ transform: @escaping (Value) async throws -> OtherValue
    |           `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
 72 |     ) -> ReadOnlyStorage<Key, OtherValue> {
 73 |         return ReadOnlyStorage<Key, OtherValue>(storageName: storageName, retrieve: { (key, completion) in
/Users/admin/builder/spi-builder-workspace/Sources/Shallows/Async.swift:94:11: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
 92 |     public func asyncMapKeys<OtherKey>(
 93 |         to type: OtherKey.Type = OtherKey.self,
 94 |         _ transform: @escaping (OtherKey) async throws -> Key)
    |           `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
 95 |     -> ReadOnlyStorage<OtherKey, Value> {
 96 |         return ReadOnlyStorage<OtherKey, Value>(storageName: storageName, retrieve: { key, completion in
/Users/admin/builder/spi-builder-workspace/Sources/Shallows/Async.swift:100:21: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
 98 |                 do {
 99 |                     let newKey = try await transform(key)
100 |                     self.retrieve(forKey: newKey, completion: completion)
    |                     `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
101 |                 } catch {
102 |                     completion(.failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/Shallows/Async.swift:126:11: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
124 |     public func asyncMapValues<OtherValue>(
125 |         to type: OtherValue.Type = OtherValue.self,
126 |         _ transform: @escaping (OtherValue) async throws -> Value
    |           `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
127 |     ) -> WriteOnlyStorage<Key, OtherValue> {
128 |         return WriteOnlyStorage<Key, OtherValue>(storageName: storageName, set: { (value, key, completion) in
/Users/admin/builder/spi-builder-workspace/Sources/Shallows/Async.swift:132:21: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
130 |                 do {
131 |                     let newValue = try await transform(value)
132 |                     self.set(newValue, forKey: key, completion: completion)
    |                     `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
133 |                 } catch {
134 |                     completion(.failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/Shallows/Async.swift:142:11: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
140 |     public func asyncMapKeys<OtherKey>(
141 |         to type: OtherKey.Type = OtherKey.self,
142 |         _ transform: @escaping (OtherKey) async throws -> Key)
    |           `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
143 |     -> WriteOnlyStorage<OtherKey, Value> {
144 |         return WriteOnlyStorage<OtherKey, Value>(storageName: storageName, set: { value, key, completion in
/Users/admin/builder/spi-builder-workspace/Sources/Shallows/Async.swift:148:21: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
146 |                 do {
147 |                     let newKey = try await transform(key)
148 |                     self.set(value, forKey: newKey, completion: completion)
    |                     `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
149 |                 } catch {
150 |                     completion(.failure(error))
[17/21] Write Objects.LinkFileList
[19/21] Archiving libShallowsStatic.a
[20/21] Linking libShallowsDynamic.dylib
Build complete! (3.56s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Shallows",
  "name" : "Shallows",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Shallows",
      "targets" : [
        "Shallows"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ShallowsStatic",
      "targets" : [
        "Shallows"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    },
    {
      "name" : "ShallowsDynamic",
      "targets" : [
        "Shallows"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ShallowsTests",
      "module_type" : "SwiftTarget",
      "name" : "ShallowsTests",
      "path" : "Tests/ShallowsTests",
      "sources" : [
        "AdditionalSpec.swift",
        "CompositionSpec.swift",
        "DiskStorageSpec.swift",
        "MemoryStorageSpec.swift",
        "ResultSpec.swift",
        "Spectre/Case.swift",
        "Spectre/Context.swift",
        "Spectre/Expectation.swift",
        "Spectre/Failure.swift",
        "Spectre/Global.swift",
        "Spectre/GlobalContext.swift",
        "Spectre/Reporter.swift",
        "Spectre/Reporters.swift",
        "TestExtensions.swift",
        "XCTest.swift",
        "ZipSpec.swift"
      ],
      "target_dependencies" : [
        "Shallows"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Shallows",
      "module_type" : "SwiftTarget",
      "name" : "Shallows",
      "path" : "Sources/Shallows",
      "product_memberships" : [
        "Shallows",
        "ShallowsStatic",
        "ShallowsDynamic"
      ],
      "sources" : [
        "Async.swift",
        "Composition.swift",
        "DiskStorage/DiskExtensions.swift",
        "DiskStorage/DiskStorage.swift",
        "DiskStorage/Filename.swift",
        "MemoryStorage.swift",
        "NSCacheStorage.swift",
        "ReadOnlyStorage.swift",
        "Shallows.swift",
        "ShallowsResult.swift",
        "Storage.swift",
        "SyncStorage.swift",
        "WriteOnlyStorage.swift",
        "Zip.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.