Build Information
Failed to build swift-service-lifecycle, reference main (0af403), with Swift 6.3 for Android on 15 Apr 2026 10:51:26 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/juri/swift-service-lifecycle.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/juri/swift-service-lifecycle
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 0af4033 Make logging optional and update docs (#189)
Cloned https://github.com/juri/swift-service-lifecycle.git
Revision (git rev-parse @):
0af4033d874b94acf11d2e0f119484a24352cf37
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/juri/swift-service-lifecycle.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/juri/swift-service-lifecycle.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6235] Fetching swift-async-algorithms
[126/12804] Fetching swift-async-algorithms, swift-log
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.61s)
Fetched https://github.com/apple/swift-log.git from cache (0.61s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (1.76s)
Fetching https://github.com/apple/swift-collections.git
[1/23537] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.32s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (2.01s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.41s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.3
Building for debugging...
[0/11] Write sources
[10/11] Write swift-version--4F562202D5529B1.txt
[12/38] Emitting module InternalCollectionsUtilities
[13/40] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[14/40] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[15/40] Compiling InternalCollectionsUtilities _SortedCollection.swift
[16/40] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[17/40] Compiling InternalCollectionsUtilities Integer rank.swift
[18/40] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[19/40] Compiling InternalCollectionsUtilities UInt+reversed.swift
[20/40] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[21/40] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[22/40] Compiling InternalCollectionsUtilities String+Padding.swift
[23/40] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[24/40] Compiling InternalCollectionsUtilities Debugging.swift
[25/40] Compiling InternalCollectionsUtilities Descriptions.swift
[26/40] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[27/40] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[28/40] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[29/40] Compiling InternalCollectionsUtilities Span+Extras.swift
[30/40] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[31/40] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[32/41] Compiling ConcurrencyHelpers Lock.swift
/host/spi-builder-workspace/Sources/ConcurrencyHelpers/Lock.swift:45:27: error: cannot find type 'pthread_mutex_t' in scope
43 | #else
44 | @usableFromInline
45 | typealias LockPrimitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
46 | #endif
47 |
/host/spi-builder-workspace/Sources/ConcurrencyHelpers/Lock.swift:59:20: error: cannot find 'pthread_mutexattr_t' in scope
57 | InitializeSRWLock(mutex)
58 | #else
59 | var attr = pthread_mutexattr_t()
| `- error: cannot find 'pthread_mutexattr_t' in scope
60 | pthread_mutexattr_init(&attr)
61 |
/host/spi-builder-workspace/Sources/ConcurrencyHelpers/Lock.swift:60:9: error: cannot find 'pthread_mutexattr_init' in scope
58 | #else
59 | var attr = pthread_mutexattr_t()
60 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
61 |
62 | let err = pthread_mutex_init(mutex, &attr)
/host/spi-builder-workspace/Sources/ConcurrencyHelpers/Lock.swift:62:19: error: cannot find 'pthread_mutex_init' in scope
60 | pthread_mutexattr_init(&attr)
61 |
62 | let err = pthread_mutex_init(mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
63 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
64 | #endif
/host/spi-builder-workspace/Sources/ConcurrencyHelpers/Lock.swift:74:19: error: cannot find 'pthread_mutex_destroy' in scope
72 | // SRWLOCK does not need to be free'd
73 | #else
74 | let err = pthread_mutex_destroy(mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
75 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
76 | #endif
/host/spi-builder-workspace/Sources/ConcurrencyHelpers/Lock.swift:86:19: error: cannot find 'pthread_mutex_lock' in scope
84 | AcquireSRWLockExclusive(mutex)
85 | #else
86 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
87 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
88 | #endif
/host/spi-builder-workspace/Sources/ConcurrencyHelpers/Lock.swift:98:19: error: cannot find 'pthread_mutex_unlock' in scope
96 | ReleaseSRWLockExclusive(mutex)
97 | #else
98 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
99 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
100 | #endif
/host/spi-builder-workspace/Sources/ConcurrencyHelpers/Lock.swift:136:27: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
134 | @inlinable
135 | static func create(value: Value) -> Self {
136 | let buffer = Self.create(minimumCapacity: 1) { _ in
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
137 | return value
138 | }
/host/spi-builder-workspace/Sources/ConcurrencyHelpers/Lock.swift:151:14: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
149 | @inlinable
150 | func lock() {
151 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
152 | LockOperations.lock(lockPtr)
153 | }
/host/spi-builder-workspace/Sources/ConcurrencyHelpers/Lock.swift:158:14: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
156 | @inlinable
157 | func unlock() {
158 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
159 | LockOperations.unlock(lockPtr)
160 | }
/host/spi-builder-workspace/Sources/ConcurrencyHelpers/Lock.swift:165:14: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
163 | @inlinable
164 | deinit {
165 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
166 | LockOperations.destroy(lockPtr)
167 | }
/host/spi-builder-workspace/Sources/ConcurrencyHelpers/Lock.swift:172:18: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
170 | @inlinable
171 | func withLockPrimitive<T>(_ body: (UnsafeMutablePointer<LockPrimitive>) throws -> T) rethrows -> T {
172 | try self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
173 | return try body(lockPtr)
174 | }
/host/spi-builder-workspace/Sources/ConcurrencyHelpers/Lock.swift:179:18: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
177 | @inlinable
178 | func withLockedValue<T>(_ mutate: (inout Value) throws -> T) rethrows -> T {
179 | try self.withUnsafeMutablePointers { valuePtr, lockPtr in
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
180 | LockOperations.lock(lockPtr)
181 | defer { LockOperations.unlock(lockPtr) }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/41] Emitting module ConcurrencyHelpers
/host/spi-builder-workspace/Sources/ConcurrencyHelpers/Lock.swift:45:27: error: cannot find type 'pthread_mutex_t' in scope
43 | #else
44 | @usableFromInline
45 | typealias LockPrimitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
46 | #endif
47 |
/host/spi-builder-workspace/Sources/ConcurrencyHelpers/Lock.swift:59:20: error: cannot find 'pthread_mutexattr_t' in scope
57 | InitializeSRWLock(mutex)
58 | #else
59 | var attr = pthread_mutexattr_t()
| `- error: cannot find 'pthread_mutexattr_t' in scope
60 | pthread_mutexattr_init(&attr)
61 |
/host/spi-builder-workspace/Sources/ConcurrencyHelpers/Lock.swift:60:9: error: cannot find 'pthread_mutexattr_init' in scope
58 | #else
59 | var attr = pthread_mutexattr_t()
60 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
61 |
62 | let err = pthread_mutex_init(mutex, &attr)
/host/spi-builder-workspace/Sources/ConcurrencyHelpers/Lock.swift:62:19: error: cannot find 'pthread_mutex_init' in scope
60 | pthread_mutexattr_init(&attr)
61 |
62 | let err = pthread_mutex_init(mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
63 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
64 | #endif
/host/spi-builder-workspace/Sources/ConcurrencyHelpers/Lock.swift:74:19: error: cannot find 'pthread_mutex_destroy' in scope
72 | // SRWLOCK does not need to be free'd
73 | #else
74 | let err = pthread_mutex_destroy(mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
75 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
76 | #endif
/host/spi-builder-workspace/Sources/ConcurrencyHelpers/Lock.swift:86:19: error: cannot find 'pthread_mutex_lock' in scope
84 | AcquireSRWLockExclusive(mutex)
85 | #else
86 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
87 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
88 | #endif
/host/spi-builder-workspace/Sources/ConcurrencyHelpers/Lock.swift:98:19: error: cannot find 'pthread_mutex_unlock' in scope
96 | ReleaseSRWLockExclusive(mutex)
97 | #else
98 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
99 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
100 | #endif
/host/spi-builder-workspace/Sources/ConcurrencyHelpers/Lock.swift:136:27: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
134 | @inlinable
135 | static func create(value: Value) -> Self {
136 | let buffer = Self.create(minimumCapacity: 1) { _ in
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
137 | return value
138 | }
/host/spi-builder-workspace/Sources/ConcurrencyHelpers/Lock.swift:151:14: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
149 | @inlinable
150 | func lock() {
151 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
152 | LockOperations.lock(lockPtr)
153 | }
/host/spi-builder-workspace/Sources/ConcurrencyHelpers/Lock.swift:158:14: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
156 | @inlinable
157 | func unlock() {
158 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
159 | LockOperations.unlock(lockPtr)
160 | }
/host/spi-builder-workspace/Sources/ConcurrencyHelpers/Lock.swift:165:14: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
163 | @inlinable
164 | deinit {
165 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
166 | LockOperations.destroy(lockPtr)
167 | }
/host/spi-builder-workspace/Sources/ConcurrencyHelpers/Lock.swift:172:18: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
170 | @inlinable
171 | func withLockPrimitive<T>(_ body: (UnsafeMutablePointer<LockPrimitive>) throws -> T) rethrows -> T {
172 | try self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
173 | return try body(lockPtr)
174 | }
/host/spi-builder-workspace/Sources/ConcurrencyHelpers/Lock.swift:179:18: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
177 | @inlinable
178 | func withLockedValue<T>(_ mutate: (inout Value) throws -> T) rethrows -> T {
179 | try self.withUnsafeMutablePointers { valuePtr, lockPtr in
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
180 | LockOperations.lock(lockPtr)
181 | defer { LockOperations.unlock(lockPtr) }
[34/41] Compiling ConcurrencyHelpers LockedValueBox.swift
/host/spi-builder-workspace/Sources/ConcurrencyHelpers/Lock.swift:45:27: error: cannot find type 'pthread_mutex_t' in scope
43 | #else
44 | @usableFromInline
45 | typealias LockPrimitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
46 | #endif
47 |
BUILD FAILURE 6.3 android