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 swift-concurrency-limiter, reference main (230e5c), with Swift 6.2 (beta) for Linux on 23 Jun 2025 09:52:57 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ph1ps/swift-concurrency-limiter.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/ph1ps/swift-concurrency-limiter
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 230e5cc Create README.md
Cloned https://github.com/ph1ps/swift-concurrency-limiter.git
Revision (git rev-parse @):
230e5ccd1b719bf5d253c556534f9efe26b2ba7f
SUCCESS checkout https://github.com/ph1ps/swift-concurrency-limiter.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ph1ps/swift-concurrency-limiter.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/pointfreeco/swift-clocks
[1/1292] Fetching swift-clocks
[1293/17932] Fetching swift-clocks, swift-collections
Fetched https://github.com/pointfreeco/swift-clocks from cache (1.14s)
Fetched https://github.com/apple/swift-collections from cache (1.17s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (2.40s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-concurrency-extras
[1/861] Fetching swift-concurrency-extras
[862/6328] Fetching swift-concurrency-extras, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (1.14s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.16s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.1 (1.59s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.2.0 (0.85s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.61s)
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.0.6
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.2.0
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.3.1
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/18] Emitting module InternalCollectionsUtilities
[6/18] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[7/18] Compiling InternalCollectionsUtilities UInt+reversed.swift
[8/18] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[9/18] Compiling InternalCollectionsUtilities _SortedCollection.swift
[10/18] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[11/18] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[12/18] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[13/18] Compiling InternalCollectionsUtilities Integer rank.swift
[14/19] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[15/19] Compiling InternalCollectionsUtilities Debugging.swift
[16/19] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[17/19] Compiling InternalCollectionsUtilities Descriptions.swift
[18/19] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[19/19] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[21/75] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[22/75] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[23/75] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[24/75] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[25/75] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[26/75] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[27/75] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[28/75] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[29/75] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[30/75] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[31/75] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[32/75] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[33/75] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[34/75] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[35/82] Compiling OrderedCollections OrderedDictionary+Codable.swift
[36/82] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[37/82] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[38/82] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[39/82] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[40/82] Compiling OrderedCollections OrderedDictionary+Elements.swift
[41/82] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[42/82] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[43/82] Compiling OrderedCollections OrderedSet+Initializers.swift
[44/82] Compiling OrderedCollections OrderedSet+Insertions.swift
[45/82] Compiling OrderedCollections OrderedSet+Invariants.swift
[46/82] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[47/82] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[48/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[49/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[50/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[51/82] Compiling OrderedCollections _HashTable+Bucket.swift
[52/82] Compiling OrderedCollections _HashTable+BucketIterator.swift
[53/82] Compiling OrderedCollections _HashTable+Constants.swift
[54/82] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[55/82] Compiling OrderedCollections _HashTable+Testing.swift
[56/82] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[57/82] Compiling OrderedCollections _HashTable.swift
[58/82] Compiling OrderedCollections _Hashtable+Header.swift
[59/82] Compiling OrderedCollections OrderedDictionary.swift
[60/82] Compiling OrderedCollections OrderedSet+Codable.swift
[61/82] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[62/82] Compiling OrderedCollections OrderedSet+Descriptions.swift
[63/82] Compiling OrderedCollections OrderedSet+Diffing.swift
[64/82] Compiling OrderedCollections OrderedSet+Equatable.swift
[65/82] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[66/82] Compiling OrderedCollections OrderedSet+Hashable.swift
[67/82] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[68/82] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[69/82] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[70/82] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[71/82] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[72/82] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[73/82] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[74/82] Compiling OrderedCollections OrderedDictionary+Values.swift
[75/82] Emitting module OrderedCollections
[76/82] Compiling OrderedCollections OrderedSet+Sendable.swift
[77/82] Compiling OrderedCollections OrderedSet+SubSequence.swift
[78/82] Compiling OrderedCollections OrderedSet+Testing.swift
[79/82] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[80/82] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[81/82] Compiling OrderedCollections OrderedSet.swift
[82/82] Compiling OrderedCollections _UnsafeBitset.swift
[84/85] Emitting module Limiter
[85/85] Compiling Limiter Limiter.swift
/host/spi-builder-workspace/Sources/Limiter/Limiter.swift:189:31: error: contextual closure type '@Sendable (TaskPriority, TaskPriority) -> Void' expects 2 arguments, but 1 was used in closure body
187 |         }
188 |       }, isolation: isolation)
189 |     }, onPriorityEscalated: { priority in
    |                               `- error: contextual closure type '@Sendable (TaskPriority, TaskPriority) -> Void' expects 2 arguments, but 1 was used in closure body
190 |       let action = state.withLock { state in
191 |         state.escalate(id: id)
/host/spi-builder-workspace/Sources/Limiter/Limiter.swift:171:65: error: extra argument 'to' in call
169 |           case .escalate(let tasks):
170 |             for task in tasks {
171 |               UnsafeCurrentTask.escalatePriority(task, to: Task.currentPriority)
    |                                                                 `- error: extra argument 'to' in call
172 |             }
173 |           case .none:
/host/spi-builder-workspace/Sources/Limiter/Limiter.swift:197:56: error: extra argument 'to' in call
195 |       case .escalate(let tasks):
196 |         for task in tasks {
197 |           UnsafeCurrentTask.escalatePriority(task, to: priority)
    |                                                        `- error: extra argument 'to' in call
198 |         }
199 |       case .none:
BUILD FAILURE 6.2 linux