The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Processed, reference main (d1d2eb), with Swift 6.2 for macOS (SPM) on 21 Jun 2025 07:49:01 UTC.

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/SwiftedMind/Processed.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwiftedMind/Processed
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d1d2ebf Update README.md
Cloned https://github.com/SwiftedMind/Processed.git
Revision (git rev-parse @):
d1d2ebf18e7ac3d5667cac808b992dad111674a2
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/SwiftedMind/Processed.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/SwiftedMind/Processed.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
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/13] Compiling Processed TaskIdentifier.swift
[5/13] Compiling Processed SingleProcess.swift
[6/13] Compiling Processed ProcessState.swift
[7/14] Compiling Processed ProcessSupport.swift
/Users/admin/builder/spi-builder-workspace/Sources/Processed/Process/ProcessSupport.swift:341:13: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
339 |     TaskStore.shared.tasks[identifier] = Task(priority: priority) {
340 |       defer { TaskStore.shared.tasks[identifier] = nil }
341 |       await runTaskBody(
    |             `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
342 |         processState,
343 |         process: process,
/Users/admin/builder/spi-builder-workspace/Sources/Processed/Process/ProcessSupport.swift:341:13: warning: capture of non-sendable type 'ProcessKind.Type' in an isolated closure; this is an error in the Swift 6 language mode
339 |     TaskStore.shared.tasks[identifier] = Task(priority: priority) {
340 |       defer { TaskStore.shared.tasks[identifier] = nil }
341 |       await runTaskBody(
    |             `- warning: capture of non-sendable type 'ProcessKind.Type' in an isolated closure; this is an error in the Swift 6 language mode
342 |         processState,
343 |         process: process,
/Users/admin/builder/spi-builder-workspace/Sources/Processed/Process/ProcessSupport.swift:329:45: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
327 |   }
328 |
329 |   @MainActor @discardableResult public func run<ProcessKind: Equatable>(
    |                                             `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
330 |     _ processState: ReferenceWritableKeyPath<Self, ProcessState<ProcessKind>>,
331 |     as process: ProcessKind,
/Users/admin/builder/spi-builder-workspace/Sources/Processed/Process/ProcessSupport.swift:330:7: warning: capture of non-sendable type 'ProcessKind.Type' in an isolated closure; this is an error in the Swift 6 language mode
328 |
329 |   @MainActor @discardableResult public func run<ProcessKind: Equatable>(
330 |     _ processState: ReferenceWritableKeyPath<Self, ProcessState<ProcessKind>>,
    |       `- warning: capture of non-sendable type 'ProcessKind.Type' in an isolated closure; this is an error in the Swift 6 language mode
331 |     as process: ProcessKind,
332 |     silently runSilently: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/Processed/Process/ProcessSupport.swift:367:13: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
365 |     TaskStore.shared.tasks[identifier] = Task(priority: priority) {
366 |       defer { TaskStore.shared.tasks[identifier] = nil }
367 |       await runTaskBody(
    |             `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
368 |         processState,
369 |         process: process,
/Users/admin/builder/spi-builder-workspace/Sources/Processed/Process/ProcessSupport.swift:367:13: warning: capture of non-sendable type 'ProcessKind.Type' in an isolated closure; this is an error in the Swift 6 language mode
365 |     TaskStore.shared.tasks[identifier] = Task(priority: priority) {
366 |       defer { TaskStore.shared.tasks[identifier] = nil }
367 |       await runTaskBody(
    |             `- warning: capture of non-sendable type 'ProcessKind.Type' in an isolated closure; this is an error in the Swift 6 language mode
368 |         processState,
369 |         process: process,
/Users/admin/builder/spi-builder-workspace/Sources/Processed/Process/ProcessSupport.swift:353:45: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
351 |
352 |   @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
353 |   @MainActor @discardableResult public func run<ProcessKind: Equatable>(
    |                                             `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
354 |     _ processState: ReferenceWritableKeyPath<Self, ProcessState<ProcessKind>>,
355 |     as process: ProcessKind,
/Users/admin/builder/spi-builder-workspace/Sources/Processed/Process/ProcessSupport.swift:354:7: warning: capture of non-sendable type 'ProcessKind.Type' in an isolated closure; this is an error in the Swift 6 language mode
352 |   @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
353 |   @MainActor @discardableResult public func run<ProcessKind: Equatable>(
354 |     _ processState: ReferenceWritableKeyPath<Self, ProcessState<ProcessKind>>,
    |       `- warning: capture of non-sendable type 'ProcessKind.Type' in an isolated closure; this is an error in the Swift 6 language mode
355 |     as process: ProcessKind,
356 |     silently runSilently: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/Processed/Process/ProcessSupport.swift:509:15: warning: capture of non-sendable type 'ProcessKind.Type' in an isolated closure; this is an error in the Swift 6 language mode
507 |         group.addTask {
508 |           try await block()
509 |           self[keyPath: processState] = .finished(process)
    |               `- warning: capture of non-sendable type 'ProcessKind.Type' in an isolated closure; this is an error in the Swift 6 language mode
510 |         }
511 |
/Users/admin/builder/spi-builder-workspace/Sources/Processed/Process/ProcessSupport.swift:509:11: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
507 |         group.addTask {
508 |           try await block()
509 |           self[keyPath: processState] = .finished(process)
    |           `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
510 |         }
511 |
/Users/admin/builder/spi-builder-workspace/Sources/Processed/Process/ProcessSupport.swift:497:27: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
495 |
496 |   @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
497 |   @MainActor private func runTaskBody<ProcessKind: Equatable>(
    |                           `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
498 |     _ processState: ReferenceWritableKeyPath<Self, ProcessState<ProcessKind>>,
499 |     process: ProcessKind,
/Users/admin/builder/spi-builder-workspace/Sources/Processed/Process/ProcessSupport.swift:498:7: warning: capture of non-sendable type 'ProcessKind.Type' in an isolated closure; this is an error in the Swift 6 language mode
496 |   @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
497 |   @MainActor private func runTaskBody<ProcessKind: Equatable>(
498 |     _ processState: ReferenceWritableKeyPath<Self, ProcessState<ProcessKind>>,
    |       `- warning: capture of non-sendable type 'ProcessKind.Type' in an isolated closure; this is an error in the Swift 6 language mode
499 |     process: ProcessKind,
500 |     silently runSilently: Bool = false,
[8/14] Compiling Processed Process.swift
[9/14] Compiling Processed LoadableState.swift
[10/14] Compiling Processed LoadableSupport.swift
/Users/admin/builder/spi-builder-workspace/Sources/Processed/Loadable/LoadableSupport.swift:303:13: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
301 |     TaskStore.shared.tasks[identifier] = Task(priority: priority) {
302 |       defer { TaskStore.shared.tasks[identifier] = nil }
303 |       await runReturningTaskBody(loadableState, block: block)
    |             `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
304 |     }
305 |
/Users/admin/builder/spi-builder-workspace/Sources/Processed/Loadable/LoadableSupport.swift:292:45: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
290 |   }
291 |
292 |   @MainActor @discardableResult public func load<Value>(
    |                                             `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
293 |     _ loadableState: ReferenceWritableKeyPath<Self, LoadableState<Value>>,
294 |     silently runSilently: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/Processed/Loadable/LoadableSupport.swift:323:13: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
321 |     TaskStore.shared.tasks[identifier] = Task(priority: priority) {
322 |       defer { TaskStore.shared.tasks[identifier] = nil }
323 |       await runReturningTaskBody(loadableState, interrupts: interrupts, block: block, onInterrupt: onInterrupt)
    |             `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
324 |     }
325 |
/Users/admin/builder/spi-builder-workspace/Sources/Processed/Loadable/LoadableSupport.swift:310:45: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
308 |
309 |   @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
310 |   @MainActor @discardableResult public func load<Value>(
    |                                             `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
311 |     _ loadableState: ReferenceWritableKeyPath<Self, LoadableState<Value>>,
312 |     silently runSilently: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/Processed/Loadable/LoadableSupport.swift:361:13: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
359 |     TaskStore.shared.tasks[identifier] = Task(priority: priority) {
360 |       defer { TaskStore.shared.tasks[identifier] = nil }
361 |       await runYieldingTaskBody(loadableState, block: block)
    |             `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
362 |     }
363 |
/Users/admin/builder/spi-builder-workspace/Sources/Processed/Loadable/LoadableSupport.swift:350:45: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
348 |   }
349 |
350 |   @MainActor @discardableResult public func load<Value>(
    |                                             `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
351 |     _ loadableState: ReferenceWritableKeyPath<Self, LoadableState<Value>>,
352 |     silently runSilently: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/Processed/Loadable/LoadableSupport.swift:381:13: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
379 |     TaskStore.shared.tasks[identifier] = Task(priority: priority) {
380 |       defer { TaskStore.shared.tasks[identifier] = nil }
381 |       await runYieldingTaskBody(loadableState, interrupts: interrupts, block: block, onInterrupt: onInterrupt)
    |             `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
382 |     }
383 |
/Users/admin/builder/spi-builder-workspace/Sources/Processed/Loadable/LoadableSupport.swift:368:45: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
366 |
367 |   @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
368 |   @MainActor @discardableResult public func load<Value>(
    |                                             `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
369 |     _ loadableState: ReferenceWritableKeyPath<Self, LoadableState<Value>>,
370 |     silently runSilently: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/Processed/Loadable/LoadableSupport.swift:435:11: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
433 |       try await withThrowingTaskGroup(of: Void.self) { group in
434 |         group.addTask {
435 |           self[keyPath: loadableState] = try await .loaded(block())
    |           `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
436 |         }
437 |
/Users/admin/builder/spi-builder-workspace/Sources/Processed/Loadable/LoadableSupport.swift:426:27: warning: capture of non-sendable type 'Self.Type' in an isolated closure; 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>(
    |                           `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
427 |     _ loadableState: ReferenceWritableKeyPath<Self, LoadableState<Value>>,
428 |     interrupts: [Duration],
/Users/admin/builder/spi-builder-workspace/Sources/Processed/Loadable/LoadableSupport.swift:488:27: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
486 |
487 |   @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
488 |   @MainActor private func runYieldingTaskBody<Value>(
    |                           `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
489 |     _ loadableState: ReferenceWritableKeyPath<Self, LoadableState<Value>>,
490 |     interrupts: [Duration],
[11/14] Compiling Processed Errors.swift
[12/14] Emitting module Processed
[13/14] Compiling Processed Loadable.swift
[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 |
BUILD FAILURE 6.2 macosSpm