Build Information
Failed to build SwiftRetrier, reference main (3740fa
), with Swift 6.0 for macOS (SPM) on 6 Feb 2025 17:48:29 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PittsCraft/SwiftRetrier.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/PittsCraft/SwiftRetrier
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 3740fa9 v2: Cooler ❄️ (#45)
Cloned https://github.com/PittsCraft/SwiftRetrier.git
Revision (git rev-parse @):
3740fa99dcb037f837ce243654eae22cf62f8d78
SUCCESS checkout https://github.com/PittsCraft/SwiftRetrier.git at main
========================================
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",
"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",
"dependencies": [
]
}
]
}
Fetching https://github.com/PittsCraft/SwiftRetrier.git
[1/1008] Fetching swiftretrier
Fetched https://github.com/PittsCraft/SwiftRetrier.git from cache (2.07s)
Creating working copy for https://github.com/PittsCraft/SwiftRetrier.git
Working copy of https://github.com/PittsCraft/SwiftRetrier.git resolved at main (3740fa9)
warning: '.resolve-product-dependencies': dependency 'swiftretrier' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/PittsCraft/SwiftRetrier.git
https://github.com/PittsCraft/SwiftRetrier.git
{
"dependencies" : [
],
"manifest_display_name" : "SwiftRetrier",
"name" : "SwiftRetrier",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "SwiftRetrier",
"targets" : [
"SwiftRetrier"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5.8"
],
"targets" : [
{
"c99name" : "SwiftRetrierTests",
"module_type" : "SwiftTarget",
"name" : "SwiftRetrierTests",
"path" : "Tests/SwiftRetrierTests",
"sources" : [
"JobRepeaterTest.swift",
"JobRetrierTest.swift",
"Util.swift"
],
"target_dependencies" : [
"SwiftRetrier"
],
"type" : "test"
},
{
"c99name" : "SwiftRetrier",
"module_type" : "SwiftTarget",
"name" : "SwiftRetrier",
"path" : "Sources/SwiftRetrier",
"product_memberships" : [
"SwiftRetrier"
],
"sources" : [
"Core/ConstantDelayPolicy/ConstantDelayConstants.swift",
"Core/ConstantDelayPolicy/ConstantDelayRetryPolicy.swift",
"Core/ExponentialBackoffPolicy/ExponentialBackoffConstants.swift",
"Core/ExponentialBackoffPolicy/ExponentialBackoffRetryPolicy.swift",
"Core/JobRepeater.swift",
"Core/JobRetrier.swift",
"Core/Model/AttemptFailure.swift",
"Core/Model/Job.swift",
"Core/Model/RetrierEvent.swift",
"Core/Model/RetryDecision.swift",
"Core/Model/RetryPolicy.swift",
"Core/Publishers/ConditionalTrialPublisher.swift",
"Core/Publishers/RepeatingTrialPublisher.swift",
"Core/Publishers/TrialPublisher.swift",
"DSL/BuilderEntryPoints.swift",
"DSL/GiveUpCriteria.swift",
"DSL/GiveUpCriteriaPolicyWrapper.swift",
"DSL/JobRepeater+DSL.swift",
"DSL/JobRetrier+DSL.swift",
"DSL/JobRetrierBuilder.swift",
"DSL/Repeater.swift",
"DSL/Retrier.swift",
"DSL/RetrierBuilder.swift",
"DSL/RetryPolicy+GiveUpOn.swift",
"Util/Publisher+CancellableFirst.swift",
"Util/Publisher+CombineWithCondition.swift",
"Util/Publisher+RetrierEvent.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.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 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'
[5/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'
[6/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'
[7/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'
[8/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'
[9/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'
[10/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'
[11/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'
[12/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'
[13/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'
[14/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'
[15/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'
[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 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'
[20/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'
[21/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'
[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 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'
[26/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'
[27/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'
[28/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'
[29/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'
[30/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'
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-5BDAB9E9C0126B9D.txt
[2/27] 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'
[3/27] 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'
[4/27] 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'
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/29] 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'
[6/29] 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'
[7/29] 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'
[8/29] 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'
[9/29] 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'
[10/29] 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'
[11/29] 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'
[12/29] 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'
[13/29] 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'
[14/29] 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'
[15/29] 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'
[16/29] 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'
[17/29] 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'
[18/29] 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'
[19/29] 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'
[20/29] 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'
[21/29] 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'
[22/29] 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'
[23/29] 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'
[24/29] 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'
[25/29] 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'
[26/29] 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'
[27/29] 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'
[28/29] 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'
[29/29] 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'
BUILD FAILURE 6.0 macosSpm