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

Failed to build FoundationPlus, reference 0.2.2 (012a2f), with Swift 6.2 (beta) for macOS (SPM) on 22 Jun 2025 22:11:47 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/Star-Lord-PHB/foundation-plus.git
Reference: 0.2.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Star-Lord-PHB/foundation-plus
 * tag               0.2.2      -> FETCH_HEAD
HEAD is now at 012a2f2 Merge branch 'main' of https://github.com/Star-Lord-PHB/FoundationPlus
Cloned https://github.com/Star-Lord-PHB/foundation-plus.git
Revision (git rev-parse @):
012a2f2b2b26414674194c8a6ceb1729876980f7
SUCCESS checkout https://github.com/Star-Lord-PHB/foundation-plus.git at 0.2.2
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Star-Lord-PHB/foundation-plus.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/9] Write sources
[6/9] Compiling CSystem shims.c
[7/9] Compiling GlibcInterop FSIOC.c
[8/9] Write swift-version-1EA4D86E10B52AF.txt
[10/47] Compiling SystemPackage FilePathComponentView.swift
[11/47] Compiling SystemPackage FilePathComponents.swift
[12/47] Compiling SystemPackage FilePathParsing.swift
[13/50] Emitting module SystemPackage
[14/50] Compiling SystemPackage Errno.swift
[15/50] Compiling SystemPackage ErrnoWindows.swift
[16/50] Compiling SystemPackage FileDescriptor.swift
[17/50] Compiling SystemPackage FilePathString.swift
[18/50] Compiling SystemPackage FilePathSyntax.swift
[19/50] Compiling SystemPackage FilePathTemp.swift
[20/50] Compiling SystemPackage FileHelpers.swift
[21/50] Compiling SystemPackage FileOperations.swift
[22/50] Compiling SystemPackage FilePath.swift
[23/50] Compiling SystemPackage FilePathTempPosix.swift
[24/50] Compiling SystemPackage FilePathTempWindows.swift
[25/50] Compiling SystemPackage FilePathWindows.swift
[26/50] Compiling SystemPackage FilePermissions.swift
[27/50] Compiling SystemPackage Backcompat.swift
[28/50] Compiling SystemPackage CInterop.swift
[29/50] Compiling SystemPackage RawBuffer.swift
[30/50] Compiling SystemPackage Syscalls.swift
[31/50] Compiling SystemPackage WindowsSyscallAdapters.swift
[32/50] Compiling SystemPackage Constants.swift
[33/50] Compiling SystemPackage Exports.swift
[34/50] Compiling SystemPackage Mocking.swift
[35/50] Compiling SystemPackage MachPort.swift
[36/50] Compiling SystemPackage PlatformString.swift
[37/50] Compiling SystemPackage SystemString.swift
[38/50] Compiling SystemPackage Util+StringArray.swift
[39/50] Compiling SystemPackage Util.swift
[40/50] Compiling SystemPackage UtilConsumers.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[41/50] Emitting module ConcurrencyPlus
/Users/admin/builder/spi-builder-workspace/Sources/ConcurrencyPlus/Task.swift:8:51: error: thrown type 'E' does not conform to the 'Error' protocol
  6 |
  7 |     private final class ClosureHolder<R, E> {
  8 |         @usableFromInline var closure: (() throws(E) -> R)?
    |                                                   `- error: thrown type 'E' does not conform to the 'Error' protocol
  9 |         init(closure: (() throws(E) -> R)?) {
 10 |             self.closure = closure
/Users/admin/builder/spi-builder-workspace/Sources/ConcurrencyPlus/Task.swift:9:34: error: thrown type 'E' does not conform to the 'Error' protocol
  7 |     private final class ClosureHolder<R, E> {
  8 |         @usableFromInline var closure: (() throws(E) -> R)?
  9 |         init(closure: (() throws(E) -> R)?) {
    |                                  `- error: thrown type 'E' does not conform to the 'Error' protocol
 10 |             self.closure = closure
 11 |         }
[42/50] Compiling ConcurrencyPlus TaskExecutor.swift
[43/50] Compiling ConcurrencyPlus Task.swift
/Users/admin/builder/spi-builder-workspace/Sources/ConcurrencyPlus/Task.swift:8:51: error: thrown type 'E' does not conform to the 'Error' protocol
  6 |
  7 |     private final class ClosureHolder<R, E> {
  8 |         @usableFromInline var closure: (() throws(E) -> R)?
    |                                                   `- error: thrown type 'E' does not conform to the 'Error' protocol
  9 |         init(closure: (() throws(E) -> R)?) {
 10 |             self.closure = closure
/Users/admin/builder/spi-builder-workspace/Sources/ConcurrencyPlus/Task.swift:9:34: error: thrown type 'E' does not conform to the 'Error' protocol
  7 |     private final class ClosureHolder<R, E> {
  8 |         @usableFromInline var closure: (() throws(E) -> R)?
  9 |         init(closure: (() throws(E) -> R)?) {
    |                                  `- error: thrown type 'E' does not conform to the 'Error' protocol
 10 |             self.closure = closure
 11 |         }
Fetching https://github.com/apple/swift-system.git
[1/4436] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.93s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (1.35s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
BUILD FAILURE 6.2 macosSpm