The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

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

Build Log

[79550/153128] Fetching swift-log, grpc-swift, swift-distributed-tracing, swift-nio
[84745/208600] Fetching swift-log, grpc-swift, swift-distributed-tracing, swift-nio, swift-protobuf
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.51s)
[119925/201944] Fetching swift-log, grpc-swift, swift-nio, swift-protobuf
Fetched https://github.com/grpc/grpc-swift.git from cache (1.52s)
[69430/150340] Fetching swift-log, swift-nio, swift-protobuf
Fetched https://github.com/apple/swift-log.git from cache (5.75s)
Fetched https://github.com/apple/swift-nio.git from cache (5.79s)
Fetched https://github.com/apple/swift-protobuf.git from cache (5.80s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.7.2 (5.96s)
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.26s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-collections.git
[1/2867] Fetching swift-nio-transport-services
[2868/9572] Fetching swift-nio-transport-services, swift-nio-extras
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.47s)
[270/18999] Fetching swift-nio-extras, swift-nio-http2
[4449/35888] Fetching swift-nio-extras, swift-nio-http2, swift-nio-ssl
[10717/64762] Fetching swift-nio-extras, swift-nio-http2, swift-nio-ssl, swift-collections
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.01s)
[46982/52468] Fetching swift-nio-extras, swift-nio-ssl, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.42s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.47s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.48s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (1.76s)
Fetching https://github.com/apple/swift-system.git
[1/7310] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.64s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.80s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.39.0 (0.18s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.1 (0.15s)
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.23s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.17s)
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.26s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-http-types.git
[1/1951] Fetching swift-http-types
[1816/3235] Fetching swift-http-types, swift-http-structured-headers
[1965/10056] Fetching swift-http-types, swift-http-structured-headers, swift-async-algorithms
[2047/12107] Fetching swift-http-types, swift-http-structured-headers, swift-async-algorithms, swift-asn1
Fetched https://github.com/apple/swift-http-types.git from cache (0.42s)
[109/10156] Fetching swift-http-structured-headers, swift-async-algorithms, swift-asn1
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[6055/17757] Fetching swift-http-structured-headers, swift-async-algorithms, swift-asn1, swift-certificates
[10538/23916] Fetching swift-http-structured-headers, swift-async-algorithms, swift-asn1, swift-certificates, swift-algorithms
Fetched https://github.com/apple/swift-algorithms.git from cache (0.65s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.65s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.65s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.65s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.65s)
[1/2874] Fetching swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.60s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.89s)
Fetching https://github.com/apple/swift-numerics.git
[1/6756] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.58s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.73s)
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.14s)
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.13s)
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.17s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.17s)
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.20s)
Fetching https://github.com/apple/swift-crypto.git
[1/18682] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.21s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.1 (1.44s)
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/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-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-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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.0
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-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-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
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-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-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-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-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-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-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-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-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/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-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-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
[1/1] Compiling plugin SwiftProtobufPlugin
[2/2] Compiling plugin GRPCSwiftPlugin
Building for debugging...
[2/507] Write sources
[43/507] Compiling _AtomicsShims.c
[45/507] Write sources
[48/507] Compiling CNIOWindows WSAStartup.c
[49/507] Compiling CNIOWASI CNIOWASI.c
[50/507] Compiling CNIOOpenBSD shim.c
[51/507] Compiling CNIOWindows shim.c
[52/507] Compiling CNIOPosix event_loop_id.c
[53/507] Compiling CNIOLinux liburing_shims.c
[54/507] Compiling CNIOFreeBSD shim.c
[55/507] Compiling CNIOLLHTTP c_nio_http.c
[56/507] Compiling CNIODarwin shim.c
[57/507] Compiling CNIOLLHTTP c_nio_api.c
[58/507] Write swift-version-272D24FF697CF451.txt
[59/507] Compiling fiat_curve25519_adx_square.S
[59/507] Compiling fiat_p256_adx_sqr.S
[61/507] Compiling fiat_p256_adx_mul.S
[62/507] Compiling CNIOLinux shim.c
[63/507] Compiling fiat_curve25519_adx_mul.S
[64/513] Compiling CNIOLLHTTP c_nio_llhttp.c
[65/530] Compiling CNIOBoringSSLShims shims.c
[66/797] Compiling tls_record.cc
[68/802] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[69/802] Compiling InternalCollectionsUtilities Integer rank.swift
[70/802] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[71/802] Compiling InternalCollectionsUtilities UInt+reversed.swift
[72/802] Compiling CoreMetrics WithMetricsFactory.swift
[73/805] Compiling InternalCollectionsUtilities UnsafeMutablePointer+Extras.swift
[74/805] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[75/805] Compiling InternalCollectionsUtilities UnsafePointer+Extras.swift
[76/805] Compiling CoreMetrics MappingMetricsFactory.swift
[77/805] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[78/805] Compiling InternalCollectionsUtilities _SortedCollection.swift
[79/805] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[80/805] Compiling Instrumentation InstrumentationContextKey.swift
[81/805] Compiling Instrumentation InstrumentationSystem.swift
[84/806] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[85/806] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[86/806] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[87/806] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[88/806] Compiling Instrumentation MultiplexInstrument.swift
[89/806] Compiling Instrumentation NoOpInstrument.swift
[90/806] Compiling Instrumentation Instrument.swift
[91/806] Emitting module Instrumentation
[92/806] Compiling Instrumentation InstrumentationContext.swift
[93/806] Compiling Logging LoggingSystem.swift
[94/806] Emitting module _NIOBase64
[95/806] Compiling _NIOBase64 Base64.swift
[96/806] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Equality.swift
[97/806] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Extras.swift
[98/806] Compiling InternalCollectionsUtilities Debugging.swift
[99/806] Compiling InternalCollectionsUtilities Descriptions.swift
[100/807] Emitting module InternalCollectionsUtilities
[101/807] Compiling InternalCollectionsUtilities MutableSpan+Extras.swift
[102/807] Compiling InternalCollectionsUtilities OutputSpan+Extras.swift
[103/807] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[104/807] Compiling InternalCollectionsUtilities Span+Extras.swift
[105/807] Compiling InternalCollectionsUtilities Strideable+LimitHelpers.swift
[106/807] Compiling InternalCollectionsUtilities String+Padding.swift
[107/807] Compiling InternalCollectionsUtilities TemporaryAllocation.swift
[108/807] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[109/807] Compiling InternalCollectionsUtilities Iterable+CopyContents.swift
[110/807] Compiling InternalCollectionsUtilities Iterable+Equality.swift
[111/807] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[112/807] Compiling InternalCollectionsUtilities MutableRef.swift
[115/808] Compiling _NIODataStructures PriorityQueue.swift
[116/808] Compiling _NIODataStructures _TinyArray.swift
[116/808] Wrapping AST for _NIOBase64 for debugging
[118/808] Compiling _NIODataStructures Heap.swift
[119/808] Emitting module _NIODataStructures
[121/813] Compiling SpanPreview MutableSpan+InputSpanHelpers.swift
[122/813] Compiling SpanPreview OutputSpan+InputSpanHelpers.swift
[122/813] Wrapping AST for InternalCollectionsUtilities for debugging
[124/813] Emitting module SpanPreview
[125/813] Compiling SpanPreview InputSpan.swift
[125/813] Wrapping AST for _NIODataStructures for debugging
[128/814] Compiling Logging Logger+With.swift
[129/814] Compiling Logging Logger+Attributes.swift
[130/814] Compiling Logging Logger.swift
[131/814] Compiling CoreMetrics Metrics.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[132/814] 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
[132/835] Compiling tls13_server.cc
[134/877] Compiling DequeModule UniqueDeque+Consumption.swift
[135/877] Compiling DequeModule UniqueDeque+ContainerOperations.swift
[136/877] Compiling DequeModule UniqueDeque+Deprecations.swift
[137/877] Compiling DequeModule UniqueDeque+Descriptions.swift
[138/877] Compiling DequeModule UniqueDeque+Equatable.swift
[139/877] Compiling DequeModule UniqueDeque+Hashable.swift
[140/882] Compiling Logging MetadataProvider.swift
[141/882] Compiling DequeModule Deque+CustomReflectable.swift
[142/882] Compiling DequeModule Deque+Descriptions.swift
[143/882] Compiling DequeModule Deque+Codable.swift
[144/882] Compiling DequeModule Deque+Collection.swift
[145/882] Emitting module Logging
[146/883] Compiling Instrumentation Locks.swift
[147/884] Compiling DequeModule UniqueDeque+Initializers.swift
[148/884] Compiling DequeModule UniqueDeque+Insertions.swift
[149/884] Compiling DequeModule UniqueDeque+Iterable.swift
[150/884] Compiling DequeModule UniqueDeque+Prepend.swift
[151/884] Compiling DequeModule UniqueDeque+Removals.swift
[153/884] Wrapping AST for SpanPreview for debugging
[154/884] Wrapping AST for Logging for debugging
[156/884] Compiling CoreMetrics Locks.swift
[157/884] Emitting module CoreMetrics
[158/887] Compiling DequeModule Deque+Extras.swift
[159/887] Compiling DequeModule Deque+Hashable.swift
[160/887] Compiling DequeModule Deque+Testing.swift
[161/887] Compiling DequeModule Deque._Storage.swift
[162/887] Compiling DequeModule Deque._UnsafeHandle.swift
[163/887] Compiling DequeModule Deque.swift
[163/887] Compiling tls_method.cc
[165/887] Compiling tls13_enc.cc
[167/887] Compiling OpenTelemetryApi Test_attributes.swift
[168/887] Compiling OpenTelemetryApi Thread_attributes.swift
[169/887] Compiling OpenTelemetryApi Tls_attributes.swift
[170/887] Compiling OpenTelemetryApi Url_attributes.swift
[171/887] Compiling OpenTelemetryApi UserAgent_attributes.swift
[172/887] Compiling OpenTelemetryApi User_attributes.swift
[173/887] Compiling OpenTelemetryApi V8js_attributes.swift
[174/887] Compiling OpenTelemetryApi Vcs_attributes.swift
[175/887] Compiling OpenTelemetryApi Webengine_attributes.swift
[176/887] Compiling OpenTelemetryApi Zos_attributes.swift
[177/887] Compiling OpenTelemetryApi SemanticConventions.swift
[178/887] Compiling OpenTelemetryApi ActivityContextManager.swift
[184/887] Compiling DequeModule UniqueDeque+Replacements.swift
[185/887] Compiling DequeModule UniqueDeque.swift
[186/887] Compiling DequeModule _DequeSlot.swift
[187/887] Compiling DequeModule _UnsafeDequeHandle.swift
[188/887] Compiling DequeModule _UnsafeDequeSegments.swift
[189/887] Compiling OpenTelemetryApi System_attributes.swift
[190/887] Compiling OpenTelemetryApi Telemetry_attributes.swift
[191/898] Compiling ServiceContextModule ServiceContextModule.swift
[192/898] Emitting module ServiceContextModule
[197/899] Compiling DequeModule Deque+Equatable.swift
[198/899] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[199/899] Compiling DequeModule RigidDeque+Descriptions.swift
[200/899] Compiling DequeModule RigidDeque+Equatable.swift
[201/899] Compiling DequeModule RigidDeque+Hashable.swift
[202/899] Compiling DequeModule RigidDeque+Initializers.swift
[203/899] Compiling DequeModule RigidDeque+Insertions.swift
[204/899] Compiling DequeModule RigidDeque+Iterable.swift
[205/899] Compiling DequeModule RigidDeque+Prepend.swift
[206/899] Compiling DequeModule RigidDeque+Removals.swift
[207/899] Compiling DequeModule RigidDeque+Replacements.swift
[208/899] Compiling DequeModule RigidDeque+Testing.swift
[209/899] Compiling DequeModule RigidDeque.swift
[210/899] Compiling DequeModule UniqueDeque+Append.swift
[212/899] Compiling OpenTelemetryApi Android_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 |
[213/899] Compiling OpenTelemetryApi App_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 |
[214/899] Compiling OpenTelemetryApi Artifact_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 |
[215/899] Compiling OpenTelemetryApi Aspnetcore_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 |
[216/899] Compiling OpenTelemetryApi Aws_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 |
[217/899] Compiling OpenTelemetryApi Azure_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 |
[218/899] Compiling OpenTelemetryApi Browser_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 |
[219/899] Compiling OpenTelemetryApi Cassandra_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 |
[220/899] Compiling OpenTelemetryApi Cicd_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 |
[221/899] Compiling OpenTelemetryApi Client_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 |
[222/899] Compiling OpenTelemetryApi Cloud_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 |
[223/899] Compiling OpenTelemetryApi Cloudevents_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 |
[224/899] Compiling OpenTelemetryApi Cloudfoundry_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 |
[225/899] Compiling OpenTelemetryApi Code_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 |
[226/899] Compiling OpenTelemetryApi Container_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 |
[227/899] Compiling OpenTelemetryApi Cpu_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 |
[228/899] Compiling OpenTelemetryApi Cpython_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 |
[229/899] Compiling OpenTelemetryApi Db_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 |
[230/899] Compiling OpenTelemetryApi Deployment_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 |
[231/899] Compiling OpenTelemetryApi Destination_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 |
[232/899] Compiling OpenTelemetryApi Device_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 |
[233/899] Compiling OpenTelemetryApi Disk_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/899] 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 |
[235/899] 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 |
[236/899] 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 |
[237/899] 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 |
[238/899] 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 |
[239/899] 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 |
[240/899] 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 |
[241/899] 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 |
[242/899] 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 |
[243/899] 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 |
[244/899] 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 |
[245/899] 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 |
[246/899] 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 |
[247/899] 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 |
[248/899] 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 |
[249/899] Compiling OpenTelemetryApi DoubleHistogram.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/899] Compiling OpenTelemetryApi DoubleHistogramBuilder.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/899] Compiling OpenTelemetryApi DoubleUpDownCounter.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/899] Compiling OpenTelemetryApi DoubleUpDownCounterBuilder.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/899] Compiling OpenTelemetryApi LongCounter.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/899] Compiling OpenTelemetryApi LongCounterBuilder.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/899] 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 |
[256/899] 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 |
[257/899] 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 |
[258/899] 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 |
[259/899] 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 |
[260/899] 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 |
[261/899] 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 |
[262/899] 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 |
[263/899] 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 |
[264/899] 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 |
[265/899] 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 |
[266/899] 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 |
[267/899] 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 |
[268/899] 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 |
[269/899] 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 |
[270/899] 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 |
[271/899] 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 |
[272/899] 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 |
[273/899] 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 |
[274/899] 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 |
[275/899] 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 |
[276/899] Compiling DequeModule _DequeBuffer.swift
[277/899] Compiling DequeModule _DequeBufferHeader.swift
[278/899] Compiling DequeModule RigidDeque+Append.swift
[279/899] Compiling DequeModule RigidDeque+Consumption.swift
[280/899] Compiling DequeModule RigidDeque+ContainerOperations.swift
[281/899] Compiling DequeModule RigidDeque+Deprecations.swift
[282/899] 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
[283/899] 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
[284/899] 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
[285/899] 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
[286/899] 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
[287/899] 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
[288/899] 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
[289/899] 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
[290/899] 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
[291/899] 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
[292/899] 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
[293/899] 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
[294/899] 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
[295/899] 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
[296/899] 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
[297/899] 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
[298/899] 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
[299/899] 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
[300/899] 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
[301/899] 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
[302/899] 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
/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 |
/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 |
/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 |
[347/899] Compiling OpenTelemetryApi Log_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 |
[348/899] Compiling OpenTelemetryApi Mainframe_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 |
[349/899] Compiling OpenTelemetryApi Messaging_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 |
[350/899] Compiling OpenTelemetryApi Network_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 |
[351/899] Compiling OpenTelemetryApi Nfs_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 |
[352/899] Compiling OpenTelemetryApi Nodejs_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 |
[353/899] Compiling OpenTelemetryApi Oci_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 |
[354/899] Compiling OpenTelemetryApi OncRpc_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 |
[355/899] Compiling OpenTelemetryApi Openai_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 |
[356/899] Compiling OpenTelemetryApi Openshift_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 |
[357/899] Compiling OpenTelemetryApi Opentracing_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 |
[358/899] Compiling OpenTelemetryApi Os_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 |
[359/899] Compiling OpenTelemetryApi Otel_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 |
[360/899] Compiling OpenTelemetryApi Peer_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 |
[361/899] Compiling OpenTelemetryApi Pprof_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 |
[362/899] Compiling OpenTelemetryApi Process_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 |
[363/899] Compiling OpenTelemetryApi Profile_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 |
[364/899] 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 |
[365/899] 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 |
[366/899] 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 |
[367/899] 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 |
[368/899] 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 |
/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 |   }
/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 |   }
/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 |   }
/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 |   }
/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 |   }
/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 |   }
/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 |   }
/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 |   }
/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 |   }
/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 |   }
/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 |   }
/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 |   }
/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 |   }
/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 |   }
/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 |   }
/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 |   }
[385/899] 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 |   }
[386/899] 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 |   }
[387/899] 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 |   }
[388/899] 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 |   }
[389/899] 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 |   }
[390/899] 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 |   }
[390/899] Compiling t1_enc.cc
[390/899] Compiling ssl_x509.cc
[390/899] Compiling tls13_client.cc
[390/899] Compiling ssl_versions.cc
[390/899] Compiling tls13_both.cc
BUILD FAILURE 6.3 android