The Swift Package Index logo.Swift Package Index

Build Information

Failed to build opentelemetry-swift, reference main (669a8e), with Swift 6.3 for Wasm on 17 Oct 2026 11:02:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-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:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1

Build Log

[14633/63712] Fetching swift-atomics, swift-metrics, swift-distributed-tracing, grpc-swift
[63657/119184] Fetching swift-atomics, swift-metrics, swift-distributed-tracing, grpc-swift, swift-protobuf
[67541/205747] Fetching swift-atomics, swift-metrics, swift-distributed-tracing, grpc-swift, swift-protobuf, swift-nio
Fetched https://github.com/apple/swift-atomics.git from cache (1.43s)
[71943/203858] Fetching swift-metrics, swift-distributed-tracing, grpc-swift, swift-protobuf, swift-nio
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.43s)
[65842/197202] Fetching swift-metrics, grpc-swift, swift-protobuf, swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (3.34s)
Fetched https://github.com/apple/swift-metrics.git from cache (4.64s)
Fetched https://github.com/grpc/grpc-swift.git from cache (4.66s)
Fetched https://github.com/apple/swift-protobuf.git from cache (4.68s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.7.2 (4.84s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.12.0 (0.14s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.27.6 (0.27s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/2867] Fetching swift-nio-transport-services
[2/9572] Fetching swift-nio-transport-services, swift-nio-extras
[2224/26461] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-ssl
[8899/38755] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-ssl, swift-nio-http2
[14689/67629] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-ssl, swift-nio-http2, swift-collections
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (1.27s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.27s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.28s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.30s)
Fetched https://github.com/apple/swift-collections.git from cache (1.31s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (1.58s)
Fetching https://github.com/apple/swift-system.git
[1/7310] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.66s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.83s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.39.0 (0.19s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.1 (0.16s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (0.16s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (0.16s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.3 (0.24s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.18s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.1 (0.27s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-async-algorithms.git
[1/1951] Fetching swift-http-types
[2/3235] Fetching swift-http-types, swift-http-structured-headers
[54/5286] Fetching swift-http-types, swift-http-structured-headers, swift-asn1
[142/8160] Fetching swift-http-types, swift-http-structured-headers, swift-asn1, swift-service-lifecycle
[3254/14319] Fetching swift-http-types, swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.41s)
Fetching https://github.com/apple/swift-certificates.git
[6298/13035] Fetching swift-http-types, swift-asn1, swift-service-lifecycle, swift-algorithms
Fetched https://github.com/apple/swift-asn1.git from cache (0.46s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.50s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.50s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.50s)
[1/7601] Fetching swift-certificates
Fetched https://github.com/apple/swift-certificates.git from cache (0.53s)
[1/6821] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.60s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.47s)
Fetching https://github.com/apple/swift-numerics.git
[1/6756] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.54s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.69s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.15s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.8.0 (0.17s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.13.0 (0.14s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.7 (0.18s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.18s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.19s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.0 (0.21s)
Fetching https://github.com/apple/swift-crypto.git
[1/18682] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.31s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.1 (1.55s)
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.0.1
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.39.0
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.7.2
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.8.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.3
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.13.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.7
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.12.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/grpc/grpc-swift.git
Working copy of https://github.com/grpc/grpc-swift.git resolved at 1.27.6
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.5
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.35.1
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.46.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.16.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.0
[1/1] Compiling plugin SwiftProtobufPlugin
[2/2] Compiling plugin GRPCSwiftPlugin
Building for debugging...
[2/508] Write sources
[20/508] Compiling _CWASI _CWASI.c
[21/508] Write sources
[24/508] Compiling _AtomicsShims.c
[25/508] Write sources
[49/508] Compiling CNIOWindows shim.c
[50/508] Compiling CNIOWindows WSAStartup.c
[51/508] Compiling CNIOWASI CNIOWASI.c
[52/508] Compiling CNIOLinux shim.c
[53/508] Compiling CNIOPosix event_loop_id.c
[54/508] Compiling CNIOOpenBSD shim.c
[55/508] Compiling CNIOLinux liburing_shims.c
[56/508] Compiling CNIOFreeBSD shim.c
[57/508] Compiling CNIODarwin shim.c
[58/508] Compiling CNIOLLHTTP c_nio_http.c
[59/508] Write swift-version-24593BA9C3E375BF.txt
[60/508] Compiling fiat_curve25519_adx_square.S
[60/508] Compiling fiat_p256_adx_sqr.S
[62/508] Compiling fiat_p256_adx_mul.S
[63/508] Compiling CNIOLLHTTP c_nio_api.c
[64/508] Compiling fiat_curve25519_adx_mul.S
[65/762] Compiling CNIOBoringSSLShims shims.c
[67/762] Emitting module _NIOBase64
[68/790] Emitting module Logging
[69/791] Emitting module _NIODataStructures
[69/791] Compiling tls_record.cc
[70/795] Compiling CNIOLLHTTP c_nio_llhttp.c
[72/804] Emitting module InternalCollectionsUtilities
[73/807] Emitting module CoreMetrics
error: emit-module command failed with exit code 1 (use -v to see invocation)
[74/807] 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
[75/828] Emitting module SwiftProtobuf
[76/839] Compiling _NIOBase64 Base64.swift
[77/840] Compiling Instrumentation InstrumentationContextKey.swift
[79/840] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[80/840] Compiling InternalCollectionsUtilities Integer rank.swift
[81/840] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[82/840] Compiling InternalCollectionsUtilities UInt+reversed.swift
[83/840] Compiling CoreMetrics WithMetricsFactory.swift
[84/840] Compiling InternalCollectionsUtilities UnsafeMutablePointer+Extras.swift
[85/840] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[86/840] Compiling InternalCollectionsUtilities UnsafePointer+Extras.swift
[87/840] Compiling InternalCollectionsUtilities MutableSpan+Extras.swift
[88/840] Compiling InternalCollectionsUtilities OutputSpan+Extras.swift
[89/840] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[90/840] Compiling InternalCollectionsUtilities Span+Extras.swift
[91/840] Emitting module Instrumentation
[92/840] Compiling Instrumentation NoOpInstrument.swift
[93/840] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[94/840] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[95/840] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[96/840] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[97/840] Compiling InternalCollectionsUtilities Strideable+LimitHelpers.swift
[98/840] Compiling InternalCollectionsUtilities String+Padding.swift
[99/840] Compiling InternalCollectionsUtilities TemporaryAllocation.swift
[100/840] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[101/840] Compiling Logging Logger+With.swift
[102/840] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[103/840] Compiling InternalCollectionsUtilities _SortedCollection.swift
[104/840] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[105/840] Compiling Instrumentation Instrument.swift
[106/840] Compiling Instrumentation InstrumentationContext.swift
[107/840] Compiling InternalCollectionsUtilities Iterable+CopyContents.swift
[108/840] Compiling InternalCollectionsUtilities Iterable+Equality.swift
[109/840] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[110/840] Compiling InternalCollectionsUtilities MutableRef.swift
[111/840] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Equality.swift
[112/840] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Extras.swift
[113/840] Compiling InternalCollectionsUtilities Debugging.swift
[114/840] Compiling InternalCollectionsUtilities Descriptions.swift
[115/841] Compiling Instrumentation MultiplexInstrument.swift
[117/841] Compiling Logging Logger.swift
[118/841] Compiling _NIODataStructures _TinyArray.swift
[119/841] Compiling Logging LoggingSystem.swift
[120/841] Compiling _NIODataStructures PriorityQueue.swift
[120/841] Wrapping AST for _NIOBase64 for debugging
[122/845] Compiling Logging Logger+Attributes.swift
[125/845] Emitting module SpanPreview
[126/845] Compiling SpanPreview InputSpan.swift
[127/845] Compiling SpanPreview MutableSpan+InputSpanHelpers.swift
[128/845] Compiling SpanPreview OutputSpan+InputSpanHelpers.swift
[130/846] Compiling CoreMetrics MappingMetricsFactory.swift
[131/846] Compiling CoreMetrics Metrics.swift
[132/846] Compiling CoreMetrics Locks.swift
[133/851] Compiling Instrumentation Locks.swift
[134/854] Compiling DequeModule Deque+Codable.swift
[135/854] Compiling DequeModule Deque+Collection.swift
[136/854] Compiling Instrumentation InstrumentationSystem.swift
[137/854] Compiling DequeModule Deque+Equatable.swift
[138/854] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[139/854] Compiling Logging MetadataProvider.swift
[141/891] Compiling DequeModule UniqueDeque+Consumption.swift
[142/891] Compiling DequeModule UniqueDeque+ContainerOperations.swift
[143/891] Compiling DequeModule UniqueDeque+Deprecations.swift
[144/891] Compiling DequeModule UniqueDeque+Descriptions.swift
[145/891] Compiling DequeModule UniqueDeque+Equatable.swift
[146/891] Compiling DequeModule UniqueDeque+Hashable.swift
[147/891] Compiling DequeModule UniqueDeque+Initializers.swift
[148/891] Compiling DequeModule UniqueDeque+Insertions.swift
[149/891] Compiling DequeModule UniqueDeque+Iterable.swift
[150/891] Compiling DequeModule UniqueDeque+Prepend.swift
[151/891] Compiling DequeModule UniqueDeque+Removals.swift
[152/891] Compiling DequeModule RigidDeque+Descriptions.swift
[155/891] 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 |   }
[156/891] 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 |   }
[157/891] 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 |   }
[158/891] 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 |   }
[159/891] 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 |   }
[160/891] 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 |   }
[161/891] 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 |   }
[162/891] 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 |   }
[163/891] Compiling _NIODataStructures Heap.swift
[164/891] 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 |   }
[165/891] 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 |   }
[166/891] 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 |   }
[167/891] 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 |   }
[168/891] 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 |   }
[169/891] 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 |   }
[170/891] 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 |   }
[171/891] 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 |   }
[172/891] 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 |   }
[173/891] 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 |   }
[174/891] 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 |   }
[175/891] 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 |   }
[176/891] 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 |   }
[177/891] 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 |   }
[177/892] Wrapping AST for SpanPreview for debugging
[179/892] Compiling DequeModule Deque+Extras.swift
[180/892] Compiling DequeModule Deque+Hashable.swift
[181/892] Compiling DequeModule Deque+Testing.swift
[182/892] Compiling DequeModule Deque._Storage.swift
[183/892] Compiling DequeModule Deque._UnsafeHandle.swift
[184/892] Compiling DequeModule Deque.swift
[185/892] Compiling DequeModule RigidDeque+Prepend.swift
[186/892] Compiling DequeModule RigidDeque+Removals.swift
[187/892] Compiling DequeModule RigidDeque+Replacements.swift
[188/892] Compiling DequeModule RigidDeque+Testing.swift
[189/892] Compiling DequeModule RigidDeque.swift
[190/892] Compiling DequeModule UniqueDeque+Append.swift
[190/892] Wrapping AST for Logging for debugging
[192/892] Compiling OpenTelemetryApi LongGauge.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 |
[193/892] Compiling OpenTelemetryApi LongGaugeBuilder.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 |
[194/892] Compiling OpenTelemetryApi LongHistogram.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 |
[195/892] Compiling OpenTelemetryApi LongHistogramBuilder.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 |
[196/892] Compiling OpenTelemetryApi LongUpDownCounter.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 |
[197/892] Compiling OpenTelemetryApi LongUpDownCounterBuilder.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 |
[198/892] Compiling OpenTelemetryApi Meter.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 |
[199/892] Compiling OpenTelemetryApi MeterBuilder.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 |
[200/892] Compiling OpenTelemetryApi MeterProvider.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 |
[201/892] Compiling OpenTelemetryApi ObservableDoubleCounter.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 |
[202/892] Compiling OpenTelemetryApi ObservableDoubleGauge.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 |
[203/892] Compiling OpenTelemetryApi ObservableDoubleMeasurement.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 |
[204/892] Compiling OpenTelemetryApi ObservableDoubleUpDownCounter.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 |
[205/892] Compiling OpenTelemetryApi ObservableLongCounter.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 |
[206/892] Compiling OpenTelemetryApi ObservableLongGauge.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 |
[207/892] Compiling OpenTelemetryApi ObservableLongMeasurement.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 |
[208/892] Compiling OpenTelemetryApi ObservableLongUpDownCounter.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 |
[209/892] Compiling OpenTelemetryApi OpenTelemetry.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 |
[210/892] Compiling OpenTelemetryApi ContextPropagators.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 |
[211/892] Compiling OpenTelemetryApi DefaultContextPropagators.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 |
[212/892] Compiling OpenTelemetryApi DefaultTracer.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: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: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: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: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: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: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: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: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: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: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: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: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: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:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[228/892] Compiling DequeModule RigidDeque+Equatable.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 |
[229/892] Compiling DequeModule RigidDeque+Hashable.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 |
[230/892] Compiling DequeModule RigidDeque+Initializers.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 |
[231/892] Compiling DequeModule RigidDeque+Insertions.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 |
[232/892] Compiling DequeModule RigidDeque+Iterable.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 |
[233/892] Compiling OpenTelemetryApi Server_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 |
[234/892] Compiling OpenTelemetryApi Service_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 |
[235/892] Compiling OpenTelemetryApi Session_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 |
[235/892] Wrapping AST for InternalCollectionsUtilities for debugging
[237/892] Compiling OpenTelemetryApi DoubleHistogram.swift
[238/892] Compiling OpenTelemetryApi DoubleHistogramBuilder.swift
[239/892] Compiling OpenTelemetryApi DoubleUpDownCounter.swift
[240/892] Compiling OpenTelemetryApi DoubleUpDownCounterBuilder.swift
[241/892] Compiling OpenTelemetryApi LongCounter.swift
[242/892] Compiling OpenTelemetryApi LongCounterBuilder.swift
[243/892] Compiling OpenTelemetryApi Android_attributes.swift
[244/892] Compiling OpenTelemetryApi App_attributes.swift
[245/892] Compiling OpenTelemetryApi Artifact_attributes.swift
[246/892] Compiling OpenTelemetryApi Aspnetcore_attributes.swift
[247/892] Compiling OpenTelemetryApi Aws_attributes.swift
[248/892] Compiling OpenTelemetryApi Azure_attributes.swift
[249/892] Compiling SwiftProtobuf empty.pb.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 |
[250/892] Compiling SwiftProtobuf field_mask.pb.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 |
[251/892] Compiling SwiftProtobuf source_context.pb.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 |
[252/892] Compiling SwiftProtobuf struct.pb.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 |
[253/892] Compiling SwiftProtobuf timestamp.pb.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 |
[254/892] Compiling SwiftProtobuf type.pb.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 |
[255/892] Compiling SwiftProtobuf wrappers.pb.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 |
[256/892] Compiling OpenTelemetryApi FeatureFlag_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 |
[257/892] Compiling OpenTelemetryApi File_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 |
[258/892] Compiling OpenTelemetryApi Gcp_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 |
[259/892] Compiling OpenTelemetryApi GenAi_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 |
[260/892] Compiling OpenTelemetryApi Geo_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 |
[261/892] Compiling OpenTelemetryApi Go_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 |
[262/892] Compiling OpenTelemetryApi Graphql_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 |
[263/892] Compiling OpenTelemetryApi Heroku_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 |
[264/892] Compiling OpenTelemetryApi Host_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 |
[265/892] Compiling OpenTelemetryApi Http_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 |
[266/892] Compiling OpenTelemetryApi Hw_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 |
[267/892] Compiling OpenTelemetryApi Ios_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 |
[268/892] Compiling OpenTelemetryApi Jvm_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 |
[269/892] Compiling OpenTelemetryApi K8s_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 |
[270/892] Compiling OpenTelemetryApi Linux_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 |
[271/892] Compiling OpenTelemetryApi Browser_attributes.swift
[272/892] Compiling OpenTelemetryApi Cassandra_attributes.swift
[273/892] Compiling OpenTelemetryApi Cicd_attributes.swift
[274/892] Compiling OpenTelemetryApi Client_attributes.swift
[275/892] Compiling OpenTelemetryApi Cloud_attributes.swift
[276/892] Compiling OpenTelemetryApi Cloudevents_attributes.swift
[277/892] Compiling OpenTelemetryApi Cloudfoundry_attributes.swift
[278/892] Compiling OpenTelemetryApi Code_attributes.swift
[279/892] Compiling OpenTelemetryApi Container_attributes.swift
[280/892] Compiling OpenTelemetryApi Cpu_attributes.swift
[281/892] Compiling OpenTelemetryApi Cpython_attributes.swift
[282/892] Compiling OpenTelemetryApi Db_attributes.swift
[283/894] Compiling OpenTelemetryApi TracestateUtils.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 |
[284/894] Compiling OpenTelemetryApi DefaultLogger.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 |
[285/894] Compiling OpenTelemetryApi DefaultLoggerProvider.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 |
[286/894] Compiling OpenTelemetryApi EventBuilder.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 |
[287/894] Compiling OpenTelemetryApi LogRecordBuilder.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 |
[288/894] Compiling OpenTelemetryApi Logger.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 |
[289/894] Compiling OpenTelemetryApi LoggerBuilder.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 |
[290/894] Compiling OpenTelemetryApi LoggerProvider.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 |
[291/894] Compiling OpenTelemetryApi Severity.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 |
[292/894] Compiling OpenTelemetryApi DefaultMeter.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 |
[293/894] Compiling OpenTelemetryApi DefaultMeterProvider.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 |
[294/894] Compiling OpenTelemetryApi DoubleCounter.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 |
[295/894] Compiling OpenTelemetryApi DoubleCounterBuilder.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 |
[296/894] Compiling OpenTelemetryApi DoubleGauge.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 |
[297/894] Compiling OpenTelemetryApi DoubleGaugeBuilder.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: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: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: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: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: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: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: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:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[306/894] Compiling DequeModule Deque+CustomReflectable.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 |
[307/894] Compiling DequeModule Deque+Descriptions.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: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:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[310/894] Compiling DequeModule _DequeBuffer.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 |
[311/894] Compiling DequeModule _DequeBufferHeader.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 |
[312/894] Compiling DequeModule RigidDeque+Append.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 |
[313/894] Compiling DequeModule RigidDeque+Consumption.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 |
[314/894] Compiling DequeModule RigidDeque+ContainerOperations.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 |
[315/894] Compiling DequeModule RigidDeque+Deprecations.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: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: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: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: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: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: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: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: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: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:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[326/894] Compiling OpenTelemetryApi DefaultTracerProvider.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/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
[327/894] Compiling OpenTelemetryApi PropagatedSpan.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/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
[328/894] Compiling OpenTelemetryApi PropagatedSpanBuilder.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/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
[329/894] Compiling OpenTelemetryApi B3Propagator.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/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
[330/894] Compiling OpenTelemetryApi BinaryFormattable.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/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
[331/894] Compiling OpenTelemetryApi JaegerPropagator.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/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
[332/894] Compiling OpenTelemetryApi TextMapPropagator.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/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
[333/894] Compiling OpenTelemetryApi W3CTraceContextPropagator.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/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
[334/894] Compiling OpenTelemetryApi SemanticAttributes.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/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
[335/894] Compiling OpenTelemetryApi Span.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/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
[336/894] Compiling OpenTelemetryApi SpanBuilder.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/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
[337/894] Compiling OpenTelemetryApi SpanContext.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/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
[338/894] Compiling OpenTelemetryApi SpanException.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/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
[339/894] Compiling OpenTelemetryApi SpanId.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/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
[340/894] Compiling OpenTelemetryApi SpanKind.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/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
[341/894] Compiling OpenTelemetryApi Status.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/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
[342/894] Compiling OpenTelemetryApi TraceFlags.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/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
[343/894] Compiling OpenTelemetryApi TraceId.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/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
[344/894] Compiling OpenTelemetryApi TraceState.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/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
[345/894] Compiling OpenTelemetryApi Tracer.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/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
[346/894] Compiling OpenTelemetryApi TracerProvider.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/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
[347/894] Emitting module ServiceContextModule
[348/894] Compiling ServiceContextModule ServiceContextModule.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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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: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:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[367/895] Compiling SwiftProtobuf any.pb.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 |
[368/895] Compiling SwiftProtobuf api.pb.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 |
[369/895] Compiling SwiftProtobuf descriptor.pb.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 |
[370/895] Compiling SwiftProtobuf duration.pb.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 |
[377/900] Compiling tls13_client.cc
[377/900] Compiling tls13_server.cc
[377/900] Compiling tls_method.cc
[377/900] Compiling tls13_enc.cc
BUILD FAILURE 6.3 wasm