Build Information
Failed to build swift-concurrency-limiter, reference main (230e5c
), with Swift 6.2 (beta) for Android on 23 Jun 2025 09:53:09 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 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: android
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-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-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 (0.39s)
[167/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections from cache (1.34s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (2.04s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-concurrency-extras
[1/861] Fetching swift-concurrency-extras
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.45s)
[1/5467] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.21s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.1 (1.94s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.2.0 (0.95s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.50s)
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/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
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
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-8C5A4AE7A8CE2BA.txt
[5/18] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[6/18] Compiling InternalCollectionsUtilities _SortedCollection.swift
[7/19] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[8/19] Compiling InternalCollectionsUtilities UInt+reversed.swift
[9/19] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[10/19] Compiling InternalCollectionsUtilities Descriptions.swift
[11/19] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[12/19] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[13/19] Compiling InternalCollectionsUtilities Debugging.swift
[14/19] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[15/19] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[16/19] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[17/19] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[18/19] Compiling InternalCollectionsUtilities Integer rank.swift
[19/19] Emitting module InternalCollectionsUtilities
[21/75] Compiling OrderedCollections OrderedDictionary+Codable.swift
[22/75] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[23/75] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[24/75] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[25/75] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[26/75] Compiling OrderedCollections OrderedDictionary+Elements.swift
[27/75] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[28/75] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[29/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[30/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[31/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[32/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[33/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[34/82] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[35/82] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[36/82] Compiling OrderedCollections OrderedSet+Initializers.swift
[37/82] Compiling OrderedCollections OrderedSet+Insertions.swift
[38/82] Compiling OrderedCollections OrderedSet+Invariants.swift
[39/82] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[40/82] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[41/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[42/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[43/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[44/82] Compiling OrderedCollections OrderedDictionary.swift
[45/82] Compiling OrderedCollections OrderedSet+Codable.swift
[46/82] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[47/82] Compiling OrderedCollections OrderedSet+Descriptions.swift
[48/82] Compiling OrderedCollections OrderedSet+Diffing.swift
[49/82] Compiling OrderedCollections OrderedSet+Equatable.swift
[50/82] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[51/82] Compiling OrderedCollections OrderedSet+Hashable.swift
[52/82] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[53/82] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[54/82] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[55/82] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[56/82] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[57/82] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[58/82] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[59/82] Compiling OrderedCollections OrderedDictionary+Values.swift
[60/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[61/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[62/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[63/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[64/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[65/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[66/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[67/82] Compiling OrderedCollections _HashTable+Bucket.swift
[68/82] Compiling OrderedCollections _HashTable+BucketIterator.swift
[69/82] Compiling OrderedCollections _HashTable+Constants.swift
[70/82] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[71/82] Compiling OrderedCollections _HashTable+Testing.swift
[72/82] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[73/82] Compiling OrderedCollections _HashTable.swift
[74/82] Compiling OrderedCollections _Hashtable+Header.swift
[75/82] Compiling OrderedCollections OrderedSet+Sendable.swift
[76/82] Compiling OrderedCollections OrderedSet+SubSequence.swift
[77/82] Compiling OrderedCollections OrderedSet+Testing.swift
[78/82] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[79/82] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[80/82] Compiling OrderedCollections OrderedSet.swift
[81/82] Compiling OrderedCollections _UnsafeBitset.swift
[82/82] Emitting module OrderedCollections
[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 android