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 main (d1d2eb), with Swift 5.9 for macOS (SPM) on 4 Jul 2024 15:17:01 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.44.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: $workDir/.spi.yml
SUCCESS checkout https://github.com/SwiftedMind/Processed.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $workDir
https://github.com/SwiftedMind/Processed.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/10] Compiling Processed TaskIdentifier.swift
[2/10] Compiling Processed SingleProcess.swift
[3/11] Compiling Processed ProcessSupport.swift
[4/11] Compiling Processed ProcessState.swift
[5/11] Compiling Processed Process.swift
[6/11] Compiling Processed LoadableSupport.swift
[7/11] Compiling Processed LoadableState.swift
[8/11] Emitting module Processed
[9/11] Compiling Processed Errors.swift
[10/11] Compiling Processed Loadable.swift
[11/11] Compiling Processed TaskStore.swift
[12/13] Emitting module ProcessedUtility
[13/13] 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
    guard let data = state.data else { return nil }
                     ^
/Users/admin/builder/spi-builder-workspace/Sources/Processed/Loadable/Loadable.swift:118:26: note: 'state' declared here
    @SwiftUI.Binding var state: LoadableState<Value>
                         ^
/Users/admin/builder/spi-builder-workspace/Sources/ProcessedUtility/Loadable+loadedBinding.swift:21:28: error: 'state' is inaccessible due to 'internal' protection level
      guard case .loaded = state else {
                           ^
/Users/admin/builder/spi-builder-workspace/Sources/Processed/Loadable/Loadable.swift:118:26: note: 'state' declared here
    @SwiftUI.Binding var state: LoadableState<Value>
                         ^
/Users/admin/builder/spi-builder-workspace/Sources/ProcessedUtility/Loadable+loadedBinding.swift:24:7: error: 'state' is inaccessible due to 'internal' protection level
      state = .loaded(newValue)
      ^
/Users/admin/builder/spi-builder-workspace/Sources/Processed/Loadable/Loadable.swift:118:26: note: 'state' declared here
    @SwiftUI.Binding var state: LoadableState<Value>
                         ^
error: fatalError
BUILD FAILURE 5.9 macosSpm