The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Pocket, reference 1.1.0 (c19cac), with Swift 6.2 for macOS (SPM) on 19 Jun 2025 09:52:18 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/sgade/swift-pocket.git
Reference: 1.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sgade/swift-pocket
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at c19cac4 Remove completion-block functions in favor of async/await.
Cloned https://github.com/sgade/swift-pocket.git
Revision (git rev-parse @):
c19cac468490129f8a7dbeceb278688ef0a64f33
SUCCESS checkout https://github.com/sgade/swift-pocket.git at 1.1.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/sgade/swift-pocket.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/14] Compiling Pocket Status.swift
[4/14] Compiling Pocket Pocket+Authentication.swift
[5/15] Compiling Pocket ObjectList.swift
[6/15] Compiling Pocket StringBool.swift
[7/15] Compiling Pocket Pocket+Retrieve.swift
[8/15] Compiling Pocket AddedItem.swift
[9/15] Compiling Pocket Errors.swift
[10/15] Compiling Pocket Item.swift
[11/15] Compiling Pocket Pocket+Add.swift
[12/15] Compiling Pocket Pocket+Modify.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pocket/Pocket+Modify.swift:186:56: warning: converting a value of type '(__shared sending Result<Pocket.ModifyItemsResults, any Error>) -> ()' (aka '(__shared sending Result<Array<Bool>, any Error>) -> ()') to type '(Result<Pocket.ModifyItemsResults, any Error>) -> Void' (aka '(Result<Array<Bool>, any Error>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
184 |     public func add(items: [AddItemParameters]) async throws -> ModifyItemsResults {
185 |         try await withCheckedThrowingContinuation { continuation in
186 |             add(items: items, completion: continuation.resume)
    |                                                        |- warning: converting a value of type '(__shared sending Result<Pocket.ModifyItemsResults, any Error>) -> ()' (aka '(__shared sending Result<Array<Bool>, any Error>) -> ()') to type '(Result<Pocket.ModifyItemsResults, any Error>) -> Void' (aka '(Result<Array<Bool>, any Error>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
    |                                                        `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
187 |         }
188 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Pocket/Pocket+Modify.swift:202:64: warning: converting a value of type '(__shared sending Result<Pocket.ModifyItemsResults, any Error>) -> ()' (aka '(__shared sending Result<Array<Bool>, any Error>) -> ()') to type '(Result<Pocket.ModifyItemsResults, any Error>) -> Void' (aka '(Result<Array<Bool>, any Error>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
200 |     public func archive(itemIds: [StringInt]) async throws -> ModifyItemsResults {
201 |         try await withCheckedThrowingContinuation { continuation in
202 |             archive(itemIds: itemIds, completion: continuation.resume(with:))
    |                                                                |- warning: converting a value of type '(__shared sending Result<Pocket.ModifyItemsResults, any Error>) -> ()' (aka '(__shared sending Result<Array<Bool>, any Error>) -> ()') to type '(Result<Pocket.ModifyItemsResults, any Error>) -> Void' (aka '(Result<Array<Bool>, any Error>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
    |                                                                `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
203 |         }
204 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Pocket/Pocket+Modify.swift:219:62: warning: converting a value of type '(__shared sending Result<Pocket.ModifyItemsResults, any Error>) -> ()' (aka '(__shared sending Result<Array<Bool>, any Error>) -> ()') to type '(Result<Pocket.ModifyItemsResults, any Error>) -> Void' (aka '(Result<Array<Bool>, any Error>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
217 |     public func readd(itemIds: [StringInt]) async throws -> ModifyItemsResults {
218 |         try await withCheckedThrowingContinuation { continuation in
219 |             readd(itemIds: itemIds, completion: continuation.resume)
    |                                                              |- warning: converting a value of type '(__shared sending Result<Pocket.ModifyItemsResults, any Error>) -> ()' (aka '(__shared sending Result<Array<Bool>, any Error>) -> ()') to type '(Result<Pocket.ModifyItemsResults, any Error>) -> Void' (aka '(Result<Array<Bool>, any Error>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
    |                                                              `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
220 |         }
221 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Pocket/Pocket+Modify.swift:236:65: warning: converting a value of type '(__shared sending Result<Pocket.ModifyItemsResults, any Error>) -> ()' (aka '(__shared sending Result<Array<Bool>, any Error>) -> ()') to type '(Result<Pocket.ModifyItemsResults, any Error>) -> Void' (aka '(Result<Array<Bool>, any Error>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
234 |     public func favorite(itemIds: [StringInt]) async throws -> ModifyItemsResults {
235 |         try await withCheckedThrowingContinuation { continuation in
236 |             favorite(itemIds: itemIds, completion: continuation.resume)
    |                                                                 |- warning: converting a value of type '(__shared sending Result<Pocket.ModifyItemsResults, any Error>) -> ()' (aka '(__shared sending Result<Array<Bool>, any Error>) -> ()') to type '(Result<Pocket.ModifyItemsResults, any Error>) -> Void' (aka '(Result<Array<Bool>, any Error>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
    |                                                                 `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
237 |         }
238 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Pocket/Pocket+Modify.swift:253:67: warning: converting a value of type '(__shared sending Result<Pocket.ModifyItemsResults, any Error>) -> ()' (aka '(__shared sending Result<Array<Bool>, any Error>) -> ()') to type '(Result<Pocket.ModifyItemsResults, any Error>) -> Void' (aka '(Result<Array<Bool>, any Error>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
251 |     public func unfavorite(itemIds: [StringInt]) async throws -> ModifyItemsResults {
252 |         try await withCheckedThrowingContinuation { continuation in
253 |             unfavorite(itemIds: itemIds, completion: continuation.resume)
    |                                                                   |- warning: converting a value of type '(__shared sending Result<Pocket.ModifyItemsResults, any Error>) -> ()' (aka '(__shared sending Result<Array<Bool>, any Error>) -> ()') to type '(Result<Pocket.ModifyItemsResults, any Error>) -> Void' (aka '(Result<Array<Bool>, any Error>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
    |                                                                   `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
254 |         }
255 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Pocket/Pocket+Modify.swift:270:63: warning: converting a value of type '(__shared sending Result<Pocket.ModifyItemsResults, any Error>) -> ()' (aka '(__shared sending Result<Array<Bool>, any Error>) -> ()') to type '(Result<Pocket.ModifyItemsResults, any Error>) -> Void' (aka '(Result<Array<Bool>, any Error>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
268 |     public func delete(itemIds: [StringInt]) async throws -> ModifyItemsResults {
269 |         try await withCheckedThrowingContinuation { continuation in
270 |             delete(itemIds: itemIds, completion: continuation.resume)
    |                                                               |- warning: converting a value of type '(__shared sending Result<Pocket.ModifyItemsResults, any Error>) -> ()' (aka '(__shared sending Result<Array<Bool>, any Error>) -> ()') to type '(Result<Pocket.ModifyItemsResults, any Error>) -> Void' (aka '(Result<Array<Bool>, any Error>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
    |                                                               `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
271 |         }
272 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Pocket/Pocket+Modify.swift:323:67: warning: converting a value of type '(__shared sending Result<Pocket.ModifyItemsResults, any Error>) -> ()' (aka '(__shared sending Result<Array<Bool>, any Error>) -> ()') to type '(Result<Pocket.ModifyItemsResults, any Error>) -> Void' (aka '(Result<Array<Bool>, any Error>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
321 |     public func add(tags: [String], to itemIds: [StringInt]) async throws -> ModifyItemsResults {
322 |         try await withCheckedThrowingContinuation { continuation in
323 |             add(tags: tags, to: itemIds, completion: continuation.resume)
    |                                                                   |- warning: converting a value of type '(__shared sending Result<Pocket.ModifyItemsResults, any Error>) -> ()' (aka '(__shared sending Result<Array<Bool>, any Error>) -> ()') to type '(Result<Pocket.ModifyItemsResults, any Error>) -> Void' (aka '(Result<Array<Bool>, any Error>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
    |                                                                   `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
324 |         }
325 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Pocket/Pocket+Modify.swift:340:72: warning: converting a value of type '(__shared sending Result<Pocket.ModifyItemsResults, any Error>) -> ()' (aka '(__shared sending Result<Array<Bool>, any Error>) -> ()') to type '(Result<Pocket.ModifyItemsResults, any Error>) -> Void' (aka '(Result<Array<Bool>, any Error>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
338 |     public func remove(tags: [String], from itemIds: [StringInt]) async throws -> ModifyItemsResults {
339 |         try await withCheckedThrowingContinuation { continuation in
340 |             remove(tags: tags, from: itemIds, completion: continuation.resume)
    |                                                                        |- warning: converting a value of type '(__shared sending Result<Pocket.ModifyItemsResults, any Error>) -> ()' (aka '(__shared sending Result<Array<Bool>, any Error>) -> ()') to type '(Result<Pocket.ModifyItemsResults, any Error>) -> Void' (aka '(Result<Array<Bool>, any Error>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
    |                                                                        `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
341 |         }
342 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Pocket/Pocket+Modify.swift:357:71: warning: converting a value of type '(__shared sending Result<Pocket.ModifyItemsResults, any Error>) -> ()' (aka '(__shared sending Result<Array<Bool>, any Error>) -> ()') to type '(Result<Pocket.ModifyItemsResults, any Error>) -> Void' (aka '(Result<Array<Bool>, any Error>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
355 |     public func replace(tags: [String], on itemIds: [StringInt]) async throws -> ModifyItemsResults {
356 |         try await withCheckedThrowingContinuation { continuation in
357 |             replace(tags: tags, on: itemIds, completion: continuation.resume)
    |                                                                       |- warning: converting a value of type '(__shared sending Result<Pocket.ModifyItemsResults, any Error>) -> ()' (aka '(__shared sending Result<Array<Bool>, any Error>) -> ()') to type '(Result<Pocket.ModifyItemsResults, any Error>) -> Void' (aka '(Result<Array<Bool>, any Error>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
    |                                                                       `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
358 |         }
359 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Pocket/Pocket+Modify.swift:374:66: warning: converting a value of type '(__shared sending Result<Pocket.ModifyItemsResults, any Error>) -> ()' (aka '(__shared sending Result<Array<Bool>, any Error>) -> ()') to type '(Result<Pocket.ModifyItemsResults, any Error>) -> Void' (aka '(Result<Array<Bool>, any Error>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
372 |     public func clearTags(itemIds: [StringInt]) async throws -> ModifyItemsResults {
373 |         try await withCheckedThrowingContinuation { continuation in
374 |             clearTags(itemIds: itemIds, completion: continuation.resume)
    |                                                                  |- warning: converting a value of type '(__shared sending Result<Pocket.ModifyItemsResults, any Error>) -> ()' (aka '(__shared sending Result<Array<Bool>, any Error>) -> ()') to type '(Result<Pocket.ModifyItemsResults, any Error>) -> Void' (aka '(Result<Array<Bool>, any Error>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
    |                                                                  `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
375 |         }
376 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Pocket/Pocket+Modify.swift:417:74: warning: converting a value of type '(__shared sending Result<Pocket.ModifyItemsResults, any Error>) -> ()' (aka '(__shared sending Result<Array<Bool>, any Error>) -> ()') to type '(Result<Pocket.ModifyItemsResults, any Error>) -> Void' (aka '(Result<Array<Bool>, any Error>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
415 |     public func renameTag(from oldTag: String, to newTag: String) async throws -> ModifyItemsResults {
416 |         try await withCheckedThrowingContinuation { continuation in
417 |             renameTag(from: oldTag, to: newTag, completion: continuation.resume)
    |                                                                          |- warning: converting a value of type '(__shared sending Result<Pocket.ModifyItemsResults, any Error>) -> ()' (aka '(__shared sending Result<Array<Bool>, any Error>) -> ()') to type '(Result<Pocket.ModifyItemsResults, any Error>) -> Void' (aka '(Result<Array<Bool>, any Error>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
    |                                                                          `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
418 |         }
419 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Pocket/Pocket+Modify.swift:448:55: warning: converting a value of type '(__shared sending Result<Pocket.ModifyItemsResults, any Error>) -> ()' (aka '(__shared sending Result<Array<Bool>, any Error>) -> ()') to type '(Result<Pocket.ModifyItemsResults, any Error>) -> Void' (aka '(Result<Array<Bool>, any Error>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
446 |     public func delete(tag: String) async throws -> ModifyItemsResults {
447 |         try await withCheckedThrowingContinuation { continuation in
448 |             delete(tag: tag, completion: continuation.resume)
    |                                                       |- warning: converting a value of type '(__shared sending Result<Pocket.ModifyItemsResults, any Error>) -> ()' (aka '(__shared sending Result<Array<Bool>, any Error>) -> ()') to type '(Result<Pocket.ModifyItemsResults, any Error>) -> Void' (aka '(Result<Array<Bool>, any Error>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
    |                                                       `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
449 |         }
450 |     }
[13/15] Compiling Pocket Pocket.swift
[14/15] Emitting module Pocket
[15/15] Compiling Pocket StringInt.swift
Build complete! (5.06s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Pocket",
  "name" : "Pocket",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "Pocket",
      "targets" : [
        "Pocket"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PocketTests",
      "module_type" : "SwiftTarget",
      "name" : "PocketTests",
      "path" : "Tests/PocketTests",
      "sources" : [
        "PocketTests.swift"
      ],
      "target_dependencies" : [
        "Pocket"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Pocket",
      "module_type" : "SwiftTarget",
      "name" : "Pocket",
      "path" : "Sources/Pocket",
      "product_memberships" : [
        "Pocket"
      ],
      "sources" : [
        "AddedItem.swift",
        "Errors.swift",
        "Item.swift",
        "Pocket+Add.swift",
        "Pocket+Authentication.swift",
        "Pocket+Modify.swift",
        "Pocket+Retrieve.swift",
        "Pocket.swift",
        "Types/ObjectList.swift",
        "Types/Status.swift",
        "Types/StringBool.swift",
        "Types/StringInt.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.