The Swift Package Index logo.Swift Package Index

Build Information

Failed to build opentelemetry-swift-core, reference 2.6.0 (c6fcee), with Swift 6.1 for Android on 29 Sep 2026 16:55:11 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[106/188] Compiling OpenTelemetryApi EntryKey.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[107/188] Compiling OpenTelemetryApi EntryMetadata.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[108/188] Compiling OpenTelemetryApi EntryValue.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[109/188] Compiling OpenTelemetryApi BaggagePropagationLimits.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[110/188] Compiling OpenTelemetryApi JaegerBaggagePropagator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[111/188] Compiling OpenTelemetryApi TextMapBaggagePropagator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[112/188] Compiling OpenTelemetryApi W3CBaggagePropagator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[113/188] Compiling OpenTelemetryApi ZipkinBaggagePropagator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[114/188] Compiling OpenTelemetryApi AttributeArray.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[115/188] Compiling OpenTelemetryApi AttributeSet.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[116/188] Compiling OpenTelemetryApi AttributeValue.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[117/188] Compiling OpenTelemetryApi Dns_attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[118/188] Compiling OpenTelemetryApi Dotnet_attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[119/188] Compiling OpenTelemetryApi Elasticsearch_attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[120/188] Compiling OpenTelemetryApi Enduser_attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[121/188] Compiling OpenTelemetryApi Error_attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[122/188] Compiling OpenTelemetryApi Exception_attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[123/188] Compiling OpenTelemetryApi Faas_attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[124/188] Compiling OpenTelemetryApi FeatureFlag_attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[125/188] Compiling OpenTelemetryApi File_attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[126/188] Compiling OpenTelemetryApi Gcp_attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[127/188] Compiling OpenTelemetryApi GenAi_attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[128/188] Compiling OpenTelemetryApi Geo_attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[129/188] Compiling OpenTelemetryApi Go_attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[130/188] Compiling OpenTelemetryApi Graphql_attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[131/188] Compiling OpenTelemetryApi Heroku_attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[132/188] Compiling OpenTelemetryApi Host_attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[133/188] Compiling OpenTelemetryApi Http_attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[134/188] Compiling OpenTelemetryApi Hw_attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[135/188] Compiling OpenTelemetryApi Ios_attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[136/188] Compiling OpenTelemetryApi Jvm_attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[137/188] Compiling OpenTelemetryApi K8s_attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[138/188] Compiling OpenTelemetryApi Linux_attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[139/188] Compiling OpenTelemetryApi LongGauge.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
[140/188] Compiling OpenTelemetryApi LongGaugeBuilder.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
[141/188] Compiling OpenTelemetryApi LongHistogram.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
[142/188] Compiling OpenTelemetryApi LongHistogramBuilder.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
[143/188] Compiling OpenTelemetryApi LongUpDownCounter.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
[144/188] Compiling OpenTelemetryApi LongUpDownCounterBuilder.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
[145/188] Compiling OpenTelemetryApi Meter.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
[146/188] Compiling OpenTelemetryApi MeterBuilder.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
[147/188] Compiling OpenTelemetryApi MeterProvider.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
[148/188] Compiling OpenTelemetryApi ObservableDoubleCounter.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
[149/188] Compiling OpenTelemetryApi ObservableDoubleGauge.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
[150/188] Compiling OpenTelemetryApi ObservableDoubleMeasurement.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
[151/188] Compiling OpenTelemetryApi ObservableDoubleUpDownCounter.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
[152/188] Compiling OpenTelemetryApi ObservableLongCounter.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
[153/188] Compiling OpenTelemetryApi ObservableLongGauge.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
[154/188] Compiling OpenTelemetryApi ObservableLongMeasurement.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
[155/188] Compiling OpenTelemetryApi ObservableLongUpDownCounter.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
[156/188] Compiling OpenTelemetryApi OpenTelemetry.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
[157/188] Compiling OpenTelemetryApi ContextPropagators.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
[158/188] Compiling OpenTelemetryApi DefaultContextPropagators.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
[159/188] Compiling OpenTelemetryApi DefaultTracer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
[160/188] Compiling OpenTelemetryApi Log_attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[161/188] Compiling OpenTelemetryApi Mainframe_attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[162/188] Compiling OpenTelemetryApi Messaging_attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[163/188] Compiling OpenTelemetryApi Network_attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[164/188] Compiling OpenTelemetryApi Nfs_attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[165/188] Compiling OpenTelemetryApi Nodejs_attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[166/188] Compiling OpenTelemetryApi Oci_attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[167/188] Compiling OpenTelemetryApi OncRpc_attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[168/188] Compiling OpenTelemetryApi Openai_attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[169/188] Compiling OpenTelemetryApi Openshift_attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[170/188] Compiling OpenTelemetryApi Opentracing_attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[171/188] Compiling OpenTelemetryApi Os_attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[172/188] Compiling OpenTelemetryApi Otel_attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[173/188] Compiling OpenTelemetryApi Peer_attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[174/188] Compiling OpenTelemetryApi Pprof_attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[175/188] Compiling OpenTelemetryApi Process_attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[176/188] Compiling OpenTelemetryApi Profile_attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[177/188] Compiling OpenTelemetryApi Rpc_attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[178/188] Compiling OpenTelemetryApi SecurityRule_attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[179/188] Compiling OpenTelemetryApi Server_attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[180/188] Compiling OpenTelemetryApi Service_attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[181/188] Compiling OpenTelemetryApi Session_attributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:a7f4f752e160f6cbd9e0c26490aa43ccd5312d524c4c6d77f8b144559b526afa
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/8] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/161] Emitting module OpenTelemetryApi
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 |   extension NSException: SpanException {
   |             `- error: cannot find type 'NSException' in scope
31 |     public var type: String {
32 |       name.rawValue
[3/182] Compiling OpenTelemetryApi LongGauge.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
[4/182] Compiling OpenTelemetryApi LongGaugeBuilder.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
[5/182] Compiling OpenTelemetryApi LongHistogram.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
[6/182] Compiling OpenTelemetryApi LongHistogramBuilder.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
[7/182] Compiling OpenTelemetryApi LongUpDownCounter.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
[8/182] Compiling OpenTelemetryApi LongUpDownCounterBuilder.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
[9/182] Compiling OpenTelemetryApi Meter.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
[10/182] Compiling OpenTelemetryApi MeterBuilder.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
[11/182] Compiling OpenTelemetryApi MeterProvider.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
[12/182] Compiling OpenTelemetryApi ObservableDoubleCounter.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
[13/182] Compiling OpenTelemetryApi ObservableDoubleGauge.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
[14/182] Compiling OpenTelemetryApi ObservableDoubleMeasurement.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
[15/182] Compiling OpenTelemetryApi ObservableDoubleUpDownCounter.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
[16/182] Compiling OpenTelemetryApi ObservableLongCounter.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
[17/182] Compiling OpenTelemetryApi ObservableLongGauge.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
[18/182] Compiling OpenTelemetryApi ObservableLongMeasurement.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
[19/182] Compiling OpenTelemetryApi ObservableLongUpDownCounter.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
[20/182] Compiling OpenTelemetryApi OpenTelemetry.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
[21/182] Compiling OpenTelemetryApi ContextPropagators.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
[22/182] Compiling OpenTelemetryApi DefaultContextPropagators.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
[23/182] Compiling OpenTelemetryApi DefaultTracer.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
[24/182] Compiling OpenTelemetryApi Android_attributes.swift
[25/182] Compiling OpenTelemetryApi App_attributes.swift
[26/182] Compiling OpenTelemetryApi Artifact_attributes.swift
[27/182] Compiling OpenTelemetryApi Aspnetcore_attributes.swift
[28/182] Compiling OpenTelemetryApi Aws_attributes.swift
[29/182] Compiling OpenTelemetryApi Azure_attributes.swift
[30/182] Compiling OpenTelemetryApi Browser_attributes.swift
[31/182] Compiling OpenTelemetryApi Cassandra_attributes.swift
[32/182] Compiling OpenTelemetryApi Cicd_attributes.swift
[33/182] Compiling OpenTelemetryApi Client_attributes.swift
[34/182] Compiling OpenTelemetryApi Cloud_attributes.swift
[35/182] Compiling OpenTelemetryApi Cloudevents_attributes.swift
[36/182] Compiling OpenTelemetryApi Cloudfoundry_attributes.swift
[37/182] Compiling OpenTelemetryApi Code_attributes.swift
[38/182] Compiling OpenTelemetryApi Container_attributes.swift
[39/182] Compiling OpenTelemetryApi Cpu_attributes.swift
[40/182] Compiling OpenTelemetryApi Cpython_attributes.swift
[41/182] Compiling OpenTelemetryApi Db_attributes.swift
[42/182] Compiling OpenTelemetryApi Deployment_attributes.swift
[43/182] Compiling OpenTelemetryApi Destination_attributes.swift
[44/182] Compiling OpenTelemetryApi Device_attributes.swift
[45/182] Compiling OpenTelemetryApi Disk_attributes.swift
[46/182] Compiling OpenTelemetryApi Signalr_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |               `- error: cannot find 'pthread_mutex_init' in scope
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |                                         `- error: 'nil' requires a contextual type
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |   deinit {
 65 |     let err = pthread_mutex_destroy(self.mutex)
    |               `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
 67 |     self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
 73 |   /// `unlock`, to simplify lock handling.
 74 |   public func lock() {
 75 |     let err = pthread_mutex_lock(mutex)
    |               `- error: cannot find 'pthread_mutex_lock' in scope
 76 |     precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
 77 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
 82 |   /// `lock`, to simplify lock handling.
 83 |   public func unlock() {
 84 |     let err = pthread_mutex_unlock(mutex)
    |               `- error: cannot find 'pthread_mutex_unlock' in scope
 85 |     precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
 86 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |               `- error: cannot find 'pthread_rwlock_init' in scope
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |                                           `- error: 'nil' requires a contextual type
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 |   deinit {
124 |     let err = pthread_rwlock_destroy(self.rwlock)
    |               `- error: cannot find 'pthread_rwlock_destroy' in scope
125 |     precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 |     self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 |   /// method and `unlock`, to simplify lock handling.
133 |   public func lockRead() {
134 |     let err = pthread_rwlock_rdlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 |     precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 |   /// method and `unlock`, to simplify lock handling.
142 |   public func lockWrite() {
143 |     let err = pthread_rwlock_wrlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 |     precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 |   /// instead of this method, to simplify lock handling.
151 |   public func unlock() {
152 |     let err = pthread_rwlock_unlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_unlock' in scope
153 |     precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 |   }
[47/182] Compiling OpenTelemetryApi Source_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |               `- error: cannot find 'pthread_mutex_init' in scope
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |                                         `- error: 'nil' requires a contextual type
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |   deinit {
 65 |     let err = pthread_mutex_destroy(self.mutex)
    |               `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
 67 |     self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
 73 |   /// `unlock`, to simplify lock handling.
 74 |   public func lock() {
 75 |     let err = pthread_mutex_lock(mutex)
    |               `- error: cannot find 'pthread_mutex_lock' in scope
 76 |     precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
 77 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
 82 |   /// `lock`, to simplify lock handling.
 83 |   public func unlock() {
 84 |     let err = pthread_mutex_unlock(mutex)
    |               `- error: cannot find 'pthread_mutex_unlock' in scope
 85 |     precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
 86 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |               `- error: cannot find 'pthread_rwlock_init' in scope
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |                                           `- error: 'nil' requires a contextual type
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 |   deinit {
124 |     let err = pthread_rwlock_destroy(self.rwlock)
    |               `- error: cannot find 'pthread_rwlock_destroy' in scope
125 |     precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 |     self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 |   /// method and `unlock`, to simplify lock handling.
133 |   public func lockRead() {
134 |     let err = pthread_rwlock_rdlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 |     precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 |   /// method and `unlock`, to simplify lock handling.
142 |   public func lockWrite() {
143 |     let err = pthread_rwlock_wrlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 |     precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 |   /// instead of this method, to simplify lock handling.
151 |   public func unlock() {
152 |     let err = pthread_rwlock_unlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_unlock' in scope
153 |     precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 |   }
[48/182] Compiling OpenTelemetryApi System_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |               `- error: cannot find 'pthread_mutex_init' in scope
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |                                         `- error: 'nil' requires a contextual type
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |   deinit {
 65 |     let err = pthread_mutex_destroy(self.mutex)
    |               `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
 67 |     self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
 73 |   /// `unlock`, to simplify lock handling.
 74 |   public func lock() {
 75 |     let err = pthread_mutex_lock(mutex)
    |               `- error: cannot find 'pthread_mutex_lock' in scope
 76 |     precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
 77 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
 82 |   /// `lock`, to simplify lock handling.
 83 |   public func unlock() {
 84 |     let err = pthread_mutex_unlock(mutex)
    |               `- error: cannot find 'pthread_mutex_unlock' in scope
 85 |     precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
 86 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |               `- error: cannot find 'pthread_rwlock_init' in scope
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |                                           `- error: 'nil' requires a contextual type
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 |   deinit {
124 |     let err = pthread_rwlock_destroy(self.rwlock)
    |               `- error: cannot find 'pthread_rwlock_destroy' in scope
125 |     precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 |     self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 |   /// method and `unlock`, to simplify lock handling.
133 |   public func lockRead() {
134 |     let err = pthread_rwlock_rdlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 |     precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 |   /// method and `unlock`, to simplify lock handling.
142 |   public func lockWrite() {
143 |     let err = pthread_rwlock_wrlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 |     precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 |   /// instead of this method, to simplify lock handling.
151 |   public func unlock() {
152 |     let err = pthread_rwlock_unlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_unlock' in scope
153 |     precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 |   }
[49/182] Compiling OpenTelemetryApi Telemetry_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |               `- error: cannot find 'pthread_mutex_init' in scope
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |                                         `- error: 'nil' requires a contextual type
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |   deinit {
 65 |     let err = pthread_mutex_destroy(self.mutex)
    |               `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
 67 |     self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
 73 |   /// `unlock`, to simplify lock handling.
 74 |   public func lock() {
 75 |     let err = pthread_mutex_lock(mutex)
    |               `- error: cannot find 'pthread_mutex_lock' in scope
 76 |     precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
 77 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
 82 |   /// `lock`, to simplify lock handling.
 83 |   public func unlock() {
 84 |     let err = pthread_mutex_unlock(mutex)
    |               `- error: cannot find 'pthread_mutex_unlock' in scope
 85 |     precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
 86 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |               `- error: cannot find 'pthread_rwlock_init' in scope
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |                                           `- error: 'nil' requires a contextual type
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 |   deinit {
124 |     let err = pthread_rwlock_destroy(self.rwlock)
    |               `- error: cannot find 'pthread_rwlock_destroy' in scope
125 |     precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 |     self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 |   /// method and `unlock`, to simplify lock handling.
133 |   public func lockRead() {
134 |     let err = pthread_rwlock_rdlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 |     precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 |   /// method and `unlock`, to simplify lock handling.
142 |   public func lockWrite() {
143 |     let err = pthread_rwlock_wrlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 |     precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 |   /// instead of this method, to simplify lock handling.
151 |   public func unlock() {
152 |     let err = pthread_rwlock_unlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_unlock' in scope
153 |     precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 |   }
[50/182] Compiling OpenTelemetryApi Test_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |               `- error: cannot find 'pthread_mutex_init' in scope
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |                                         `- error: 'nil' requires a contextual type
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |   deinit {
 65 |     let err = pthread_mutex_destroy(self.mutex)
    |               `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
 67 |     self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
 73 |   /// `unlock`, to simplify lock handling.
 74 |   public func lock() {
 75 |     let err = pthread_mutex_lock(mutex)
    |               `- error: cannot find 'pthread_mutex_lock' in scope
 76 |     precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
 77 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
 82 |   /// `lock`, to simplify lock handling.
 83 |   public func unlock() {
 84 |     let err = pthread_mutex_unlock(mutex)
    |               `- error: cannot find 'pthread_mutex_unlock' in scope
 85 |     precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
 86 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |               `- error: cannot find 'pthread_rwlock_init' in scope
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |                                           `- error: 'nil' requires a contextual type
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 |   deinit {
124 |     let err = pthread_rwlock_destroy(self.rwlock)
    |               `- error: cannot find 'pthread_rwlock_destroy' in scope
125 |     precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 |     self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 |   /// method and `unlock`, to simplify lock handling.
133 |   public func lockRead() {
134 |     let err = pthread_rwlock_rdlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 |     precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 |   /// method and `unlock`, to simplify lock handling.
142 |   public func lockWrite() {
143 |     let err = pthread_rwlock_wrlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 |     precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 |   /// instead of this method, to simplify lock handling.
151 |   public func unlock() {
152 |     let err = pthread_rwlock_unlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_unlock' in scope
153 |     precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 |   }
[51/182] Compiling OpenTelemetryApi Thread_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |               `- error: cannot find 'pthread_mutex_init' in scope
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |                                         `- error: 'nil' requires a contextual type
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |   deinit {
 65 |     let err = pthread_mutex_destroy(self.mutex)
    |               `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
 67 |     self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
 73 |   /// `unlock`, to simplify lock handling.
 74 |   public func lock() {
 75 |     let err = pthread_mutex_lock(mutex)
    |               `- error: cannot find 'pthread_mutex_lock' in scope
 76 |     precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
 77 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
 82 |   /// `lock`, to simplify lock handling.
 83 |   public func unlock() {
 84 |     let err = pthread_mutex_unlock(mutex)
    |               `- error: cannot find 'pthread_mutex_unlock' in scope
 85 |     precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
 86 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |               `- error: cannot find 'pthread_rwlock_init' in scope
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |                                           `- error: 'nil' requires a contextual type
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 |   deinit {
124 |     let err = pthread_rwlock_destroy(self.rwlock)
    |               `- error: cannot find 'pthread_rwlock_destroy' in scope
125 |     precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 |     self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 |   /// method and `unlock`, to simplify lock handling.
133 |   public func lockRead() {
134 |     let err = pthread_rwlock_rdlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 |     precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 |   /// method and `unlock`, to simplify lock handling.
142 |   public func lockWrite() {
143 |     let err = pthread_rwlock_wrlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 |     precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 |   /// instead of this method, to simplify lock handling.
151 |   public func unlock() {
152 |     let err = pthread_rwlock_unlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_unlock' in scope
153 |     precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 |   }
[52/182] Compiling OpenTelemetryApi Tls_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |               `- error: cannot find 'pthread_mutex_init' in scope
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |                                         `- error: 'nil' requires a contextual type
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |   deinit {
 65 |     let err = pthread_mutex_destroy(self.mutex)
    |               `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
 67 |     self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
 73 |   /// `unlock`, to simplify lock handling.
 74 |   public func lock() {
 75 |     let err = pthread_mutex_lock(mutex)
    |               `- error: cannot find 'pthread_mutex_lock' in scope
 76 |     precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
 77 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
 82 |   /// `lock`, to simplify lock handling.
 83 |   public func unlock() {
 84 |     let err = pthread_mutex_unlock(mutex)
    |               `- error: cannot find 'pthread_mutex_unlock' in scope
 85 |     precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
 86 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |               `- error: cannot find 'pthread_rwlock_init' in scope
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |                                           `- error: 'nil' requires a contextual type
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 |   deinit {
124 |     let err = pthread_rwlock_destroy(self.rwlock)
    |               `- error: cannot find 'pthread_rwlock_destroy' in scope
125 |     precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 |     self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 |   /// method and `unlock`, to simplify lock handling.
133 |   public func lockRead() {
134 |     let err = pthread_rwlock_rdlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 |     precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 |   /// method and `unlock`, to simplify lock handling.
142 |   public func lockWrite() {
143 |     let err = pthread_rwlock_wrlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 |     precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 |   /// instead of this method, to simplify lock handling.
151 |   public func unlock() {
152 |     let err = pthread_rwlock_unlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_unlock' in scope
153 |     precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 |   }
[53/182] Compiling OpenTelemetryApi Url_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |               `- error: cannot find 'pthread_mutex_init' in scope
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |                                         `- error: 'nil' requires a contextual type
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |   deinit {
 65 |     let err = pthread_mutex_destroy(self.mutex)
    |               `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
 67 |     self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
 73 |   /// `unlock`, to simplify lock handling.
 74 |   public func lock() {
 75 |     let err = pthread_mutex_lock(mutex)
    |               `- error: cannot find 'pthread_mutex_lock' in scope
 76 |     precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
 77 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
 82 |   /// `lock`, to simplify lock handling.
 83 |   public func unlock() {
 84 |     let err = pthread_mutex_unlock(mutex)
    |               `- error: cannot find 'pthread_mutex_unlock' in scope
 85 |     precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
 86 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |               `- error: cannot find 'pthread_rwlock_init' in scope
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |                                           `- error: 'nil' requires a contextual type
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 |   deinit {
124 |     let err = pthread_rwlock_destroy(self.rwlock)
    |               `- error: cannot find 'pthread_rwlock_destroy' in scope
125 |     precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 |     self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 |   /// method and `unlock`, to simplify lock handling.
133 |   public func lockRead() {
134 |     let err = pthread_rwlock_rdlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 |     precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 |   /// method and `unlock`, to simplify lock handling.
142 |   public func lockWrite() {
143 |     let err = pthread_rwlock_wrlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 |     precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 |   /// instead of this method, to simplify lock handling.
151 |   public func unlock() {
152 |     let err = pthread_rwlock_unlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_unlock' in scope
153 |     precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 |   }
[54/182] Compiling OpenTelemetryApi UserAgent_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |               `- error: cannot find 'pthread_mutex_init' in scope
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |                                         `- error: 'nil' requires a contextual type
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |   deinit {
 65 |     let err = pthread_mutex_destroy(self.mutex)
    |               `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
 67 |     self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
 73 |   /// `unlock`, to simplify lock handling.
 74 |   public func lock() {
 75 |     let err = pthread_mutex_lock(mutex)
    |               `- error: cannot find 'pthread_mutex_lock' in scope
 76 |     precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
 77 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
 82 |   /// `lock`, to simplify lock handling.
 83 |   public func unlock() {
 84 |     let err = pthread_mutex_unlock(mutex)
    |               `- error: cannot find 'pthread_mutex_unlock' in scope
 85 |     precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
 86 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |               `- error: cannot find 'pthread_rwlock_init' in scope
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |                                           `- error: 'nil' requires a contextual type
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 |   deinit {
124 |     let err = pthread_rwlock_destroy(self.rwlock)
    |               `- error: cannot find 'pthread_rwlock_destroy' in scope
125 |     precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 |     self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 |   /// method and `unlock`, to simplify lock handling.
133 |   public func lockRead() {
134 |     let err = pthread_rwlock_rdlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 |     precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 |   /// method and `unlock`, to simplify lock handling.
142 |   public func lockWrite() {
143 |     let err = pthread_rwlock_wrlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 |     precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 |   /// instead of this method, to simplify lock handling.
151 |   public func unlock() {
152 |     let err = pthread_rwlock_unlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_unlock' in scope
153 |     precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 |   }
[55/182] Compiling OpenTelemetryApi User_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |               `- error: cannot find 'pthread_mutex_init' in scope
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |                                         `- error: 'nil' requires a contextual type
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |   deinit {
 65 |     let err = pthread_mutex_destroy(self.mutex)
    |               `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
 67 |     self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
 73 |   /// `unlock`, to simplify lock handling.
 74 |   public func lock() {
 75 |     let err = pthread_mutex_lock(mutex)
    |               `- error: cannot find 'pthread_mutex_lock' in scope
 76 |     precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
 77 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
 82 |   /// `lock`, to simplify lock handling.
 83 |   public func unlock() {
 84 |     let err = pthread_mutex_unlock(mutex)
    |               `- error: cannot find 'pthread_mutex_unlock' in scope
 85 |     precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
 86 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |               `- error: cannot find 'pthread_rwlock_init' in scope
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |                                           `- error: 'nil' requires a contextual type
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 |   deinit {
124 |     let err = pthread_rwlock_destroy(self.rwlock)
    |               `- error: cannot find 'pthread_rwlock_destroy' in scope
125 |     precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 |     self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 |   /// method and `unlock`, to simplify lock handling.
133 |   public func lockRead() {
134 |     let err = pthread_rwlock_rdlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 |     precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 |   /// method and `unlock`, to simplify lock handling.
142 |   public func lockWrite() {
143 |     let err = pthread_rwlock_wrlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 |     precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 |   /// instead of this method, to simplify lock handling.
151 |   public func unlock() {
152 |     let err = pthread_rwlock_unlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_unlock' in scope
153 |     precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 |   }
[56/182] Compiling OpenTelemetryApi V8js_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |               `- error: cannot find 'pthread_mutex_init' in scope
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |                                         `- error: 'nil' requires a contextual type
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |   deinit {
 65 |     let err = pthread_mutex_destroy(self.mutex)
    |               `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
 67 |     self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
 73 |   /// `unlock`, to simplify lock handling.
 74 |   public func lock() {
 75 |     let err = pthread_mutex_lock(mutex)
    |               `- error: cannot find 'pthread_mutex_lock' in scope
 76 |     precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
 77 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
 82 |   /// `lock`, to simplify lock handling.
 83 |   public func unlock() {
 84 |     let err = pthread_mutex_unlock(mutex)
    |               `- error: cannot find 'pthread_mutex_unlock' in scope
 85 |     precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
 86 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |               `- error: cannot find 'pthread_rwlock_init' in scope
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |                                           `- error: 'nil' requires a contextual type
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 |   deinit {
124 |     let err = pthread_rwlock_destroy(self.rwlock)
    |               `- error: cannot find 'pthread_rwlock_destroy' in scope
125 |     precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 |     self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 |   /// method and `unlock`, to simplify lock handling.
133 |   public func lockRead() {
134 |     let err = pthread_rwlock_rdlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 |     precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 |   /// method and `unlock`, to simplify lock handling.
142 |   public func lockWrite() {
143 |     let err = pthread_rwlock_wrlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 |     precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 |   /// instead of this method, to simplify lock handling.
151 |   public func unlock() {
152 |     let err = pthread_rwlock_unlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_unlock' in scope
153 |     precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 |   }
[57/182] Compiling OpenTelemetryApi Vcs_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |               `- error: cannot find 'pthread_mutex_init' in scope
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |                                         `- error: 'nil' requires a contextual type
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |   deinit {
 65 |     let err = pthread_mutex_destroy(self.mutex)
    |               `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
 67 |     self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
 73 |   /// `unlock`, to simplify lock handling.
 74 |   public func lock() {
 75 |     let err = pthread_mutex_lock(mutex)
    |               `- error: cannot find 'pthread_mutex_lock' in scope
 76 |     precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
 77 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
 82 |   /// `lock`, to simplify lock handling.
 83 |   public func unlock() {
 84 |     let err = pthread_mutex_unlock(mutex)
    |               `- error: cannot find 'pthread_mutex_unlock' in scope
 85 |     precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
 86 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |               `- error: cannot find 'pthread_rwlock_init' in scope
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |                                           `- error: 'nil' requires a contextual type
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 |   deinit {
124 |     let err = pthread_rwlock_destroy(self.rwlock)
    |               `- error: cannot find 'pthread_rwlock_destroy' in scope
125 |     precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 |     self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 |   /// method and `unlock`, to simplify lock handling.
133 |   public func lockRead() {
134 |     let err = pthread_rwlock_rdlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 |     precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 |   /// method and `unlock`, to simplify lock handling.
142 |   public func lockWrite() {
143 |     let err = pthread_rwlock_wrlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 |     precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 |   /// instead of this method, to simplify lock handling.
151 |   public func unlock() {
152 |     let err = pthread_rwlock_unlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_unlock' in scope
153 |     precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 |   }
[58/182] Compiling OpenTelemetryApi Webengine_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |               `- error: cannot find 'pthread_mutex_init' in scope
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |                                         `- error: 'nil' requires a contextual type
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |   deinit {
 65 |     let err = pthread_mutex_destroy(self.mutex)
    |               `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
 67 |     self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
 73 |   /// `unlock`, to simplify lock handling.
 74 |   public func lock() {
 75 |     let err = pthread_mutex_lock(mutex)
    |               `- error: cannot find 'pthread_mutex_lock' in scope
 76 |     precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
 77 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
 82 |   /// `lock`, to simplify lock handling.
 83 |   public func unlock() {
 84 |     let err = pthread_mutex_unlock(mutex)
    |               `- error: cannot find 'pthread_mutex_unlock' in scope
 85 |     precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
 86 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |               `- error: cannot find 'pthread_rwlock_init' in scope
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |                                           `- error: 'nil' requires a contextual type
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 |   deinit {
124 |     let err = pthread_rwlock_destroy(self.rwlock)
    |               `- error: cannot find 'pthread_rwlock_destroy' in scope
125 |     precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 |     self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 |   /// method and `unlock`, to simplify lock handling.
133 |   public func lockRead() {
134 |     let err = pthread_rwlock_rdlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 |     precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 |   /// method and `unlock`, to simplify lock handling.
142 |   public func lockWrite() {
143 |     let err = pthread_rwlock_wrlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 |     precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 |   /// instead of this method, to simplify lock handling.
151 |   public func unlock() {
152 |     let err = pthread_rwlock_unlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_unlock' in scope
153 |     precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 |   }
[59/182] Compiling OpenTelemetryApi Zos_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |               `- error: cannot find 'pthread_mutex_init' in scope
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |                                         `- error: 'nil' requires a contextual type
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |   deinit {
 65 |     let err = pthread_mutex_destroy(self.mutex)
    |               `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
 67 |     self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
 73 |   /// `unlock`, to simplify lock handling.
 74 |   public func lock() {
 75 |     let err = pthread_mutex_lock(mutex)
    |               `- error: cannot find 'pthread_mutex_lock' in scope
 76 |     precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
 77 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
 82 |   /// `lock`, to simplify lock handling.
 83 |   public func unlock() {
 84 |     let err = pthread_mutex_unlock(mutex)
    |               `- error: cannot find 'pthread_mutex_unlock' in scope
 85 |     precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
 86 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |               `- error: cannot find 'pthread_rwlock_init' in scope
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |                                           `- error: 'nil' requires a contextual type
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 |   deinit {
124 |     let err = pthread_rwlock_destroy(self.rwlock)
    |               `- error: cannot find 'pthread_rwlock_destroy' in scope
125 |     precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 |     self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 |   /// method and `unlock`, to simplify lock handling.
133 |   public func lockRead() {
134 |     let err = pthread_rwlock_rdlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 |     precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 |   /// method and `unlock`, to simplify lock handling.
142 |   public func lockWrite() {
143 |     let err = pthread_rwlock_wrlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 |     precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 |   /// instead of this method, to simplify lock handling.
151 |   public func unlock() {
152 |     let err = pthread_rwlock_unlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_unlock' in scope
153 |     precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 |   }
[60/182] Compiling OpenTelemetryApi SemanticConventions.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |               `- error: cannot find 'pthread_mutex_init' in scope
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |                                         `- error: 'nil' requires a contextual type
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |   deinit {
 65 |     let err = pthread_mutex_destroy(self.mutex)
    |               `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
 67 |     self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
 73 |   /// `unlock`, to simplify lock handling.
 74 |   public func lock() {
 75 |     let err = pthread_mutex_lock(mutex)
    |               `- error: cannot find 'pthread_mutex_lock' in scope
 76 |     precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
 77 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
 82 |   /// `lock`, to simplify lock handling.
 83 |   public func unlock() {
 84 |     let err = pthread_mutex_unlock(mutex)
    |               `- error: cannot find 'pthread_mutex_unlock' in scope
 85 |     precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
 86 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |               `- error: cannot find 'pthread_rwlock_init' in scope
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |                                           `- error: 'nil' requires a contextual type
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 |   deinit {
124 |     let err = pthread_rwlock_destroy(self.rwlock)
    |               `- error: cannot find 'pthread_rwlock_destroy' in scope
125 |     precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 |     self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 |   /// method and `unlock`, to simplify lock handling.
133 |   public func lockRead() {
134 |     let err = pthread_rwlock_rdlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 |     precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 |   /// method and `unlock`, to simplify lock handling.
142 |   public func lockWrite() {
143 |     let err = pthread_rwlock_wrlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 |     precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 |   /// instead of this method, to simplify lock handling.
151 |   public func unlock() {
152 |     let err = pthread_rwlock_unlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_unlock' in scope
153 |     precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 |   }
[61/182] Compiling OpenTelemetryApi ActivityContextManager.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |               `- error: cannot find 'pthread_mutex_init' in scope
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |                                         `- error: 'nil' requires a contextual type
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |   deinit {
 65 |     let err = pthread_mutex_destroy(self.mutex)
    |               `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
 67 |     self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
 73 |   /// `unlock`, to simplify lock handling.
 74 |   public func lock() {
 75 |     let err = pthread_mutex_lock(mutex)
    |               `- error: cannot find 'pthread_mutex_lock' in scope
 76 |     precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
 77 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
 82 |   /// `lock`, to simplify lock handling.
 83 |   public func unlock() {
 84 |     let err = pthread_mutex_unlock(mutex)
    |               `- error: cannot find 'pthread_mutex_unlock' in scope
 85 |     precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
 86 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |               `- error: cannot find 'pthread_rwlock_init' in scope
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |                                           `- error: 'nil' requires a contextual type
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 |   deinit {
124 |     let err = pthread_rwlock_destroy(self.rwlock)
    |               `- error: cannot find 'pthread_rwlock_destroy' in scope
125 |     precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 |     self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 |   /// method and `unlock`, to simplify lock handling.
133 |   public func lockRead() {
134 |     let err = pthread_rwlock_rdlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 |     precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 |   /// method and `unlock`, to simplify lock handling.
142 |   public func lockWrite() {
143 |     let err = pthread_rwlock_wrlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 |     precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 |   /// instead of this method, to simplify lock handling.
151 |   public func unlock() {
152 |     let err = pthread_rwlock_unlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_unlock' in scope
153 |     precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 |   }
[62/182] Compiling OpenTelemetryApi ContextManager.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |               `- error: cannot find 'pthread_mutex_init' in scope
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |                                         `- error: 'nil' requires a contextual type
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |   deinit {
 65 |     let err = pthread_mutex_destroy(self.mutex)
    |               `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
 67 |     self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
 73 |   /// `unlock`, to simplify lock handling.
 74 |   public func lock() {
 75 |     let err = pthread_mutex_lock(mutex)
    |               `- error: cannot find 'pthread_mutex_lock' in scope
 76 |     precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
 77 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
 82 |   /// `lock`, to simplify lock handling.
 83 |   public func unlock() {
 84 |     let err = pthread_mutex_unlock(mutex)
    |               `- error: cannot find 'pthread_mutex_unlock' in scope
 85 |     precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
 86 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |               `- error: cannot find 'pthread_rwlock_init' in scope
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |                                           `- error: 'nil' requires a contextual type
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 |   deinit {
124 |     let err = pthread_rwlock_destroy(self.rwlock)
    |               `- error: cannot find 'pthread_rwlock_destroy' in scope
125 |     precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 |     self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 |   /// method and `unlock`, to simplify lock handling.
133 |   public func lockRead() {
134 |     let err = pthread_rwlock_rdlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 |     precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 |   /// method and `unlock`, to simplify lock handling.
142 |   public func lockWrite() {
143 |     let err = pthread_rwlock_wrlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 |     precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 |   /// instead of this method, to simplify lock handling.
151 |   public func unlock() {
152 |     let err = pthread_rwlock_unlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_unlock' in scope
153 |     precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 |   }
[63/182] Compiling OpenTelemetryApi OpenTelemetryContextProvider.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |               `- error: cannot find 'pthread_mutex_init' in scope
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |                                         `- error: 'nil' requires a contextual type
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |   deinit {
 65 |     let err = pthread_mutex_destroy(self.mutex)
    |               `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
 67 |     self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
 73 |   /// `unlock`, to simplify lock handling.
 74 |   public func lock() {
 75 |     let err = pthread_mutex_lock(mutex)
    |               `- error: cannot find 'pthread_mutex_lock' in scope
 76 |     precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
 77 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
 82 |   /// `lock`, to simplify lock handling.
 83 |   public func unlock() {
 84 |     let err = pthread_mutex_unlock(mutex)
    |               `- error: cannot find 'pthread_mutex_unlock' in scope
 85 |     precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
 86 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |               `- error: cannot find 'pthread_rwlock_init' in scope
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |                                           `- error: 'nil' requires a contextual type
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 |   deinit {
124 |     let err = pthread_rwlock_destroy(self.rwlock)
    |               `- error: cannot find 'pthread_rwlock_destroy' in scope
125 |     precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 |     self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 |   /// method and `unlock`, to simplify lock handling.
133 |   public func lockRead() {
134 |     let err = pthread_rwlock_rdlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 |     precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 |   /// method and `unlock`, to simplify lock handling.
142 |   public func lockWrite() {
143 |     let err = pthread_rwlock_wrlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 |     precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 |   /// instead of this method, to simplify lock handling.
151 |   public func unlock() {
152 |     let err = pthread_rwlock_unlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_unlock' in scope
153 |     precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 |   }
[64/182] Compiling OpenTelemetryApi TaskLocalContextManager.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |               `- error: cannot find 'pthread_mutex_init' in scope
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |                                         `- error: 'nil' requires a contextual type
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |   deinit {
 65 |     let err = pthread_mutex_destroy(self.mutex)
    |               `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
 67 |     self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
 73 |   /// `unlock`, to simplify lock handling.
 74 |   public func lock() {
 75 |     let err = pthread_mutex_lock(mutex)
    |               `- error: cannot find 'pthread_mutex_lock' in scope
 76 |     precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
 77 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
 82 |   /// `lock`, to simplify lock handling.
 83 |   public func unlock() {
 84 |     let err = pthread_mutex_unlock(mutex)
    |               `- error: cannot find 'pthread_mutex_unlock' in scope
 85 |     precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
 86 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |               `- error: cannot find 'pthread_rwlock_init' in scope
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |                                           `- error: 'nil' requires a contextual type
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 |   deinit {
124 |     let err = pthread_rwlock_destroy(self.rwlock)
    |               `- error: cannot find 'pthread_rwlock_destroy' in scope
125 |     precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 |     self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 |   /// method and `unlock`, to simplify lock handling.
133 |   public func lockRead() {
134 |     let err = pthread_rwlock_rdlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 |     precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 |   /// method and `unlock`, to simplify lock handling.
142 |   public func lockWrite() {
143 |     let err = pthread_rwlock_wrlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 |     precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 |   /// instead of this method, to simplify lock handling.
151 |   public func unlock() {
152 |     let err = pthread_rwlock_unlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_unlock' in scope
153 |     precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 |   }
[65/182] Compiling OpenTelemetryApi Locks.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |               `- error: cannot find 'pthread_mutex_init' in scope
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |                                         `- error: 'nil' requires a contextual type
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |   deinit {
 65 |     let err = pthread_mutex_destroy(self.mutex)
    |               `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
 67 |     self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
 73 |   /// `unlock`, to simplify lock handling.
 74 |   public func lock() {
 75 |     let err = pthread_mutex_lock(mutex)
    |               `- error: cannot find 'pthread_mutex_lock' in scope
 76 |     precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
 77 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
 82 |   /// `lock`, to simplify lock handling.
 83 |   public func unlock() {
 84 |     let err = pthread_mutex_unlock(mutex)
    |               `- error: cannot find 'pthread_mutex_unlock' in scope
 85 |     precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
 86 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |               `- error: cannot find 'pthread_rwlock_init' in scope
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |                                           `- error: 'nil' requires a contextual type
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 |   deinit {
124 |     let err = pthread_rwlock_destroy(self.rwlock)
    |               `- error: cannot find 'pthread_rwlock_destroy' in scope
125 |     precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 |     self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 |   /// method and `unlock`, to simplify lock handling.
133 |   public func lockRead() {
134 |     let err = pthread_rwlock_rdlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 |     precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 |   /// method and `unlock`, to simplify lock handling.
142 |   public func lockWrite() {
143 |     let err = pthread_rwlock_wrlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 |     precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 |   /// instead of this method, to simplify lock handling.
151 |   public func unlock() {
152 |     let err = pthread_rwlock_unlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_unlock' in scope
153 |     precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 |   }
[66/182] Compiling OpenTelemetryApi StringUtils.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |               `- error: cannot find 'pthread_mutex_init' in scope
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |                                         `- error: 'nil' requires a contextual type
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |   deinit {
 65 |     let err = pthread_mutex_destroy(self.mutex)
    |               `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
 67 |     self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
 73 |   /// `unlock`, to simplify lock handling.
 74 |   public func lock() {
 75 |     let err = pthread_mutex_lock(mutex)
    |               `- error: cannot find 'pthread_mutex_lock' in scope
 76 |     precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
 77 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
 82 |   /// `lock`, to simplify lock handling.
 83 |   public func unlock() {
 84 |     let err = pthread_mutex_unlock(mutex)
    |               `- error: cannot find 'pthread_mutex_unlock' in scope
 85 |     precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
 86 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |               `- error: cannot find 'pthread_rwlock_init' in scope
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |                                           `- error: 'nil' requires a contextual type
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 |   deinit {
124 |     let err = pthread_rwlock_destroy(self.rwlock)
    |               `- error: cannot find 'pthread_rwlock_destroy' in scope
125 |     precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 |     self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 |   /// method and `unlock`, to simplify lock handling.
133 |   public func lockRead() {
134 |     let err = pthread_rwlock_rdlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 |     precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 |   /// method and `unlock`, to simplify lock handling.
142 |   public func lockWrite() {
143 |     let err = pthread_rwlock_wrlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 |     precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 |   /// instead of this method, to simplify lock handling.
151 |   public func unlock() {
152 |     let err = pthread_rwlock_unlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_unlock' in scope
153 |     precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 |   }
[67/182] Compiling OpenTelemetryApi SwiftExtensions.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |               `- error: cannot find 'pthread_mutex_init' in scope
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |                                         `- error: 'nil' requires a contextual type
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |   deinit {
 65 |     let err = pthread_mutex_destroy(self.mutex)
    |               `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
 67 |     self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
 73 |   /// `unlock`, to simplify lock handling.
 74 |   public func lock() {
 75 |     let err = pthread_mutex_lock(mutex)
    |               `- error: cannot find 'pthread_mutex_lock' in scope
 76 |     precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
 77 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
 82 |   /// `lock`, to simplify lock handling.
 83 |   public func unlock() {
 84 |     let err = pthread_mutex_unlock(mutex)
    |               `- error: cannot find 'pthread_mutex_unlock' in scope
 85 |     precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
 86 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |               `- error: cannot find 'pthread_rwlock_init' in scope
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |                                           `- error: 'nil' requires a contextual type
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 |   deinit {
124 |     let err = pthread_rwlock_destroy(self.rwlock)
    |               `- error: cannot find 'pthread_rwlock_destroy' in scope
125 |     precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 |     self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 |   /// method and `unlock`, to simplify lock handling.
133 |   public func lockRead() {
134 |     let err = pthread_rwlock_rdlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 |     precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 |   /// method and `unlock`, to simplify lock handling.
142 |   public func lockWrite() {
143 |     let err = pthread_rwlock_wrlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 |     precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 |   /// instead of this method, to simplify lock handling.
151 |   public func unlock() {
152 |     let err = pthread_rwlock_unlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_unlock' in scope
153 |     precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 |   }
[68/182] Compiling OpenTelemetryApi Log_attributes.swift
[69/182] Compiling OpenTelemetryApi Mainframe_attributes.swift
[70/182] Compiling OpenTelemetryApi Messaging_attributes.swift
[71/182] Compiling OpenTelemetryApi Network_attributes.swift
[72/182] Compiling OpenTelemetryApi Nfs_attributes.swift
[73/182] Compiling OpenTelemetryApi Nodejs_attributes.swift
[74/182] Compiling OpenTelemetryApi Oci_attributes.swift
[75/182] Compiling OpenTelemetryApi OncRpc_attributes.swift
[76/182] Compiling OpenTelemetryApi Openai_attributes.swift
[77/182] Compiling OpenTelemetryApi Openshift_attributes.swift
[78/182] Compiling OpenTelemetryApi Opentracing_attributes.swift
[79/182] Compiling OpenTelemetryApi Os_attributes.swift
[80/182] Compiling OpenTelemetryApi Otel_attributes.swift
[81/182] Compiling OpenTelemetryApi Peer_attributes.swift
[82/182] Compiling OpenTelemetryApi Pprof_attributes.swift
[83/182] Compiling OpenTelemetryApi Process_attributes.swift
[84/182] Compiling OpenTelemetryApi Profile_attributes.swift
[85/182] Compiling OpenTelemetryApi Rpc_attributes.swift
[86/182] Compiling OpenTelemetryApi SecurityRule_attributes.swift
[87/182] Compiling OpenTelemetryApi Server_attributes.swift
[88/182] Compiling OpenTelemetryApi Service_attributes.swift
[89/182] Compiling OpenTelemetryApi Session_attributes.swift
[90/182] Compiling OpenTelemetryApi Dns_attributes.swift
[91/182] Compiling OpenTelemetryApi Dotnet_attributes.swift
[92/182] Compiling OpenTelemetryApi Elasticsearch_attributes.swift
[93/182] Compiling OpenTelemetryApi Enduser_attributes.swift
[94/182] Compiling OpenTelemetryApi Error_attributes.swift
[95/182] Compiling OpenTelemetryApi Exception_attributes.swift
[96/182] Compiling OpenTelemetryApi Faas_attributes.swift
[97/182] Compiling OpenTelemetryApi FeatureFlag_attributes.swift
[98/182] Compiling OpenTelemetryApi File_attributes.swift
[99/182] Compiling OpenTelemetryApi Gcp_attributes.swift
[100/182] Compiling OpenTelemetryApi GenAi_attributes.swift
[101/182] Compiling OpenTelemetryApi Geo_attributes.swift
[102/182] Compiling OpenTelemetryApi Go_attributes.swift
[103/182] Compiling OpenTelemetryApi Graphql_attributes.swift
[104/182] Compiling OpenTelemetryApi Heroku_attributes.swift
[105/182] Compiling OpenTelemetryApi Host_attributes.swift
[106/182] Compiling OpenTelemetryApi Http_attributes.swift
[107/182] Compiling OpenTelemetryApi Hw_attributes.swift
[108/182] Compiling OpenTelemetryApi Ios_attributes.swift
[109/182] Compiling OpenTelemetryApi Jvm_attributes.swift
[110/182] Compiling OpenTelemetryApi K8s_attributes.swift
[111/182] Compiling OpenTelemetryApi Linux_attributes.swift
[112/182] Compiling OpenTelemetryApi TracestateUtils.swift
[113/182] Compiling OpenTelemetryApi DefaultLogger.swift
[114/182] Compiling OpenTelemetryApi DefaultLoggerProvider.swift
[115/182] Compiling OpenTelemetryApi EventBuilder.swift
[116/182] Compiling OpenTelemetryApi LogRecordBuilder.swift
[117/182] Compiling OpenTelemetryApi Logger.swift
[118/182] Compiling OpenTelemetryApi LoggerBuilder.swift
[119/182] Compiling OpenTelemetryApi LoggerProvider.swift
[120/182] Compiling OpenTelemetryApi Severity.swift
[121/182] Compiling OpenTelemetryApi DefaultMeter.swift
[122/182] Compiling OpenTelemetryApi DefaultMeterProvider.swift
[123/182] Compiling OpenTelemetryApi DoubleCounter.swift
[124/182] Compiling OpenTelemetryApi DoubleCounterBuilder.swift
[125/182] Compiling OpenTelemetryApi DoubleGauge.swift
[126/182] Compiling OpenTelemetryApi DoubleGaugeBuilder.swift
[127/182] Compiling OpenTelemetryApi DoubleHistogram.swift
[128/182] Compiling OpenTelemetryApi DoubleHistogramBuilder.swift
[129/182] Compiling OpenTelemetryApi DoubleUpDownCounter.swift
[130/182] Compiling OpenTelemetryApi DoubleUpDownCounterBuilder.swift
[131/182] Compiling OpenTelemetryApi LongCounter.swift
[132/182] Compiling OpenTelemetryApi LongCounterBuilder.swift
[133/182] Compiling OpenTelemetryApi DefaultTracerProvider.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 |   extension NSException: SpanException {
   |             `- error: cannot find type 'NSException' in scope
31 |     public var type: String {
32 |       name.rawValue
[134/182] Compiling OpenTelemetryApi PropagatedSpan.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 |   extension NSException: SpanException {
   |             `- error: cannot find type 'NSException' in scope
31 |     public var type: String {
32 |       name.rawValue
[135/182] Compiling OpenTelemetryApi PropagatedSpanBuilder.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 |   extension NSException: SpanException {
   |             `- error: cannot find type 'NSException' in scope
31 |     public var type: String {
32 |       name.rawValue
[136/182] Compiling OpenTelemetryApi B3Propagator.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 |   extension NSException: SpanException {
   |             `- error: cannot find type 'NSException' in scope
31 |     public var type: String {
32 |       name.rawValue
[137/182] Compiling OpenTelemetryApi BinaryFormattable.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 |   extension NSException: SpanException {
   |             `- error: cannot find type 'NSException' in scope
31 |     public var type: String {
32 |       name.rawValue
[138/182] Compiling OpenTelemetryApi JaegerPropagator.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 |   extension NSException: SpanException {
   |             `- error: cannot find type 'NSException' in scope
31 |     public var type: String {
32 |       name.rawValue
[139/182] Compiling OpenTelemetryApi TextMapPropagator.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 |   extension NSException: SpanException {
   |             `- error: cannot find type 'NSException' in scope
31 |     public var type: String {
32 |       name.rawValue
[140/182] Compiling OpenTelemetryApi W3CTraceContextPropagator.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 |   extension NSException: SpanException {
   |             `- error: cannot find type 'NSException' in scope
31 |     public var type: String {
32 |       name.rawValue
[141/182] Compiling OpenTelemetryApi SemanticAttributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 |   extension NSException: SpanException {
   |             `- error: cannot find type 'NSException' in scope
31 |     public var type: String {
32 |       name.rawValue
[142/182] Compiling OpenTelemetryApi Span.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 |   extension NSException: SpanException {
   |             `- error: cannot find type 'NSException' in scope
31 |     public var type: String {
32 |       name.rawValue
[143/182] Compiling OpenTelemetryApi SpanBuilder.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 |   extension NSException: SpanException {
   |             `- error: cannot find type 'NSException' in scope
31 |     public var type: String {
32 |       name.rawValue
[144/182] Compiling OpenTelemetryApi SpanContext.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 |   extension NSException: SpanException {
   |             `- error: cannot find type 'NSException' in scope
31 |     public var type: String {
32 |       name.rawValue
[145/182] Compiling OpenTelemetryApi SpanException.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 |   extension NSException: SpanException {
   |             `- error: cannot find type 'NSException' in scope
31 |     public var type: String {
32 |       name.rawValue
[146/182] Compiling OpenTelemetryApi SpanId.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 |   extension NSException: SpanException {
   |             `- error: cannot find type 'NSException' in scope
31 |     public var type: String {
32 |       name.rawValue
[147/182] Compiling OpenTelemetryApi SpanKind.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 |   extension NSException: SpanException {
   |             `- error: cannot find type 'NSException' in scope
31 |     public var type: String {
32 |       name.rawValue
[148/182] Compiling OpenTelemetryApi Status.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 |   extension NSException: SpanException {
   |             `- error: cannot find type 'NSException' in scope
31 |     public var type: String {
32 |       name.rawValue
[149/182] Compiling OpenTelemetryApi TraceFlags.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 |   extension NSException: SpanException {
   |             `- error: cannot find type 'NSException' in scope
31 |     public var type: String {
32 |       name.rawValue
[150/182] Compiling OpenTelemetryApi TraceId.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 |   extension NSException: SpanException {
   |             `- error: cannot find type 'NSException' in scope
31 |     public var type: String {
32 |       name.rawValue
[151/182] Compiling OpenTelemetryApi TraceState.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 |   extension NSException: SpanException {
   |             `- error: cannot find type 'NSException' in scope
31 |     public var type: String {
32 |       name.rawValue
[152/182] Compiling OpenTelemetryApi Tracer.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 |   extension NSException: SpanException {
   |             `- error: cannot find type 'NSException' in scope
31 |     public var type: String {
32 |       name.rawValue
[153/182] Compiling OpenTelemetryApi TracerProvider.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 |   extension NSException: SpanException {
   |             `- error: cannot find type 'NSException' in scope
31 |     public var type: String {
32 |       name.rawValue
[154/182] Compiling OpenTelemetryApi Baggage.swift
[155/182] Compiling OpenTelemetryApi BaggageBuilder.swift
[156/182] Compiling OpenTelemetryApi BaggageManager.swift
[157/182] Compiling OpenTelemetryApi BaggageManagerProvider.swift
[158/182] Compiling OpenTelemetryApi DefaultBaggage.swift
[159/182] Compiling OpenTelemetryApi DefaultBaggageBuilder.swift
[160/182] Compiling OpenTelemetryApi DefaultBaggageManager.swift
[161/182] Compiling OpenTelemetryApi DefaultBaggageManagerProvider.swift
[162/182] Compiling OpenTelemetryApi EmptyBaggage.swift
[163/182] Compiling OpenTelemetryApi EmptyBaggageBuilder.swift
[164/182] Compiling OpenTelemetryApi Entry.swift
[165/182] Compiling OpenTelemetryApi EntryKey.swift
[166/182] Compiling OpenTelemetryApi EntryMetadata.swift
[167/182] Compiling OpenTelemetryApi EntryValue.swift
[168/182] Compiling OpenTelemetryApi BaggagePropagationLimits.swift
[169/182] Compiling OpenTelemetryApi JaegerBaggagePropagator.swift
[170/182] Compiling OpenTelemetryApi TextMapBaggagePropagator.swift
[171/182] Compiling OpenTelemetryApi W3CBaggagePropagator.swift
[172/182] Compiling OpenTelemetryApi ZipkinBaggagePropagator.swift
[173/182] Compiling OpenTelemetryApi AttributeArray.swift
[174/182] Compiling OpenTelemetryApi AttributeSet.swift
[175/182] Compiling OpenTelemetryApi AttributeValue.swift
BUILD FAILURE 6.1 android