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 Linux on 19 Jun 2025 11:45:20 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/dreymonde/Shallows.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Building for debugging...
[0/7] Write sources
[1/7] Write swift-version-24593BA9C3E375BF.txt
[3/21] Compiling Shallows WriteOnlyStorage.swift
[4/22] Compiling Shallows Storage.swift
[5/22] Compiling Shallows SyncStorage.swift
[6/22] Compiling Shallows Zip.swift
[7/22] Compiling Shallows DiskExtensions.swift
/host/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
/host/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 |     }
/host/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>
[8/22] Compiling Shallows DiskStorage.swift
/host/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
/host/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 |     }
/host/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>
[9/22] Compiling Shallows Filename.swift
[10/22] Compiling Shallows MemoryStorage.swift
[11/22] Compiling Shallows NSCacheStorage.swift
[12/22] Compiling Shallows ReadOnlyStorage.swift
[13/22] Compiling Shallows Shallows.swift
[14/22] Compiling Shallows ShallowsResult.swift
[15/22] Emitting module Shallows
/host/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
/host/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 |     }
/host/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/22] Compiling Shallows Async.swift
/host/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
/host/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
/host/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))
/host/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
/host/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))
/host/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
/host/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/22] Compiling Shallows Composition.swift
/host/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
/host/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
/host/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))
/host/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
/host/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))
/host/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
/host/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))
[18/23] Wrapping AST for Shallows for debugging
[19/23] Write Objects.LinkFileList
[21/23] Archiving libShallowsStatic.a
[22/23] Linking libShallowsDynamic.so
Build complete! (13.51s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Shallows",
  "name" : "Shallows",
  "path" : "/host/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"
}
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.