Build Information
Failed to build swift-openapi-urlsession, reference main (b79905
), with Swift 6.2 (beta) for Android on 23 Jun 2025 15:19:57 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/apple/swift-openapi-urlsession.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/apple/swift-openapi-urlsession
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b799051 Drop Swift 5.9 (#74)
Cloned https://github.com/apple/swift-openapi-urlsession.git
Revision (git rev-parse @):
b799051f497883808f3143d323c2475837ce6d2e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-openapi-urlsession.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/apple/swift-openapi-urlsession.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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-openapi-runtime
Fetching https://github.com/apple/swift-http-types
Fetching https://github.com/apple/swift-collections
[1/5679] Fetching swift-openapi-runtime
[58/6583] Fetching swift-openapi-runtime, swift-http-types
Fetched https://github.com/apple/swift-http-types from cache (0.52s)
[1761/5679] Fetching swift-openapi-runtime
[1989/22319] Fetching swift-openapi-runtime, swift-collections
Fetching https://github.com/apple/swift-nio
Fetched https://github.com/apple/swift-openapi-runtime from cache (0.90s)
[4327/16640] Fetching swift-collections
[7489/92979] Fetching swift-collections, swift-nio
Fetched https://github.com/apple/swift-collections from cache (2.58s)
[23666/76339] Fetching swift-nio
Fetched https://github.com/apple/swift-nio from cache (12.19s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.8.2 (13.89s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.4.0 (0.61s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.2.0 (1.20s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.83.0 (17.46s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1797] Fetching swift-atomics
[595/6233] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.81s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.82s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.87s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (2.19s)
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-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.83.0
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/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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-8C5A4AE7A8CE2BA.txt
[7/28] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[8/28] Compiling InternalCollectionsUtilities UInt+reversed.swift
[9/28] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[10/28] Compiling InternalCollectionsUtilities Integer rank.swift
[11/29] Compiling InternalCollectionsUtilities Descriptions.swift
[12/29] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[13/29] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[14/29] Emitting module InternalCollectionsUtilities
[15/29] Compiling HTTPTypes ISOLatin1String.swift
[16/30] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[17/30] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[18/30] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[19/30] Compiling InternalCollectionsUtilities _SortedCollection.swift
[20/30] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[21/30] Compiling InternalCollectionsUtilities Debugging.swift
[22/30] Compiling HTTPTypes HTTPParsedFields.swift
[23/30] Compiling HTTPTypes HTTPResponse.swift
[24/30] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[26/31] Compiling HTTPTypes HTTPRequest.swift
[27/46] Compiling HTTPTypes NIOLock.swift
[28/46] Compiling DequeModule _DequeBuffer.swift
[29/46] Compiling DequeModule _DequeBufferHeader.swift
[30/48] Compiling DequeModule _DequeSlot.swift
[31/48] Compiling DequeModule _UnsafeWrappedBuffer.swift
[32/48] Compiling DequeModule Deque+Testing.swift
[33/48] Compiling DequeModule Deque._Storage.swift
[34/48] Compiling DequeModule Deque+Extras.swift
[35/48] Compiling DequeModule Deque+Hashable.swift
[36/48] Compiling DequeModule Deque+Equatable.swift
[37/48] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[38/48] Compiling DequeModule Deque+CustomReflectable.swift
[39/48] Compiling DequeModule Deque+Descriptions.swift
[40/48] Compiling DequeModule Deque._UnsafeHandle.swift
[41/48] Compiling DequeModule Deque.swift
[42/48] Compiling DequeModule Deque+Codable.swift
[43/48] Compiling DequeModule Deque+Collection.swift
[44/48] Emitting module DequeModule
[46/49] Compiling HTTPTypes HTTPField.swift
[47/49] Compiling HTTPTypes HTTPFieldName.swift
[48/49] Compiling HTTPTypes HTTPFields.swift
[49/49] Emitting module HTTPTypes
[51/111] Emitting module OpenAPIRuntime
[52/119] Compiling OpenAPIRuntime URICodeCodingKey.swift
[53/119] Compiling OpenAPIRuntime URICoderConfiguration.swift
[54/119] Compiling OpenAPIRuntime URIEncodedNode.swift
[55/119] Compiling OpenAPIRuntime URIParsedTypes.swift
[56/119] Compiling OpenAPIRuntime URIDecoder.swift
[57/119] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Keyed.swift
[58/119] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Single.swift
[59/119] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Unkeyed.swift
[60/119] Compiling OpenAPIRuntime JSONLinesDecoding.swift
[61/119] Compiling OpenAPIRuntime JSONLinesEncoding.swift
[62/119] Compiling OpenAPIRuntime JSONSequenceDecoding.swift
[63/119] Compiling OpenAPIRuntime JSONSequenceEncoding.swift
[64/119] Compiling OpenAPIRuntime ServerSentEvents.swift
[65/119] Compiling OpenAPIRuntime ServerSentEventsDecoding.swift
[66/119] Compiling OpenAPIRuntime ServerSentEventsEncoding.swift
[67/119] Compiling OpenAPIRuntime AsyncSequenceCommon.swift
[68/119] Compiling OpenAPIRuntime ClientTransport.swift
[69/119] Compiling OpenAPIRuntime Acceptable.swift
[70/119] Compiling OpenAPIRuntime Base64EncodedData.swift
[71/119] Compiling OpenAPIRuntime ByteUtilities.swift
[72/119] Compiling OpenAPIRuntime ContentDisposition.swift
[73/119] Compiling OpenAPIRuntime CopyOnWriteBox.swift
[74/119] Compiling OpenAPIRuntime OpenAPIMIMEType.swift
[75/119] Compiling OpenAPIRuntime OpenAPIValue.swift
[76/119] Compiling OpenAPIRuntime PrettyStringConvertible.swift
[77/119] Compiling OpenAPIRuntime UndocumentedPayload.swift
[78/119] Compiling OpenAPIRuntime CurrencyTypes.swift
[79/119] Compiling OpenAPIRuntime ErrorHandlingMiddleware.swift
[80/119] Compiling OpenAPIRuntime HTTPBody.swift
[81/119] Compiling OpenAPIRuntime ServerTransport.swift
[82/119] Compiling OpenAPIRuntime UniversalClient.swift
[83/119] Compiling OpenAPIRuntime UniversalServer.swift
[84/119] Compiling OpenAPIRuntime MultipartBoundaryGenerator.swift
[85/119] Compiling OpenAPIRuntime MultipartBytesToFramesSequence.swift
[86/119] Compiling OpenAPIRuntime WarningSuppressingAnnotations.swift
[87/119] Compiling OpenAPIRuntime CodableExtensions.swift
[88/119] Compiling OpenAPIRuntime Configuration.swift
[89/119] Compiling OpenAPIRuntime Converter+Client.swift
[90/119] Compiling OpenAPIRuntime Converter+Common.swift
[91/119] Compiling OpenAPIRuntime Converter+Server.swift
[92/119] Compiling OpenAPIRuntime Converter.swift
[93/119] Compiling OpenAPIRuntime CurrencyExtensions.swift
[94/119] Compiling OpenAPIRuntime ErrorExtensions.swift
[95/119] Compiling OpenAPIRuntime MultipartFramesToBytesSequence.swift
[96/119] Compiling OpenAPIRuntime MultipartFramesToRawPartsSequence.swift
[97/119] Compiling OpenAPIRuntime MultipartInternalTypes.swift
[98/119] Compiling OpenAPIRuntime MultipartPublicTypes.swift
[99/119] Compiling OpenAPIRuntime MultipartPublicTypesExtensions.swift
[100/119] Compiling OpenAPIRuntime MultipartRawPartsToFramesSequence.swift
[101/119] Compiling OpenAPIRuntime MultipartValidation.swift
[102/119] Compiling OpenAPIRuntime OpenAPIMIMEType+Multipart.swift
[103/119] Compiling OpenAPIRuntime FoundationExtensions.swift
[104/119] Compiling OpenAPIRuntime ParameterStyles.swift
[105/119] Compiling OpenAPIRuntime ServerVariable.swift
[106/119] Compiling OpenAPIRuntime URLExtensions.swift
[107/119] Compiling OpenAPIRuntime Deprecated.swift
[108/119] Compiling OpenAPIRuntime ClientError.swift
[109/119] Compiling OpenAPIRuntime CodingErrors.swift
[110/119] Compiling OpenAPIRuntime RuntimeError.swift
[111/119] Compiling OpenAPIRuntime ServerError.swift
[112/119] Compiling OpenAPIRuntime URIValueFromNodeDecoder.swift
[113/119] Compiling OpenAPIRuntime URIEncoder.swift
[114/119] Compiling OpenAPIRuntime URIValueToNodeEncoder+Keyed.swift
[115/119] Compiling OpenAPIRuntime URIValueToNodeEncoder+Single.swift
[116/119] Compiling OpenAPIRuntime URIValueToNodeEncoder+Unkeyed.swift
[117/119] Compiling OpenAPIRuntime URIValueToNodeEncoder.swift
[118/119] Compiling OpenAPIRuntime URIParser.swift
[119/119] Compiling OpenAPIRuntime URISerializer.swift
[121/127] Compiling OpenAPIURLSession HTTPBodyOutputStreamBridge.swift
[122/127] Compiling OpenAPIURLSession Lock.swift
/host/spi-builder-workspace/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/Sources/OpenAPIURLSession/BufferedStream/Lock.swift:187:35: warning: redundant conformance of 'LockStorage<Value>' to protocol 'Sendable'
128 | // See also: https://github.com/apple/swift/pull/40000
129 | @usableFromInline
130 | final class LockStorage<Value>: ManagedBuffer<Value, LockPrimitive> {
| `- note: 'LockStorage<Value>' inherits conformance to protocol 'Sendable' from superclass here
131 |
132 | @inlinable
:
185 | }
186 |
187 | extension LockStorage: @unchecked Sendable {}
| `- warning: redundant conformance of 'LockStorage<Value>' to protocol 'Sendable'
188 |
189 | /// A threading lock based on `libpthread` instead of `libdispatch`.
/host/spi-builder-workspace/Sources/OpenAPIURLSession/BufferedStream/Lock.swift:200:16: warning: stored property '_storage' of 'Sendable'-conforming struct 'Lock' has non-sendable type 'LockStorage<Void>'; this is an error in the Swift 6 language mode
128 | // See also: https://github.com/apple/swift/pull/40000
129 | @usableFromInline
130 | final class LockStorage<Value>: ManagedBuffer<Value, LockPrimitive> {
| `- note: generic class 'LockStorage' does not conform to the 'Sendable' protocol
131 |
132 | @inlinable
:
198 | struct Lock {
199 | @usableFromInline
200 | internal let _storage: LockStorage<Void>
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'Lock' has non-sendable type 'LockStorage<Void>'; this is an error in the Swift 6 language mode
201 |
202 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenAPIURLSession/BufferedStream/Lock.swift:265:7: warning: stored property 'storage' of 'Sendable'-conforming generic struct 'LockedValueBox' has non-sendable type 'LockStorage<Value>'; this is an error in the Swift 6 language mode
128 | // See also: https://github.com/apple/swift/pull/40000
129 | @usableFromInline
130 | final class LockStorage<Value>: ManagedBuffer<Value, LockPrimitive> {
| `- note: generic class 'LockStorage' does not conform to the 'Sendable' protocol
131 |
132 | @inlinable
:
263 | struct LockedValueBox<Value> {
264 | @usableFromInline
265 | let storage: LockStorage<Value>
| `- warning: stored property 'storage' of 'Sendable'-conforming generic struct 'LockedValueBox' has non-sendable type 'LockStorage<Value>'; this is an error in the Swift 6 language mode
266 |
267 | @usableFromInline
/host/spi-builder-workspace/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/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/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/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/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/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/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/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/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/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/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/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) }
[123/127] Compiling OpenAPIURLSession URLSessionTransport.swift
/host/spi-builder-workspace/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 |
[124/127] Compiling OpenAPIURLSession BidirectionalStreamingURLSessionDelegate.swift
[125/127] Compiling OpenAPIURLSession URLSession+Extensions.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[126/127] Emitting module OpenAPIURLSession
/host/spi-builder-workspace/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/Sources/OpenAPIURLSession/BufferedStream/Lock.swift:187:35: warning: redundant conformance of 'LockStorage<Value>' to protocol 'Sendable'
128 | // See also: https://github.com/apple/swift/pull/40000
129 | @usableFromInline
130 | final class LockStorage<Value>: ManagedBuffer<Value, LockPrimitive> {
| `- note: 'LockStorage<Value>' inherits conformance to protocol 'Sendable' from superclass here
131 |
132 | @inlinable
:
185 | }
186 |
187 | extension LockStorage: @unchecked Sendable {}
| `- warning: redundant conformance of 'LockStorage<Value>' to protocol 'Sendable'
188 |
189 | /// A threading lock based on `libpthread` instead of `libdispatch`.
/host/spi-builder-workspace/Sources/OpenAPIURLSession/BufferedStream/Lock.swift:200:16: warning: stored property '_storage' of 'Sendable'-conforming struct 'Lock' has non-sendable type 'LockStorage<Void>'; this is an error in the Swift 6 language mode
128 | // See also: https://github.com/apple/swift/pull/40000
129 | @usableFromInline
130 | final class LockStorage<Value>: ManagedBuffer<Value, LockPrimitive> {
| `- note: generic class 'LockStorage' does not conform to the 'Sendable' protocol
131 |
132 | @inlinable
:
198 | struct Lock {
199 | @usableFromInline
200 | internal let _storage: LockStorage<Void>
| `- warning: stored property '_storage' of 'Sendable'-conforming struct 'Lock' has non-sendable type 'LockStorage<Void>'; this is an error in the Swift 6 language mode
201 |
202 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenAPIURLSession/BufferedStream/Lock.swift:265:7: warning: stored property 'storage' of 'Sendable'-conforming generic struct 'LockedValueBox' has non-sendable type 'LockStorage<Value>'; this is an error in the Swift 6 language mode
128 | // See also: https://github.com/apple/swift/pull/40000
129 | @usableFromInline
130 | final class LockStorage<Value>: ManagedBuffer<Value, LockPrimitive> {
| `- note: generic class 'LockStorage' does not conform to the 'Sendable' protocol
131 |
132 | @inlinable
:
263 | struct LockedValueBox<Value> {
264 | @usableFromInline
265 | let storage: LockStorage<Value>
| `- warning: stored property 'storage' of 'Sendable'-conforming generic struct 'LockedValueBox' has non-sendable type 'LockStorage<Value>'; this is an error in the Swift 6 language mode
266 |
267 | @usableFromInline
/host/spi-builder-workspace/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/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/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/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/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/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/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/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/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/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/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) }
[127/127] Compiling OpenAPIURLSession BufferedStream.swift
BUILD FAILURE 6.2 android