Build Information
Failed to build swift-openapi-urlsession, reference main (b79905
), with Swift 6.1 for Android on 30 May 2025 17:50:27 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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
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.1
Building package at path: $PWD
https://github.com/apple/swift-openapi-urlsession.git
https://github.com/apple/swift-openapi-urlsession.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-openapi-runtime",
"requirement" : {
"range" : [
{
"lower_bound" : "1.8.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-openapi-runtime"
},
{
"identity" : "swift-http-types",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-http-types"
},
{
"identity" : "swift-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-collections"
},
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.62.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio"
}
],
"manifest_display_name" : "swift-openapi-urlsession",
"name" : "swift-openapi-urlsession",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "maccatalyst",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "OpenAPIURLSession",
"targets" : [
"OpenAPIURLSession"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "OpenAPIURLSessionTests",
"module_type" : "SwiftTarget",
"name" : "OpenAPIURLSessionTests",
"path" : "Tests/OpenAPIURLSessionTests",
"product_dependencies" : [
"NIOTestUtils"
],
"sources" : [
"AsyncSyncSequence.swift",
"BufferedStreamTests/BufferedStreamTests.swift",
"NIOAsyncHTTP1TestServer.swift",
"TaskCancellationTests.swift",
"TestUtils.swift",
"URLSessionBidirectionalStreamingTests/HTTPBodyOutputStreamTests.swift",
"URLSessionBidirectionalStreamingTests/MockAsyncSequence.swift",
"URLSessionBidirectionalStreamingTests/MockInputStreamDelegate.swift",
"URLSessionBidirectionalStreamingTests/URLSessionBidirectionalStreamingTests.swift",
"URLSessionTransportTests.swift"
],
"target_dependencies" : [
"OpenAPIURLSession"
],
"type" : "test"
},
{
"c99name" : "OpenAPIURLSession",
"module_type" : "SwiftTarget",
"name" : "OpenAPIURLSession",
"path" : "Sources/OpenAPIURLSession",
"product_dependencies" : [
"DequeModule",
"OpenAPIRuntime",
"HTTPTypes"
],
"product_memberships" : [
"OpenAPIURLSession"
],
"sources" : [
"BufferedStream/BufferedStream.swift",
"BufferedStream/Lock.swift",
"URLSessionBidirectionalStreaming/BidirectionalStreamingURLSessionDelegate.swift",
"URLSessionBidirectionalStreaming/HTTPBodyOutputStreamBridge.swift",
"URLSessionBidirectionalStreaming/URLSession+Extensions.swift",
"URLSessionTransport.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-http-types
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/apple/swift-openapi-runtime
Fetching https://github.com/apple/swift-collections
[1/5679] Fetching swift-openapi-runtime
[285/6583] Fetching swift-openapi-runtime, swift-http-types
[5392/23174] Fetching swift-openapi-runtime, swift-http-types, swift-collections
[7248/99297] Fetching swift-openapi-runtime, swift-http-types, swift-collections, swift-nio
Fetched https://github.com/apple/swift-openapi-runtime from cache (2.08s)
Fetched https://github.com/apple/swift-collections from cache (2.11s)
[49623/77027] Fetching swift-http-types, swift-nio
Fetched https://github.com/apple/swift-http-types from cache (8.20s)
Fetched https://github.com/apple/swift-nio from cache (8.35s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.8.2 (9.34s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.4.0 (0.93s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.2.0 (1.19s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.83.0 (1.53s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1717] Fetching swift-atomics
[534/6108] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.75s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.76s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.50s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.74s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.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-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.2.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
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/28] Compiling HTTPTypes HTTPParsedFields.swift
[8/29] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[9/29] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[10/29] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[11/29] Compiling InternalCollectionsUtilities Debugging.swift
[12/30] Compiling HTTPTypes ISOLatin1String.swift
[13/30] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[14/30] Compiling InternalCollectionsUtilities Integer rank.swift
[15/30] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[16/30] Compiling InternalCollectionsUtilities UInt+reversed.swift
[17/30] Emitting module InternalCollectionsUtilities
[18/30] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[19/30] Compiling InternalCollectionsUtilities _SortedCollection.swift
[20/30] Compiling HTTPTypes HTTPRequest.swift
[21/30] Compiling HTTPTypes HTTPResponse.swift
[22/30] Compiling InternalCollectionsUtilities Descriptions.swift
[23/30] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[24/30] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[25/30] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[27/31] Compiling HTTPTypes NIOLock.swift
[28/46] Compiling DequeModule _DequeBuffer.swift
[29/46] Compiling DequeModule _DequeBufferHeader.swift
[30/48] Compiling DequeModule Deque+Testing.swift
[31/48] Compiling DequeModule Deque._Storage.swift
[32/48] Compiling DequeModule Deque+Extras.swift
[33/48] Compiling DequeModule Deque+Hashable.swift
[34/48] Compiling DequeModule Deque+Equatable.swift
[35/48] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[36/48] Compiling DequeModule Deque+CustomReflectable.swift
[37/48] Compiling DequeModule Deque+Descriptions.swift
[38/48] Compiling DequeModule Deque._UnsafeHandle.swift
[39/48] Compiling DequeModule Deque.swift
[40/48] Compiling DequeModule _DequeSlot.swift
[41/48] Compiling DequeModule _UnsafeWrappedBuffer.swift
[42/48] Compiling DequeModule Deque+Codable.swift
[43/48] Compiling DequeModule Deque+Collection.swift
[44/48] Emitting module DequeModule
[46/49] Compiling HTTPTypes HTTPFieldName.swift
[47/49] Emitting module HTTPTypes
[48/49] Compiling HTTPTypes HTTPField.swift
[49/49] Compiling HTTPTypes HTTPFields.swift
[51/111] Compiling OpenAPIRuntime WarningSuppressingAnnotations.swift
[52/111] Compiling OpenAPIRuntime CodableExtensions.swift
[53/111] Compiling OpenAPIRuntime Configuration.swift
[54/111] Compiling OpenAPIRuntime Converter+Client.swift
[55/111] Compiling OpenAPIRuntime Converter+Common.swift
[56/111] Compiling OpenAPIRuntime Converter+Server.swift
[57/111] Compiling OpenAPIRuntime Converter.swift
[58/111] Compiling OpenAPIRuntime CurrencyExtensions.swift
[59/111] Compiling OpenAPIRuntime ErrorExtensions.swift
[60/119] Compiling OpenAPIRuntime URICodeCodingKey.swift
[61/119] Compiling OpenAPIRuntime URICoderConfiguration.swift
[62/119] Compiling OpenAPIRuntime URIEncodedNode.swift
[63/119] Compiling OpenAPIRuntime URIParsedTypes.swift
[64/119] Compiling OpenAPIRuntime URIDecoder.swift
[65/119] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Keyed.swift
[66/119] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Single.swift
[67/119] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Unkeyed.swift
[68/119] Compiling OpenAPIRuntime MultipartFramesToBytesSequence.swift
[69/119] Compiling OpenAPIRuntime MultipartFramesToRawPartsSequence.swift
[70/119] Compiling OpenAPIRuntime MultipartInternalTypes.swift
[71/119] Compiling OpenAPIRuntime MultipartPublicTypes.swift
[72/119] Compiling OpenAPIRuntime MultipartPublicTypesExtensions.swift
[73/119] Compiling OpenAPIRuntime MultipartRawPartsToFramesSequence.swift
[74/119] Compiling OpenAPIRuntime MultipartValidation.swift
[75/119] Compiling OpenAPIRuntime OpenAPIMIMEType+Multipart.swift
[76/119] Compiling OpenAPIRuntime CurrencyTypes.swift
[77/119] Compiling OpenAPIRuntime ErrorHandlingMiddleware.swift
[78/119] Compiling OpenAPIRuntime HTTPBody.swift
[79/119] Compiling OpenAPIRuntime ServerTransport.swift
[80/119] Compiling OpenAPIRuntime UniversalClient.swift
[81/119] Compiling OpenAPIRuntime UniversalServer.swift
[82/119] Compiling OpenAPIRuntime MultipartBoundaryGenerator.swift
[83/119] Compiling OpenAPIRuntime MultipartBytesToFramesSequence.swift
[84/119] Compiling OpenAPIRuntime FoundationExtensions.swift
[85/119] Compiling OpenAPIRuntime ParameterStyles.swift
[86/119] Compiling OpenAPIRuntime ServerVariable.swift
[87/119] Compiling OpenAPIRuntime URLExtensions.swift
[88/119] Compiling OpenAPIRuntime Deprecated.swift
[89/119] Compiling OpenAPIRuntime ClientError.swift
[90/119] Compiling OpenAPIRuntime CodingErrors.swift
[91/119] Compiling OpenAPIRuntime RuntimeError.swift
[92/119] Compiling OpenAPIRuntime ServerError.swift
[93/119] Compiling OpenAPIRuntime JSONLinesDecoding.swift
[94/119] Compiling OpenAPIRuntime JSONLinesEncoding.swift
[95/119] Compiling OpenAPIRuntime JSONSequenceDecoding.swift
[96/119] Compiling OpenAPIRuntime JSONSequenceEncoding.swift
[97/119] Compiling OpenAPIRuntime ServerSentEvents.swift
[98/119] Compiling OpenAPIRuntime ServerSentEventsDecoding.swift
[99/119] Compiling OpenAPIRuntime ServerSentEventsEncoding.swift
[100/119] Compiling OpenAPIRuntime AsyncSequenceCommon.swift
[101/119] Compiling OpenAPIRuntime ClientTransport.swift
[102/119] Emitting module OpenAPIRuntime
[103/119] Compiling OpenAPIRuntime Acceptable.swift
[104/119] Compiling OpenAPIRuntime Base64EncodedData.swift
[105/119] Compiling OpenAPIRuntime ByteUtilities.swift
[106/119] Compiling OpenAPIRuntime ContentDisposition.swift
[107/119] Compiling OpenAPIRuntime CopyOnWriteBox.swift
[108/119] Compiling OpenAPIRuntime OpenAPIMIMEType.swift
[109/119] Compiling OpenAPIRuntime OpenAPIValue.swift
[110/119] Compiling OpenAPIRuntime PrettyStringConvertible.swift
[111/119] Compiling OpenAPIRuntime UndocumentedPayload.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 BidirectionalStreamingURLSessionDelegate.swift
[123/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: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) }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[124/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: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) }
[125/127] Compiling OpenAPIURLSession URLSession+Extensions.swift
error: compile command failed due to signal 11 (use -v to see invocation)
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0. Program arguments: /usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/OpenAPIURLSession/BufferedStream/BufferedStream.swift /host/spi-builder-workspace/Sources/OpenAPIURLSession/BufferedStream/Lock.swift /host/spi-builder-workspace/Sources/OpenAPIURLSession/URLSessionBidirectionalStreaming/BidirectionalStreamingURLSessionDelegate.swift /host/spi-builder-workspace/Sources/OpenAPIURLSession/URLSessionBidirectionalStreaming/HTTPBodyOutputStreamBridge.swift /host/spi-builder-workspace/Sources/OpenAPIURLSession/URLSessionBidirectionalStreaming/URLSession+Extensions.swift -primary-file /host/spi-builder-workspace/Sources/OpenAPIURLSession/URLSessionTransport.swift -emit-dependencies-path /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/OpenAPIURLSession.build/URLSessionTransport.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/OpenAPIURLSession.build/URLSessionTransport.swiftdeps -target aarch64-unknown-linux-android24 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot -I /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Modules -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -stats-output-dir .stats -enable-upcoming-feature ExistentialAny -enable-upcoming-feature MemberImportVisibility -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -strict-concurrency=complete -empty-abi-descriptor -resource-dir /root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /host/spi-builder-workspace -Xcc --sysroot -Xcc /root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot -Xcc -fPIC -Xcc -g -Xcc -fno-omit-frame-pointer -module-name OpenAPIURLSession -package-name spi_builder_workspace -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/OpenAPIURLSession.build/URLSessionTransport.swift.o -index-store-path /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/index/store -index-system-modules
1. Swift version 6.1 (swift-6.1-RELEASE)
2. Compiling with effective version 5.10
3. While evaluating request IRGenRequest(IR Generation for file "/host/spi-builder-workspace/Sources/OpenAPIURLSession/URLSessionTransport.swift")
4. While emitting IR SIL function "@$s17OpenAPIURLSession18_standardErrorLock33_849AED48BB8E5D39A6F65399EA95CEAELL_WZ".
for declaration 0x555eeae14da0 (at /host/spi-builder-workspace/Sources/OpenAPIURLSession/URLSessionTransport.swift:299:9)
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0 swift-frontend 0x0000555ee5732808
1 swift-frontend 0x0000555ee57305ee
2 swift-frontend 0x0000555ee5732ea8
3 libc.so.6 0x00007f1815dbe520
4 swift-frontend 0x0000555edf9fe9d3
5 swift-frontend 0x0000555edf9f6668
6 swift-frontend 0x0000555edf9f5ebc
7 swift-frontend 0x0000555edf9fdd24
8 swift-frontend 0x0000555edf9747df
9 swift-frontend 0x0000555edf9773d7
10 swift-frontend 0x0000555edf97b396
11 swift-frontend 0x0000555edfb47481
12 swift-frontend 0x0000555edfb401da
13 swift-frontend 0x0000555edfa1040e
14 swift-frontend 0x0000555edf8d1d48
15 swift-frontend 0x0000555edf93207c
16 swift-frontend 0x0000555edf931fd9
17 swift-frontend 0x0000555edf8da837
18 swift-frontend 0x0000555edf8d3dae
19 swift-frontend 0x0000555edf4f9a96
20 swift-frontend 0x0000555edf4f5c0c
21 swift-frontend 0x0000555edf4f4997
22 swift-frontend 0x0000555edf4f72ba
23 swift-frontend 0x0000555edf4f6713
24 swift-frontend 0x0000555edf2d386a
25 libc.so.6 0x00007f1815da5d90
26 libc.so.6 0x00007f1815da5e40 __libc_start_main + 128
27 swift-frontend 0x0000555edf2d2cc5
*** Signal 11: Backtracing from 0x555edf9fe9d3... done ***
*** Program crashed: Bad pointer dereference at 0x0000000000000008 ***
Thread 0 "swift-frontend" crashed:
0 0x0000555edf9fe9d3 (anonymous namespace)::ClassLayoutBuilder::addFieldsForClassImpl(swift::ClassDecl*, swift::SILType, swift::ClassDecl*, swift::SILType, bool) + 147 in swift-frontend
Registers:
rax 0x0000000000000000 0
rdx 0x00007ffe01103040 60 58 10 01 fe 7f 00 00 58 30 10 01 fe 7f 00 00 `X··þ···X0··þ···
rcx 0x0000555eeb027dc8 82 7d 02 eb 5e 55 00 00 00 00 00 00 00 00 00 00 ·}·ë^U··········
rbx 0x00007ffe01102ba8 28 2d 10 01 fe 7f 00 00 a0 7d 56 ec 5e 55 00 00 (-··þ··· }Vì^U··
rsi 0x00007ffe01102d28 01 16 f5 ea 5e 55 00 00 18 a5 42 ea 5e 55 00 00 ··õê^U···¥Bê^U··
rdi 0x0000000000000004 4
rbp 0x0000000000000000 0
rsp 0x00007ffe01102e40 00 00 00 00 00 00 00 00 58 2e 10 01 fe 7f 00 00 ········X.··þ···
r8 0x0000000000000a7c 2684
r9 0x0000000000000001 1
r10 0x00000000e84c2900 3897305344
r11 0x00007f1815f96ce0 b0 81 75 ec 5e 55 00 00 30 8e 70 ec 5e 55 00 00 °·uì^U··0·pì^U··
r12 0x0000555eeb036b38 70 76 05 ea 5e 55 00 00 1c 02 00 08 01 00 00 00 pv·ê^U··········
r13 0x0000555eea42a518 da a4 42 ea 5e 55 00 00 00 00 00 00 00 00 00 00 Ú¤Bê^U··········
r14 0x0000555eea42a518 da a4 42 ea 5e 55 00 00 00 00 00 00 00 00 00 00 Ú¤Bê^U··········
r15 0x00007ffe01105860 b0 27 4b ec 5e 55 00 00 40 52 10 01 fe 7f 00 00 °'Kì^U··@R··þ···
rip 0x0000555edf9fe9d3 48 8b 4d 08 80 f9 3e 72 25 48 89 e8 90 f7 c1 00 H·M··ù>r%H·è·÷Á·
rflags 0x0000000000010246 ZF PF
cs 0x0033 fs 0x0000 gs 0x0000
Images (110 omitted):
0x0000555edea06000–0x0000555ee65ee710 a2f8bf107362d44f046b5d4b0eeadb6d087dfd2b swift-frontend /usr/bin/swift-frontend
Backtrace took 0.44s
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/23] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[3/24] Emitting module InternalCollectionsUtilities
[4/24] Compiling HTTPTypes ISOLatin1String.swift
[5/25] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[6/25] Compiling InternalCollectionsUtilities _SortedCollection.swift
[7/25] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[8/25] Compiling InternalCollectionsUtilities Debugging.swift
[9/25] Compiling InternalCollectionsUtilities Descriptions.swift
[10/25] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[11/25] Compiling HTTPTypes HTTPParsedFields.swift
[12/25] Compiling HTTPTypes HTTPResponse.swift
[13/25] Emitting module HTTPTypes
[14/25] Compiling HTTPTypes HTTPField.swift
[15/25] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[16/25] Compiling HTTPTypes NIOLock.swift
[17/25] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[18/25] Compiling InternalCollectionsUtilities Integer rank.swift
[19/25] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[20/25] Compiling InternalCollectionsUtilities UInt+reversed.swift
[21/25] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[22/25] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[23/26] Compiling HTTPTypes HTTPRequest.swift
[25/26] Compiling HTTPTypes HTTPFieldName.swift
[26/26] Compiling HTTPTypes HTTPFields.swift
[28/42] Compiling DequeModule Deque+CustomReflectable.swift
[29/42] Compiling DequeModule Deque+Descriptions.swift
[30/42] Compiling DequeModule Deque+Equatable.swift
[31/42] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[32/44] Compiling DequeModule Deque+Extras.swift
[33/44] Compiling DequeModule Deque+Hashable.swift
[34/44] Compiling DequeModule _DequeBuffer.swift
[35/44] Compiling DequeModule _DequeBufferHeader.swift
[36/44] Compiling DequeModule _DequeSlot.swift
[37/44] Compiling DequeModule _UnsafeWrappedBuffer.swift
[38/105] Compiling OpenAPIRuntime ErrorExtensions.swift
[39/105] Compiling OpenAPIRuntime JSONLinesDecoding.swift
[40/105] Compiling OpenAPIRuntime JSONLinesEncoding.swift
[41/105] Compiling OpenAPIRuntime JSONSequenceDecoding.swift
[42/105] Compiling OpenAPIRuntime WarningSuppressingAnnotations.swift
[43/105] Compiling OpenAPIRuntime CodableExtensions.swift
[44/105] Emitting module DequeModule
[46/106] Compiling OpenAPIRuntime URICodeCodingKey.swift
[47/106] Compiling OpenAPIRuntime URICoderConfiguration.swift
[48/106] Compiling OpenAPIRuntime URIEncodedNode.swift
[49/106] Compiling OpenAPIRuntime URIParsedTypes.swift
[50/106] Compiling OpenAPIRuntime URIDecoder.swift
[51/106] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Keyed.swift
[52/106] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Single.swift
[53/106] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Unkeyed.swift
[57/114] Compiling OpenAPIRuntime JSONSequenceEncoding.swift
[58/114] Compiling OpenAPIRuntime ServerSentEvents.swift
[59/114] Compiling OpenAPIRuntime ServerSentEventsDecoding.swift
[60/114] Compiling OpenAPIRuntime ServerSentEventsEncoding.swift
[61/114] Compiling OpenAPIRuntime AsyncSequenceCommon.swift
[62/114] Compiling OpenAPIRuntime ClientTransport.swift
[63/114] Emitting module OpenAPIRuntime
[66/114] Compiling OpenAPIRuntime Configuration.swift
[67/114] Compiling OpenAPIRuntime Converter+Client.swift
[68/114] Compiling OpenAPIRuntime Converter+Common.swift
[69/114] Compiling OpenAPIRuntime Converter+Server.swift
[70/114] Compiling OpenAPIRuntime Converter.swift
[71/114] Compiling OpenAPIRuntime CurrencyExtensions.swift
[73/114] Compiling OpenAPIRuntime URIValueFromNodeDecoder.swift
[74/114] Compiling OpenAPIRuntime URIEncoder.swift
[75/114] Compiling OpenAPIRuntime URIValueToNodeEncoder+Keyed.swift
[76/114] Compiling OpenAPIRuntime URIValueToNodeEncoder+Single.swift
[77/114] Compiling OpenAPIRuntime URIValueToNodeEncoder+Unkeyed.swift
[78/114] Compiling OpenAPIRuntime URIValueToNodeEncoder.swift
[79/114] Compiling OpenAPIRuntime URIParser.swift
[80/114] Compiling OpenAPIRuntime URISerializer.swift
[81/114] Compiling OpenAPIRuntime CurrencyTypes.swift
[82/114] Compiling OpenAPIRuntime ErrorHandlingMiddleware.swift
[83/114] Compiling OpenAPIRuntime HTTPBody.swift
[84/114] Compiling OpenAPIRuntime ServerTransport.swift
[85/114] Compiling OpenAPIRuntime UniversalClient.swift
[86/114] Compiling OpenAPIRuntime UniversalServer.swift
[87/114] Compiling OpenAPIRuntime MultipartBoundaryGenerator.swift
[88/114] Compiling OpenAPIRuntime MultipartBytesToFramesSequence.swift
[89/114] Compiling OpenAPIRuntime FoundationExtensions.swift
[90/114] Compiling OpenAPIRuntime ParameterStyles.swift
[91/114] Compiling OpenAPIRuntime ServerVariable.swift
[92/114] Compiling OpenAPIRuntime URLExtensions.swift
[93/114] Compiling OpenAPIRuntime Deprecated.swift
[94/114] Compiling OpenAPIRuntime ClientError.swift
[95/114] Compiling OpenAPIRuntime CodingErrors.swift
[96/114] Compiling OpenAPIRuntime RuntimeError.swift
[97/114] Compiling OpenAPIRuntime ServerError.swift
[98/114] Compiling OpenAPIRuntime Acceptable.swift
[99/114] Compiling OpenAPIRuntime Base64EncodedData.swift
[100/114] Compiling OpenAPIRuntime ByteUtilities.swift
[101/114] Compiling OpenAPIRuntime ContentDisposition.swift
[102/114] Compiling OpenAPIRuntime CopyOnWriteBox.swift
[103/114] Compiling OpenAPIRuntime OpenAPIMIMEType.swift
[104/114] Compiling OpenAPIRuntime OpenAPIValue.swift
[105/114] Compiling OpenAPIRuntime PrettyStringConvertible.swift
[106/114] Compiling OpenAPIRuntime UndocumentedPayload.swift
[107/114] Compiling OpenAPIRuntime MultipartFramesToBytesSequence.swift
[108/114] Compiling OpenAPIRuntime MultipartFramesToRawPartsSequence.swift
[109/114] Compiling OpenAPIRuntime MultipartInternalTypes.swift
[110/114] Compiling OpenAPIRuntime MultipartPublicTypes.swift
[111/114] Compiling OpenAPIRuntime MultipartPublicTypesExtensions.swift
[112/114] Compiling OpenAPIRuntime MultipartRawPartsToFramesSequence.swift
[113/114] Compiling OpenAPIRuntime MultipartValidation.swift
[114/114] Compiling OpenAPIRuntime OpenAPIMIMEType+Multipart.swift
[116/122] Compiling OpenAPIURLSession BidirectionalStreamingURLSessionDelegate.swift
[117/122] 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: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) }
[118/122] Compiling OpenAPIURLSession URLSession+Extensions.swift
[119/122] Compiling OpenAPIURLSession HTTPBodyOutputStreamBridge.swift
error: compile command failed due to signal 11 (use -v to see invocation)
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0. Program arguments: /usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/OpenAPIURLSession/BufferedStream/BufferedStream.swift /host/spi-builder-workspace/Sources/OpenAPIURLSession/BufferedStream/Lock.swift /host/spi-builder-workspace/Sources/OpenAPIURLSession/URLSessionBidirectionalStreaming/BidirectionalStreamingURLSessionDelegate.swift /host/spi-builder-workspace/Sources/OpenAPIURLSession/URLSessionBidirectionalStreaming/HTTPBodyOutputStreamBridge.swift /host/spi-builder-workspace/Sources/OpenAPIURLSession/URLSessionBidirectionalStreaming/URLSession+Extensions.swift -primary-file /host/spi-builder-workspace/Sources/OpenAPIURLSession/URLSessionTransport.swift -emit-dependencies-path /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/OpenAPIURLSession.build/URLSessionTransport.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/OpenAPIURLSession.build/URLSessionTransport.swiftdeps -target aarch64-unknown-linux-android24 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot -I /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Modules -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -enable-upcoming-feature ExistentialAny -enable-upcoming-feature MemberImportVisibility -empty-abi-descriptor -resource-dir /root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /host/spi-builder-workspace -Xcc --sysroot -Xcc /root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot -Xcc -fPIC -Xcc -g -Xcc -fno-omit-frame-pointer -module-name OpenAPIURLSession -package-name spi_builder_workspace -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/OpenAPIURLSession.build/URLSessionTransport.swift.o -index-store-path /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/index/store -index-system-modules
1. Swift version 6.1 (swift-6.1-RELEASE)
2. Compiling with effective version 5.10
3. While evaluating request IRGenRequest(IR Generation for file "/host/spi-builder-workspace/Sources/OpenAPIURLSession/URLSessionTransport.swift")
4. While emitting IR SIL function "@$s17OpenAPIURLSession18_standardErrorLock33_849AED48BB8E5D39A6F65399EA95CEAELL_WZ".
for declaration 0x55bcd46f6b10 (at /host/spi-builder-workspace/Sources/OpenAPIURLSession/URLSessionTransport.swift:299:9)
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0 swift-frontend 0x000055bccfe41808
1 swift-frontend 0x000055bccfe3f5ee
2 swift-frontend 0x000055bccfe41ea8
3 libc.so.6 0x00007f90a4b0b520
4 swift-frontend 0x000055bcca10d9d3
5 swift-frontend 0x000055bcca105668
6 swift-frontend 0x000055bcca104ebc
7 swift-frontend 0x000055bcca10cd24
8 swift-frontend 0x000055bcca0837df
9 swift-frontend 0x000055bcca0863d7
10 swift-frontend 0x000055bcca08a396
11 swift-frontend 0x000055bcca256481
12 swift-frontend 0x000055bcca24f1da
13 swift-frontend 0x000055bcca11f40e
14 swift-frontend 0x000055bcc9fe0d48
15 swift-frontend 0x000055bcca04107c
16 swift-frontend 0x000055bcca040fd9
17 swift-frontend 0x000055bcc9fe9837
18 swift-frontend 0x000055bcc9fe2dae
19 swift-frontend 0x000055bcc9c08a96
20 swift-frontend 0x000055bcc9c04c0c
21 swift-frontend 0x000055bcc9c03997
22 swift-frontend 0x000055bcc9c062ba
23 swift-frontend 0x000055bcc9c05713
24 swift-frontend 0x000055bcc99e286a
25 libc.so.6 0x00007f90a4af2d90
26 libc.so.6 0x00007f90a4af2e40 __libc_start_main + 128
27 swift-frontend 0x000055bcc99e1cc5
*** Signal 11: Backtracing from 0x55bcca10d9d3... done ***
*** Program crashed: Bad pointer dereference at 0x0000000000000008 ***
Thread 0 "swift-frontend" crashed:
0 0x000055bcca10d9d3 (anonymous namespace)::ClassLayoutBuilder::addFieldsForClassImpl(swift::ClassDecl*, swift::SILType, swift::ClassDecl*, swift::SILType, bool) + 147 in swift-frontend
Registers:
rax 0x0000000000000000 0
rdx 0x00007ffeeafd9670 90 be fd ea fe 7f 00 00 88 96 fd ea fe 7f 00 00 ·¾ýêþ·····ýêþ···
rcx 0x000055bcd4909718 d2 96 90 d4 bc 55 00 00 00 00 00 00 00 00 00 00 Ò··Ô¼U··········
rbx 0x00007ffeeafd91d8 58 93 fd ea fe 7f 00 00 40 e0 e7 d5 bc 55 00 00 X·ýêþ···@àçÕ¼U··
rsi 0x00007ffeeafd9358 01 2d 83 d4 bc 55 00 00 68 b9 d0 d3 bc 55 00 00 ·-·Ô¼U··h¹ÐÓ¼U··
rdi 0x0000000000000004 4
rbp 0x0000000000000000 0
rsp 0x00007ffeeafd9470 00 00 00 00 00 00 00 00 88 94 fd ea fe 7f 00 00 ··········ýêþ···
r8 0x0000000000000a7c 2684
r9 0x0000000000000001 1
r10 0x00000000d2bd1900 3535608064
r11 0x00007f90a4ce3ce0 b0 b1 02 d6 bc 55 00 00 80 55 0d d5 bc 55 00 00 °±·Ö¼U···U·Õ¼U··
r12 0x000055bcd4918488 f0 b1 93 d3 bc 55 00 00 1c 02 00 08 01 00 00 00 ð±·Ó¼U··········
r13 0x000055bcd3d0b968 2a b9 d0 d3 bc 55 00 00 00 00 00 00 00 00 00 00 *¹ÐÓ¼U··········
r14 0x000055bcd3d0b968 2a b9 d0 d3 bc 55 00 00 00 00 00 00 00 00 00 00 *¹ÐÓ¼U··········
r15 0x00007ffeeafdbe90 40 4a ba d5 bc 55 00 00 70 b8 fd ea fe 7f 00 00 @JºÕ¼U··p¸ýêþ···
rip 0x000055bcca10d9d3 48 8b 4d 08 80 f9 3e 72 25 48 89 e8 90 f7 c1 00 H·M··ù>r%H·è·÷Á·
rflags 0x0000000000010246 ZF PF
cs 0x0033 fs 0x0000 gs 0x0000
Images (110 omitted):
0x000055bcc9115000–0x000055bcd0cfd710 a2f8bf107362d44f046b5d4b0eeadb6d087dfd2b swift-frontend /usr/bin/swift-frontend
Backtrace took 0.40s
BUILD FAILURE 6.1 android