Build Information
Failed to build IPSWDownloads, reference main (2e8ad3), with Swift 6.1 for Android on 17 Sep 2025 16:44:58 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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: 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/brightdigit/IPSWDownloads
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
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-4606859-2":/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-runtime
Fetching https://github.com/brightdigit/OSVer
Fetching https://github.com/apple/swift-openapi-urlsession
[1/999] Fetching swift-openapi-urlsession
[71/6716] Fetching swift-openapi-urlsession, swift-openapi-runtime
[72/6977] Fetching swift-openapi-urlsession, swift-openapi-runtime, osver
[5050/6716] Fetching swift-openapi-urlsession, swift-openapi-runtime
Fetched https://github.com/brightdigit/OSVer from cache (0.30s)
Fetched https://github.com/apple/swift-openapi-urlsession from cache (0.30s)
[4288/5717] Fetching swift-openapi-runtime
Fetched https://github.com/apple/swift-openapi-runtime from cache (0.46s)
Computing version for https://github.com/brightdigit/OSVer
Computed https://github.com/brightdigit/OSVer at 1.0.0 (1.03s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.8.3 (0.65s)
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.27s)
Computing version for https://github.com/apple/swift-openapi-urlsession
Computed https://github.com/apple/swift-openapi-urlsession at 1.1.0 (2.96s)
Fetching https://github.com/apple/swift-collections
[1/17466] Fetching swift-collections
Fetched https://github.com/apple/swift-collections from cache (1.36s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.4.0 (2.27s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.2.1 (1.30s)
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.1
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-openapi-urlsession
Working copy of https://github.com/apple/swift-openapi-urlsession resolved at 1.1.0
Building for debugging...
[0/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/37] Emitting module InternalCollectionsUtilities
[10/38] Emitting module HTTPTypes
[11/39] Compiling InternalCollectionsUtilities Descriptions.swift
[12/39] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[13/39] Compiling HTTPTypes HTTPParsedFields.swift
[14/39] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[15/39] Compiling HTTPTypes HTTPResponse.swift
[16/39] Compiling HTTPTypes HTTPRequest.swift
[17/39] Compiling HTTPTypes ISOLatin1String.swift
[18/39] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[19/39] Compiling InternalCollectionsUtilities UInt+reversed.swift
[20/39] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[21/39] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[22/39] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[23/39] Compiling InternalCollectionsUtilities Integer rank.swift
[24/39] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[25/39] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[26/39] Compiling InternalCollectionsUtilities _SortedCollection.swift
[27/39] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[28/39] Compiling InternalCollectionsUtilities Debugging.swift
[29/40] Compiling HTTPTypes NIOLock.swift
[31/55] Compiling DequeModule Deque+CustomReflectable.swift
[32/55] Compiling DequeModule Deque+Descriptions.swift
[33/57] Compiling DequeModule Deque+Equatable.swift
[34/57] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[35/57] Compiling DequeModule _DequeBuffer.swift
[36/57] Compiling DequeModule _DequeBufferHeader.swift
[37/57] Compiling OSVer OSVerParseable.swift
[38/57] Compiling DequeModule Deque+Testing.swift
[39/57] Compiling DequeModule Deque._Storage.swift
[40/57] Compiling OSVer OSVer+Comparable.swift
[41/57] Compiling OSVer OSVer+CustomStringConvertible.swift
[42/57] Emitting module OSVer
[43/57] Compiling DequeModule Deque+Extras.swift
[44/57] Compiling DequeModule Deque+Hashable.swift
[45/57] Compiling DequeModule _DequeSlot.swift
[46/57] Compiling DequeModule _UnsafeWrappedBuffer.swift
[47/57] Compiling DequeModule Deque._UnsafeHandle.swift
[48/57] Compiling DequeModule Deque.swift
[49/57] Compiling DequeModule Deque+Codable.swift
[50/57] Compiling DequeModule Deque+Collection.swift
[51/57] Emitting module DequeModule
[53/58] Compiling OSVer OSVer+Hashable.swift
[54/58] Compiling OSVer OSVer+Init.swift
[55/58] Compiling OSVer OSVer.swift
[57/59] Compiling HTTPTypes HTTPFields.swift
[58/59] Compiling HTTPTypes HTTPField.swift
[59/59] Compiling HTTPTypes HTTPFieldName.swift
[61/121] Emitting module OpenAPIRuntime
[62/129] Compiling OpenAPIRuntime FoundationExtensions.swift
[63/129] Compiling OpenAPIRuntime ParameterStyles.swift
[64/129] Compiling OpenAPIRuntime ServerVariable.swift
[65/129] Compiling OpenAPIRuntime URLExtensions.swift
[66/129] Compiling OpenAPIRuntime Deprecated.swift
[67/129] Compiling OpenAPIRuntime ClientError.swift
[68/129] Compiling OpenAPIRuntime CodingErrors.swift
[69/129] Compiling OpenAPIRuntime RuntimeError.swift
[70/129] Compiling OpenAPIRuntime ServerError.swift
[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 WarningSuppressingAnnotations.swift
[80/129] Compiling OpenAPIRuntime CodableExtensions.swift
[81/129] Compiling OpenAPIRuntime Configuration.swift
[82/129] Compiling OpenAPIRuntime Converter+Client.swift
[83/129] Compiling OpenAPIRuntime Converter+Common.swift
[84/129] Compiling OpenAPIRuntime Converter+Server.swift
[85/129] Compiling OpenAPIRuntime Converter.swift
[86/129] Compiling OpenAPIRuntime CurrencyExtensions.swift
[87/129] Compiling OpenAPIRuntime ErrorExtensions.swift
[88/129] Compiling OpenAPIRuntime Acceptable.swift
[89/129] Compiling OpenAPIRuntime Base64EncodedData.swift
[90/129] Compiling OpenAPIRuntime ByteUtilities.swift
[91/129] Compiling OpenAPIRuntime ContentDisposition.swift
[92/129] Compiling OpenAPIRuntime CopyOnWriteBox.swift
[93/129] Compiling OpenAPIRuntime OpenAPIMIMEType.swift
[94/129] Compiling OpenAPIRuntime OpenAPIValue.swift
[95/129] Compiling OpenAPIRuntime PrettyStringConvertible.swift
[96/129] Compiling OpenAPIRuntime UndocumentedPayload.swift
[97/129] Compiling OpenAPIRuntime CurrencyTypes.swift
[98/129] Compiling OpenAPIRuntime ErrorHandlingMiddleware.swift
[99/129] Compiling OpenAPIRuntime HTTPBody.swift
[100/129] Compiling OpenAPIRuntime ServerTransport.swift
[101/129] Compiling OpenAPIRuntime UniversalClient.swift
[102/129] Compiling OpenAPIRuntime UniversalServer.swift
[103/129] Compiling OpenAPIRuntime MultipartBoundaryGenerator.swift
[104/129] Compiling OpenAPIRuntime MultipartBytesToFramesSequence.swift
[105/129] Compiling OpenAPIRuntime JSONLinesDecoding.swift
[106/129] Compiling OpenAPIRuntime JSONLinesEncoding.swift
[107/129] Compiling OpenAPIRuntime JSONSequenceDecoding.swift
[108/129] Compiling OpenAPIRuntime JSONSequenceEncoding.swift
[109/129] Compiling OpenAPIRuntime ServerSentEvents.swift
[110/129] Compiling OpenAPIRuntime ServerSentEventsDecoding.swift
[111/129] Compiling OpenAPIRuntime ServerSentEventsEncoding.swift
[112/129] Compiling OpenAPIRuntime AsyncSequenceCommon.swift
[113/129] Compiling OpenAPIRuntime ClientTransport.swift
[114/129] Compiling OpenAPIRuntime MultipartFramesToBytesSequence.swift
[115/129] Compiling OpenAPIRuntime MultipartFramesToRawPartsSequence.swift
[116/129] Compiling OpenAPIRuntime MultipartInternalTypes.swift
[117/129] Compiling OpenAPIRuntime MultipartPublicTypes.swift
[118/129] Compiling OpenAPIRuntime MultipartPublicTypesExtensions.swift
[119/129] Compiling OpenAPIRuntime MultipartRawPartsToFramesSequence.swift
[120/129] Compiling OpenAPIRuntime MultipartValidation.swift
[121/129] Compiling OpenAPIRuntime OpenAPIMIMEType+Multipart.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 0x5570a4fe8720 (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 0x000055709f939808
1 swift-frontend 0x000055709f9375ee
2 swift-frontend 0x000055709f939ea8
3 libc.so.6 0x00007fe84f8a0520
4 swift-frontend 0x0000557099c059d3
5 swift-frontend 0x0000557099bfd668
6 swift-frontend 0x0000557099bfcebc
7 swift-frontend 0x0000557099c04d24
8 swift-frontend 0x0000557099b7b7df
9 swift-frontend 0x0000557099b7e3d7
10 swift-frontend 0x0000557099b82396
11 swift-frontend 0x0000557099d4e481
12 swift-frontend 0x0000557099d471da
13 swift-frontend 0x0000557099c1740e
14 swift-frontend 0x0000557099ad8d48
15 swift-frontend 0x0000557099b3907c
16 swift-frontend 0x0000557099b38fd9
17 swift-frontend 0x0000557099ae1837
18 swift-frontend 0x0000557099adadae
19 swift-frontend 0x0000557099700a96
20 swift-frontend 0x00005570996fcc0c
21 swift-frontend 0x00005570996fb997
22 swift-frontend 0x00005570996fe2ba
23 swift-frontend 0x00005570996fd713
24 swift-frontend 0x00005570994da86a
25 libc.so.6 0x00007fe84f887d90
26 libc.so.6 0x00007fe84f887e40 __libc_start_main + 128
27 swift-frontend 0x00005570994d9cc5
*** Signal 11: Backtracing from 0x557099c059d3... done ***
*** Program crashed: Bad pointer dereference at 0x0000000000000008 ***
Thread 0 "swift-frontend" crashed:
0 0x0000557099c059d3 (anonymous namespace)::ClassLayoutBuilder::addFieldsForClassImpl(swift::ClassDecl*, swift::SILType, swift::ClassDecl*, swift::SILType, bool) + 147 in swift-frontend
Registers:
rax 0x0000000000000000 0
rdx 0x00007fffe9bc8230 50 aa bc e9 ff 7f 00 00 48 82 bc e9 ff 7f 00 00 Pª¼éÿ···H·¼éÿ···
rcx 0x00005570a51fb688 42 b6 1f a5 70 55 00 00 00 00 00 00 00 00 00 00 B¶·¥pU··········
rbx 0x00007fffe9bc7d98 18 7f bc e9 ff 7f 00 00 50 28 77 a6 70 55 00 00 ··¼éÿ···P(w¦pU··
rsi 0x00007fffe9bc7f18 01 52 12 a5 70 55 00 00 68 de 5f a4 70 55 00 00 ·R·¥pU··hÞ_¤pU··
rdi 0x0000000000000004 4
rbp 0x0000000000000000 0
rsp 0x00007fffe9bc8030 00 00 00 00 00 00 00 00 48 80 bc e9 ff 7f 00 00 ········H·¼éÿ···
r8 0x0000000000000a7c 2684
r9 0x0000000000000001 1
r10 0x00000000a26c9900 2725026048
r11 0x00007fe84fa78ce0 c0 03 92 a6 70 55 00 00 40 10 8d a6 70 55 00 00 À··¦pU··@··¦pU··
r12 0x00005570a520a458 40 a6 22 a4 70 55 00 00 1c 02 00 08 01 00 00 00 @¦"¤pU··········
r13 0x00005570a45fde68 2a de 5f a4 70 55 00 00 00 00 00 00 00 00 00 00 *Þ_¤pU··········
r14 0x00005570a45fde68 2a de 5f a4 70 55 00 00 00 00 00 00 00 00 00 00 *Þ_¤pU··········
r15 0x00007fffe9bcaa50 60 dd 4b a6 70 55 00 00 30 a4 bc e9 ff 7f 00 00 `ÝK¦pU··0¤¼éÿ···
rip 0x0000557099c059d3 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):
0x0000557098c0d000–0x00005570a07f5710 a2f8bf107362d44f046b5d4b0eeadb6d087dfd2b swift-frontend /usr/bin/swift-frontend
Backtrace took 0.42s
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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 OSVer OSVer+Init.swift
[3/30] Compiling OSVer OSVer+Hashable.swift
[4/30] Compiling OSVer OSVer+CustomStringConvertible.swift
[5/30] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[6/30] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[7/30] Compiling InternalCollectionsUtilities Debugging.swift
[8/30] Compiling InternalCollectionsUtilities Descriptions.swift
[9/30] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[10/30] Emitting module OSVer
[11/30] Compiling OSVer OSVer+Comparable.swift
[12/31] Compiling OSVer OSVerParseable.swift
[13/31] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[14/31] Compiling OSVer OSVer.swift
[15/31] Compiling HTTPTypes ISOLatin1String.swift
[16/31] Compiling HTTPTypes HTTPFieldName.swift
[17/31] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[18/31] Compiling InternalCollectionsUtilities Integer rank.swift
[19/33] Emitting module InternalCollectionsUtilities
[20/33] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[21/33] Compiling InternalCollectionsUtilities UInt+reversed.swift
[22/33] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[23/33] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[25/33] Compiling HTTPTypes HTTPField.swift
[26/33] Emitting module HTTPTypes
[27/33] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[28/33] Compiling InternalCollectionsUtilities _SortedCollection.swift
[30/34] Compiling HTTPTypes NIOLock.swift
[31/34] Compiling HTTPTypes HTTPParsedFields.swift
[32/34] Compiling HTTPTypes HTTPRequest.swift
[33/34] Compiling HTTPTypes HTTPResponse.swift
[34/34] Compiling HTTPTypes HTTPFields.swift
[36/50] Compiling DequeModule _DequeBuffer.swift
[37/50] Compiling DequeModule _DequeBufferHeader.swift
[38/52] Compiling DequeModule Deque+Extras.swift
[39/52] Compiling DequeModule Deque+Hashable.swift
[40/52] Compiling DequeModule Deque+Equatable.swift
[41/52] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[42/52] Compiling DequeModule Deque+Testing.swift
[43/52] Compiling DequeModule Deque._Storage.swift
[44/52] Compiling DequeModule Deque._UnsafeHandle.swift
[45/52] Compiling DequeModule Deque.swift
[46/52] Compiling DequeModule _DequeSlot.swift
[47/52] Compiling DequeModule _UnsafeWrappedBuffer.swift
[48/52] Compiling DequeModule Deque+Codable.swift
[49/52] Compiling DequeModule Deque+Collection.swift
[50/52] Compiling DequeModule Deque+CustomReflectable.swift
[51/52] Compiling DequeModule Deque+Descriptions.swift
[52/52] Emitting module DequeModule
[54/114] Compiling OpenAPIRuntime CurrencyTypes.swift
[55/114] Compiling OpenAPIRuntime ErrorHandlingMiddleware.swift
[56/114] Compiling OpenAPIRuntime HTTPBody.swift
[57/114] Compiling OpenAPIRuntime ServerTransport.swift
[58/114] Compiling OpenAPIRuntime UniversalClient.swift
[59/114] Compiling OpenAPIRuntime UniversalServer.swift
[60/114] Compiling OpenAPIRuntime MultipartBoundaryGenerator.swift
[61/114] Compiling OpenAPIRuntime MultipartBytesToFramesSequence.swift
[62/114] Compiling OpenAPIRuntime FoundationExtensions.swift
[63/114] Compiling OpenAPIRuntime ParameterStyles.swift
[64/114] Compiling OpenAPIRuntime ServerVariable.swift
[65/114] Compiling OpenAPIRuntime URLExtensions.swift
[66/114] Compiling OpenAPIRuntime Deprecated.swift
[67/114] Compiling OpenAPIRuntime ClientError.swift
[68/114] Compiling OpenAPIRuntime CodingErrors.swift
[69/114] Compiling OpenAPIRuntime RuntimeError.swift
[70/114] Compiling OpenAPIRuntime ServerError.swift
[71/122] Emitting module OpenAPIRuntime
[72/122] Compiling OpenAPIRuntime Acceptable.swift
[73/122] Compiling OpenAPIRuntime Base64EncodedData.swift
[74/122] Compiling OpenAPIRuntime ByteUtilities.swift
[75/122] Compiling OpenAPIRuntime ContentDisposition.swift
[76/122] Compiling OpenAPIRuntime CopyOnWriteBox.swift
[77/122] Compiling OpenAPIRuntime OpenAPIMIMEType.swift
[78/122] Compiling OpenAPIRuntime OpenAPIValue.swift
[79/122] Compiling OpenAPIRuntime PrettyStringConvertible.swift
[80/122] Compiling OpenAPIRuntime UndocumentedPayload.swift
[81/122] Compiling OpenAPIRuntime URICodeCodingKey.swift
[82/122] Compiling OpenAPIRuntime URICoderConfiguration.swift
[83/122] Compiling OpenAPIRuntime URIEncodedNode.swift
[84/122] Compiling OpenAPIRuntime URIParsedTypes.swift
[85/122] Compiling OpenAPIRuntime URIDecoder.swift
[86/122] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Keyed.swift
[87/122] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Single.swift
[88/122] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Unkeyed.swift
[89/122] Compiling OpenAPIRuntime JSONLinesDecoding.swift
[90/122] Compiling OpenAPIRuntime JSONLinesEncoding.swift
[91/122] Compiling OpenAPIRuntime JSONSequenceDecoding.swift
[92/122] Compiling OpenAPIRuntime JSONSequenceEncoding.swift
[93/122] Compiling OpenAPIRuntime ServerSentEvents.swift
[94/122] Compiling OpenAPIRuntime ServerSentEventsDecoding.swift
[95/122] Compiling OpenAPIRuntime ServerSentEventsEncoding.swift
[96/122] Compiling OpenAPIRuntime AsyncSequenceCommon.swift
[97/122] Compiling OpenAPIRuntime ClientTransport.swift
[98/122] Compiling OpenAPIRuntime WarningSuppressingAnnotations.swift
[99/122] Compiling OpenAPIRuntime CodableExtensions.swift
[100/122] Compiling OpenAPIRuntime Configuration.swift
[101/122] Compiling OpenAPIRuntime Converter+Client.swift
[102/122] Compiling OpenAPIRuntime Converter+Common.swift
[103/122] Compiling OpenAPIRuntime Converter+Server.swift
[104/122] Compiling OpenAPIRuntime Converter.swift
[105/122] Compiling OpenAPIRuntime CurrencyExtensions.swift
[106/122] Compiling OpenAPIRuntime ErrorExtensions.swift
[107/122] Compiling OpenAPIRuntime MultipartFramesToBytesSequence.swift
[108/122] Compiling OpenAPIRuntime MultipartFramesToRawPartsSequence.swift
[109/122] Compiling OpenAPIRuntime MultipartInternalTypes.swift
[110/122] Compiling OpenAPIRuntime MultipartPublicTypes.swift
[111/122] Compiling OpenAPIRuntime MultipartPublicTypesExtensions.swift
[112/122] Compiling OpenAPIRuntime MultipartRawPartsToFramesSequence.swift
[113/122] Compiling OpenAPIRuntime MultipartValidation.swift
[114/122] Compiling OpenAPIRuntime OpenAPIMIMEType+Multipart.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 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) }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[126/130] Compiling OpenAPIURLSession BufferedStream.swift
[127/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) }
[128/130] Compiling OpenAPIURLSession HTTPBodyOutputStreamBridge.swift
error: compile command failed due to signal 11 (use -v to see invocation)
[129/130] Compiling OpenAPIURLSession URLSession+Extensions.swift
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 0x55664c7caa00 (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 0x00005566475cb808
1 swift-frontend 0x00005566475c95ee
2 swift-frontend 0x00005566475cbea8
3 libc.so.6 0x00007f3fe7db4520
4 swift-frontend 0x00005566418979d3
5 swift-frontend 0x000055664188f668
6 swift-frontend 0x000055664188eebc
7 swift-frontend 0x0000556641896d24
8 swift-frontend 0x000055664180d7df
9 swift-frontend 0x00005566418103d7
10 swift-frontend 0x0000556641814396
11 swift-frontend 0x00005566419e0481
12 swift-frontend 0x00005566419d91da
13 swift-frontend 0x00005566418a940e
14 swift-frontend 0x000055664176ad48
15 swift-frontend 0x00005566417cb07c
16 swift-frontend 0x00005566417cafd9
17 swift-frontend 0x0000556641773837
18 swift-frontend 0x000055664176cdae
19 swift-frontend 0x0000556641392a96
20 swift-frontend 0x000055664138ec0c
21 swift-frontend 0x000055664138d997
22 swift-frontend 0x00005566413902ba
23 swift-frontend 0x000055664138f713
24 swift-frontend 0x000055664116c86a
25 libc.so.6 0x00007f3fe7d9bd90
26 libc.so.6 0x00007f3fe7d9be40 __libc_start_main + 128
27 swift-frontend 0x000055664116bcc5
*** Signal 11: Backtracing from 0x5566418979d3... done ***
*** Program crashed: Bad pointer dereference at 0x0000000000000008 ***
Thread 0 "swift-frontend" crashed:
0 0x00005566418979d3 (anonymous namespace)::ClassLayoutBuilder::addFieldsForClassImpl(swift::ClassDecl*, swift::SILType, swift::ClassDecl*, swift::SILType, bool) + 147 in swift-frontend
Registers:
rax 0x0000000000000000 0
rdx 0x00007ffd8c1473c0 e0 9b 14 8c fd 7f 00 00 d8 73 14 8c fd 7f 00 00 à···ý···Øs··ý···
rcx 0x000055664c9dd348 02 d3 9d 4c 66 55 00 00 00 00 00 00 00 00 00 00 ·Ó·LfU··········
rbx 0x00007ffd8c146f28 a8 70 14 8c fd 7f 00 00 70 49 f5 4d 66 55 00 00 ¨p··ý···pIõMfU··
rsi 0x00007ffd8c1470a8 01 6f 90 4c 66 55 00 00 b8 fe dd 4b 66 55 00 00 ·o·LfU··¸þÝKfU··
rdi 0x0000000000000004 4
rbp 0x0000000000000000 0
rsp 0x00007ffd8c1471c0 00 00 00 00 00 00 00 00 d8 71 14 8c fd 7f 00 00 ········Øq··ý···
r8 0x0000000000000a7c 2684
r9 0x0000000000000001 1
r10 0x000000004a35b900 1245034752
r11 0x00007f3fe7f8cce0 40 1e 10 4e 66 55 00 00 10 bf 08 4e 66 55 00 00 @··NfU···¿·NfU··
r12 0x000055664c9ec028 c0 f4 a0 4b 66 55 00 00 1c 02 00 08 01 00 00 00 Àô KfU··········
r13 0x000055664bddfeb8 7a fe dd 4b 66 55 00 00 00 00 00 00 00 00 00 00 zþÝKfU··········
r14 0x000055664bddfeb8 7a fe dd 4b 66 55 00 00 00 00 00 00 00 00 00 00 zþÝKfU··········
r15 0x00007ffd8c149be0 a0 ac 70 4d 66 55 00 00 c0 95 14 8c fd 7f 00 00 ¬pMfU··À···ý···
rip 0x00005566418979d3 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):
0x000055664089f000–0x0000556648487710 a2f8bf107362d44f046b5d4b0eeadb6d087dfd2b swift-frontend /usr/bin/swift-frontend
Backtrace took 0.31s
BUILD FAILURE 6.1 android