Build Information
Failed to build FoundationPlus, reference main (302d78
), with Swift 6.2 (beta) for macOS (SPM) on 22 Jun 2025 22:11:38 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Star-Lord-PHB/foundation-plus
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 302d78d Create LICENSE
Cloned https://github.com/Star-Lord-PHB/foundation-plus.git
Revision (git rev-parse @):
302d78da9ee044ea622ecfd4ee24384210f056e7
SUCCESS checkout https://github.com/Star-Lord-PHB/foundation-plus.git at main
========================================
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 GlibcInterop FSIOC.c
[6/9] Compiling CSystem shims.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/47] Compiling SystemPackage FileHelpers.swift
[14/47] Compiling SystemPackage FileOperations.swift
[15/47] Compiling SystemPackage FilePath.swift
[16/50] Compiling SystemPackage Errno.swift
[17/50] Compiling SystemPackage ErrnoWindows.swift
[18/50] Compiling SystemPackage FileDescriptor.swift
[19/50] Emitting module SystemPackage
[20/50] Compiling SystemPackage RawBuffer.swift
[21/50] Compiling SystemPackage Syscalls.swift
[22/50] Compiling SystemPackage WindowsSyscallAdapters.swift
[23/50] Compiling SystemPackage FilePathTempPosix.swift
[24/50] Compiling SystemPackage FilePathTempWindows.swift
[25/50] Compiling SystemPackage FilePathWindows.swift
[26/50] Compiling SystemPackage FilePathString.swift
[27/50] Compiling SystemPackage FilePathSyntax.swift
[28/50] Compiling SystemPackage FilePathTemp.swift
[29/50] Compiling SystemPackage FilePermissions.swift
[30/50] Compiling SystemPackage Backcompat.swift
[31/50] Compiling SystemPackage CInterop.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 | }
[44/50] Compiling DatePlus Date+QuickAccessor.swift
[45/50] Compiling DatePlus Date+Comparison.swift
[46/50] Compiling DatePlus Calendar+MeasurableComponent.swift
[47/50] Compiling DatePlus Date+Arithmetic.swift
[48/50] Emitting module DatePlus
[49/50] Compiling DatePlus Date+Parsing.swift
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.38s)
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