Build Information
Failed to build swift-lichess, reference master (209789), with Swift 6.2 for Android on 14 Sep 2025 08:06:04 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/navanchauhan/swift-lichess.git
Reference: master
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/navanchauhan/swift-lichess
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 2097899 build: add SPI configuration for LichessClient
Cloned https://github.com/navanchauhan/swift-lichess.git
Revision (git rev-parse @):
2097899dae503df62eac54dbdc97421562b67e35
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/navanchauhan/swift-lichess.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/navanchauhan/swift-lichess.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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-openapi-generator
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-openapi-urlsession
Fetching https://github.com/apple/swift-openapi-runtime
[1/995] Fetching swift-openapi-urlsession
[996/3089] Fetching swift-openapi-urlsession, swift-docc-plugin
[1227/8806] Fetching swift-openapi-urlsession, swift-docc-plugin, swift-openapi-runtime
[6051/24898] Fetching swift-openapi-urlsession, swift-docc-plugin, swift-openapi-runtime, swift-openapi-generator
Fetched https://github.com/apple/swift-openapi-urlsession from cache (0.54s)
[22777/23903] Fetching swift-docc-plugin, swift-openapi-runtime, swift-openapi-generator
Fetched https://github.com/apple/swift-docc-plugin from cache (0.55s)
[21327/21809] Fetching swift-openapi-runtime, swift-openapi-generator
Fetched https://github.com/apple/swift-openapi-runtime from cache (0.88s)
Fetched https://github.com/apple/swift-openapi-generator from cache (0.89s)
Computing version for https://github.com/apple/swift-openapi-urlsession
Computed https://github.com/apple/swift-openapi-urlsession at 1.1.0 (3.82s)
Fetching https://github.com/apple/swift-http-types
Fetching https://github.com/apple/swift-collections
[1/923] Fetching swift-http-types
[924/18383] Fetching swift-http-types, swift-collections
Fetched https://github.com/apple/swift-http-types from cache (1.30s)
Fetched https://github.com/apple/swift-collections from cache (1.33s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.8.2 (1.89s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (0.49s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3510] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.39s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.00s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.4.0 (0.46s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.2.1 (0.78s)
Computing version for https://github.com/apple/swift-openapi-generator
Computed https://github.com/apple/swift-openapi-generator at 1.10.2 (0.63s)
Fetching https://github.com/apple/swift-algorithms
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/mattpolzin/OpenAPIKit
[1/16026] Fetching swift-argument-parser
[322/22012] Fetching swift-argument-parser, swift-algorithms
[6677/33164] Fetching swift-argument-parser, swift-algorithms, yams
[27813/139534] Fetching swift-argument-parser, swift-algorithms, yams, openapikit
Fetched https://github.com/apple/swift-algorithms from cache (1.85s)
[66535/133548] Fetching swift-argument-parser, yams, openapikit
Fetched https://github.com/apple/swift-argument-parser from cache (1.87s)
[51573/117522] Fetching yams, openapikit
Fetched https://github.com/jpsim/Yams from cache (7.01s)
Fetched https://github.com/mattpolzin/OpenAPIKit from cache (7.10s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (7.72s)
Fetching https://github.com/apple/swift-numerics.git
[1/6348] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.78s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.0 (1.18s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (0.47s)
Computing version for https://github.com/mattpolzin/OpenAPIKit
Computed https://github.com/mattpolzin/OpenAPIKit at 3.7.1 (0.52s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.1.0 (0.43s)
Creating working copy for https://github.com/apple/swift-openapi-urlsession
Working copy of https://github.com/apple/swift-openapi-urlsession resolved at 1.1.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.1
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.0
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/mattpolzin/OpenAPIKit
Working copy of https://github.com/mattpolzin/OpenAPIKit resolved at 3.7.1
Creating working copy for https://github.com/apple/swift-openapi-generator
Working copy of https://github.com/apple/swift-openapi-generator resolved at 1.10.2
Creating working copy for https://github.com/apple/swift-openapi-runtime
Working copy of https://github.com/apple/swift-openapi-runtime resolved at 1.8.2
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 6.1.0
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.1
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/LichessClient/openapi.json
/host/spi-builder-workspace/Sources/LichessClient/openapi-generator-config.yaml
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin OpenAPIGeneratorCommand
[4/4] Compiling plugin OpenAPIGenerator
[5/5] Compiling plugin GenerateManual
[6/6] Compiling plugin GenerateDoccReference
Building for debugging...
[6/123] Write sources
[38/123] Write swift-version-8C5A4AE7A8CE2BA.txt
[40/145] Emitting module InternalCollectionsUtilities
[41/146] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[42/146] Compiling InternalCollectionsUtilities Debugging.swift
[43/146] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[44/146] Compiling InternalCollectionsUtilities Descriptions.swift
[45/146] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[46/146] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[47/146] Compiling InternalCollectionsUtilities _SortedCollection.swift
[48/146] Compiling HTTPTypes HTTPFieldName.swift
[49/147] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[50/147] Compiling InternalCollectionsUtilities UInt+reversed.swift
[51/147] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[52/147] Compiling InternalCollectionsUtilities Integer rank.swift
[53/147] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[54/147] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[55/147] Compiling HTTPTypes ISOLatin1String.swift
[56/147] Compiling HTTPTypes HTTPField.swift
[57/147] Compiling HTTPTypes HTTPParsedFields.swift
[58/147] Compiling HTTPTypes HTTPRequest.swift
[59/147] Compiling HTTPTypes HTTPResponse.swift
[60/147] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[61/148] Wrapping AST for InternalCollectionsUtilities for debugging
[63/163] Compiling HTTPTypes NIOLock.swift
[64/163] Compiling DequeModule _DequeBuffer.swift
[65/163] Compiling DequeModule _DequeBufferHeader.swift
[66/165] Compiling DequeModule Deque+Equatable.swift
[67/165] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[68/165] Compiling DequeModule Deque+CustomReflectable.swift
[69/165] Compiling DequeModule Deque+Descriptions.swift
[70/165] Compiling DequeModule Deque+Extras.swift
[71/165] Compiling DequeModule Deque+Hashable.swift
[72/165] Compiling DequeModule _DequeSlot.swift
[73/165] Compiling DequeModule _UnsafeWrappedBuffer.swift
[74/165] Compiling DequeModule Deque+Testing.swift
[75/165] Compiling DequeModule Deque._Storage.swift
[76/165] Compiling DequeModule Deque._UnsafeHandle.swift
[77/165] Compiling DequeModule Deque.swift
[78/165] Compiling DequeModule Deque+Codable.swift
[79/165] Compiling DequeModule Deque+Collection.swift
[80/165] Emitting module DequeModule
[81/166] Wrapping AST for DequeModule for debugging
[83/166] Emitting module HTTPTypes
[84/166] Compiling HTTPTypes HTTPFields.swift
[85/167] Wrapping AST for HTTPTypes for debugging
[87/228] Emitting module OpenAPIRuntime
[88/236] Compiling OpenAPIRuntime CurrencyTypes.swift
[89/236] Compiling OpenAPIRuntime ErrorHandlingMiddleware.swift
[90/236] Compiling OpenAPIRuntime HTTPBody.swift
[91/236] Compiling OpenAPIRuntime ServerTransport.swift
[92/236] Compiling OpenAPIRuntime UniversalClient.swift
[93/236] Compiling OpenAPIRuntime UniversalServer.swift
[94/236] Compiling OpenAPIRuntime MultipartBoundaryGenerator.swift
[95/236] Compiling OpenAPIRuntime MultipartBytesToFramesSequence.swift
[96/236] Compiling OpenAPIRuntime FoundationExtensions.swift
[97/236] Compiling OpenAPIRuntime ParameterStyles.swift
[98/236] Compiling OpenAPIRuntime ServerVariable.swift
[99/236] Compiling OpenAPIRuntime URLExtensions.swift
[100/236] Compiling OpenAPIRuntime Deprecated.swift
[101/236] Compiling OpenAPIRuntime ClientError.swift
[102/236] Compiling OpenAPIRuntime CodingErrors.swift
[103/236] Compiling OpenAPIRuntime RuntimeError.swift
[104/236] Compiling OpenAPIRuntime ServerError.swift
[105/236] Compiling OpenAPIRuntime URICodeCodingKey.swift
[106/236] Compiling OpenAPIRuntime URICoderConfiguration.swift
[107/236] Compiling OpenAPIRuntime URIEncodedNode.swift
[108/236] Compiling OpenAPIRuntime URIParsedTypes.swift
[109/236] Compiling OpenAPIRuntime URIDecoder.swift
[110/236] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Keyed.swift
[111/236] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Single.swift
[112/236] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Unkeyed.swift
[113/236] Compiling OpenAPIRuntime JSONLinesDecoding.swift
[114/236] Compiling OpenAPIRuntime JSONLinesEncoding.swift
[115/236] Compiling OpenAPIRuntime JSONSequenceDecoding.swift
[116/236] Compiling OpenAPIRuntime JSONSequenceEncoding.swift
[117/236] Compiling OpenAPIRuntime ServerSentEvents.swift
[118/236] Compiling OpenAPIRuntime ServerSentEventsDecoding.swift
[119/236] Compiling OpenAPIRuntime ServerSentEventsEncoding.swift
[120/236] Compiling OpenAPIRuntime AsyncSequenceCommon.swift
[121/236] Compiling OpenAPIRuntime ClientTransport.swift
[122/236] Compiling OpenAPIRuntime MultipartFramesToBytesSequence.swift
[123/236] Compiling OpenAPIRuntime MultipartFramesToRawPartsSequence.swift
[124/236] Compiling OpenAPIRuntime MultipartInternalTypes.swift
[125/236] Compiling OpenAPIRuntime MultipartPublicTypes.swift
[126/236] Compiling OpenAPIRuntime MultipartPublicTypesExtensions.swift
[127/236] Compiling OpenAPIRuntime MultipartRawPartsToFramesSequence.swift
[128/236] Compiling OpenAPIRuntime MultipartValidation.swift
[129/236] Compiling OpenAPIRuntime OpenAPIMIMEType+Multipart.swift
[130/236] Compiling OpenAPIRuntime Acceptable.swift
[131/236] Compiling OpenAPIRuntime Base64EncodedData.swift
[132/236] Compiling OpenAPIRuntime ByteUtilities.swift
[133/236] Compiling OpenAPIRuntime ContentDisposition.swift
[134/236] Compiling OpenAPIRuntime CopyOnWriteBox.swift
[135/236] Compiling OpenAPIRuntime OpenAPIMIMEType.swift
[136/236] Compiling OpenAPIRuntime OpenAPIValue.swift
[137/236] Compiling OpenAPIRuntime PrettyStringConvertible.swift
[138/236] Compiling OpenAPIRuntime UndocumentedPayload.swift
[139/236] Compiling OpenAPIRuntime WarningSuppressingAnnotations.swift
[140/236] Compiling OpenAPIRuntime CodableExtensions.swift
[141/236] Compiling OpenAPIRuntime Configuration.swift
[142/236] Compiling OpenAPIRuntime Converter+Client.swift
[143/236] Compiling OpenAPIRuntime Converter+Common.swift
[144/236] Compiling OpenAPIRuntime Converter+Server.swift
[145/236] Compiling OpenAPIRuntime Converter.swift
[146/236] Compiling OpenAPIRuntime CurrencyExtensions.swift
[147/236] Compiling OpenAPIRuntime ErrorExtensions.swift
[148/236] Compiling OpenAPIRuntime URIValueFromNodeDecoder.swift
[149/236] Compiling OpenAPIRuntime URIEncoder.swift
[150/236] Compiling OpenAPIRuntime URIValueToNodeEncoder+Keyed.swift
[151/236] Compiling OpenAPIRuntime URIValueToNodeEncoder+Single.swift
[152/236] Compiling OpenAPIRuntime URIValueToNodeEncoder+Unkeyed.swift
[153/236] Compiling OpenAPIRuntime URIValueToNodeEncoder.swift
[154/236] Compiling OpenAPIRuntime URIParser.swift
[155/236] Compiling OpenAPIRuntime URISerializer.swift
[156/237] Wrapping AST for OpenAPIRuntime for debugging
[158/244] Compiling OpenAPIURLSession BidirectionalStreamingURLSessionDelegate.swift
[159/244] Compiling OpenAPIURLSession URLSession+Extensions.swift
[160/244] Compiling OpenAPIURLSession HTTPBodyOutputStreamBridge.swift
[161/244] Compiling OpenAPIURLSession URLSessionTransport.swift
/host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/BufferedStream/Lock.swift:42:27: error: cannot find type 'pthread_mutex_t' in scope
40 | #else
41 | @usableFromInline
42 | typealias LockPrimitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
43 | #endif
44 |
[162/244] Compiling OpenAPIURLSession BufferedStream.swift
[163/244] Compiling OpenAPIURLSession Lock.swift
/host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/BufferedStream/Lock.swift:42:27: error: cannot find type 'pthread_mutex_t' in scope
40 | #else
41 | @usableFromInline
42 | typealias LockPrimitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
43 | #endif
44 |
/host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/BufferedStream/Lock.swift:56:16: error: cannot find 'pthread_mutexattr_t' in scope
54 | InitializeSRWLock(mutex)
55 | #else
56 | var attr = pthread_mutexattr_t()
| `- error: cannot find 'pthread_mutexattr_t' in scope
57 | pthread_mutexattr_init(&attr)
58 |
/host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/BufferedStream/Lock.swift:57:5: error: cannot find 'pthread_mutexattr_init' in scope
55 | #else
56 | var attr = pthread_mutexattr_t()
57 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
58 |
59 | let err = pthread_mutex_init(mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/BufferedStream/Lock.swift:59:15: error: cannot find 'pthread_mutex_init' in scope
57 | pthread_mutexattr_init(&attr)
58 |
59 | let err = pthread_mutex_init(mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
60 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
61 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/BufferedStream/Lock.swift:71:15: error: cannot find 'pthread_mutex_destroy' in scope
69 | // SRWLOCK does not need to be freed
70 | #else
71 | let err = pthread_mutex_destroy(mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
72 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
73 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/BufferedStream/Lock.swift:83:15: error: cannot find 'pthread_mutex_lock' in scope
81 | AcquireSRWLockExclusive(mutex)
82 | #else
83 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
84 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
85 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/BufferedStream/Lock.swift:95:15: error: cannot find 'pthread_mutex_unlock' in scope
93 | ReleaseSRWLockExclusive(mutex)
94 | #else
95 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
96 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
97 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/BufferedStream/Lock.swift:134:23: error: type of expression is ambiguous without a type annotation
132 | @inlinable
133 | static func create(value: Value) -> Self {
134 | let buffer = Self.create(minimumCapacity: 1) { _ in
| `- error: type of expression is ambiguous without a type annotation
135 | return value
136 | }
/host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/BufferedStream/Lock.swift:149:10: error: type of expression is ambiguous without a type annotation
147 | @inlinable
148 | func lock() {
149 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
150 | LockOperations.lock(lockPtr)
151 | }
/host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/BufferedStream/Lock.swift:156:10: error: type of expression is ambiguous without a type annotation
154 | @inlinable
155 | func unlock() {
156 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
157 | LockOperations.unlock(lockPtr)
158 | }
/host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/BufferedStream/Lock.swift:163:10: error: type of expression is ambiguous without a type annotation
161 | @usableFromInline
162 | deinit {
163 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
164 | LockOperations.destroy(lockPtr)
165 | }
/host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/BufferedStream/Lock.swift:172:14: error: type of expression is ambiguous without a type annotation
170 | _ body: (UnsafeMutablePointer<LockPrimitive>) throws -> T
171 | ) rethrows -> T {
172 | try self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
173 | return try body(lockPtr)
174 | }
/host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/BufferedStream/Lock.swift:179:14: error: type of expression is ambiguous without a type annotation
177 | @inlinable
178 | func withLockedValue<T>(_ mutate: (inout Value) throws -> T) rethrows -> T {
179 | try self.withUnsafeMutablePointers { valuePtr, lockPtr in
| `- error: type of expression is ambiguous without a type annotation
180 | LockOperations.lock(lockPtr)
181 | defer { LockOperations.unlock(lockPtr) }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[164/244] Emitting module OpenAPIURLSession
/host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/BufferedStream/Lock.swift:42:27: error: cannot find type 'pthread_mutex_t' in scope
40 | #else
41 | @usableFromInline
42 | typealias LockPrimitive = pthread_mutex_t
| `- error: cannot find type 'pthread_mutex_t' in scope
43 | #endif
44 |
/host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/BufferedStream/Lock.swift:56:16: error: cannot find 'pthread_mutexattr_t' in scope
54 | InitializeSRWLock(mutex)
55 | #else
56 | var attr = pthread_mutexattr_t()
| `- error: cannot find 'pthread_mutexattr_t' in scope
57 | pthread_mutexattr_init(&attr)
58 |
/host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/BufferedStream/Lock.swift:57:5: error: cannot find 'pthread_mutexattr_init' in scope
55 | #else
56 | var attr = pthread_mutexattr_t()
57 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
58 |
59 | let err = pthread_mutex_init(mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/BufferedStream/Lock.swift:59:15: error: cannot find 'pthread_mutex_init' in scope
57 | pthread_mutexattr_init(&attr)
58 |
59 | let err = pthread_mutex_init(mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
60 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
61 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/BufferedStream/Lock.swift:71:15: error: cannot find 'pthread_mutex_destroy' in scope
69 | // SRWLOCK does not need to be freed
70 | #else
71 | let err = pthread_mutex_destroy(mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
72 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
73 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/BufferedStream/Lock.swift:83:15: error: cannot find 'pthread_mutex_lock' in scope
81 | AcquireSRWLockExclusive(mutex)
82 | #else
83 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
84 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
85 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/BufferedStream/Lock.swift:95:15: error: cannot find 'pthread_mutex_unlock' in scope
93 | ReleaseSRWLockExclusive(mutex)
94 | #else
95 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
96 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
97 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/BufferedStream/Lock.swift:134:23: error: type of expression is ambiguous without a type annotation
132 | @inlinable
133 | static func create(value: Value) -> Self {
134 | let buffer = Self.create(minimumCapacity: 1) { _ in
| `- error: type of expression is ambiguous without a type annotation
135 | return value
136 | }
/host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/BufferedStream/Lock.swift:149:10: error: type of expression is ambiguous without a type annotation
147 | @inlinable
148 | func lock() {
149 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
150 | LockOperations.lock(lockPtr)
151 | }
/host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/BufferedStream/Lock.swift:156:10: error: type of expression is ambiguous without a type annotation
154 | @inlinable
155 | func unlock() {
156 | self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
157 | LockOperations.unlock(lockPtr)
158 | }
/host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/BufferedStream/Lock.swift:172:14: error: type of expression is ambiguous without a type annotation
170 | _ body: (UnsafeMutablePointer<LockPrimitive>) throws -> T
171 | ) rethrows -> T {
172 | try self.withUnsafeMutablePointerToElements { lockPtr in
| `- error: type of expression is ambiguous without a type annotation
173 | return try body(lockPtr)
174 | }
/host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/BufferedStream/Lock.swift:179:14: error: type of expression is ambiguous without a type annotation
177 | @inlinable
178 | func withLockedValue<T>(_ mutate: (inout Value) throws -> T) rethrows -> T {
179 | try self.withUnsafeMutablePointers { valuePtr, lockPtr in
| `- error: type of expression is ambiguous without a type annotation
180 | LockOperations.lock(lockPtr)
181 | defer { LockOperations.unlock(lockPtr) }
BUILD FAILURE 6.2 android