Build Information
Failed to build SwiftRetrier, reference 2.0.1 (0c5ee0), with Swift 6.3 for macOS (SPM) on 16 Apr 2026 07:09:22 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PittsCraft/SwiftRetrier.git
Reference: 2.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/PittsCraft/SwiftRetrier
* tag 2.0.1 -> FETCH_HEAD
HEAD is now at 0c5ee03 Overflow proof exponentiation (#47)
Cloned https://github.com/PittsCraft/SwiftRetrier.git
Revision (git rev-parse @):
0c5ee0300b45b3f0445868dadc65836df0d349f0
SUCCESS checkout https://github.com/PittsCraft/SwiftRetrier.git at 2.0.1
========================================
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",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swiftretrier",
"name": "SwiftRetrier",
"url": "https://github.com/PittsCraft/SwiftRetrier.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftRetrier",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/PittsCraft/SwiftRetrier.git
[1/1031] Fetching swiftretrier
Fetched https://github.com/PittsCraft/SwiftRetrier.git from cache (0.86s)
Creating working copy for https://github.com/PittsCraft/SwiftRetrier.git
Working copy of https://github.com/PittsCraft/SwiftRetrier.git resolved at 2.0.1 (0c5ee03)
warning: '.resolve-product-dependencies': dependency 'swiftretrier' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/PittsCraft/SwiftRetrier.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/28] Emitting module SwiftRetrier
<unknown>:0: error: invalid value '5.8' in '-swift-version 5.8'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[4/30] Compiling SwiftRetrier Publisher+CombineWithCondition.swift
<unknown>:0: error: invalid value '5.8' in '-swift-version 5.8'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[5/30] Compiling SwiftRetrier Publisher+RetrierEvent.swift
<unknown>:0: error: invalid value '5.8' in '-swift-version 5.8'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[6/30] Compiling SwiftRetrier Retrier.swift
<unknown>:0: error: invalid value '5.8' in '-swift-version 5.8'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[7/30] Compiling SwiftRetrier RetrierBuilder.swift
<unknown>:0: error: invalid value '5.8' in '-swift-version 5.8'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[8/30] Compiling SwiftRetrier RetryPolicy+GiveUpOn.swift
<unknown>:0: error: invalid value '5.8' in '-swift-version 5.8'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[9/30] Compiling SwiftRetrier Publisher+CancellableFirst.swift
<unknown>:0: error: invalid value '5.8' in '-swift-version 5.8'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[10/30] Compiling SwiftRetrier RepeatingTrialPublisher.swift
<unknown>:0: error: invalid value '5.8' in '-swift-version 5.8'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRetrier/Core/Publishers/RepeatingTrialPublisher.swift:146:62: warning: capture of non-Sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
144 | waitingTask = Task { @MainActor in
145 | do {
146 | try await Task.sleep(nanoseconds: UInt64(repeatDelay * 1_000_000_000))
| `- warning: capture of non-Sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
147 | } catch {
148 | // Task vas cancelled
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRetrier/Core/Publishers/TrialPublisher.swift:81:27: warning: capture of non-Sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
79 | if shouldContinue {
80 | task = Task {
81 | await nextTrialStep()
| `- warning: capture of non-Sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
82 | }
83 | }
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
[11/30] Compiling SwiftRetrier TrialPublisher.swift
<unknown>:0: error: invalid value '5.8' in '-swift-version 5.8'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRetrier/Core/Publishers/RepeatingTrialPublisher.swift:146:62: warning: capture of non-Sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
144 | waitingTask = Task { @MainActor in
145 | do {
146 | try await Task.sleep(nanoseconds: UInt64(repeatDelay * 1_000_000_000))
| `- warning: capture of non-Sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
147 | } catch {
148 | // Task vas cancelled
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRetrier/Core/Publishers/TrialPublisher.swift:81:27: warning: capture of non-Sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
79 | if shouldContinue {
80 | task = Task {
81 | await nextTrialStep()
| `- warning: capture of non-Sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
82 | }
83 | }
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
[12/30] Compiling SwiftRetrier BuilderEntryPoints.swift
<unknown>:0: error: invalid value '5.8' in '-swift-version 5.8'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRetrier/Core/Publishers/RepeatingTrialPublisher.swift:146:62: warning: capture of non-Sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
144 | waitingTask = Task { @MainActor in
145 | do {
146 | try await Task.sleep(nanoseconds: UInt64(repeatDelay * 1_000_000_000))
| `- warning: capture of non-Sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
147 | } catch {
148 | // Task vas cancelled
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRetrier/Core/Publishers/TrialPublisher.swift:81:27: warning: capture of non-Sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
79 | if shouldContinue {
80 | task = Task {
81 | await nextTrialStep()
| `- warning: capture of non-Sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode [#SendableMetatypes]
82 | }
83 | }
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
[13/30] Compiling SwiftRetrier GiveUpCriteria.swift
<unknown>:0: error: invalid value '5.8' in '-swift-version 5.8'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[14/30] Compiling SwiftRetrier GiveUpCriteriaPolicyWrapper.swift
<unknown>:0: error: invalid value '5.8' in '-swift-version 5.8'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[15/30] Compiling SwiftRetrier JobRepeater+DSL.swift
<unknown>:0: error: invalid value '5.8' in '-swift-version 5.8'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[16/30] Compiling SwiftRetrier ExponentialBackoffRetryPolicy.swift
<unknown>:0: error: invalid value '5.8' in '-swift-version 5.8'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[17/30] Compiling SwiftRetrier JobRepeater.swift
<unknown>:0: error: invalid value '5.8' in '-swift-version 5.8'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[18/30] Compiling SwiftRetrier JobRetrier.swift
<unknown>:0: error: invalid value '5.8' in '-swift-version 5.8'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[19/30] Compiling SwiftRetrier AttemptFailure.swift
<unknown>:0: error: invalid value '5.8' in '-swift-version 5.8'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[20/30] Compiling SwiftRetrier Job.swift
<unknown>:0: error: invalid value '5.8' in '-swift-version 5.8'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[21/30] Compiling SwiftRetrier RetrierEvent.swift
<unknown>:0: error: invalid value '5.8' in '-swift-version 5.8'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[22/30] Compiling SwiftRetrier ConstantDelayConstants.swift
<unknown>:0: error: invalid value '5.8' in '-swift-version 5.8'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[23/30] Compiling SwiftRetrier ConstantDelayRetryPolicy.swift
<unknown>:0: error: invalid value '5.8' in '-swift-version 5.8'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[24/30] Compiling SwiftRetrier ExponentialBackoffConstants.swift
<unknown>:0: error: invalid value '5.8' in '-swift-version 5.8'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[25/30] Compiling SwiftRetrier JobRetrier+DSL.swift
<unknown>:0: error: invalid value '5.8' in '-swift-version 5.8'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[26/30] Compiling SwiftRetrier JobRetrierBuilder.swift
<unknown>:0: error: invalid value '5.8' in '-swift-version 5.8'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[27/30] Compiling SwiftRetrier Repeater.swift
<unknown>:0: error: invalid value '5.8' in '-swift-version 5.8'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[28/30] Compiling SwiftRetrier RetryDecision.swift
<unknown>:0: error: invalid value '5.8' in '-swift-version 5.8'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[29/30] Compiling SwiftRetrier RetryPolicy.swift
<unknown>:0: error: invalid value '5.8' in '-swift-version 5.8'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[30/30] Compiling SwiftRetrier ConditionalTrialPublisher.swift
<unknown>:0: error: invalid value '5.8' in '-swift-version 5.8'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
BUILD FAILURE 6.3 macosSpm