Build Information
Failed to build swift-prometheus, reference main (ba9257
), with Swift 6.2 (beta) for Android on 23 Jun 2025 09:56:03 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/swift-server/swift-prometheus.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/swift-server/swift-prometheus
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ba92571 Correct license headers (#122)
Cloned https://github.com/swift-server/swift-prometheus.git
Revision (git rev-parse @):
ba92571855c573b7df647205b75296e6b43c3983
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swift-server/swift-prometheus.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/swift-server/swift-prometheus.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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-atomics.git
Fetching https://github.com/apple/swift-metrics.git
[1/2206] Fetching swift-metrics
[1038/4003] Fetching swift-metrics, swift-atomics
Fetched https://github.com/apple/swift-metrics.git from cache (0.54s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.86s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.69s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.89s)
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Building for debugging...
[0/5] Write sources
[3/5] Compiling _AtomicsShims.c
[4/5] Write swift-version-8C5A4AE7A8CE2BA.txt
[6/26] Compiling Atomics UnsafeAtomic.swift
[7/26] Compiling Atomics UnsafeAtomicLazyReference.swift
[8/28] Compiling Atomics AtomicStorage.swift
[9/28] Compiling Atomics AtomicValue.swift
[10/28] Compiling Atomics AtomicInteger.swift
[11/28] Compiling Atomics AtomicOptionalWrappable.swift
[12/28] Compiling Atomics AtomicReference.swift
[13/28] Emitting module Atomics
[14/28] Compiling Atomics ManagedAtomic.swift
[15/28] Compiling Atomics ManagedAtomicLazyReference.swift
[16/28] Compiling Atomics AtomicMemoryOrderings.swift
[17/28] Compiling Atomics DoubleWord.swift
[18/28] Compiling Atomics OptionalRawRepresentable.swift
[19/28] Compiling Atomics RawRepresentable.swift
[20/28] Compiling Atomics AtomicBool.swift
[21/28] Compiling Atomics IntegerConformances.swift
[22/28] Compiling Atomics PointerConformances.swift
[23/28] Compiling Atomics Primitives.native.swift
[24/28] Compiling Atomics IntegerOperations.swift
[25/28] Compiling Atomics Unmanaged extensions.swift
[27/29] Compiling CoreMetrics Metrics.swift
[28/29] Emitting module CoreMetrics
[29/29] Compiling CoreMetrics Locks.swift
[31/38] Compiling Prometheus PrometheusMetricsFactory.swift
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:38:8: error: The concurrency NIOLock module was unable to identify your C library.
36 | import Musl
37 | #else
38 | #error("The concurrency NIOLock module was unable to identify your C library.")
| `- error: The concurrency NIOLock module was unable to identify your C library.
39 | #endif
40 |
[32/38] Compiling Prometheus Gauge.swift
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:38:8: error: The concurrency NIOLock module was unable to identify your C library.
36 | import Musl
37 | #else
38 | #error("The concurrency NIOLock module was unable to identify your C library.")
| `- error: The concurrency NIOLock module was unable to identify your C library.
39 | #endif
40 |
[33/38] Compiling Prometheus Counter.swift
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:38:8: error: The concurrency NIOLock module was unable to identify your C library.
36 | import Musl
37 | #else
38 | #error("The concurrency NIOLock module was unable to identify your C library.")
| `- error: The concurrency NIOLock module was unable to identify your C library.
39 | #endif
40 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[34/38] Emitting module Prometheus
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:38:8: error: The concurrency NIOLock module was unable to identify your C library.
36 | import Musl
37 | #else
38 | #error("The concurrency NIOLock module was unable to identify your C library.")
| `- error: The concurrency NIOLock module was unable to identify your C library.
39 | #endif
40 |
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:46:27: error: cannot find type 'pthread_mutex_t' in scope
44 | #else
45 | @usableFromInline
46 | typealias LockPrimitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
47 | #endif
48 |
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:192:35: warning: redundant conformance of 'LockStorage<Value>' to protocol 'Sendable'
135 | // See also: https://github.com/apple/swift/pull/40000
136 | @usableFromInline
137 | final class LockStorage<Value>: ManagedBuffer<Value, LockPrimitive> {
| `- note: 'LockStorage<Value>' inherits conformance to protocol 'Sendable' from superclass here
138 |
139 | @inlinable
:
190 | }
191 |
192 | extension LockStorage: @unchecked Sendable {}
| `- warning: redundant conformance of 'LockStorage<Value>' to protocol 'Sendable'
193 |
194 | /// A threading lock based on `libpthread` instead of `libdispatch`.
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:204:18: warning: stored property '_storage' of 'Sendable'-conforming struct 'NIOLock' has non-sendable type 'LockStorage<Void>'; this is an error in the Swift 6 language mode
135 | // See also: https://github.com/apple/swift/pull/40000
136 | @usableFromInline
137 | final class LockStorage<Value>: ManagedBuffer<Value, LockPrimitive> {
| `- note: generic class 'LockStorage' does not conform to the 'Sendable' protocol
138 |
139 | @inlinable
:
202 | struct NIOLock {
203 | @usableFromInline
204 | internal let _storage: LockStorage<Void>
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'NIOLock' has non-sendable type 'LockStorage<Void>'; this is an error in the Swift 6 language mode
205 |
206 | /// Create a new lock.
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:60:20: error: cannot find 'pthread_mutexattr_t' in scope
58 | InitializeSRWLock(mutex)
59 | #else
60 | var attr = pthread_mutexattr_t()
| `- error: cannot find 'pthread_mutexattr_t' in scope
61 | pthread_mutexattr_init(&attr)
62 | debugOnly {
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:61:9: error: cannot find 'pthread_mutexattr_init' in scope
59 | #else
60 | var attr = pthread_mutexattr_t()
61 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
62 | debugOnly {
63 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:63:13: error: cannot find 'pthread_mutexattr_settype' in scope
61 | pthread_mutexattr_init(&attr)
62 | debugOnly {
63 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'pthread_mutexattr_settype' in scope
64 | }
65 |
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:63:52: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
61 | pthread_mutexattr_init(&attr)
62 | debugOnly {
63 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
64 | }
65 |
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:63:47: error: cannot infer contextual base in reference to member 'init'
61 | pthread_mutexattr_init(&attr)
62 | debugOnly {
63 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot infer contextual base in reference to member 'init'
64 | }
65 |
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:66:19: error: cannot find 'pthread_mutex_init' in scope
64 | }
65 |
66 | let err = pthread_mutex_init(mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
67 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
68 | #endif
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:78:19: error: cannot find 'pthread_mutex_destroy' in scope
76 | // SRWLOCK does not need to be free'd
77 | #else
78 | let err = pthread_mutex_destroy(mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
79 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
80 | #endif
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:90:19: error: cannot find 'pthread_mutex_lock' in scope
88 | AcquireSRWLockExclusive(mutex)
89 | #else
90 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
91 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
92 | #endif
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:102:19: error: cannot find 'pthread_mutex_unlock' in scope
100 | ReleaseSRWLockExclusive(mutex)
101 | #else
102 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
103 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
104 | #endif
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:141:27: error: type of expression is ambiguous without a type annotation
139 | @inlinable
140 | static func create(value: Value) -> Self {
141 | let buffer = Self.create(minimumCapacity: 1) { _ in
| `- error: type of expression is ambiguous without a type annotation
142 | return value
143 | }
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:156:14: error: type of expression is ambiguous without a type annotation
154 | @inlinable
155 | func lock() {
156 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
157 | LockOperations.lock(lockPtr)
158 | }
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:163:14: error: type of expression is ambiguous without a type annotation
161 | @inlinable
162 | func unlock() {
163 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
164 | LockOperations.unlock(lockPtr)
165 | }
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:170:14: error: type of expression is ambiguous without a type annotation
168 | @inlinable
169 | deinit {
170 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
171 | LockOperations.destroy(lockPtr)
172 | }
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:177:18: error: type of expression is ambiguous without a type annotation
175 | @inlinable
176 | func withLockPrimitive<T>(_ body: (UnsafeMutablePointer<LockPrimitive>) throws -> T) rethrows -> T {
177 | try self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
178 | return try body(lockPtr)
179 | }
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:184:18: error: type of expression is ambiguous without a type annotation
182 | @inlinable
183 | func withLockedValue<T>(_ mutate: (inout Value) throws -> T) rethrows -> T {
184 | try self.withUnsafeMutablePointers { valuePtr, lockPtr in
| `- error: type of expression is ambiguous without a type annotation
185 | LockOperations.lock(lockPtr)
186 | defer { LockOperations.unlock(lockPtr) }
/host/spi-builder-workspace/Sources/Prometheus/NIOLockedValueBox.swift:41:18: warning: stored property '_storage' of 'Sendable'-conforming generic struct 'NIOLockedValueBox' has non-sendable type 'LockStorage<Value>'; this is an error in the Swift 6 language mode
39 |
40 | @usableFromInline
41 | internal let _storage: LockStorage<Value>
| `- warning: stored property '_storage' of 'Sendable'-conforming generic struct 'NIOLockedValueBox' has non-sendable type 'LockStorage<Value>'; this is an error in the Swift 6 language mode
42 |
43 | /// Initialize the `Value`.
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:137:13: note: generic class 'LockStorage' does not conform to the 'Sendable' protocol
135 | // See also: https://github.com/apple/swift/pull/40000
136 | @usableFromInline
137 | final class LockStorage<Value>: ManagedBuffer<Value, LockPrimitive> {
| `- note: generic class 'LockStorage' does not conform to the 'Sendable' protocol
138 |
139 | @inlinable
[35/38] Compiling Prometheus NIOLockedValueBox.swift
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:38:8: error: The concurrency NIOLock module was unable to identify your C library.
36 | import Musl
37 | #else
38 | #error("The concurrency NIOLock module was unable to identify your C library.")
| `- error: The concurrency NIOLock module was unable to identify your C library.
39 | #endif
40 |
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:46:27: error: cannot find type 'pthread_mutex_t' in scope
44 | #else
45 | @usableFromInline
46 | typealias LockPrimitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
47 | #endif
48 |
/host/spi-builder-workspace/Sources/Prometheus/NIOLockedValueBox.swift:41:18: warning: stored property '_storage' of 'Sendable'-conforming generic struct 'NIOLockedValueBox' has non-sendable type 'LockStorage<Value>'; this is an error in the Swift 6 language mode
39 |
40 | @usableFromInline
41 | internal let _storage: LockStorage<Value>
| `- warning: stored property '_storage' of 'Sendable'-conforming generic struct 'NIOLockedValueBox' has non-sendable type 'LockStorage<Value>'; this is an error in the Swift 6 language mode
42 |
43 | /// Initialize the `Value`.
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:137:13: note: generic class 'LockStorage' does not conform to the 'Sendable' protocol
135 | // See also: https://github.com/apple/swift/pull/40000
136 | @usableFromInline
137 | final class LockStorage<Value>: ManagedBuffer<Value, LockPrimitive> {
| `- note: generic class 'LockStorage' does not conform to the 'Sendable' protocol
138 |
139 | @inlinable
[36/38] Compiling Prometheus Histogram.swift
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:38:8: error: The concurrency NIOLock module was unable to identify your C library.
36 | import Musl
37 | #else
38 | #error("The concurrency NIOLock module was unable to identify your C library.")
| `- error: The concurrency NIOLock module was unable to identify your C library.
39 | #endif
40 |
[37/38] Compiling Prometheus PrometheusCollectorRegistry.swift
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:38:8: error: The concurrency NIOLock module was unable to identify your C library.
36 | import Musl
37 | #else
38 | #error("The concurrency NIOLock module was unable to identify your C library.")
| `- error: The concurrency NIOLock module was unable to identify your C library.
39 | #endif
40 |
[38/38] Compiling Prometheus NIOLock.swift
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:38:8: error: The concurrency NIOLock module was unable to identify your C library.
36 | import Musl
37 | #else
38 | #error("The concurrency NIOLock module was unable to identify your C library.")
| `- error: The concurrency NIOLock module was unable to identify your C library.
39 | #endif
40 |
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:46:27: error: cannot find type 'pthread_mutex_t' in scope
44 | #else
45 | @usableFromInline
46 | typealias LockPrimitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
47 | #endif
48 |
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:192:35: warning: redundant conformance of 'LockStorage<Value>' to protocol 'Sendable'
135 | // See also: https://github.com/apple/swift/pull/40000
136 | @usableFromInline
137 | final class LockStorage<Value>: ManagedBuffer<Value, LockPrimitive> {
| `- note: 'LockStorage<Value>' inherits conformance to protocol 'Sendable' from superclass here
138 |
139 | @inlinable
:
190 | }
191 |
192 | extension LockStorage: @unchecked Sendable {}
| `- warning: redundant conformance of 'LockStorage<Value>' to protocol 'Sendable'
193 |
194 | /// A threading lock based on `libpthread` instead of `libdispatch`.
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:204:18: warning: stored property '_storage' of 'Sendable'-conforming struct 'NIOLock' has non-sendable type 'LockStorage<Void>'; this is an error in the Swift 6 language mode
135 | // See also: https://github.com/apple/swift/pull/40000
136 | @usableFromInline
137 | final class LockStorage<Value>: ManagedBuffer<Value, LockPrimitive> {
| `- note: generic class 'LockStorage' does not conform to the 'Sendable' protocol
138 |
139 | @inlinable
:
202 | struct NIOLock {
203 | @usableFromInline
204 | internal let _storage: LockStorage<Void>
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'NIOLock' has non-sendable type 'LockStorage<Void>'; this is an error in the Swift 6 language mode
205 |
206 | /// Create a new lock.
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:60:20: error: cannot find 'pthread_mutexattr_t' in scope
58 | InitializeSRWLock(mutex)
59 | #else
60 | var attr = pthread_mutexattr_t()
| `- error: cannot find 'pthread_mutexattr_t' in scope
61 | pthread_mutexattr_init(&attr)
62 | debugOnly {
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:61:9: error: cannot find 'pthread_mutexattr_init' in scope
59 | #else
60 | var attr = pthread_mutexattr_t()
61 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
62 | debugOnly {
63 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:63:13: error: cannot find 'pthread_mutexattr_settype' in scope
61 | pthread_mutexattr_init(&attr)
62 | debugOnly {
63 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'pthread_mutexattr_settype' in scope
64 | }
65 |
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:63:52: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
61 | pthread_mutexattr_init(&attr)
62 | debugOnly {
63 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
64 | }
65 |
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:63:47: error: cannot infer contextual base in reference to member 'init'
61 | pthread_mutexattr_init(&attr)
62 | debugOnly {
63 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot infer contextual base in reference to member 'init'
64 | }
65 |
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:66:19: error: cannot find 'pthread_mutex_init' in scope
64 | }
65 |
66 | let err = pthread_mutex_init(mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
67 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
68 | #endif
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:78:19: error: cannot find 'pthread_mutex_destroy' in scope
76 | // SRWLOCK does not need to be free'd
77 | #else
78 | let err = pthread_mutex_destroy(mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
79 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
80 | #endif
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:90:19: error: cannot find 'pthread_mutex_lock' in scope
88 | AcquireSRWLockExclusive(mutex)
89 | #else
90 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
91 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
92 | #endif
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:102:19: error: cannot find 'pthread_mutex_unlock' in scope
100 | ReleaseSRWLockExclusive(mutex)
101 | #else
102 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
103 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
104 | #endif
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:141:27: error: type of expression is ambiguous without a type annotation
139 | @inlinable
140 | static func create(value: Value) -> Self {
141 | let buffer = Self.create(minimumCapacity: 1) { _ in
| `- error: type of expression is ambiguous without a type annotation
142 | return value
143 | }
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:156:14: error: type of expression is ambiguous without a type annotation
154 | @inlinable
155 | func lock() {
156 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
157 | LockOperations.lock(lockPtr)
158 | }
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:163:14: error: type of expression is ambiguous without a type annotation
161 | @inlinable
162 | func unlock() {
163 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
164 | LockOperations.unlock(lockPtr)
165 | }
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:170:14: error: type of expression is ambiguous without a type annotation
168 | @inlinable
169 | deinit {
170 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
171 | LockOperations.destroy(lockPtr)
172 | }
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:177:18: error: type of expression is ambiguous without a type annotation
175 | @inlinable
176 | func withLockPrimitive<T>(_ body: (UnsafeMutablePointer<LockPrimitive>) throws -> T) rethrows -> T {
177 | try self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
178 | return try body(lockPtr)
179 | }
/host/spi-builder-workspace/Sources/Prometheus/NIOLock.swift:184:18: error: type of expression is ambiguous without a type annotation
182 | @inlinable
183 | func withLockedValue<T>(_ mutate: (inout Value) throws -> T) rethrows -> T {
184 | try self.withUnsafeMutablePointers { valuePtr, lockPtr in
| `- error: type of expression is ambiguous without a type annotation
185 | LockOperations.lock(lockPtr)
186 | defer { LockOperations.unlock(lockPtr) }
BUILD FAILURE 6.2 android