The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build logging-middleware-oslog, reference main (52150c), with Swift 6.1 for Android on 30 May 2025 18:16:23 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/laconicman/OSLogLoggingMiddleware.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/laconicman/OSLogLoggingMiddleware
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 52150c4 REFACTOR: Delete unnecessary code
Cloned https://github.com/laconicman/OSLogLoggingMiddleware.git
Revision (git rev-parse @):
52150c4b254f71765f197c42b9064fd7518c3a17
SUCCESS checkout https://github.com/laconicman/OSLogLoggingMiddleware.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/laconicman/OSLogLoggingMiddleware.git
https://github.com/laconicman/OSLogLoggingMiddleware.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "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"
    },
    {
      "identity" : "swift-http-types",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-http-types"
    }
  ],
  "manifest_display_name" : "logging-middleware-oslog",
  "name" : "logging-middleware-oslog",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "OSLogLoggingMiddleware",
      "targets" : [
        "OSLogLoggingMiddleware"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OSLogLoggingMiddlewareTests",
      "module_type" : "SwiftTarget",
      "name" : "OSLogLoggingMiddlewareTests",
      "path" : "Tests/OSLogLoggingMiddlewareTests",
      "sources" : [
        "OSLogLoggingMiddlewareTests.swift"
      ],
      "target_dependencies" : [
        "OSLogLoggingMiddleware"
      ],
      "type" : "test"
    },
    {
      "c99name" : "OSLogLoggingMiddleware",
      "module_type" : "SwiftTarget",
      "name" : "OSLogLoggingMiddleware",
      "path" : "Sources/OSLogLoggingMiddleware",
      "product_dependencies" : [
        "OpenAPIURLSession",
        "HTTPTypes"
      ],
      "product_memberships" : [
        "OSLogLoggingMiddleware"
      ],
      "sources" : [
        "OSLogLoggingMiddleware.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-openapi-urlsession
Fetching https://github.com/apple/swift-http-types
[1/904] Fetching swift-http-types
[905/1865] Fetching swift-http-types, swift-openapi-urlsession
Fetched https://github.com/apple/swift-openapi-urlsession from cache (0.67s)
Fetched https://github.com/apple/swift-http-types from cache (0.67s)
Computing version for https://github.com/apple/swift-openapi-urlsession
Computed https://github.com/apple/swift-openapi-urlsession at 1.1.0 (2.91s)
Fetching https://github.com/apple/swift-openapi-runtime
Fetching https://github.com/apple/swift-collections
[1/5679] Fetching swift-openapi-runtime
[5680/22270] Fetching swift-openapi-runtime, swift-collections
Fetched https://github.com/apple/swift-openapi-runtime from cache (1.23s)
Fetched https://github.com/apple/swift-collections from cache (1.25s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.8.2 (1.74s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.4.0 (0.49s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.2.0 (0.63s)
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-runtime
Working copy of https://github.com/apple/swift-openapi-runtime resolved at 1.8.2
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-openapi-urlsession
Working copy of https://github.com/apple/swift-openapi-urlsession resolved at 1.1.0
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/29] Emitting module InternalCollectionsUtilities
[9/30] Compiling InternalCollectionsUtilities Descriptions.swift
[10/30] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[11/30] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[12/30] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[13/30] Compiling InternalCollectionsUtilities _SortedCollection.swift
[14/30] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[15/30] Compiling InternalCollectionsUtilities Debugging.swift
[16/30] Compiling HTTPTypes ISOLatin1String.swift
[17/31] Compiling HTTPTypes HTTPParsedFields.swift
[18/31] Compiling HTTPTypes HTTPRequest.swift
[19/31] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[20/31] Compiling HTTPTypes HTTPResponse.swift
[21/31] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[22/31] Compiling InternalCollectionsUtilities UInt+reversed.swift
[23/31] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[24/31] Compiling InternalCollectionsUtilities Integer rank.swift
[25/31] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[26/31] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[27/32] Compiling HTTPTypes NIOLock.swift
[29/47] Compiling DequeModule Deque+CustomReflectable.swift
[30/47] Compiling DequeModule Deque+Descriptions.swift
[31/47] Compiling DequeModule Deque+Equatable.swift
[32/47] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[33/49] Compiling DequeModule Deque+Extras.swift
[34/49] Compiling DequeModule Deque+Hashable.swift
[35/49] Compiling DequeModule _DequeBuffer.swift
[36/49] Compiling DequeModule _DequeBufferHeader.swift
[37/49] Compiling DequeModule Deque+Testing.swift
[38/49] Compiling DequeModule Deque._Storage.swift
[39/49] Compiling DequeModule Deque._UnsafeHandle.swift
[40/49] Compiling DequeModule Deque.swift
[41/49] Compiling DequeModule _DequeSlot.swift
[42/49] Compiling DequeModule _UnsafeWrappedBuffer.swift
[43/49] Compiling DequeModule Deque+Codable.swift
[44/49] Compiling DequeModule Deque+Collection.swift
[45/49] Emitting module DequeModule
[47/50] Compiling HTTPTypes HTTPFieldName.swift
[48/50] Compiling HTTPTypes HTTPField.swift
[49/50] Emitting module HTTPTypes
[50/50] Compiling HTTPTypes HTTPFields.swift
[52/112] Emitting module OpenAPIRuntime
[53/120] Compiling OpenAPIRuntime URICodeCodingKey.swift
[54/120] Compiling OpenAPIRuntime URICoderConfiguration.swift
[55/120] Compiling OpenAPIRuntime URIEncodedNode.swift
[56/120] Compiling OpenAPIRuntime URIParsedTypes.swift
[57/120] Compiling OpenAPIRuntime URIDecoder.swift
[58/120] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Keyed.swift
[59/120] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Single.swift
[60/120] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Unkeyed.swift
[61/120] Compiling OpenAPIRuntime MultipartFramesToBytesSequence.swift
[62/120] Compiling OpenAPIRuntime MultipartFramesToRawPartsSequence.swift
[63/120] Compiling OpenAPIRuntime MultipartInternalTypes.swift
[64/120] Compiling OpenAPIRuntime MultipartPublicTypes.swift
[65/120] Compiling OpenAPIRuntime MultipartPublicTypesExtensions.swift
[66/120] Compiling OpenAPIRuntime MultipartRawPartsToFramesSequence.swift
[67/120] Compiling OpenAPIRuntime MultipartValidation.swift
[68/120] Compiling OpenAPIRuntime OpenAPIMIMEType+Multipart.swift
[69/120] Compiling OpenAPIRuntime WarningSuppressingAnnotations.swift
[70/120] Compiling OpenAPIRuntime CodableExtensions.swift
[71/120] Compiling OpenAPIRuntime Configuration.swift
[72/120] Compiling OpenAPIRuntime Converter+Client.swift
[73/120] Compiling OpenAPIRuntime Converter+Common.swift
[74/120] Compiling OpenAPIRuntime Converter+Server.swift
[75/120] Compiling OpenAPIRuntime Converter.swift
[76/120] Compiling OpenAPIRuntime CurrencyExtensions.swift
[77/120] Compiling OpenAPIRuntime ErrorExtensions.swift
[78/120] Compiling OpenAPIRuntime Acceptable.swift
[79/120] Compiling OpenAPIRuntime Base64EncodedData.swift
[80/120] Compiling OpenAPIRuntime ByteUtilities.swift
[81/120] Compiling OpenAPIRuntime ContentDisposition.swift
[82/120] Compiling OpenAPIRuntime CopyOnWriteBox.swift
[83/120] Compiling OpenAPIRuntime OpenAPIMIMEType.swift
[84/120] Compiling OpenAPIRuntime OpenAPIValue.swift
[85/120] Compiling OpenAPIRuntime PrettyStringConvertible.swift
[86/120] Compiling OpenAPIRuntime UndocumentedPayload.swift
[87/120] Compiling OpenAPIRuntime CurrencyTypes.swift
[88/120] Compiling OpenAPIRuntime ErrorHandlingMiddleware.swift
[89/120] Compiling OpenAPIRuntime HTTPBody.swift
[90/120] Compiling OpenAPIRuntime ServerTransport.swift
[91/120] Compiling OpenAPIRuntime UniversalClient.swift
[92/120] Compiling OpenAPIRuntime UniversalServer.swift
[93/120] Compiling OpenAPIRuntime MultipartBoundaryGenerator.swift
[94/120] Compiling OpenAPIRuntime MultipartBytesToFramesSequence.swift
[95/120] Compiling OpenAPIRuntime FoundationExtensions.swift
[96/120] Compiling OpenAPIRuntime ParameterStyles.swift
[97/120] Compiling OpenAPIRuntime ServerVariable.swift
[98/120] Compiling OpenAPIRuntime URLExtensions.swift
[99/120] Compiling OpenAPIRuntime Deprecated.swift
[100/120] Compiling OpenAPIRuntime ClientError.swift
[101/120] Compiling OpenAPIRuntime CodingErrors.swift
[102/120] Compiling OpenAPIRuntime RuntimeError.swift
[103/120] Compiling OpenAPIRuntime ServerError.swift
[104/120] Compiling OpenAPIRuntime JSONLinesDecoding.swift
[105/120] Compiling OpenAPIRuntime JSONLinesEncoding.swift
[106/120] Compiling OpenAPIRuntime JSONSequenceDecoding.swift
[107/120] Compiling OpenAPIRuntime JSONSequenceEncoding.swift
[108/120] Compiling OpenAPIRuntime ServerSentEvents.swift
[109/120] Compiling OpenAPIRuntime ServerSentEventsDecoding.swift
[110/120] Compiling OpenAPIRuntime ServerSentEventsEncoding.swift
[111/120] Compiling OpenAPIRuntime AsyncSequenceCommon.swift
[112/120] Compiling OpenAPIRuntime ClientTransport.swift
[113/120] Compiling OpenAPIRuntime URIValueFromNodeDecoder.swift
[114/120] Compiling OpenAPIRuntime URIEncoder.swift
[115/120] Compiling OpenAPIRuntime URIValueToNodeEncoder+Keyed.swift
[116/120] Compiling OpenAPIRuntime URIValueToNodeEncoder+Single.swift
[117/120] Compiling OpenAPIRuntime URIValueToNodeEncoder+Unkeyed.swift
[118/120] Compiling OpenAPIRuntime URIValueToNodeEncoder.swift
[119/120] Compiling OpenAPIRuntime URIParser.swift
[120/120] Compiling OpenAPIRuntime URISerializer.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[122/128] 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) }
[123/128] Compiling OpenAPIURLSession URLSession+Extensions.swift
[124/128] Compiling OpenAPIURLSession HTTPBodyOutputStreamBridge.swift
[125/128] Compiling OpenAPIURLSession BidirectionalStreamingURLSessionDelegate.swift
error: compile command failed due to signal 11 (use -v to see invocation)
[126/128] 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) }
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 0x55672e24b730 (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 0x0000556728bf3808
1  swift-frontend 0x0000556728bf15ee
2  swift-frontend 0x0000556728bf3ea8
3  libc.so.6      0x00007f00ff4d6520
4  swift-frontend 0x0000556722ebf9d3
5  swift-frontend 0x0000556722eb7668
6  swift-frontend 0x0000556722eb6ebc
7  swift-frontend 0x0000556722ebed24
8  swift-frontend 0x0000556722e357df
9  swift-frontend 0x0000556722e383d7
10 swift-frontend 0x0000556722e3c396
11 swift-frontend 0x0000556723008481
12 swift-frontend 0x00005567230011da
13 swift-frontend 0x0000556722ed140e
14 swift-frontend 0x0000556722d92d48
15 swift-frontend 0x0000556722df307c
16 swift-frontend 0x0000556722df2fd9
17 swift-frontend 0x0000556722d9b837
18 swift-frontend 0x0000556722d94dae
19 swift-frontend 0x00005567229baa96
20 swift-frontend 0x00005567229b6c0c
21 swift-frontend 0x00005567229b5997
22 swift-frontend 0x00005567229b82ba
23 swift-frontend 0x00005567229b7713
24 swift-frontend 0x000055672279486a
25 libc.so.6      0x00007f00ff4bdd90
26 libc.so.6      0x00007f00ff4bde40 __libc_start_main + 128
27 swift-frontend 0x0000556722793cc5
*** Signal 11: Backtracing from 0x556722ebf9d3... done ***
*** Program crashed: Bad pointer dereference at 0x0000000000000008 ***
Thread 0 "swift-frontend" crashed:
0  0x0000556722ebf9d3 (anonymous namespace)::ClassLayoutBuilder::addFieldsForClassImpl(swift::ClassDecl*, swift::SILType, swift::ClassDecl*, swift::SILType, bool) + 147 in swift-frontend
Registers:
rax 0x0000000000000000  0
rdx 0x00007ffeec402f00  20 57 40 ec fe 7f 00 00 18 2f 40 ec fe 7f 00 00   W@ìþ····/@ìþ···
rcx 0x000055672e45e248  02 e2 45 2e 67 55 00 00 00 00 00 00 00 00 00 00  ·âE.gU··········
rbx 0x00007ffeec402a68  e8 2b 40 ec fe 7f 00 00 90 25 3c 2e 67 55 00 00  è+@ìþ····%<.gU··
rsi 0x00007ffeec402be8  01 87 38 2e 67 55 00 00 18 0d 86 2d 67 55 00 00  ··8.gU·····-gU··
rdi 0x0000000000000004  4
rbp 0x0000000000000000  0
rsp 0x00007ffeec402d00  00 00 00 00 00 00 00 00 18 2d 40 ec fe 7f 00 00  ·········-@ìþ···
 r8 0x0000000000000a7c  2684
 r9 0x0000000000000001  1
r10 0x000000002b983900  731396352
r11 0x00007f00ff6aece0  90 38 b8 2f 67 55 00 00 90 ca b0 2f 67 55 00 00  ·8¸/gU···Ê°/gU··
r12 0x000055672e46d248  40 d6 48 2d 67 55 00 00 1c 02 00 08 01 00 00 00  @ÖH-gU··········
r13 0x000055672d860d18  da 0c 86 2d 67 55 00 00 00 00 00 00 00 00 00 00  Ú··-gU··········
r14 0x000055672d860d18  da 0c 86 2d 67 55 00 00 00 00 00 00 00 00 00 00  Ú··-gU··········
r15 0x00007ffeec405720  d0 33 55 2f 67 55 00 00 00 51 40 ec fe 7f 00 00  Ð3U/gU···Q@ìþ···
rip 0x0000556722ebf9d3  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):
0x0000556721ec7000–0x0000556729aaf710 a2f8bf107362d44f046b5d4b0eeadb6d087dfd2b swift-frontend /usr/bin/swift-frontend
Backtrace took 0.24s
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/23] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[3/24] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[4/24] Compiling InternalCollectionsUtilities Debugging.swift
[5/24] Compiling InternalCollectionsUtilities Descriptions.swift
[6/24] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[7/24] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[8/24] Compiling HTTPTypes ISOLatin1String.swift
[9/25] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[10/25] Compiling InternalCollectionsUtilities UInt+reversed.swift
[11/25] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[12/25] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[13/25] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[14/25] Compiling InternalCollectionsUtilities Integer rank.swift
[15/25] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[16/25] Compiling InternalCollectionsUtilities _SortedCollection.swift
[17/25] Emitting module InternalCollectionsUtilities
[18/26] Emitting module HTTPTypes
[19/26] Compiling HTTPTypes HTTPField.swift
[21/26] Compiling HTTPTypes HTTPParsedFields.swift
[22/26] Compiling HTTPTypes NIOLock.swift
[23/26] Compiling HTTPTypes HTTPRequest.swift
[24/26] Compiling HTTPTypes HTTPResponse.swift
[25/26] Compiling HTTPTypes HTTPFields.swift
[26/26] Compiling HTTPTypes HTTPFieldName.swift
[28/96] Compiling OpenAPIRuntime ByteUtilities.swift
[29/96] Compiling OpenAPIRuntime ContentDisposition.swift
[30/105] Compiling OpenAPIRuntime ParameterStyles.swift
[31/105] Compiling OpenAPIRuntime ServerVariable.swift
[32/105] Compiling OpenAPIRuntime UndocumentedPayload.swift
[33/105] Compiling OpenAPIRuntime FoundationExtensions.swift
[34/105] Compiling OpenAPIRuntime URLExtensions.swift
[35/105] Compiling OpenAPIRuntime Deprecated.swift
[36/105] Compiling OpenAPIRuntime OpenAPIValue.swift
[37/105] Compiling OpenAPIRuntime PrettyStringConvertible.swift
[38/105] Compiling DequeModule _DequeSlot.swift
[39/105] Compiling DequeModule _UnsafeWrappedBuffer.swift
[40/105] Compiling OpenAPIRuntime CopyOnWriteBox.swift
[41/105] Compiling OpenAPIRuntime OpenAPIMIMEType.swift
[42/105] Compiling OpenAPIRuntime Acceptable.swift
[43/105] Compiling OpenAPIRuntime Base64EncodedData.swift
[44/105] Emitting module DequeModule
[45/106] Compiling OpenAPIRuntime URICodeCodingKey.swift
[46/106] Compiling OpenAPIRuntime URICoderConfiguration.swift
[47/106] Compiling OpenAPIRuntime URIEncodedNode.swift
[48/106] Compiling OpenAPIRuntime URIParsedTypes.swift
[49/106] Compiling OpenAPIRuntime URIDecoder.swift
[50/106] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Keyed.swift
[51/106] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Single.swift
[52/106] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Unkeyed.swift
[61/114] Compiling OpenAPIRuntime RuntimeError.swift
[62/114] Compiling OpenAPIRuntime ServerError.swift
[63/114] Emitting module OpenAPIRuntime
[64/114] Compiling OpenAPIRuntime CurrencyTypes.swift
[65/114] Compiling OpenAPIRuntime ErrorHandlingMiddleware.swift
[66/114] Compiling OpenAPIRuntime HTTPBody.swift
[67/114] Compiling OpenAPIRuntime ServerTransport.swift
[68/114] Compiling OpenAPIRuntime UniversalClient.swift
[69/114] Compiling OpenAPIRuntime UniversalServer.swift
[70/114] Compiling OpenAPIRuntime MultipartBoundaryGenerator.swift
[71/114] Compiling OpenAPIRuntime MultipartBytesToFramesSequence.swift
[72/114] Compiling OpenAPIRuntime JSONLinesDecoding.swift
[73/114] Compiling OpenAPIRuntime JSONLinesEncoding.swift
[74/114] Compiling OpenAPIRuntime JSONSequenceDecoding.swift
[75/114] Compiling OpenAPIRuntime JSONSequenceEncoding.swift
[76/114] Compiling OpenAPIRuntime ServerSentEvents.swift
[77/114] Compiling OpenAPIRuntime ServerSentEventsDecoding.swift
[78/114] Compiling OpenAPIRuntime ServerSentEventsEncoding.swift
[79/114] Compiling OpenAPIRuntime AsyncSequenceCommon.swift
[80/114] Compiling OpenAPIRuntime ClientTransport.swift
[81/114] Compiling OpenAPIRuntime MultipartFramesToBytesSequence.swift
[82/114] Compiling OpenAPIRuntime MultipartFramesToRawPartsSequence.swift
[83/114] Compiling OpenAPIRuntime MultipartInternalTypes.swift
[84/114] Compiling OpenAPIRuntime MultipartPublicTypes.swift
[85/114] Compiling OpenAPIRuntime MultipartPublicTypesExtensions.swift
[86/114] Compiling OpenAPIRuntime MultipartRawPartsToFramesSequence.swift
[87/114] Compiling OpenAPIRuntime MultipartValidation.swift
[88/114] Compiling OpenAPIRuntime OpenAPIMIMEType+Multipart.swift
[98/114] Compiling OpenAPIRuntime WarningSuppressingAnnotations.swift
[99/114] Compiling OpenAPIRuntime CodableExtensions.swift
[100/114] Compiling OpenAPIRuntime Configuration.swift
[101/114] Compiling OpenAPIRuntime Converter+Client.swift
[102/114] Compiling OpenAPIRuntime Converter+Common.swift
[103/114] Compiling OpenAPIRuntime Converter+Server.swift
[104/114] Compiling OpenAPIRuntime Converter.swift
[105/114] Compiling OpenAPIRuntime CurrencyExtensions.swift
[106/114] Compiling OpenAPIRuntime ErrorExtensions.swift
[107/114] Compiling OpenAPIRuntime URIValueFromNodeDecoder.swift
[108/114] Compiling OpenAPIRuntime URIEncoder.swift
[109/114] Compiling OpenAPIRuntime URIValueToNodeEncoder+Keyed.swift
[110/114] Compiling OpenAPIRuntime URIValueToNodeEncoder+Single.swift
[111/114] Compiling OpenAPIRuntime URIValueToNodeEncoder+Unkeyed.swift
[112/114] Compiling OpenAPIRuntime URIValueToNodeEncoder.swift
[113/114] Compiling OpenAPIRuntime URIParser.swift
[114/114] Compiling OpenAPIRuntime URISerializer.swift
[116/122] Compiling OpenAPIURLSession BidirectionalStreamingURLSessionDelegate.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[117/122] Compiling OpenAPIURLSession BufferedStream.swift
[118/122] 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) }
[119/122] 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) }
[120/122] Compiling OpenAPIURLSession URLSession+Extensions.swift
[121/122] Compiling OpenAPIURLSession HTTPBodyOutputStreamBridge.swift
error: compile command failed due to signal 11 (use -v to see invocation)
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0.	Program arguments: /usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/.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 0x5576bc25d8d0 (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 0x00005576b6d62808
1  swift-frontend 0x00005576b6d605ee
2  swift-frontend 0x00005576b6d62ea8
3  libc.so.6      0x00007f30b56f0520
4  swift-frontend 0x00005576b102e9d3
5  swift-frontend 0x00005576b1026668
6  swift-frontend 0x00005576b1025ebc
7  swift-frontend 0x00005576b102dd24
8  swift-frontend 0x00005576b0fa47df
9  swift-frontend 0x00005576b0fa73d7
10 swift-frontend 0x00005576b0fab396
11 swift-frontend 0x00005576b1177481
12 swift-frontend 0x00005576b11701da
13 swift-frontend 0x00005576b104040e
14 swift-frontend 0x00005576b0f01d48
15 swift-frontend 0x00005576b0f6207c
16 swift-frontend 0x00005576b0f61fd9
17 swift-frontend 0x00005576b0f0a837
18 swift-frontend 0x00005576b0f03dae
19 swift-frontend 0x00005576b0b29a96
20 swift-frontend 0x00005576b0b25c0c
21 swift-frontend 0x00005576b0b24997
22 swift-frontend 0x00005576b0b272ba
23 swift-frontend 0x00005576b0b26713
24 swift-frontend 0x00005576b090386a
25 libc.so.6      0x00007f30b56d7d90
26 libc.so.6      0x00007f30b56d7e40 __libc_start_main + 128
27 swift-frontend 0x00005576b0902cc5
*** Signal 11: Backtracing from 0x5576b102e9d3... done ***
*** Program crashed: Bad pointer dereference at 0x0000000000000008 ***
Thread 0 "swift-frontend" crashed:
0  0x00005576b102e9d3 (anonymous namespace)::ClassLayoutBuilder::addFieldsForClassImpl(swift::ClassDecl*, swift::SILType, swift::ClassDecl*, swift::SILType, bool) + 147 in swift-frontend
Registers:
rax 0x0000000000000000  0
rdx 0x00007fffb28601b0  d0 29 86 b2 ff 7f 00 00 c8 01 86 b2 ff 7f 00 00  Ð)·²ÿ···È··²ÿ···
rcx 0x00005576bc4708c8  82 08 47 bc 76 55 00 00 00 00 00 00 00 00 00 00  ··G¼vU··········
rbx 0x00007fffb285fd18  98 fe 85 b2 ff 7f 00 00 c0 30 67 bd 76 55 00 00  ·þ·²ÿ···À0g½vU··
rsi 0x00007fffb285fe98  01 9a 39 bc 76 55 00 00 58 2d 87 bb 76 55 00 00  ··9¼vU··X-·»vU··
rdi 0x0000000000000004  4
rbp 0x0000000000000000  0
rsp 0x00007fffb285ffb0  00 00 00 00 00 00 00 00 c8 ff 85 b2 ff 7f 00 00  ········Èÿ·²ÿ···
 r8 0x0000000000000a7c  2684
 r9 0x0000000000000001  1
r10 0x00000000b9af2900  3115264256
r11 0x00007f30b58c8ce0  30 5c b9 bd 76 55 00 00 b0 ee b1 bd 76 55 00 00  0\¹½vU··°î±½vU··
r12 0x00005576bc47f638  c0 24 4a bb 76 55 00 00 1c 02 00 08 01 00 00 00  À$J»vU··········
r13 0x00005576bb872d58  1a 2d 87 bb 76 55 00 00 00 00 00 00 00 00 00 00  ·-·»vU··········
r14 0x00005576bb872d58  1a 2d 87 bb 76 55 00 00 00 00 00 00 00 00 00 00  ·-·»vU··········
r15 0x00007fffb28629d0  10 29 83 bd 76 55 00 00 b0 23 86 b2 ff 7f 00 00  ·)·½vU··°#·²ÿ···
rip 0x00005576b102e9d3  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):
0x00005576b0036000–0x00005576b7c1e710 a2f8bf107362d44f046b5d4b0eeadb6d087dfd2b swift-frontend /usr/bin/swift-frontend
Backtrace took 0.27s
BUILD FAILURE 6.1 android