Build Information
Failed to build IPSWDownloads, reference 1.0.2 (2e8ad3), with Swift 6.1 for Android on 17 Sep 2025 16:45:32 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/brightdigit/IPSWDownloads.git
Reference: 1.0.2
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/brightdigit/IPSWDownloads
* tag 1.0.2 -> FETCH_HEAD
HEAD is now at 2e8ad36 Updates for Windows and Swift 6.2 (#50)
Cloned https://github.com/brightdigit/IPSWDownloads.git
Revision (git rev-parse @):
2e8ad36b5f74285dbe104e7ae99f8be0cd06b7b8
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/brightdigit/IPSWDownloads.git at 1.0.2
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/brightdigit/IPSWDownloads.git
https://github.com/brightdigit/IPSWDownloads.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "osver",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/brightdigit/OSVer"
},
{
"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-openapi-urlsession",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-openapi-urlsession"
}
],
"manifest_display_name" : "IPSWDownloads",
"name" : "IPSWDownloads",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "IPSWDownloads",
"targets" : [
"IPSWDownloads"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "IPSWDownloadsTests",
"module_type" : "SwiftTarget",
"name" : "IPSWDownloadsTests",
"path" : "Tests/IPSWDownloadsTests",
"sources" : [
"DataTest.swift",
"IPSWDownloadsTest.swift"
],
"target_dependencies" : [
"IPSWDownloads"
],
"type" : "test"
},
{
"c99name" : "IPSWDownloads",
"module_type" : "SwiftTarget",
"name" : "IPSWDownloads",
"path" : "Sources/IPSWDownloads",
"product_dependencies" : [
"OpenAPIRuntime",
"OpenAPIURLSession",
"OSVer"
],
"product_memberships" : [
"IPSWDownloads"
],
"sources" : [
"Board.swift",
"Data.swift",
"Device.swift",
"Firmware.swift",
"FirmwareType.swift",
"Generated/Client.swift",
"Generated/Types.swift",
"IPSWDownloads.swift",
"RuntimeError.swift",
"URL.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-openapi-urlsession
Fetching https://github.com/apple/swift-openapi-runtime
[1/999] Fetching swift-openapi-urlsession
[1000/6716] Fetching swift-openapi-urlsession, swift-openapi-runtime
Fetching https://github.com/brightdigit/OSVer
Fetched https://github.com/apple/swift-openapi-urlsession from cache (1.16s)
Fetched https://github.com/apple/swift-openapi-runtime from cache (1.19s)
[1/261] Fetching osver
Fetched https://github.com/brightdigit/OSVer from cache (0.33s)
Computing version for https://github.com/brightdigit/OSVer
Computed https://github.com/brightdigit/OSVer at 1.0.0 (1.99s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.8.3 (0.89s)
Fetching https://github.com/apple/swift-http-types
[1/923] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types from cache (0.28s)
Computing version for https://github.com/apple/swift-openapi-urlsession
Computed https://github.com/apple/swift-openapi-urlsession at 1.1.0 (2.77s)
Fetching https://github.com/apple/swift-collections
[1/17466] Fetching swift-collections
Fetched https://github.com/apple/swift-collections from cache (1.24s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.4.0 (1.84s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.2.1 (2.39s)
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-openapi-urlsession
Working copy of https://github.com/apple/swift-openapi-urlsession resolved at 1.1.0
Creating working copy for https://github.com/brightdigit/OSVer
Working copy of https://github.com/brightdigit/OSVer resolved at 1.0.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.3
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.2.1
Building for debugging...
[0/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/37] Compiling HTTPTypes ISOLatin1String.swift
[10/38] Emitting module HTTPTypes
[11/38] Compiling InternalCollectionsUtilities Descriptions.swift
[12/38] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[13/39] Compiling HTTPTypes HTTPResponse.swift
[14/39] Compiling HTTPTypes HTTPRequest.swift
[15/39] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[16/39] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[17/39] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[18/39] Compiling InternalCollectionsUtilities _SortedCollection.swift
[19/39] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[20/39] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[21/39] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[22/39] Compiling InternalCollectionsUtilities UInt+reversed.swift
[23/39] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[24/39] Compiling InternalCollectionsUtilities Integer rank.swift
[25/39] Emitting module InternalCollectionsUtilities
[26/39] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[27/39] Compiling InternalCollectionsUtilities Debugging.swift
[29/40] Compiling HTTPTypes NIOLock.swift
[30/55] Compiling DequeModule Deque+CustomReflectable.swift
[31/55] Compiling DequeModule Deque+Descriptions.swift
[32/57] Compiling DequeModule _DequeBuffer.swift
[33/57] Compiling DequeModule _DequeBufferHeader.swift
[34/57] Compiling DequeModule _DequeSlot.swift
[35/57] Compiling DequeModule _UnsafeWrappedBuffer.swift
[36/57] Compiling DequeModule Deque+Testing.swift
[37/57] Compiling DequeModule Deque._Storage.swift
[38/57] Compiling DequeModule Deque._UnsafeHandle.swift
[39/57] Compiling DequeModule Deque.swift
[40/57] Compiling DequeModule Deque+Extras.swift
[41/57] Compiling DequeModule Deque+Hashable.swift
[42/57] Compiling DequeModule Deque+Equatable.swift
[43/57] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[44/57] Compiling DequeModule Deque+Codable.swift
[45/57] Compiling DequeModule Deque+Collection.swift
[46/57] Emitting module DequeModule
[48/58] Compiling OSVer OSVerParseable.swift
[49/58] Compiling OSVer OSVer.swift
[50/58] Compiling OSVer OSVer+Hashable.swift
[51/58] Emitting module OSVer
[52/58] Compiling OSVer OSVer+CustomStringConvertible.swift
[53/58] Compiling OSVer OSVer+Comparable.swift
[54/58] Compiling OSVer OSVer+Init.swift
[56/59] Compiling HTTPTypes HTTPParsedFields.swift
[57/59] Compiling HTTPTypes HTTPFieldName.swift
[58/59] Compiling HTTPTypes HTTPField.swift
[59/59] Compiling HTTPTypes HTTPFields.swift
[61/121] Compiling OpenAPIRuntime FoundationExtensions.swift
[62/121] Compiling OpenAPIRuntime ParameterStyles.swift
[63/121] Compiling OpenAPIRuntime ServerVariable.swift
[64/121] Compiling OpenAPIRuntime URLExtensions.swift
[65/121] Compiling OpenAPIRuntime Deprecated.swift
[66/121] Compiling OpenAPIRuntime ClientError.swift
[67/121] Compiling OpenAPIRuntime CodingErrors.swift
[68/121] Compiling OpenAPIRuntime RuntimeError.swift
[69/121] Compiling OpenAPIRuntime ServerError.swift
[70/129] Emitting module OpenAPIRuntime
[71/129] Compiling OpenAPIRuntime URICodeCodingKey.swift
[72/129] Compiling OpenAPIRuntime URICoderConfiguration.swift
[73/129] Compiling OpenAPIRuntime URIEncodedNode.swift
[74/129] Compiling OpenAPIRuntime URIParsedTypes.swift
[75/129] Compiling OpenAPIRuntime URIDecoder.swift
[76/129] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Keyed.swift
[77/129] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Single.swift
[78/129] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Unkeyed.swift
[79/129] Compiling OpenAPIRuntime Acceptable.swift
[80/129] Compiling OpenAPIRuntime Base64EncodedData.swift
[81/129] Compiling OpenAPIRuntime ByteUtilities.swift
[82/129] Compiling OpenAPIRuntime ContentDisposition.swift
[83/129] Compiling OpenAPIRuntime CopyOnWriteBox.swift
[84/129] Compiling OpenAPIRuntime OpenAPIMIMEType.swift
[85/129] Compiling OpenAPIRuntime OpenAPIValue.swift
[86/129] Compiling OpenAPIRuntime PrettyStringConvertible.swift
[87/129] Compiling OpenAPIRuntime UndocumentedPayload.swift
[88/129] Compiling OpenAPIRuntime WarningSuppressingAnnotations.swift
[89/129] Compiling OpenAPIRuntime CodableExtensions.swift
[90/129] Compiling OpenAPIRuntime Configuration.swift
[91/129] Compiling OpenAPIRuntime Converter+Client.swift
[92/129] Compiling OpenAPIRuntime Converter+Common.swift
[93/129] Compiling OpenAPIRuntime Converter+Server.swift
[94/129] Compiling OpenAPIRuntime Converter.swift
[95/129] Compiling OpenAPIRuntime CurrencyExtensions.swift
[96/129] Compiling OpenAPIRuntime ErrorExtensions.swift
[97/129] Compiling OpenAPIRuntime MultipartFramesToBytesSequence.swift
[98/129] Compiling OpenAPIRuntime MultipartFramesToRawPartsSequence.swift
[99/129] Compiling OpenAPIRuntime MultipartInternalTypes.swift
[100/129] Compiling OpenAPIRuntime MultipartPublicTypes.swift
[101/129] Compiling OpenAPIRuntime MultipartPublicTypesExtensions.swift
[102/129] Compiling OpenAPIRuntime MultipartRawPartsToFramesSequence.swift
[103/129] Compiling OpenAPIRuntime MultipartValidation.swift
[104/129] Compiling OpenAPIRuntime OpenAPIMIMEType+Multipart.swift
[105/129] Compiling OpenAPIRuntime CurrencyTypes.swift
[106/129] Compiling OpenAPIRuntime ErrorHandlingMiddleware.swift
[107/129] Compiling OpenAPIRuntime HTTPBody.swift
[108/129] Compiling OpenAPIRuntime ServerTransport.swift
[109/129] Compiling OpenAPIRuntime UniversalClient.swift
[110/129] Compiling OpenAPIRuntime UniversalServer.swift
[111/129] Compiling OpenAPIRuntime MultipartBoundaryGenerator.swift
[112/129] Compiling OpenAPIRuntime MultipartBytesToFramesSequence.swift
[113/129] Compiling OpenAPIRuntime JSONLinesDecoding.swift
[114/129] Compiling OpenAPIRuntime JSONLinesEncoding.swift
[115/129] Compiling OpenAPIRuntime JSONSequenceDecoding.swift
[116/129] Compiling OpenAPIRuntime JSONSequenceEncoding.swift
[117/129] Compiling OpenAPIRuntime ServerSentEvents.swift
[118/129] Compiling OpenAPIRuntime ServerSentEventsDecoding.swift
[119/129] Compiling OpenAPIRuntime ServerSentEventsEncoding.swift
[120/129] Compiling OpenAPIRuntime AsyncSequenceCommon.swift
[121/129] Compiling OpenAPIRuntime ClientTransport.swift
[122/129] Compiling OpenAPIRuntime URIValueFromNodeDecoder.swift
[123/129] Compiling OpenAPIRuntime URIEncoder.swift
[124/129] Compiling OpenAPIRuntime URIValueToNodeEncoder+Keyed.swift
[125/129] Compiling OpenAPIRuntime URIValueToNodeEncoder+Single.swift
[126/129] Compiling OpenAPIRuntime URIValueToNodeEncoder+Unkeyed.swift
[127/129] Compiling OpenAPIRuntime URIValueToNodeEncoder.swift
[128/129] Compiling OpenAPIRuntime URIParser.swift
[129/129] Compiling OpenAPIRuntime URISerializer.swift
[131/137] Compiling OpenAPIURLSession BidirectionalStreamingURLSessionDelegate.swift
[132/137] Compiling OpenAPIURLSession HTTPBodyOutputStreamBridge.swift
[133/137] 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) }
[134/137] 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/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/BufferedStream/BufferedStream.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/BufferedStream/Lock.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/URLSessionBidirectionalStreaming/BidirectionalStreamingURLSessionDelegate.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/URLSessionBidirectionalStreaming/HTTPBodyOutputStreamBridge.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/URLSessionBidirectionalStreaming/URLSession+Extensions.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/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 -suppress-warnings -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -stats-output-dir .stats -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 swift_openapi_urlsession -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/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/URLSessionTransport.swift")
4. While emitting IR SIL function "@$s17OpenAPIURLSession18_standardErrorLock33_849AED48BB8E5D39A6F65399EA95CEAELL_WZ".
for declaration 0x55990e276720 (at /host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/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 0x00005599096cb808
1 swift-frontend 0x00005599096c95ee
2 swift-frontend 0x00005599096cbea8
3 libc.so.6 0x00007f1e49244520
4 swift-frontend 0x00005599039979d3
5 swift-frontend 0x000055990398f668
6 swift-frontend 0x000055990398eebc
7 swift-frontend 0x0000559903996d24
8 swift-frontend 0x000055990390d7df
9 swift-frontend 0x00005599039103d7
10 swift-frontend 0x0000559903914396
11 swift-frontend 0x0000559903ae0481
12 swift-frontend 0x0000559903ad91da
13 swift-frontend 0x00005599039a940e
14 swift-frontend 0x000055990386ad48
15 swift-frontend 0x00005599038cb07c
16 swift-frontend 0x00005599038cafd9
17 swift-frontend 0x0000559903873837
18 swift-frontend 0x000055990386cdae
19 swift-frontend 0x0000559903492a96
20 swift-frontend 0x000055990348ec0c
21 swift-frontend 0x000055990348d997
22 swift-frontend 0x00005599034902ba
23 swift-frontend 0x000055990348f713
24 swift-frontend 0x000055990326c86a
25 libc.so.6 0x00007f1e4922bd90
26 libc.so.6 0x00007f1e4922be40 __libc_start_main + 128
27 swift-frontend 0x000055990326bcc5
*** Signal 11: Backtracing from 0x5599039979d3... done ***
*** Program crashed: Bad pointer dereference at 0x0000000000000008 ***
Thread 0 "swift-frontend" crashed:
0 0x00005599039979d3 (anonymous namespace)::ClassLayoutBuilder::addFieldsForClassImpl(swift::ClassDecl*, swift::SILType, swift::ClassDecl*, swift::SILType, bool) + 147 in swift-frontend
Registers:
rax 0x0000000000000000 0
rdx 0x00007ffd46fba5f0 10 ce fb 46 fd 7f 00 00 08 a6 fb 46 fd 7f 00 00 ·ÎûFý····¦ûFý···
rcx 0x000055990e48a778 32 a7 48 0e 99 55 00 00 00 00 00 00 00 00 00 00 2§H··U··········
rbx 0x00007ffd46fba158 d8 a2 fb 46 fd 7f 00 00 10 c6 ef 0e 99 55 00 00 Ø¢ûFý····Æï··U··
rsi 0x00007ffd46fba2d8 01 32 3b 0e 99 55 00 00 68 be 88 0d 99 55 00 00 ·2;··U··h¾···U··
rdi 0x0000000000000004 4
rbp 0x0000000000000000 0
rsp 0x00007ffd46fba3f0 00 00 00 00 00 00 00 00 08 a4 fb 46 fd 7f 00 00 ·········¤ûFý···
r8 0x0000000000000a7c 2684
r9 0x0000000000000001 1
r10 0x000000000c45b900 205895936
r11 0x00007f1e4941cce0 b0 09 bb 0f 99 55 00 00 b0 9b b3 0f 99 55 00 00 °·»··U··°·³··U··
r12 0x000055990e499508 40 86 4b 0d 99 55 00 00 1c 02 00 08 01 00 00 00 @·K··U··········
r13 0x000055990d88be68 2a be 88 0d 99 55 00 00 00 00 00 00 00 00 00 00 *¾···U··········
r14 0x000055990d88be68 2a be 88 0d 99 55 00 00 00 00 00 00 00 00 00 00 *¾···U··········
r15 0x00007ffd46fbce10 40 16 79 0f 99 55 00 00 f0 c7 fb 46 fd 7f 00 00 @·y··U··ðÇûFý···
rip 0x00005599039979d3 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):
0x000055990299f000–0x000055990a587710 a2f8bf107362d44f046b5d4b0eeadb6d087dfd2b swift-frontend /usr/bin/swift-frontend
Backtrace took 0.48s
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
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/30] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[3/31] Compiling OSVer OSVer+Comparable.swift
[4/31] Emitting module OSVer
[5/31] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[6/31] Compiling InternalCollectionsUtilities Debugging.swift
[7/31] Compiling InternalCollectionsUtilities Descriptions.swift
[8/31] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[9/31] Compiling OSVer OSVerParseable.swift
[10/31] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[11/31] Compiling HTTPTypes ISOLatin1String.swift
[12/32] Compiling OSVer OSVer+CustomStringConvertible.swift
[13/32] Compiling OSVer OSVer+Hashable.swift
[14/32] Compiling OSVer OSVer+Init.swift
[15/32] Compiling OSVer OSVer.swift
[17/33] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[18/33] Compiling InternalCollectionsUtilities Integer rank.swift
[19/33] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[20/33] Compiling InternalCollectionsUtilities _SortedCollection.swift
[21/33] Emitting module InternalCollectionsUtilities
[22/33] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[23/33] Compiling InternalCollectionsUtilities UInt+reversed.swift
[24/33] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[25/33] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[26/33] Compiling HTTPTypes NIOLock.swift
[27/34] Compiling HTTPTypes HTTPParsedFields.swift
[28/34] Compiling HTTPTypes HTTPRequest.swift
[29/34] Compiling HTTPTypes HTTPResponse.swift
[31/34] Compiling HTTPTypes HTTPFieldName.swift
[32/34] Emitting module HTTPTypes
[33/34] Compiling HTTPTypes HTTPFields.swift
[34/34] Compiling HTTPTypes HTTPField.swift
[36/50] Compiling DequeModule Deque+CustomReflectable.swift
[37/50] Compiling DequeModule Deque+Descriptions.swift
[38/52] Compiling DequeModule _DequeBuffer.swift
[39/52] Compiling DequeModule _DequeBufferHeader.swift
[40/105] Compiling OpenAPIRuntime OpenAPIValue.swift
[41/105] Compiling OpenAPIRuntime PrettyStringConvertible.swift
[42/105] Compiling OpenAPIRuntime CopyOnWriteBox.swift
[43/105] Compiling OpenAPIRuntime OpenAPIMIMEType.swift
[44/113] Compiling OpenAPIRuntime Converter+Server.swift
[45/113] Compiling OpenAPIRuntime Converter.swift
[46/113] Compiling OpenAPIRuntime ByteUtilities.swift
[47/113] Compiling OpenAPIRuntime ContentDisposition.swift
[48/113] Compiling OpenAPIRuntime UndocumentedPayload.swift
[49/113] Compiling OpenAPIRuntime WarningSuppressingAnnotations.swift
[50/113] Compiling OpenAPIRuntime Converter+Client.swift
[51/113] Compiling OpenAPIRuntime Converter+Common.swift
[52/113] Emitting module DequeModule
[54/114] Compiling OpenAPIRuntime URICodeCodingKey.swift
[55/114] Compiling OpenAPIRuntime URICoderConfiguration.swift
[56/114] Compiling OpenAPIRuntime URIEncodedNode.swift
[57/114] Compiling OpenAPIRuntime URIParsedTypes.swift
[58/114] Compiling OpenAPIRuntime URIDecoder.swift
[59/114] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Keyed.swift
[60/114] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Single.swift
[61/114] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Unkeyed.swift
[62/122] Compiling OpenAPIRuntime Acceptable.swift
[63/122] Compiling OpenAPIRuntime Base64EncodedData.swift
[71/122] Compiling OpenAPIRuntime MultipartFramesToBytesSequence.swift
[72/122] Compiling OpenAPIRuntime MultipartFramesToRawPartsSequence.swift
[73/122] Compiling OpenAPIRuntime MultipartInternalTypes.swift
[74/122] Compiling OpenAPIRuntime MultipartPublicTypes.swift
[75/122] Compiling OpenAPIRuntime MultipartPublicTypesExtensions.swift
[76/122] Compiling OpenAPIRuntime MultipartRawPartsToFramesSequence.swift
[77/122] Compiling OpenAPIRuntime MultipartValidation.swift
[78/122] Compiling OpenAPIRuntime OpenAPIMIMEType+Multipart.swift
[80/122] Compiling OpenAPIRuntime CodableExtensions.swift
[81/122] Compiling OpenAPIRuntime Configuration.swift
[86/122] Compiling OpenAPIRuntime CurrencyExtensions.swift
[87/122] Compiling OpenAPIRuntime ErrorExtensions.swift
[88/122] Compiling OpenAPIRuntime FoundationExtensions.swift
[89/122] Compiling OpenAPIRuntime ParameterStyles.swift
[90/122] Compiling OpenAPIRuntime ServerVariable.swift
[91/122] Compiling OpenAPIRuntime URLExtensions.swift
[92/122] Compiling OpenAPIRuntime Deprecated.swift
[93/122] Compiling OpenAPIRuntime ClientError.swift
[94/122] Compiling OpenAPIRuntime CodingErrors.swift
[95/122] Compiling OpenAPIRuntime RuntimeError.swift
[96/122] Compiling OpenAPIRuntime ServerError.swift
[97/122] Compiling OpenAPIRuntime JSONLinesDecoding.swift
[98/122] Compiling OpenAPIRuntime JSONLinesEncoding.swift
[99/122] Compiling OpenAPIRuntime JSONSequenceDecoding.swift
[100/122] Compiling OpenAPIRuntime JSONSequenceEncoding.swift
[101/122] Compiling OpenAPIRuntime ServerSentEvents.swift
[102/122] Compiling OpenAPIRuntime ServerSentEventsDecoding.swift
[103/122] Compiling OpenAPIRuntime ServerSentEventsEncoding.swift
[104/122] Compiling OpenAPIRuntime AsyncSequenceCommon.swift
[105/122] Compiling OpenAPIRuntime ClientTransport.swift
[106/122] Emitting module OpenAPIRuntime
[107/122] Compiling OpenAPIRuntime CurrencyTypes.swift
[108/122] Compiling OpenAPIRuntime ErrorHandlingMiddleware.swift
[109/122] Compiling OpenAPIRuntime HTTPBody.swift
[110/122] Compiling OpenAPIRuntime ServerTransport.swift
[111/122] Compiling OpenAPIRuntime UniversalClient.swift
[112/122] Compiling OpenAPIRuntime UniversalServer.swift
[113/122] Compiling OpenAPIRuntime MultipartBoundaryGenerator.swift
[114/122] Compiling OpenAPIRuntime MultipartBytesToFramesSequence.swift
[115/122] Compiling OpenAPIRuntime URIValueFromNodeDecoder.swift
[116/122] Compiling OpenAPIRuntime URIEncoder.swift
[117/122] Compiling OpenAPIRuntime URIValueToNodeEncoder+Keyed.swift
[118/122] Compiling OpenAPIRuntime URIValueToNodeEncoder+Single.swift
[119/122] Compiling OpenAPIRuntime URIValueToNodeEncoder+Unkeyed.swift
[120/122] Compiling OpenAPIRuntime URIValueToNodeEncoder.swift
[121/122] Compiling OpenAPIRuntime URIParser.swift
[122/122] Compiling OpenAPIRuntime URISerializer.swift
[124/130] Compiling OpenAPIURLSession BidirectionalStreamingURLSessionDelegate.swift
[125/130] Compiling OpenAPIURLSession HTTPBodyOutputStreamBridge.swift
[126/130] Compiling OpenAPIURLSession URLSession+Extensions.swift
[127/130] 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) }
[128/130] Compiling OpenAPIURLSession BufferedStream.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[129/130] 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) }
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/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/BufferedStream/BufferedStream.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/BufferedStream/Lock.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/URLSessionBidirectionalStreaming/BidirectionalStreamingURLSessionDelegate.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/URLSessionBidirectionalStreaming/HTTPBodyOutputStreamBridge.swift /host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/URLSessionBidirectionalStreaming/URLSession+Extensions.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/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 -suppress-warnings -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 swift_openapi_urlsession -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/.build/checkouts/swift-openapi-urlsession/Sources/OpenAPIURLSession/URLSessionTransport.swift")
4. While emitting IR SIL function "@$s17OpenAPIURLSession18_standardErrorLock33_849AED48BB8E5D39A6F65399EA95CEAELL_WZ".
for declaration 0x558885e46a00 (at /host/spi-builder-workspace/.build/checkouts/swift-openapi-urlsession/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 0x0000558881e63808
1 swift-frontend 0x0000558881e615ee
2 swift-frontend 0x0000558881e63ea8
3 libc.so.6 0x00007ff0da109520
4 swift-frontend 0x000055887c12f9d3
5 swift-frontend 0x000055887c127668
6 swift-frontend 0x000055887c126ebc
7 swift-frontend 0x000055887c12ed24
8 swift-frontend 0x000055887c0a57df
9 swift-frontend 0x000055887c0a83d7
10 swift-frontend 0x000055887c0ac396
11 swift-frontend 0x000055887c278481
12 swift-frontend 0x000055887c2711da
13 swift-frontend 0x000055887c14140e
14 swift-frontend 0x000055887c002d48
15 swift-frontend 0x000055887c06307c
16 swift-frontend 0x000055887c062fd9
17 swift-frontend 0x000055887c00b837
18 swift-frontend 0x000055887c004dae
19 swift-frontend 0x000055887bc2aa96
20 swift-frontend 0x000055887bc26c0c
21 swift-frontend 0x000055887bc25997
22 swift-frontend 0x000055887bc282ba
23 swift-frontend 0x000055887bc27713
24 swift-frontend 0x000055887ba0486a
25 libc.so.6 0x00007ff0da0f0d90
26 libc.so.6 0x00007ff0da0f0e40 __libc_start_main + 128
27 swift-frontend 0x000055887ba03cc5
*** Signal 11: Backtracing from 0x55887c12f9d3... done ***
*** Program crashed: Bad pointer dereference at 0x0000000000000008 ***
Thread 0 "swift-frontend" crashed:
0 0x000055887c12f9d3 (anonymous namespace)::ClassLayoutBuilder::addFieldsForClassImpl(swift::ClassDecl*, swift::SILType, swift::ClassDecl*, swift::SILType, bool) + 147 in swift-frontend
Registers:
rax 0x0000000000000000 0
rdx 0x00007ffd2f2af480 a0 1c 2b 2f fd 7f 00 00 98 f4 2a 2f fd 7f 00 00 ·+/ý····ô*/ý···
rcx 0x000055888605a818 d2 a7 05 86 88 55 00 00 00 00 00 00 00 00 00 00 Ò§···U··········
rbx 0x00007ffd2f2aefe8 68 f1 2a 2f fd 7f 00 00 40 8b 06 86 88 55 00 00 hñ*/ý···@····U··
rsi 0x00007ffd2f2af168 01 2f f8 85 88 55 00 00 b8 be 45 85 88 55 00 00 ·/ø··U··¸¾E··U··
rdi 0x0000000000000004 4
rbp 0x0000000000000000 0
rsp 0x00007ffd2f2af280 00 00 00 00 00 00 00 00 98 f2 2a 2f fd 7f 00 00 ·········ò*/ý···
r8 0x0000000000000a7c 2684
r9 0x0000000000000001 1
r10 0x0000000084bf3900 2227124480
r11 0x00007ff0da2e1ce0 90 eb 77 87 88 55 00 00 10 f8 72 87 88 55 00 00 ·ëw··U···ør··U··
r12 0x0000558886069478 c0 b4 08 85 88 55 00 00 1c 02 00 08 01 00 00 00 À´···U··········
r13 0x000055888545beb8 7a be 45 85 88 55 00 00 00 00 00 00 00 00 00 00 z¾E··U··········
r14 0x000055888545beb8 7a be 45 85 88 55 00 00 00 00 00 00 00 00 00 00 z¾E··U··········
r15 0x00007ffd2f2b1ca0 b0 ca 78 86 88 55 00 00 80 16 2b 2f fd 7f 00 00 °Êx··U····+/ý···
rip 0x000055887c12f9d3 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):
0x000055887b137000–0x0000558882d1f710 a2f8bf107362d44f046b5d4b0eeadb6d087dfd2b swift-frontend /usr/bin/swift-frontend
Backtrace took 0.37s
BUILD FAILURE 6.1 android