Build Information
Failed to build GitHubSwiftActions, reference main (80b708
), with Swift 6.2 (beta) for Android on 17 Jun 2025 16:24:23 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/Wei18/GitHubSwiftActions.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/Wei18/GitHubSwiftActions
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 80b708a Fix miseToml
Cloned https://github.com/Wei18/GitHubSwiftActions.git
Revision (git rev-parse @):
80b708ad4c943e610880b5118944f51b4e965d65
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Wei18/GitHubSwiftActions.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/Wei18/GitHubSwiftActions.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-argument-parser
Fetching https://github.com/apple/swift-openapi-runtime
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/Wei18/github-rest-api-swift-openapi
[1/5679] Fetching swift-openapi-runtime
[797/16538] Fetching swift-openapi-runtime, yams
[6875/31918] Fetching swift-openapi-runtime, yams, swift-argument-parser
[28010/490795] Fetching swift-openapi-runtime, yams, swift-argument-parser, github-rest-api-swift-openapi
Fetched https://github.com/apple/swift-openapi-runtime from cache (1.08s)
[29200/485116] Fetching yams, swift-argument-parser, github-rest-api-swift-openapi
Fetched https://github.com/apple/swift-argument-parser from cache (33.93s)
Fetched https://github.com/jpsim/Yams from cache (33.96s)
Fetched https://github.com/Wei18/github-rest-api-swift-openapi from cache (34.74s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.0.1 (40.19s)
Computing version for https://github.com/Wei18/github-rest-api-swift-openapi
Computed https://github.com/Wei18/github-rest-api-swift-openapi at 3.0.1 (6.97s)
Fetching https://github.com/apple/swift-openapi-urlsession
[1/961] Fetching swift-openapi-urlsession
Fetched https://github.com/apple/swift-openapi-urlsession from cache (0.37s)
Computing version for https://github.com/apple/swift-openapi-urlsession
Computed https://github.com/apple/swift-openapi-urlsession at 1.1.0 (1.13s)
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/apple/swift-http-types
[1/904] Fetching swift-http-types
[905/17510] Fetching swift-http-types, swift-collections
Fetched https://github.com/apple/swift-http-types from cache (1.55s)
Fetched https://github.com/apple/swift-collections from cache (1.70s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.8.2 (2.47s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.4.0 (0.54s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.2.0 (0.83s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (1.01s)
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/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 6.0.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
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/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/Wei18/github-rest-api-swift-openapi
Working copy of https://github.com/Wei18/github-rest-api-swift-openapi resolved at 3.0.1
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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/52] Write sources
[20/52] Compiling writer.c
[21/52] Write swift-version-8C5A4AE7A8CE2BA.txt
[22/52] Compiling reader.c
[23/70] Compiling parser.c
[24/79] Compiling api.c
[25/79] Compiling emitter.c
[26/79] Compiling scanner.c
[28/99] Emitting module Yams
[29/101] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[30/101] Compiling Yams Node.swift
[31/101] Compiling Yams Decoder.swift
[32/102] Compiling Yams Node.Scalar.swift
[33/102] Compiling Yams Node.Sequence.swift
[34/102] Compiling Yams Emitter.swift
[35/102] Compiling Yams Encoder.swift
[36/102] Compiling HTTPTypes ISOLatin1String.swift
[37/103] Compiling HTTPTypes HTTPResponse.swift
[38/103] Compiling Yams Constructor.swift
[39/103] Compiling Yams Mark.swift
[40/103] Compiling Yams AliasDereferencingStrategy.swift
[41/103] Compiling Yams Anchor.swift
[42/103] Emitting module InternalCollectionsUtilities
[43/103] Compiling Yams Node.Alias.swift
[44/103] Compiling Yams Node.Mapping.swift
[45/103] Compiling ArgumentParserToolInfo ToolInfo.swift
[46/103] Emitting module ArgumentParserToolInfo
[48/104] Compiling Yams Tag.swift
[49/104] Compiling Yams YamlAnchorProviding.swift
[50/104] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[50/105] Wrapping AST for ArgumentParserToolInfo for debugging
[52/105] Compiling HTTPTypes NIOLock.swift
[53/158] Wrapping AST for InternalCollectionsUtilities for debugging
[55/158] Compiling HTTPTypes HTTPField.swift
[56/158] Emitting module HTTPTypes
[57/158] Compiling DequeModule Deque+CustomReflectable.swift
[58/158] Compiling DequeModule Deque+Descriptions.swift
[59/160] Compiling HTTPTypes HTTPParsedFields.swift
[60/160] Compiling HTTPTypes HTTPRequest.swift
[61/160] Compiling DequeModule _DequeBuffer.swift
[62/160] Compiling DequeModule _DequeBufferHeader.swift
[63/160] Compiling DequeModule Deque+Extras.swift
[64/160] Compiling DequeModule Deque+Hashable.swift
[65/160] Compiling DequeModule Deque+Equatable.swift
[66/160] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[67/160] Compiling DequeModule _DequeSlot.swift
[68/160] Compiling DequeModule _UnsafeWrappedBuffer.swift
[71/160] Compiling DequeModule Deque+Testing.swift
[72/160] Compiling DequeModule Deque._Storage.swift
[73/160] 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] Compiling ArgumentParser CollectionExtensions.swift
[84/166] Compiling ArgumentParser Platform.swift
[85/166] Compiling ArgumentParser SequenceExtensions.swift
[86/166] Compiling ArgumentParser StringExtensions.swift
[87/166] Compiling ArgumentParser Tree.swift
[93/166] Compiling ArgumentParser Option.swift
[94/166] Emitting module Extensions
[95/166] Compiling Extensions Int+Ext.swift
[96/166] Compiling Extensions Task+Ext.swift
[98/167] Compiling ArgumentParser ParsableArgumentsValidation.swift
[99/167] Compiling ArgumentParser ParsableCommand.swift
[104/167] Wrapping AST for Extensions for debugging
[118/167] Emitting module ArgumentParser
[125/168] Compiling ArgumentParser ExpressibleByArgument.swift
[126/168] Compiling ArgumentParser ParsableArguments.swift
[129/168] Compiling ArgumentParser ArgumentDecoder.swift
[130/168] Wrapping AST for Yams for debugging
[132/168] Compiling ArgumentParser Name.swift
[133/168] Compiling ArgumentParser Parsed.swift
[134/168] Compiling ArgumentParser ParsedValues.swift
[135/168] Compiling ArgumentParser ParserError.swift
[136/168] Compiling ArgumentParser SplitArguments.swift
[137/168] Compiling ArgumentParser ArgumentDefinition.swift
[138/168] Compiling ArgumentParser ArgumentSet.swift
[139/168] Compiling ArgumentParser CommandParser.swift
[140/168] Compiling ArgumentParser InputKey.swift
[141/168] Compiling ArgumentParser InputOrigin.swift
[142/168] Compiling ArgumentParser DumpHelpGenerator.swift
[143/168] Compiling ArgumentParser HelpCommand.swift
[144/168] Compiling ArgumentParser HelpGenerator.swift
[145/168] Compiling ArgumentParser MessageInfo.swift
[146/168] Compiling ArgumentParser UsageGenerator.swift
[147/169] Wrapping AST for ArgumentParser for debugging
[149/169] Compiling HTTPTypes HTTPFieldName.swift
[150/169] Compiling HTTPTypes HTTPFields.swift
[151/170] Wrapping AST for HTTPTypes for debugging
[153/231] Compiling OpenAPIRuntime FoundationExtensions.swift
[154/231] Compiling OpenAPIRuntime ParameterStyles.swift
[155/231] Compiling OpenAPIRuntime ServerVariable.swift
[156/231] Compiling OpenAPIRuntime URLExtensions.swift
[157/231] Compiling OpenAPIRuntime Deprecated.swift
[158/231] Compiling OpenAPIRuntime ClientError.swift
[159/231] Compiling OpenAPIRuntime CodingErrors.swift
[160/231] Compiling OpenAPIRuntime RuntimeError.swift
[161/231] Compiling OpenAPIRuntime ServerError.swift
[162/239] Emitting module OpenAPIRuntime
[163/239] Compiling OpenAPIRuntime CurrencyTypes.swift
[164/239] Compiling OpenAPIRuntime ErrorHandlingMiddleware.swift
[165/239] Compiling OpenAPIRuntime HTTPBody.swift
[166/239] Compiling OpenAPIRuntime ServerTransport.swift
[167/239] Compiling OpenAPIRuntime UniversalClient.swift
[168/239] Compiling OpenAPIRuntime UniversalServer.swift
[169/239] Compiling OpenAPIRuntime MultipartBoundaryGenerator.swift
[170/239] Compiling OpenAPIRuntime MultipartBytesToFramesSequence.swift
[171/239] Compiling OpenAPIRuntime Acceptable.swift
[172/239] Compiling OpenAPIRuntime Base64EncodedData.swift
[173/239] Compiling OpenAPIRuntime ByteUtilities.swift
[174/239] Compiling OpenAPIRuntime ContentDisposition.swift
[175/239] Compiling OpenAPIRuntime CopyOnWriteBox.swift
[176/239] Compiling OpenAPIRuntime OpenAPIMIMEType.swift
[177/239] Compiling OpenAPIRuntime OpenAPIValue.swift
[178/239] Compiling OpenAPIRuntime PrettyStringConvertible.swift
[179/239] Compiling OpenAPIRuntime UndocumentedPayload.swift
[180/239] Compiling OpenAPIRuntime JSONLinesDecoding.swift
[181/239] Compiling OpenAPIRuntime JSONLinesEncoding.swift
[182/239] Compiling OpenAPIRuntime JSONSequenceDecoding.swift
[183/239] Compiling OpenAPIRuntime JSONSequenceEncoding.swift
[184/239] Compiling OpenAPIRuntime ServerSentEvents.swift
[185/239] Compiling OpenAPIRuntime ServerSentEventsDecoding.swift
[186/239] Compiling OpenAPIRuntime ServerSentEventsEncoding.swift
[187/239] Compiling OpenAPIRuntime AsyncSequenceCommon.swift
[188/239] Compiling OpenAPIRuntime ClientTransport.swift
[189/239] Compiling OpenAPIRuntime URICodeCodingKey.swift
[190/239] Compiling OpenAPIRuntime URICoderConfiguration.swift
[191/239] Compiling OpenAPIRuntime URIEncodedNode.swift
[192/239] Compiling OpenAPIRuntime URIParsedTypes.swift
[193/239] Compiling OpenAPIRuntime URIDecoder.swift
[194/239] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Keyed.swift
[195/239] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Single.swift
[196/239] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Unkeyed.swift
[197/239] Compiling OpenAPIRuntime WarningSuppressingAnnotations.swift
[198/239] Compiling OpenAPIRuntime CodableExtensions.swift
[199/239] Compiling OpenAPIRuntime Configuration.swift
[200/239] Compiling OpenAPIRuntime Converter+Client.swift
[201/239] Compiling OpenAPIRuntime Converter+Common.swift
[202/239] Compiling OpenAPIRuntime Converter+Server.swift
[203/239] Compiling OpenAPIRuntime Converter.swift
[204/239] Compiling OpenAPIRuntime CurrencyExtensions.swift
[205/239] Compiling OpenAPIRuntime ErrorExtensions.swift
[206/239] Compiling OpenAPIRuntime MultipartFramesToBytesSequence.swift
[207/239] Compiling OpenAPIRuntime MultipartFramesToRawPartsSequence.swift
[208/239] Compiling OpenAPIRuntime MultipartInternalTypes.swift
[209/239] Compiling OpenAPIRuntime MultipartPublicTypes.swift
[210/239] Compiling OpenAPIRuntime MultipartPublicTypesExtensions.swift
[211/239] Compiling OpenAPIRuntime MultipartRawPartsToFramesSequence.swift
[212/239] Compiling OpenAPIRuntime MultipartValidation.swift
[213/239] Compiling OpenAPIRuntime OpenAPIMIMEType+Multipart.swift
[214/239] Compiling OpenAPIRuntime URIValueFromNodeDecoder.swift
[215/239] Compiling OpenAPIRuntime URIEncoder.swift
[216/239] Compiling OpenAPIRuntime URIValueToNodeEncoder+Keyed.swift
[217/239] Compiling OpenAPIRuntime URIValueToNodeEncoder+Single.swift
[218/239] Compiling OpenAPIRuntime URIValueToNodeEncoder+Unkeyed.swift
[219/239] Compiling OpenAPIRuntime URIValueToNodeEncoder.swift
[220/239] Compiling OpenAPIRuntime URIParser.swift
[221/239] Compiling OpenAPIRuntime URISerializer.swift
[222/242] Wrapping AST for OpenAPIRuntime for debugging
[224/249] Emitting module Middleware
[225/249] Compiling OpenAPIURLSession BidirectionalStreamingURLSessionDelegate.swift
[226/249] Compiling OpenAPIURLSession HTTPBodyOutputStreamBridge.swift
[227/249] Compiling OpenAPIURLSession URLSession+Extensions.swift
[228/249] 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) }
[229/249] Compiling Middleware AuthenticationMiddleware.swift
[230/250] Wrapping AST for Middleware for debugging
[232/250] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[233/250] Compiling OpenAPIURLSession BufferedStream.swift
[234/250] 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