Build Information
Failed to build GitHubSwiftActions, reference 1.0.9 (80b708
), with Swift 6.2 (beta) for Android on 17 Jun 2025 16:16:14 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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: 1.0.9
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
* tag 1.0.9 -> FETCH_HEAD
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 1.0.9
========================================
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-4609320-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/jpsim/Yams
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/Wei18/github-rest-api-swift-openapi
Fetching https://github.com/apple/swift-openapi-runtime
[1/5679] Fetching swift-openapi-runtime
[5680/16538] Fetching swift-openapi-runtime, yams
[11436/31918] Fetching swift-openapi-runtime, yams, swift-argument-parser
[25677/490795] Fetching swift-openapi-runtime, yams, swift-argument-parser, github-rest-api-swift-openapi
Fetched https://github.com/apple/swift-openapi-runtime from cache (21.26s)
Fetched https://github.com/apple/swift-argument-parser from cache (21.27s)
Fetched https://github.com/jpsim/Yams from cache (21.31s)
Fetched https://github.com/Wei18/github-rest-api-swift-openapi from cache (21.87s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.0.1 (22.44s)
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 (2.72s)
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.23s)
Computing version for https://github.com/apple/swift-openapi-urlsession
Computed https://github.com/apple/swift-openapi-urlsession at 1.1.0 (0.71s)
Fetching https://github.com/apple/swift-http-types
Fetching https://github.com/apple/swift-collections
[1/904] Fetching swift-http-types
[905/17510] Fetching swift-http-types, swift-collections
Fetched https://github.com/apple/swift-http-types from cache (0.97s)
Fetched https://github.com/apple/swift-collections from cache (1.00s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.8.2 (1.37s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.4.0 (0.35s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.2.0 (0.60s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.36s)
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-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-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-openapi-runtime
Working copy of https://github.com/apple/swift-openapi-runtime resolved at 1.8.2
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-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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/52] Write sources
[20/52] Compiling reader.c
[21/52] Compiling writer.c
[22/52] Write swift-version-8C5A4AE7A8CE2BA.txt
[23/52] Compiling parser.c
[24/59] Compiling api.c
[25/79] Compiling emitter.c
[26/79] Compiling scanner.c
[28/99] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[29/100] Compiling HTTPTypes ISOLatin1String.swift
[30/101] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[31/101] Compiling Yams Emitter.swift
[32/101] Compiling Yams Encoder.swift
[33/101] Compiling Yams Node.swift
[34/101] Compiling Yams Mark.swift
[35/101] Compiling Yams Node.Alias.swift
[36/101] Compiling Yams Node.Mapping.swift
[37/101] Compiling Yams Node.Scalar.swift
[38/101] Compiling Yams Node.Sequence.swift
[39/101] Compiling Yams Constructor.swift
[40/101] Compiling Yams Decoder.swift
[41/101] Emitting module InternalCollectionsUtilities
[42/101] Compiling Yams AliasDereferencingStrategy.swift
[43/101] Compiling Yams Anchor.swift
[44/102] Compiling Yams Tag.swift
[45/102] Compiling Yams YamlAnchorProviding.swift
[46/104] Emitting module ArgumentParserToolInfo
[47/104] Compiling ArgumentParserToolInfo ToolInfo.swift
[49/105] Wrapping AST for InternalCollectionsUtilities for debugging
[50/106] Wrapping AST for ArgumentParserToolInfo for debugging
[52/144] Compiling HTTPTypes HTTPField.swift
[53/144] Emitting module HTTPTypes
[54/158] Compiling HTTPTypes HTTPParsedFields.swift
[55/158] Compiling DequeModule Deque+CustomReflectable.swift
[56/158] Compiling DequeModule Deque+Descriptions.swift
[57/158] Compiling HTTPTypes HTTPResponse.swift
[58/160] Compiling HTTPTypes HTTPRequest.swift
[59/160] Compiling HTTPTypes NIOLock.swift
[60/160] Compiling DequeModule _DequeBuffer.swift
[61/160] Compiling DequeModule _DequeBufferHeader.swift
[62/160] Compiling DequeModule Deque+Equatable.swift
[63/160] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[64/160] Emitting module Yams
[65/160] Emitting module ArgumentParser
[66/165] Compiling DequeModule _DequeSlot.swift
[67/165] Compiling DequeModule _UnsafeWrappedBuffer.swift
[68/165] Compiling DequeModule Deque._UnsafeHandle.swift
[69/165] Compiling DequeModule Deque.swift
[70/165] Compiling DequeModule Deque+Extras.swift
[71/165] Compiling DequeModule Deque+Hashable.swift
[72/165] Compiling DequeModule Deque+Testing.swift
[73/165] Compiling DequeModule Deque._Storage.swift
[74/165] Emitting module DequeModule
[75/165] Compiling DequeModule Deque+Codable.swift
[76/165] Compiling DequeModule Deque+Collection.swift
[83/166] Wrapping AST for DequeModule for debugging
[85/166] Compiling ArgumentParser OptionGroup.swift
[86/166] Compiling ArgumentParser AsyncParsableCommand.swift
[87/166] Compiling ArgumentParser CommandConfiguration.swift
[88/166] Compiling ArgumentParser CommandGroup.swift
[89/166] Compiling ArgumentParser EnumerableFlag.swift
[94/166] Compiling ArgumentParser ArgumentDecoder.swift
[101/166] Compiling ArgumentParser CollectionExtensions.swift
[102/166] Compiling ArgumentParser Platform.swift
[103/166] Compiling ArgumentParser SequenceExtensions.swift
[104/166] Compiling ArgumentParser StringExtensions.swift
[105/166] Compiling ArgumentParser Tree.swift
[106/166] Compiling HTTPTypes HTTPFieldName.swift
[107/166] Compiling HTTPTypes HTTPFields.swift
[113/167] Compiling Extensions Int+Ext.swift
[114/167] Emitting module Extensions
[115/167] Compiling Extensions Task+Ext.swift
[125/168] Compiling ArgumentParser ArgumentDefinition.swift
[126/168] Compiling ArgumentParser ArgumentSet.swift
[127/168] Compiling ArgumentParser CommandParser.swift
[128/168] Compiling ArgumentParser InputKey.swift
[129/168] Compiling ArgumentParser InputOrigin.swift
[130/168] Compiling ArgumentParser Name.swift
[131/168] Compiling ArgumentParser Parsed.swift
[132/168] Compiling ArgumentParser ParsedValues.swift
[133/168] Compiling ArgumentParser ParserError.swift
[134/168] Compiling ArgumentParser SplitArguments.swift
[135/168] Compiling ArgumentParser DumpHelpGenerator.swift
[136/168] Compiling ArgumentParser HelpCommand.swift
[137/168] Compiling ArgumentParser HelpGenerator.swift
[138/168] Compiling ArgumentParser MessageInfo.swift
[139/168] Compiling ArgumentParser UsageGenerator.swift
[146/168] Wrapping AST for HTTPTypes for debugging
[149/231] Wrapping AST for Extensions for debugging
[150/231] Wrapping AST for Yams for debugging
[151/231] Wrapping AST for ArgumentParser for debugging
[153/231] Emitting module OpenAPIRuntime
[154/239] Compiling OpenAPIRuntime URICodeCodingKey.swift
[155/239] Compiling OpenAPIRuntime URICoderConfiguration.swift
[156/239] Compiling OpenAPIRuntime URIEncodedNode.swift
[157/239] Compiling OpenAPIRuntime URIParsedTypes.swift
[158/239] Compiling OpenAPIRuntime URIDecoder.swift
[159/239] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Keyed.swift
[160/239] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Single.swift
[161/239] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Unkeyed.swift
[162/239] Compiling OpenAPIRuntime CurrencyTypes.swift
[163/239] Compiling OpenAPIRuntime ErrorHandlingMiddleware.swift
[164/239] Compiling OpenAPIRuntime HTTPBody.swift
[165/239] Compiling OpenAPIRuntime ServerTransport.swift
[166/239] Compiling OpenAPIRuntime UniversalClient.swift
[167/239] Compiling OpenAPIRuntime UniversalServer.swift
[168/239] Compiling OpenAPIRuntime MultipartBoundaryGenerator.swift
[169/239] Compiling OpenAPIRuntime MultipartBytesToFramesSequence.swift
[170/239] Compiling OpenAPIRuntime Acceptable.swift
[171/239] Compiling OpenAPIRuntime Base64EncodedData.swift
[172/239] Compiling OpenAPIRuntime ByteUtilities.swift
[173/239] Compiling OpenAPIRuntime ContentDisposition.swift
[174/239] Compiling OpenAPIRuntime CopyOnWriteBox.swift
[175/239] Compiling OpenAPIRuntime OpenAPIMIMEType.swift
[176/239] Compiling OpenAPIRuntime OpenAPIValue.swift
[177/239] Compiling OpenAPIRuntime PrettyStringConvertible.swift
[178/239] Compiling OpenAPIRuntime UndocumentedPayload.swift
[179/239] Compiling OpenAPIRuntime WarningSuppressingAnnotations.swift
[180/239] Compiling OpenAPIRuntime CodableExtensions.swift
[181/239] Compiling OpenAPIRuntime Configuration.swift
[182/239] Compiling OpenAPIRuntime Converter+Client.swift
[183/239] Compiling OpenAPIRuntime Converter+Common.swift
[184/239] Compiling OpenAPIRuntime Converter+Server.swift
[185/239] Compiling OpenAPIRuntime Converter.swift
[186/239] Compiling OpenAPIRuntime CurrencyExtensions.swift
[187/239] Compiling OpenAPIRuntime ErrorExtensions.swift
[188/239] Compiling OpenAPIRuntime FoundationExtensions.swift
[189/239] Compiling OpenAPIRuntime ParameterStyles.swift
[190/239] Compiling OpenAPIRuntime ServerVariable.swift
[191/239] Compiling OpenAPIRuntime URLExtensions.swift
[192/239] Compiling OpenAPIRuntime Deprecated.swift
[193/239] Compiling OpenAPIRuntime ClientError.swift
[194/239] Compiling OpenAPIRuntime CodingErrors.swift
[195/239] Compiling OpenAPIRuntime RuntimeError.swift
[196/239] Compiling OpenAPIRuntime ServerError.swift
[197/239] Compiling OpenAPIRuntime JSONLinesDecoding.swift
[198/239] Compiling OpenAPIRuntime JSONLinesEncoding.swift
[199/239] Compiling OpenAPIRuntime JSONSequenceDecoding.swift
[200/239] Compiling OpenAPIRuntime JSONSequenceEncoding.swift
[201/239] Compiling OpenAPIRuntime ServerSentEvents.swift
[202/239] Compiling OpenAPIRuntime ServerSentEventsDecoding.swift
[203/239] Compiling OpenAPIRuntime ServerSentEventsEncoding.swift
[204/239] Compiling OpenAPIRuntime AsyncSequenceCommon.swift
[205/239] Compiling OpenAPIRuntime ClientTransport.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 Middleware AuthenticationMiddleware.swift
[226/249] Compiling OpenAPIURLSession BidirectionalStreamingURLSessionDelegate.swift
[227/249] Compiling OpenAPIURLSession HTTPBodyOutputStreamBridge.swift
[228/250] 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) }
[230/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 |
[231/250] Compiling OpenAPIURLSession URLSession+Extensions.swift
[231/250] Wrapping AST for Middleware for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[233/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) }
[234/250] Compiling OpenAPIURLSession BufferedStream.swift
BUILD FAILURE 6.2 android