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 IPSWDownloads, reference 1.0.1 (23c21e), with Swift 6.1 for Android on 30 May 2025 05:44:45 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/brightdigit/IPSWDownloads.git
Reference: 1.0.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/brightdigit/IPSWDownloads
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at 23c21e7 updating OSVer
Cloned https://github.com/brightdigit/IPSWDownloads.git
Revision (git rev-parse @):
23c21e7159af77445d0af2f75d095a48a8169133
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/brightdigit/IPSWDownloads.git at 1.0.1
========================================
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-generator",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.7.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-openapi-generator"
    },
    {
      "identity" : "swift-openapi-runtime",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.8.0",
            "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-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 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-openapi-generator
Fetching https://github.com/apple/swift-openapi-runtime
Fetching https://github.com/brightdigit/OSVer
[1/261] Fetching osver
[262/1222] Fetching osver, swift-openapi-urlsession
[714/6901] Fetching osver, swift-openapi-urlsession, swift-openapi-runtime
Fetched https://github.com/apple/swift-openapi-urlsession from cache (0.32s)
[1/15749] Fetching swift-openapi-generator
Fetched https://github.com/apple/swift-openapi-runtime from cache (1.10s)
Fetched https://github.com/brightdigit/OSVer from cache (1.19s)
Fetched https://github.com/apple/swift-openapi-generator from cache (1.20s)
Computing version for https://github.com/brightdigit/OSVer
Computed https://github.com/brightdigit/OSVer at 1.0.0 (1.72s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.8.2 (0.60s)
Fetching https://github.com/apple/swift-http-types
[1/904] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types from cache (0.32s)
Computing version for https://github.com/apple/swift-openapi-urlsession
Computed https://github.com/apple/swift-openapi-urlsession at 1.1.0 (4.09s)
Fetching https://github.com/apple/swift-collections
[1/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections from cache (1.37s)
Computing version for https://github.com/apple/swift-openapi-generator
Computed https://github.com/apple/swift-openapi-generator at 1.8.0 (2.46s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/apple/swift-algorithms
Fetching https://github.com/mattpolzin/OpenAPIKit
[1/10657] Fetching yams
[641/16616] Fetching yams, swift-algorithms
[4988/32002] Fetching yams, swift-algorithms, swift-argument-parser
[9098/119912] Fetching yams, swift-algorithms, swift-argument-parser, openapikit
Fetched https://github.com/apple/swift-algorithms from cache (1.07s)
[12816/113953] Fetching yams, swift-argument-parser, openapikit
Fetched https://github.com/apple/swift-argument-parser from cache (2.98s)
[55492/98567] Fetching yams, openapikit
Fetched https://github.com/jpsim/Yams from cache (3.05s)
[46593/87910] Fetching openapikit
Fetched https://github.com/mattpolzin/OpenAPIKit from cache (7.88s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.2.0 (9.87s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (0.87s)
Fetching https://github.com/apple/swift-numerics.git
[1/5706] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (1.06s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.93s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.67s)
Computing version for https://github.com/mattpolzin/OpenAPIKit
Computed https://github.com/mattpolzin/OpenAPIKit at 3.5.2 (0.81s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.4.0 (0.57s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.0.0 (0.63s)
Creating working copy for https://github.com/apple/swift-openapi-generator
Working copy of https://github.com/apple/swift-openapi-generator resolved at 1.8.0
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms 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-urlsession
Working copy of https://github.com/apple/swift-openapi-urlsession resolved at 1.1.0
Creating working copy for https://github.com/mattpolzin/OpenAPIKit
Working copy of https://github.com/mattpolzin/OpenAPIKit resolved at 3.5.2
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 6.0.0
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-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-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
[1/1] Compiling plugin OpenAPIGeneratorCommand
[2/2] Compiling plugin OpenAPIGenerator
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/11] Write sources
[10/11] Write swift-version-24593BA9C3E375BF.txt
[12/40] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[13/40] Compiling InternalCollectionsUtilities _SortedCollection.swift
[14/41] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[15/41] Compiling InternalCollectionsUtilities Debugging.swift
[16/41] Compiling InternalCollectionsUtilities Descriptions.swift
[17/41] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[18/41] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[19/41] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[20/41] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[21/41] Compiling HTTPTypes HTTPRequest.swift
[22/41] Compiling HTTPTypes HTTPParsedFields.swift
[23/42] Compiling HTTPTypes ISOLatin1String.swift
[24/42] Compiling HTTPTypes HTTPResponse.swift
[25/42] Compiling HTTPTypes HTTPFieldName.swift
[26/42] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[27/42] Compiling InternalCollectionsUtilities UInt+reversed.swift
[28/42] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[29/42] Compiling InternalCollectionsUtilities Integer rank.swift
[30/42] Emitting module InternalCollectionsUtilities
[31/42] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[33/43] Compiling HTTPTypes NIOLock.swift
[34/43] Compiling OSVer OSVer+Comparable.swift
[35/43] Compiling OSVer OSVer+CustomStringConvertible.swift
[36/43] Emitting module OSVer
[37/43] Compiling OSVer OSVerParseable.swift
[38/58] Compiling DequeModule _DequeBuffer.swift
[39/58] Compiling DequeModule _DequeBufferHeader.swift
[40/60] Compiling DequeModule Deque+Testing.swift
[41/60] Compiling DequeModule Deque._Storage.swift
[42/60] Compiling DequeModule Deque+CustomReflectable.swift
[43/60] Compiling DequeModule Deque+Descriptions.swift
[44/60] Compiling DequeModule Deque+Extras.swift
[45/60] Compiling DequeModule Deque+Hashable.swift
[46/60] Compiling DequeModule _DequeSlot.swift
[47/60] Compiling DequeModule _UnsafeWrappedBuffer.swift
[48/60] Compiling DequeModule Deque+Equatable.swift
[49/60] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[50/60] Compiling DequeModule Deque._UnsafeHandle.swift
[51/60] Compiling DequeModule Deque.swift
[52/60] Compiling DequeModule Deque+Codable.swift
[53/60] Compiling DequeModule Deque+Collection.swift
[54/60] Emitting module DequeModule
[56/61] Compiling OSVer OSVer+Hashable.swift
[57/61] Compiling OSVer OSVer+Init.swift
[58/61] Compiling OSVer OSVer.swift
[60/62] Compiling HTTPTypes HTTPField.swift
[61/62] Compiling HTTPTypes HTTPFields.swift
[62/62] Emitting module HTTPTypes
[64/124] Compiling OpenAPIRuntime FoundationExtensions.swift
[65/124] Compiling OpenAPIRuntime ParameterStyles.swift
[66/124] Compiling OpenAPIRuntime ServerVariable.swift
[67/124] Compiling OpenAPIRuntime URLExtensions.swift
[68/124] Compiling OpenAPIRuntime Deprecated.swift
[69/124] Compiling OpenAPIRuntime ClientError.swift
[70/124] Compiling OpenAPIRuntime CodingErrors.swift
[71/124] Compiling OpenAPIRuntime RuntimeError.swift
[72/124] Compiling OpenAPIRuntime ServerError.swift
[73/132] Emitting module OpenAPIRuntime
[74/132] Compiling OpenAPIRuntime Acceptable.swift
[75/132] Compiling OpenAPIRuntime Base64EncodedData.swift
[76/132] Compiling OpenAPIRuntime ByteUtilities.swift
[77/132] Compiling OpenAPIRuntime ContentDisposition.swift
[78/132] Compiling OpenAPIRuntime CopyOnWriteBox.swift
[79/132] Compiling OpenAPIRuntime OpenAPIMIMEType.swift
[80/132] Compiling OpenAPIRuntime OpenAPIValue.swift
[81/132] Compiling OpenAPIRuntime PrettyStringConvertible.swift
[82/132] Compiling OpenAPIRuntime UndocumentedPayload.swift
[83/132] Compiling OpenAPIRuntime WarningSuppressingAnnotations.swift
[84/132] Compiling OpenAPIRuntime CodableExtensions.swift
[85/132] Compiling OpenAPIRuntime Configuration.swift
[86/132] Compiling OpenAPIRuntime Converter+Client.swift
[87/132] Compiling OpenAPIRuntime Converter+Common.swift
[88/132] Compiling OpenAPIRuntime Converter+Server.swift
[89/132] Compiling OpenAPIRuntime Converter.swift
[90/132] Compiling OpenAPIRuntime CurrencyExtensions.swift
[91/132] Compiling OpenAPIRuntime ErrorExtensions.swift
[92/132] Compiling OpenAPIRuntime CurrencyTypes.swift
[93/132] Compiling OpenAPIRuntime ErrorHandlingMiddleware.swift
[94/132] Compiling OpenAPIRuntime HTTPBody.swift
[95/132] Compiling OpenAPIRuntime ServerTransport.swift
[96/132] Compiling OpenAPIRuntime UniversalClient.swift
[97/132] Compiling OpenAPIRuntime UniversalServer.swift
[98/132] Compiling OpenAPIRuntime MultipartBoundaryGenerator.swift
[99/132] Compiling OpenAPIRuntime MultipartBytesToFramesSequence.swift
[100/132] Compiling OpenAPIRuntime MultipartFramesToBytesSequence.swift
[101/132] Compiling OpenAPIRuntime MultipartFramesToRawPartsSequence.swift
[102/132] Compiling OpenAPIRuntime MultipartInternalTypes.swift
[103/132] Compiling OpenAPIRuntime MultipartPublicTypes.swift
[104/132] Compiling OpenAPIRuntime MultipartPublicTypesExtensions.swift
[105/132] Compiling OpenAPIRuntime MultipartRawPartsToFramesSequence.swift
[106/132] Compiling OpenAPIRuntime MultipartValidation.swift
[107/132] Compiling OpenAPIRuntime OpenAPIMIMEType+Multipart.swift
[108/132] Compiling OpenAPIRuntime URICodeCodingKey.swift
[109/132] Compiling OpenAPIRuntime URICoderConfiguration.swift
[110/132] Compiling OpenAPIRuntime URIEncodedNode.swift
[111/132] Compiling OpenAPIRuntime URIParsedTypes.swift
[112/132] Compiling OpenAPIRuntime URIDecoder.swift
[113/132] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Keyed.swift
[114/132] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Single.swift
[115/132] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Unkeyed.swift
[116/132] Compiling OpenAPIRuntime JSONLinesDecoding.swift
[117/132] Compiling OpenAPIRuntime JSONLinesEncoding.swift
[118/132] Compiling OpenAPIRuntime JSONSequenceDecoding.swift
[119/132] Compiling OpenAPIRuntime JSONSequenceEncoding.swift
[120/132] Compiling OpenAPIRuntime ServerSentEvents.swift
[121/132] Compiling OpenAPIRuntime ServerSentEventsDecoding.swift
[122/132] Compiling OpenAPIRuntime ServerSentEventsEncoding.swift
[123/132] Compiling OpenAPIRuntime AsyncSequenceCommon.swift
[124/132] Compiling OpenAPIRuntime ClientTransport.swift
[125/132] Compiling OpenAPIRuntime URIValueFromNodeDecoder.swift
[126/132] Compiling OpenAPIRuntime URIEncoder.swift
[127/132] Compiling OpenAPIRuntime URIValueToNodeEncoder+Keyed.swift
[128/132] Compiling OpenAPIRuntime URIValueToNodeEncoder+Single.swift
[129/132] Compiling OpenAPIRuntime URIValueToNodeEncoder+Unkeyed.swift
[130/132] Compiling OpenAPIRuntime URIValueToNodeEncoder.swift
[131/132] Compiling OpenAPIRuntime URIParser.swift
[132/132] Compiling OpenAPIRuntime URISerializer.swift
[134/140] Compiling OpenAPIURLSession HTTPBodyOutputStreamBridge.swift
[135/140] Compiling OpenAPIURLSession BidirectionalStreamingURLSessionDelegate.swift
[136/140] 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)
[137/140] 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) }
[138/140] 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 0x5590bda9e880 (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 0x00005590b888b808
1  swift-frontend 0x00005590b88895ee
2  swift-frontend 0x00005590b888bea8
3  libc.so.6      0x00007fcad0373520
4  swift-frontend 0x00005590b2b579d3
5  swift-frontend 0x00005590b2b4f668
6  swift-frontend 0x00005590b2b4eebc
7  swift-frontend 0x00005590b2b56d24
8  swift-frontend 0x00005590b2acd7df
9  swift-frontend 0x00005590b2ad03d7
10 swift-frontend 0x00005590b2ad4396
11 swift-frontend 0x00005590b2ca0481
12 swift-frontend 0x00005590b2c991da
13 swift-frontend 0x00005590b2b6940e
14 swift-frontend 0x00005590b2a2ad48
15 swift-frontend 0x00005590b2a8b07c
16 swift-frontend 0x00005590b2a8afd9
17 swift-frontend 0x00005590b2a33837
18 swift-frontend 0x00005590b2a2cdae
19 swift-frontend 0x00005590b2652a96
20 swift-frontend 0x00005590b264ec0c
21 swift-frontend 0x00005590b264d997
22 swift-frontend 0x00005590b26502ba
23 swift-frontend 0x00005590b264f713
24 swift-frontend 0x00005590b242c86a
25 libc.so.6      0x00007fcad035ad90
26 libc.so.6      0x00007fcad035ae40 __libc_start_main + 128
27 swift-frontend 0x00005590b242bcc5
*** Signal 11: Backtracing from 0x5590b2b579d3... done ***
*** Program crashed: Bad pointer dereference at 0x0000000000000008 ***
Thread 0 "swift-frontend" crashed:
0  0x00005590b2b579d3 (anonymous namespace)::ClassLayoutBuilder::addFieldsForClassImpl(swift::ClassDecl*, swift::SILType, swift::ClassDecl*, swift::SILType, bool) + 147 in swift-frontend
Registers:
rax 0x0000000000000000  0
rdx 0x00007ffe9d887e00  20 a6 88 9d fe 7f 00 00 18 7e 88 9d fe 7f 00 00   ¦··þ····~··þ···
rcx 0x00005590bdcb15a8  62 15 cb bd 90 55 00 00 00 00 00 00 00 00 00 00  b·Ë½·U··········
rbx 0x00007ffe9d887968  e8 7a 88 9d fe 7f 00 00 40 39 cc bd 90 55 00 00  èz··þ···@9̽·U··
rsi 0x00007ffe9d887ae8  01 b2 bd bd 90 55 00 00 68 3e 0b bd 90 55 00 00  ·²½½·U··h>·½·U··
rdi 0x0000000000000004  4
rbp 0x0000000000000000  0
rsp 0x00007ffe9d887c00  00 00 00 00 00 00 00 00 18 7c 88 9d fe 7f 00 00  ·········|··þ···
 r8 0x0000000000000a7c  2684
 r9 0x0000000000000001  1
r10 0x00000000bb61b900  3143743744
r11 0x00007fcad054bce0  90 81 3d bf 90 55 00 00 00 19 47 be 90 55 00 00  ··=¿·U····G¾·U··
r12 0x00005590bdcc0318  40 06 ce bc 90 55 00 00 1c 02 00 08 01 00 00 00  @·Î¼·U··········
r13 0x00005590bd0b3e68  2a 3e 0b bd 90 55 00 00 00 00 00 00 00 00 00 00  *>·½·U··········
r14 0x00005590bd0b3e68  2a 3e 0b bd 90 55 00 00 00 00 00 00 00 00 00 00  *>·½·U··········
r15 0x00007ffe9d88a620  50 59 bd be 90 55 00 00 00 a0 88 9d fe 7f 00 00  PY½¾·U··· ··þ···
rip 0x00005590b2b579d3  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):
0x00005590b1b5f000–0x00005590b9747710 a2f8bf107362d44f046b5d4b0eeadb6d087dfd2b swift-frontend /usr/bin/swift-frontend
Backtrace took 0.40s
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin OpenAPIGeneratorCommand
[2/2] Compiling plugin OpenAPIGenerator
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/33] Emitting module OSVer
[6/33] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[7/34] Compiling OSVer OSVer+CustomStringConvertible.swift
[8/34] Compiling OSVer OSVer+Comparable.swift
[9/34] Compiling OSVer OSVer+Hashable.swift
[10/34] Compiling InternalCollectionsUtilities Descriptions.swift
[11/34] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[12/34] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[13/34] Compiling InternalCollectionsUtilities Debugging.swift
[14/34] Compiling OSVer OSVerParseable.swift
[15/34] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[16/34] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[17/34] Compiling InternalCollectionsUtilities _SortedCollection.swift
[18/34] Compiling OSVer OSVer+Init.swift
[19/34] Compiling OSVer OSVer.swift
[21/35] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[22/35] Compiling InternalCollectionsUtilities UInt+reversed.swift
[23/35] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[24/35] Compiling InternalCollectionsUtilities Integer rank.swift
[25/35] Emitting module InternalCollectionsUtilities
[26/35] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[27/35] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[28/36] Compiling HTTPTypes HTTPRequest.swift
[29/36] Compiling HTTPTypes ISOLatin1String.swift
[30/36] Compiling HTTPTypes HTTPResponse.swift
[31/36] Compiling HTTPTypes HTTPParsedFields.swift
[32/36] Compiling HTTPTypes HTTPFieldName.swift
[33/36] Compiling HTTPTypes HTTPField.swift
[34/36] Compiling HTTPTypes HTTPFields.swift
[35/36] Emitting module HTTPTypes
[37/52] Compiling HTTPTypes NIOLock.swift
[39/53] Compiling DequeModule _DequeBuffer.swift
[40/53] Compiling DequeModule _DequeBufferHeader.swift
[41/55] Compiling DequeModule Deque+Extras.swift
[42/55] Compiling DequeModule Deque+Hashable.swift
[43/55] Compiling DequeModule Deque+Equatable.swift
[44/55] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[45/55] Compiling DequeModule Deque+CustomReflectable.swift
[46/55] Compiling DequeModule Deque+Descriptions.swift
[47/55] Compiling DequeModule Deque+Testing.swift
[48/55] Compiling DequeModule Deque._Storage.swift
[49/116] Compiling OpenAPIRuntime Base64EncodedData.swift
[50/116] Compiling OpenAPIRuntime ByteUtilities.swift
[51/116] Compiling OpenAPIRuntime OpenAPIMIMEType.swift
[52/116] Compiling OpenAPIRuntime OpenAPIValue.swift
[53/116] Compiling OpenAPIRuntime FoundationExtensions.swift
[54/116] Compiling OpenAPIRuntime ParameterStyles.swift
[55/116] Emitting module DequeModule
[59/117] Compiling OpenAPIRuntime ServerVariable.swift
[60/117] Compiling OpenAPIRuntime URLExtensions.swift
[61/117] Compiling OpenAPIRuntime Deprecated.swift
[62/117] Compiling OpenAPIRuntime ClientError.swift
[63/117] Compiling OpenAPIRuntime CodingErrors.swift
[64/117] Compiling OpenAPIRuntime RuntimeError.swift
[65/117] Compiling OpenAPIRuntime ServerError.swift
[66/125] Compiling OpenAPIRuntime Acceptable.swift
[69/125] Compiling OpenAPIRuntime ContentDisposition.swift
[70/125] Compiling OpenAPIRuntime CopyOnWriteBox.swift
[73/125] Compiling OpenAPIRuntime PrettyStringConvertible.swift
[74/125] Compiling OpenAPIRuntime UndocumentedPayload.swift
[75/125] Emitting module OpenAPIRuntime
[76/125] Compiling OpenAPIRuntime URICodeCodingKey.swift
[77/125] Compiling OpenAPIRuntime URICoderConfiguration.swift
[78/125] Compiling OpenAPIRuntime URIEncodedNode.swift
[79/125] Compiling OpenAPIRuntime URIParsedTypes.swift
[80/125] Compiling OpenAPIRuntime URIDecoder.swift
[81/125] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Keyed.swift
[82/125] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Single.swift
[83/125] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Unkeyed.swift
[84/125] Compiling OpenAPIRuntime CurrencyTypes.swift
[85/125] Compiling OpenAPIRuntime ErrorHandlingMiddleware.swift
[86/125] Compiling OpenAPIRuntime HTTPBody.swift
[87/125] Compiling OpenAPIRuntime ServerTransport.swift
[88/125] Compiling OpenAPIRuntime UniversalClient.swift
[89/125] Compiling OpenAPIRuntime UniversalServer.swift
[90/125] Compiling OpenAPIRuntime MultipartBoundaryGenerator.swift
[91/125] Compiling OpenAPIRuntime MultipartBytesToFramesSequence.swift
[92/125] Compiling OpenAPIRuntime MultipartFramesToBytesSequence.swift
[93/125] Compiling OpenAPIRuntime MultipartFramesToRawPartsSequence.swift
[94/125] Compiling OpenAPIRuntime MultipartInternalTypes.swift
[95/125] Compiling OpenAPIRuntime MultipartPublicTypes.swift
[96/125] Compiling OpenAPIRuntime MultipartPublicTypesExtensions.swift
[97/125] Compiling OpenAPIRuntime MultipartRawPartsToFramesSequence.swift
[98/125] Compiling OpenAPIRuntime MultipartValidation.swift
[99/125] Compiling OpenAPIRuntime OpenAPIMIMEType+Multipart.swift
[100/125] Compiling OpenAPIRuntime WarningSuppressingAnnotations.swift
[101/125] Compiling OpenAPIRuntime CodableExtensions.swift
[102/125] Compiling OpenAPIRuntime Configuration.swift
[103/125] Compiling OpenAPIRuntime Converter+Client.swift
[104/125] Compiling OpenAPIRuntime Converter+Common.swift
[105/125] Compiling OpenAPIRuntime Converter+Server.swift
[106/125] Compiling OpenAPIRuntime Converter.swift
[107/125] Compiling OpenAPIRuntime CurrencyExtensions.swift
[108/125] Compiling OpenAPIRuntime ErrorExtensions.swift
[109/125] Compiling OpenAPIRuntime JSONLinesDecoding.swift
[110/125] Compiling OpenAPIRuntime JSONLinesEncoding.swift
[111/125] Compiling OpenAPIRuntime JSONSequenceDecoding.swift
[112/125] Compiling OpenAPIRuntime JSONSequenceEncoding.swift
[113/125] Compiling OpenAPIRuntime ServerSentEvents.swift
[114/125] Compiling OpenAPIRuntime ServerSentEventsDecoding.swift
[115/125] Compiling OpenAPIRuntime ServerSentEventsEncoding.swift
[116/125] Compiling OpenAPIRuntime AsyncSequenceCommon.swift
[117/125] Compiling OpenAPIRuntime ClientTransport.swift
[118/125] Compiling OpenAPIRuntime URIValueFromNodeDecoder.swift
[119/125] Compiling OpenAPIRuntime URIEncoder.swift
[120/125] Compiling OpenAPIRuntime URIValueToNodeEncoder+Keyed.swift
[121/125] Compiling OpenAPIRuntime URIValueToNodeEncoder+Single.swift
[122/125] Compiling OpenAPIRuntime URIValueToNodeEncoder+Unkeyed.swift
[123/125] Compiling OpenAPIRuntime URIValueToNodeEncoder.swift
[124/125] Compiling OpenAPIRuntime URIParser.swift
[125/125] Compiling OpenAPIRuntime URISerializer.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[127/133] 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/133] 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) }
[129/133] Compiling OpenAPIURLSession URLSession+Extensions.swift
error: compile command failed due to signal 11 (use -v to see invocation)
[130/133] Compiling OpenAPIURLSession BidirectionalStreamingURLSessionDelegate.swift
[131/133] Compiling OpenAPIURLSession HTTPBodyOutputStreamBridge.swift
[132/133] Compiling OpenAPIURLSession BufferedStream.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 0x56491d3aba30 (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 0x0000564917cf5808
1  swift-frontend 0x0000564917cf35ee
2  swift-frontend 0x0000564917cf5ea8
3  libc.so.6      0x00007f17cd217520
4  swift-frontend 0x0000564911fc19d3
5  swift-frontend 0x0000564911fb9668
6  swift-frontend 0x0000564911fb8ebc
7  swift-frontend 0x0000564911fc0d24
8  swift-frontend 0x0000564911f377df
9  swift-frontend 0x0000564911f3a3d7
10 swift-frontend 0x0000564911f3e396
11 swift-frontend 0x000056491210a481
12 swift-frontend 0x00005649121031da
13 swift-frontend 0x0000564911fd340e
14 swift-frontend 0x0000564911e94d48
15 swift-frontend 0x0000564911ef507c
16 swift-frontend 0x0000564911ef4fd9
17 swift-frontend 0x0000564911e9d837
18 swift-frontend 0x0000564911e96dae
19 swift-frontend 0x0000564911abca96
20 swift-frontend 0x0000564911ab8c0c
21 swift-frontend 0x0000564911ab7997
22 swift-frontend 0x0000564911aba2ba
23 swift-frontend 0x0000564911ab9713
24 swift-frontend 0x000056491189686a
25 libc.so.6      0x00007f17cd1fed90
26 libc.so.6      0x00007f17cd1fee40 __libc_start_main + 128
27 swift-frontend 0x0000564911895cc5
*** Signal 11: Backtracing from 0x564911fc19d3... done ***
*** Program crashed: Bad pointer dereference at 0x0000000000000008 ***
Thread 0 "swift-frontend" crashed:
0  0x0000564911fc19d3 (anonymous namespace)::ClassLayoutBuilder::addFieldsForClassImpl(swift::ClassDecl*, swift::SILType, swift::ClassDecl*, swift::SILType, bool) + 147 in swift-frontend
Registers:
rax 0x0000000000000000  0
rdx 0x00007ffd5dc193d0  f0 bb c1 5d fd 7f 00 00 e8 93 c1 5d fd 7f 00 00  ð»Á]ý···è·Á]ý···
rcx 0x000056491d5bd628  e2 d5 5b 1d 49 56 00 00 00 00 00 00 00 00 00 00  âÕ[·IV··········
rbx 0x00007ffd5dc18f38  b8 90 c1 5d fd 7f 00 00 50 96 4f 1d 49 56 00 00  ¸·Á]ý···P·O·IV··
rsi 0x00007ffd5dc190b8  01 7b 4e 1d 49 56 00 00 b8 0e 9c 1c 49 56 00 00  ·{N·IV··¸···IV··
rdi 0x0000000000000004  4
rbp 0x0000000000000000  0
rsp 0x00007ffd5dc191d0  00 00 00 00 00 00 00 00 e8 91 c1 5d fd 7f 00 00  ········è·Á]ý···
 r8 0x0000000000000a7c  2684
 r9 0x0000000000000001  1
r10 0x000000001aa85900  447240448
r11 0x00007f17cd3efce0  c0 1d ce 1e 49 56 00 00 40 af c6 1e 49 56 00 00  À·Î·IV··@¯Æ·IV··
r12 0x000056491d5cd2a8  c0 04 5f 1c 49 56 00 00 1c 02 00 08 01 00 00 00  À·_·IV··········
r13 0x000056491c9c0eb8  7a 0e 9c 1c 49 56 00 00 00 00 00 00 00 00 00 00  z···IV··········
r14 0x000056491c9c0eb8  7a 0e 9c 1c 49 56 00 00 00 00 00 00 00 00 00 00  z···IV··········
r15 0x00007ffd5dc1bbf0  80 f6 4d 1e 49 56 00 00 d0 b5 c1 5d fd 7f 00 00  ·öM·IV··ÐµÁ]ý···
rip 0x0000564911fc19d3  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):
0x0000564910fc9000–0x0000564918bb1710 a2f8bf107362d44f046b5d4b0eeadb6d087dfd2b swift-frontend /usr/bin/swift-frontend
Backtrace took 0.37s
BUILD FAILURE 6.1 android