The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build Processed, reference 2.2.0 (3eec30), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 13:17:28 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftedMind/Processed.git
Reference: 2.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwiftedMind/Processed
 * tag               2.2.0      -> FETCH_HEAD
HEAD is now at 3eec302 Add new product "ProcessedUtility"
Cloned https://github.com/SwiftedMind/Processed.git
Revision (git rev-parse @):
3eec30203744bce19f1d40af50a68d49e5de7c1b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/SwiftedMind/Processed.git at 2.2.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "processed",
      "name": "Processed",
      "url": "https://github.com/SwiftedMind/Processed.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Processed",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/SwiftedMind/Processed.git
[1/956] Fetching processed
Fetched https://github.com/SwiftedMind/Processed.git from cache (0.85s)
Creating working copy for https://github.com/SwiftedMind/Processed.git
Working copy of https://github.com/SwiftedMind/Processed.git resolved at 2.2.0 (3eec302)
warning: '.resolve-product-dependencies': dependency 'processed' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/SwiftedMind/Processed.git
https://github.com/SwiftedMind/Processed.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Processed",
  "name" : "Processed",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "Processed",
      "targets" : [
        "Processed"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ProcessedUtility",
      "targets" : [
        "Processed",
        "ProcessedUtility"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ProcessedUtility",
      "module_type" : "SwiftTarget",
      "name" : "ProcessedUtility",
      "path" : "Sources/ProcessedUtility",
      "product_memberships" : [
        "ProcessedUtility"
      ],
      "sources" : [
        "Loadable+loadedBinding.swift"
      ],
      "target_dependencies" : [
        "Processed"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ProcessedTests",
      "module_type" : "SwiftTarget",
      "name" : "ProcessedTests",
      "path" : "Tests/ProcessedTests",
      "sources" : [
        "Helpers/LoadableContainer.swift",
        "Helpers/ProcessContainer.swift",
        "LoadableInClassTests.swift",
        "LoadableTests.swift",
        "ProcessInClassTests.swift",
        "ProcessTests.swift"
      ],
      "target_dependencies" : [
        "Processed"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Processed",
      "module_type" : "SwiftTarget",
      "name" : "Processed",
      "path" : "Sources/Processed",
      "product_memberships" : [
        "Processed",
        "ProcessedUtility"
      ],
      "sources" : [
        "Errors.swift",
        "Loadable/Loadable.swift",
        "Loadable/LoadableState.swift",
        "Loadable/LoadableSupport.swift",
        "Process/Process.swift",
        "Process/ProcessState.swift",
        "Process/ProcessSupport.swift",
        "Process/SingleProcess.swift",
        "TaskIdentifier/TaskIdentifier.swift",
        "TaskStore/TaskStore.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/13] Compiling Processed ProcessSupport.swift
/Users/admin/builder/spi-builder-workspace/Sources/Processed/Process/ProcessSupport.swift:507:23: warning: passing closure as a 'sending' parameter risks causing data races between main actor-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
505 |     do {
506 |       try await withThrowingTaskGroup(of: Void.self) { group in
507 |         group.addTask {
    |                       `- warning: passing closure as a 'sending' parameter risks causing data races between main actor-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
508 |           try await block()
509 |           self[keyPath: processState] = .finished(process)
    |           |             |                         `- note: closure captures non-Sendable 'process'
    |           |             `- note: closure captures non-Sendable 'processState'
    |           `- note: closure captures non-Sendable 'self'
510 |         }
511 |
[5/14] Compiling Processed ProcessState.swift
[6/14] Compiling Processed SingleProcess.swift
[7/14] Compiling Processed Process.swift
/Users/admin/builder/spi-builder-workspace/Sources/Processed/Process/Process.swift:544:25: warning: passing closure as a 'sending' parameter risks causing data races between main actor-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
542 |         try await withThrowingTaskGroup(of: Void.self) { group in
543 |
544 |           group.addTask {
    |                         `- warning: passing closure as a 'sending' parameter risks causing data races between main actor-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
545 |             try await block()
546 |             try Task.checkCancellation()
547 |             state = .finished(process)
    |             `- note: closure captures 'self' which is accessible to main actor-isolated code
548 |           }
549 |
[8/14] Compiling Processed TaskIdentifier.swift
[9/14] Emitting module Processed
[10/14] Compiling Processed LoadableState.swift
[11/14] Compiling Processed Loadable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Processed/Loadable/Loadable.swift:498:27: warning: passing closure as a 'sending' parameter risks causing data races between main actor-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
496 |         do {
497 |           try await withThrowingTaskGroup(of: Void.self) { group in
498 |             group.addTask {
    |                           `- warning: passing closure as a 'sending' parameter risks causing data races between main actor-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
499 |               try await block { yieldedState in
500 |                 state = yieldedState
    |                 `- note: closure captures 'self' which is accessible to main actor-isolated code
501 |               }
502 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Processed/Loadable/Loadable.swift:499:25: warning: sending value of non-Sendable type '(LoadableState<Value>) -> ()' risks causing data races; this is an error in the Swift 6 language mode
497 |           try await withThrowingTaskGroup(of: Void.self) { group in
498 |             group.addTask {
499 |               try await block { yieldedState in
    |                         |- warning: sending value of non-Sendable type '(LoadableState<Value>) -> ()' risks causing data races; this is an error in the Swift 6 language mode
    |                         `- note: sending task-isolated value of non-Sendable type '(LoadableState<Value>) -> ()' to main actor-isolated callee risks causing races in between task-isolated and main actor-isolated uses
500 |                 state = yieldedState
501 |               }
/Users/admin/builder/spi-builder-workspace/Sources/Processed/Loadable/Loadable.swift:562:25: warning: passing closure as a 'sending' parameter risks causing data races between main actor-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
560 |       do {
561 |         try await withThrowingTaskGroup(of: Void.self) { group in
562 |           group.addTask {
    |                         `- warning: passing closure as a 'sending' parameter risks causing data races between main actor-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
563 |             let result = try await block()
564 |             try Task.checkCancellation()
565 |             state = .loaded(result)
    |             `- note: closure captures 'self' which is accessible to main actor-isolated code
566 |           }
567 |
[12/14] Compiling Processed Errors.swift
[13/14] Compiling Processed LoadableSupport.swift
/Users/admin/builder/spi-builder-workspace/Sources/Processed/Loadable/LoadableSupport.swift:435:60: warning: non-sendable result type 'Value' cannot be sent from main actor-isolated context in call to parameter 'block'; this is an error in the Swift 6 language mode
424 |
425 |   @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
426 |   @MainActor private func runReturningTaskBody<Value>(
    |                                                `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
427 |     _ loadableState: ReferenceWritableKeyPath<Self, LoadableState<Value>>,
428 |     interrupts: [Duration],
    :
433 |       try await withThrowingTaskGroup(of: Void.self) { group in
434 |         group.addTask {
435 |           self[keyPath: loadableState] = try await .loaded(block())
    |                                                            `- warning: non-sendable result type 'Value' cannot be sent from main actor-isolated context in call to parameter 'block'; this is an error in the Swift 6 language mode
436 |         }
437 |
/Users/admin/builder/spi-builder-workspace/Sources/Processed/Loadable/LoadableSupport.swift:434:23: warning: passing closure as a 'sending' parameter risks causing data races between main actor-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
432 |     do {
433 |       try await withThrowingTaskGroup(of: Void.self) { group in
434 |         group.addTask {
    |                       `- warning: passing closure as a 'sending' parameter risks causing data races between main actor-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
435 |           self[keyPath: loadableState] = try await .loaded(block())
    |           |             `- note: closure captures non-Sendable 'loadableState'
    |           `- note: closure captures non-Sendable 'self'
436 |         }
437 |
/Users/admin/builder/spi-builder-workspace/Sources/Processed/Loadable/LoadableSupport.swift:496:23: warning: passing closure as a 'sending' parameter risks causing data races between main actor-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
494 |     do {
495 |       try await withThrowingTaskGroup(of: Void.self) { group in
496 |         group.addTask {
    |                       `- warning: passing closure as a 'sending' parameter risks causing data races between main actor-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
497 |           try await block { self[keyPath: loadableState] = $0 }
    |                             |             `- note: closure captures non-Sendable 'loadableState'
    |                             `- note: closure captures non-Sendable 'self'
498 |         }
499 |
/Users/admin/builder/spi-builder-workspace/Sources/Processed/Loadable/LoadableSupport.swift:497:21: warning: sending value of non-Sendable type '(LoadableState<Value>) -> ()' risks causing data races; this is an error in the Swift 6 language mode
495 |       try await withThrowingTaskGroup(of: Void.self) { group in
496 |         group.addTask {
497 |           try await block { self[keyPath: loadableState] = $0 }
    |                     |- warning: sending value of non-Sendable type '(LoadableState<Value>) -> ()' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: sending task-isolated value of non-Sendable type '(LoadableState<Value>) -> ()' to main actor-isolated callee risks causing races in between task-isolated and main actor-isolated uses
498 |         }
499 |
[14/14] Compiling Processed TaskStore.swift
[15/16] Emitting module ProcessedUtility
[16/16] Compiling ProcessedUtility Loadable+loadedBinding.swift
/Users/admin/builder/spi-builder-workspace/Sources/ProcessedUtility/Loadable+loadedBinding.swift:17:22: error: 'state' is inaccessible due to 'internal' protection level
15 |   /// of this binding's existence. Any other state will cause the `set` closure to be a no-op.
16 |   var loadedBinding: Binding<Value>? {
17 |     guard let data = state.data else { return nil }
   |                      `- error: 'state' is inaccessible due to 'internal' protection level
18 |     return Binding<Value> {
19 |       data
/Users/admin/builder/spi-builder-workspace/Sources/Processed/Loadable/Loadable.swift:118:26: note: 'state' declared here
116 |   /// through a set of easy to use methods.
117 |   @propertyWrapper public struct Binding {
118 |     @SwiftUI.Binding var state: LoadableState<Value>
    |                          `- note: 'state' declared here
119 |     @SwiftUI.Binding var task: Task<Void, Never>?
120 |
/Users/admin/builder/spi-builder-workspace/Sources/ProcessedUtility/Loadable+loadedBinding.swift:21:28: error: 'state' is inaccessible due to 'internal' protection level
19 |       data
20 |     } set: { newValue in
21 |       guard case .loaded = state else {
   |                            `- error: 'state' is inaccessible due to 'internal' protection level
22 |         return
23 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Processed/Loadable/Loadable.swift:118:26: note: 'state' declared here
116 |   /// through a set of easy to use methods.
117 |   @propertyWrapper public struct Binding {
118 |     @SwiftUI.Binding var state: LoadableState<Value>
    |                          `- note: 'state' declared here
119 |     @SwiftUI.Binding var task: Task<Void, Never>?
120 |
/Users/admin/builder/spi-builder-workspace/Sources/ProcessedUtility/Loadable+loadedBinding.swift:24:7: error: 'state' is inaccessible due to 'internal' protection level
22 |         return
23 |       }
24 |       state = .loaded(newValue)
   |       `- error: 'state' is inaccessible due to 'internal' protection level
25 |     }
26 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Processed/Loadable/Loadable.swift:118:26: note: 'state' declared here
116 |   /// through a set of easy to use methods.
117 |   @propertyWrapper public struct Binding {
118 |     @SwiftUI.Binding var state: LoadableState<Value>
    |                          `- note: 'state' declared here
119 |     @SwiftUI.Binding var task: Task<Void, Never>?
120 |
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/11] Compiling Processed TaskIdentifier.swift
[3/12] Compiling Processed ProcessSupport.swift
[4/12] Compiling Processed SingleProcess.swift
[5/12] Compiling Processed ProcessState.swift
[6/12] Compiling Processed Process.swift
[7/12] Compiling Processed LoadableState.swift
[8/12] Compiling Processed LoadableSupport.swift
[9/12] Compiling Processed Errors.swift
[10/12] Emitting module Processed
[11/12] Compiling Processed Loadable.swift
[12/12] Compiling Processed TaskStore.swift
[13/14] Emitting module ProcessedUtility
[14/14] Compiling ProcessedUtility Loadable+loadedBinding.swift
/Users/admin/builder/spi-builder-workspace/Sources/ProcessedUtility/Loadable+loadedBinding.swift:17:22: error: 'state' is inaccessible due to 'internal' protection level
15 |   /// of this binding's existence. Any other state will cause the `set` closure to be a no-op.
16 |   var loadedBinding: Binding<Value>? {
17 |     guard let data = state.data else { return nil }
   |                      `- error: 'state' is inaccessible due to 'internal' protection level
18 |     return Binding<Value> {
19 |       data
/Users/admin/builder/spi-builder-workspace/Sources/Processed/Loadable/Loadable.swift:118:26: note: 'state' declared here
116 |   /// through a set of easy to use methods.
117 |   @propertyWrapper public struct Binding {
118 |     @SwiftUI.Binding var state: LoadableState<Value>
    |                          `- note: 'state' declared here
119 |     @SwiftUI.Binding var task: Task<Void, Never>?
120 |
/Users/admin/builder/spi-builder-workspace/Sources/ProcessedUtility/Loadable+loadedBinding.swift:21:28: error: 'state' is inaccessible due to 'internal' protection level
19 |       data
20 |     } set: { newValue in
21 |       guard case .loaded = state else {
   |                            `- error: 'state' is inaccessible due to 'internal' protection level
22 |         return
23 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Processed/Loadable/Loadable.swift:118:26: note: 'state' declared here
116 |   /// through a set of easy to use methods.
117 |   @propertyWrapper public struct Binding {
118 |     @SwiftUI.Binding var state: LoadableState<Value>
    |                          `- note: 'state' declared here
119 |     @SwiftUI.Binding var task: Task<Void, Never>?
120 |
/Users/admin/builder/spi-builder-workspace/Sources/ProcessedUtility/Loadable+loadedBinding.swift:24:7: error: 'state' is inaccessible due to 'internal' protection level
22 |         return
23 |       }
24 |       state = .loaded(newValue)
   |       `- error: 'state' is inaccessible due to 'internal' protection level
25 |     }
26 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Processed/Loadable/Loadable.swift:118:26: note: 'state' declared here
116 |   /// through a set of easy to use methods.
117 |   @propertyWrapper public struct Binding {
118 |     @SwiftUI.Binding var state: LoadableState<Value>
    |                          `- note: 'state' declared here
119 |     @SwiftUI.Binding var task: Task<Void, Never>?
120 |
BUILD FAILURE 6.1 macosSpm