Build Information
Failed to build opentelemetry-swift, reference 2.6.0 (9f350e), with Swift 6.1 for Android on 4 Oct 2026 15:07:53 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
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/.build/checkouts/opentelemetry-swift-core/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
[386/914] Emitting module SwiftProtobuf
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[387/925] Compiling Tracing SpanProtocol.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[393/926] Compiling ssl_transcript.cc
[395/926] Emitting module DequeModule
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[396/927] Wrapping AST for DequeModule for debugging
[397/927] Compiling ssl_versions.cc
[399/927] Compiling OpenTelemetryApi DefaultTracerProvider.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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
[400/927] Compiling OpenTelemetryApi PropagatedSpan.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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
[401/927] Compiling OpenTelemetryApi PropagatedSpanBuilder.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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
[402/927] Compiling OpenTelemetryApi B3Propagator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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
[403/927] Compiling OpenTelemetryApi BinaryFormattable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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
[404/927] Compiling OpenTelemetryApi JaegerPropagator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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
[405/927] Compiling OpenTelemetryApi TextMapPropagator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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
[406/927] Compiling OpenTelemetryApi W3CTraceContextPropagator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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
[407/927] Compiling OpenTelemetryApi SemanticAttributes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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
[408/927] Compiling OpenTelemetryApi Span.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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
[409/927] Compiling OpenTelemetryApi SpanBuilder.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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
[410/927] Compiling OpenTelemetryApi SpanContext.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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
[411/927] Compiling OpenTelemetryApi SpanException.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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
[412/927] Compiling OpenTelemetryApi SpanId.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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
[413/927] Compiling OpenTelemetryApi SpanKind.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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
[414/927] Compiling OpenTelemetryApi Status.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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
[415/927] Compiling OpenTelemetryApi TraceFlags.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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
[416/927] Compiling OpenTelemetryApi TraceId.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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
[417/927] Compiling OpenTelemetryApi TraceState.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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
[418/927] Compiling OpenTelemetryApi Tracer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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
[419/927] Compiling OpenTelemetryApi TracerProvider.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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
[419/927] Compiling ssl_x509.cc
[420/927] Compiling ssl_credential.cc
[420/927] Compiling ssl_file.cc
[420/927] Compiling ssl_lib.cc
[420/927] Compiling ssl_key_share.cc
[420/927] Compiling ssl_privkey.cc
[420/927] Compiling ssl_session.cc
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:a7f4f752e160f6cbd9e0c26490aa43ccd5312d524c4c6d77f8b144559b526afa
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin SwiftProtobufPlugin
[2/2] Compiling plugin GRPCSwiftPlugin
Building for debugging...
[2/415] Write sources
[3/422] Compiling ssl_key_share.cc
[4/422] Compiling ssl_cipher.cc
[5/422] Compiling ssl_credential.cc
[6/422] Compiling ssl_session.cc
[7/422] Write swift-version-24593BA9C3E375BF.txt
[8/422] Compiling ssl_lib.cc
[9/422] Compiling ssl_privkey.cc
[10/422] Compiling ssl_file.cc
[11/512] Compiling ssl_cert.cc
[13/512] Compiling _NIODataStructures PriorityQueue.swift
[14/515] Emitting module _NIOBase64
[15/515] Compiling _NIOBase64 Base64.swift
[16/516] Compiling _NIODataStructures Heap.swift
[17/516] Compiling _NIODataStructures _TinyArray.swift
[18/516] Compiling ServiceContextModule ServiceContextKey.swift
[19/516] Emitting module _NIODataStructures
[19/517] Compiling ssl_asn1.cc
[22/517] Emitting module ServiceContextModule
[23/517] Compiling ServiceContextModule ServiceContext.swift
[25/704] Compiling ssl_buffer.cc
[27/704] Compiling Instrumentation NoOpInstrument.swift
[28/704] Compiling Instrumentation MultiplexInstrument.swift
[29/704] Emitting module Instrumentation
[30/704] Compiling Instrumentation Locks.swift
[31/704] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[32/704] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[33/706] Compiling Instrumentation InstrumentationSystem.swift
[34/706] Compiling Instrumentation Instrument.swift
[35/712] Compiling s3_pkt.cc
[37/712] Compiling Logging LoggingSystem.swift
[38/713] Compiling InternalCollectionsUtilities _SortedCollection.swift
[39/713] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[40/713] Compiling InternalCollectionsUtilities Integer rank.swift
[41/713] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[42/717] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[43/717] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[44/717] Compiling InternalCollectionsUtilities Span+Extras.swift
[45/731] Compiling CoreMetrics WithMetricsFactory.swift
[46/731] Compiling OpenTelemetryApi LongGauge.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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.
[47/731] Compiling OpenTelemetryApi LongGaugeBuilder.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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.
[48/731] Compiling OpenTelemetryApi LongHistogram.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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.
[49/731] Compiling OpenTelemetryApi LongHistogramBuilder.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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.
[50/731] Compiling OpenTelemetryApi LongUpDownCounter.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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.
[51/731] Compiling OpenTelemetryApi LongUpDownCounterBuilder.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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.
[52/731] Compiling OpenTelemetryApi Meter.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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.
[53/731] Compiling OpenTelemetryApi MeterBuilder.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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.
[54/731] Compiling OpenTelemetryApi MeterProvider.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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.
[55/731] Compiling OpenTelemetryApi ObservableDoubleCounter.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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.
[56/731] Compiling OpenTelemetryApi ObservableDoubleGauge.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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.
[57/731] Compiling OpenTelemetryApi ObservableDoubleMeasurement.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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.
[58/731] Compiling OpenTelemetryApi ObservableDoubleUpDownCounter.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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.
[59/731] Compiling OpenTelemetryApi ObservableLongCounter.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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.
[60/731] Compiling OpenTelemetryApi ObservableLongGauge.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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.
[61/731] Compiling OpenTelemetryApi ObservableLongMeasurement.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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.
[62/731] Compiling OpenTelemetryApi ObservableLongUpDownCounter.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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.
[63/731] Compiling OpenTelemetryApi OpenTelemetry.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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.
[64/731] Compiling OpenTelemetryApi ContextPropagators.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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.
[65/731] Compiling OpenTelemetryApi DefaultContextPropagators.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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.
[66/731] Compiling OpenTelemetryApi DefaultTracer.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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.
[66/756] Compiling ssl_aead_ctx.cc
[68/760] Compiling Logging Logger+Attributes.swift
[69/760] Compiling Atomics Primitives.native.swift
[70/760] Compiling Atomics OptionalRawRepresentable.swift
[71/760] Compiling Atomics AtomicInteger.swift
[72/760] Compiling Atomics AtomicOptionalWrappable.swift
[73/760] Compiling Atomics AtomicReference.swift
[74/760] Compiling Atomics IntegerConformances.swift
[75/760] Compiling Atomics PointerConformances.swift
[77/760] Compiling Logging MetadataProvider.swift
[78/760] Compiling Atomics UnsafeAtomic.swift
[79/760] Compiling Atomics UnsafeAtomicLazyReference.swift
[80/760] Compiling Atomics RawRepresentable.swift
[81/760] Compiling Atomics AtomicBool.swift
[82/760] Emitting module Logging
unable to find node: pound
unable to find node: pound
[83/760] Compiling Tracing Tracer.swift
[84/761] Compiling Logging Logger+With.swift
unable to find node: pound
unable to find node: pound
[85/761] Compiling Logging Logger.swift
[86/761] Compiling Tracing InstrumentationSystem+Tracing.swift
[87/762] Compiling Atomics AtomicStorage.swift
[88/762] Compiling Atomics AtomicValue.swift
[89/764] Compiling Tracing TracingTime.swift
[90/764] Compiling Tracing TracerProtocol.swift
[91/764] Compiling Atomics AtomicMemoryOrderings.swift
[92/764] Compiling Atomics DoubleWord.swift
[93/764] Compiling Atomics ManagedAtomic.swift
[94/764] Compiling Atomics ManagedAtomicLazyReference.swift
[97/764] Emitting module Tracing
[99/763] Compiling Tracing TracerProtocol+Legacy.swift
[100/763] Compiling Tracing WithTracer.swift
[101/763] Emitting module InternalCollectionsUtilities
[106/764] Compiling Tracing NoOpTracer.swift
[107/764] Compiling Tracing SpanProtocol.swift
[108/764] Compiling Atomics IntegerOperations.swift
[109/764] Compiling Atomics Unmanaged extensions.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[113/765] Emitting module OpenTelemetryApi
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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
[116/800] Compiling ContainersPreview OutputSpan+Extras.swift
[117/800] Compiling ContainersPreview TemporaryAllocation.swift
[118/800] Compiling ContainersPreview BorrowingIteratorProtocol+Copy.swift
[119/800] Compiling ContainersPreview BorrowingIteratorProtocol+ElementsEqual.swift
[120/800] Compiling ContainersPreview BorrowingIteratorProtocol+Filter.swift
[121/800] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[122/800] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[123/800] Compiling ContainersPreview BorrowingSequence.swift
[124/800] Compiling ContainersPreview BidirectionalContainer.swift
[125/800] Compiling ContainersPreview Container+Filter.swift
[126/800] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[127/800] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[128/811] Compiling OpenTelemetryApi DefaultTracerProvider.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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
[129/811] Compiling OpenTelemetryApi PropagatedSpan.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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
[130/811] Compiling OpenTelemetryApi PropagatedSpanBuilder.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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
[131/811] Compiling OpenTelemetryApi B3Propagator.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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/811] Compiling OpenTelemetryApi BinaryFormattable.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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
[133/811] Compiling OpenTelemetryApi JaegerPropagator.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
31 | public var type: String {
32 | name.rawValue
[134/811] Compiling OpenTelemetryApi TextMapPropagator.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
31 | public var type: String {
32 | name.rawValue
[135/811] Compiling OpenTelemetryApi W3CTraceContextPropagator.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
31 | public var type: String {
32 | name.rawValue
[136/811] Compiling OpenTelemetryApi SemanticAttributes.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
31 | public var type: String {
32 | name.rawValue
[137/811] Compiling OpenTelemetryApi Span.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
31 | public var type: String {
32 | name.rawValue
[138/811] Compiling OpenTelemetryApi SpanBuilder.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
31 | public var type: String {
32 | name.rawValue
[139/811] Compiling OpenTelemetryApi SpanContext.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
31 | public var type: String {
32 | name.rawValue
[140/811] Compiling OpenTelemetryApi SpanException.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
31 | public var type: String {
32 | name.rawValue
[141/811] Compiling OpenTelemetryApi SpanId.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
31 | public var type: String {
32 | name.rawValue
[142/811] Compiling OpenTelemetryApi SpanKind.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
31 | public var type: String {
32 | name.rawValue
[143/811] Compiling OpenTelemetryApi Status.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
31 | public var type: String {
32 | name.rawValue
[144/811] Compiling OpenTelemetryApi TraceFlags.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
31 | public var type: String {
32 | name.rawValue
[145/811] Compiling OpenTelemetryApi TraceId.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
31 | public var type: String {
32 | name.rawValue
[146/811] Compiling OpenTelemetryApi TraceState.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
31 | public var type: String {
32 | name.rawValue
[147/811] Compiling OpenTelemetryApi Tracer.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
31 | public var type: String {
32 | name.rawValue
[148/811] Compiling OpenTelemetryApi TracerProvider.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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
[159/815] Compiling OpenTelemetryApi Signalr_attributes.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
[160/815] Compiling OpenTelemetryApi Source_attributes.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
[161/815] Compiling OpenTelemetryApi System_attributes.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
[162/815] Compiling OpenTelemetryApi Telemetry_attributes.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
[163/815] Compiling OpenTelemetryApi Test_attributes.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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 | }
[164/815] Compiling OpenTelemetryApi Thread_attributes.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
[165/815] Compiling OpenTelemetryApi Tls_attributes.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
[166/815] Compiling OpenTelemetryApi Url_attributes.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
[167/815] Compiling OpenTelemetryApi UserAgent_attributes.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
[168/815] Compiling OpenTelemetryApi User_attributes.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
[169/815] Compiling OpenTelemetryApi V8js_attributes.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
[170/815] Compiling OpenTelemetryApi Vcs_attributes.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
[171/815] Compiling OpenTelemetryApi Webengine_attributes.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
[172/815] Compiling OpenTelemetryApi Zos_attributes.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
[173/815] Compiling OpenTelemetryApi SemanticConventions.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
[174/815] Compiling OpenTelemetryApi ActivityContextManager.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
[175/815] Compiling OpenTelemetryApi ContextManager.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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 | }
[178/815] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[179/815] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[180/815] Compiling ContainersPreview BorrowingSequence+Algorithms.swift
[181/815] Compiling OpenTelemetryApi OpenTelemetryContextProvider.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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 | }
[182/815] Compiling OpenTelemetryApi TaskLocalContextManager.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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 | }
[183/815] Compiling OpenTelemetryApi Locks.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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 | }
[184/815] Compiling OpenTelemetryApi StringUtils.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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 | }
[185/815] Compiling OpenTelemetryApi SwiftExtensions.swift
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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/.build/checkouts/opentelemetry-swift-core/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 | }
[186/815] Compiling OpenTelemetryApi Dns_attributes.swift
[187/815] Compiling OpenTelemetryApi Dotnet_attributes.swift
[188/815] Compiling OpenTelemetryApi Elasticsearch_attributes.swift
[189/815] Compiling OpenTelemetryApi Enduser_attributes.swift
[190/815] Compiling OpenTelemetryApi Error_attributes.swift
[191/815] Compiling OpenTelemetryApi Exception_attributes.swift
[192/815] Compiling OpenTelemetryApi Faas_attributes.swift
[193/815] Compiling OpenTelemetryApi FeatureFlag_attributes.swift
[194/815] Compiling OpenTelemetryApi File_attributes.swift
[195/815] Compiling OpenTelemetryApi Gcp_attributes.swift
[196/815] Compiling OpenTelemetryApi GenAi_attributes.swift
[197/815] Compiling OpenTelemetryApi Geo_attributes.swift
[198/815] Compiling OpenTelemetryApi Go_attributes.swift
[199/815] Compiling OpenTelemetryApi Graphql_attributes.swift
[200/815] Compiling OpenTelemetryApi Heroku_attributes.swift
[201/815] Compiling OpenTelemetryApi Host_attributes.swift
[202/815] Compiling OpenTelemetryApi Http_attributes.swift
[203/815] Compiling SwiftProtobuf any.pb.swift
[204/815] Compiling SwiftProtobuf api.pb.swift
[205/815] Compiling SwiftProtobuf descriptor.pb.swift
[206/815] Compiling SwiftProtobuf duration.pb.swift
[207/815] Compiling SwiftProtobuf empty.pb.swift
[208/815] Compiling OpenTelemetryApi TracestateUtils.swift
[209/815] Compiling OpenTelemetryApi DefaultLogger.swift
[210/815] Compiling OpenTelemetryApi DefaultLoggerProvider.swift
[211/815] Compiling OpenTelemetryApi EventBuilder.swift
[212/815] Compiling OpenTelemetryApi LogRecordBuilder.swift
[213/815] Compiling OpenTelemetryApi Logger.swift
[214/815] Compiling OpenTelemetryApi LoggerBuilder.swift
[215/815] Compiling OpenTelemetryApi LoggerProvider.swift
[216/815] Compiling OpenTelemetryApi Severity.swift
[217/815] Compiling OpenTelemetryApi DefaultMeter.swift
[218/815] Compiling OpenTelemetryApi DefaultMeterProvider.swift
[219/815] Compiling OpenTelemetryApi DoubleCounter.swift
[220/815] Compiling OpenTelemetryApi DoubleCounterBuilder.swift
[221/815] Compiling OpenTelemetryApi DoubleGauge.swift
[222/815] Compiling OpenTelemetryApi DoubleGaugeBuilder.swift
[223/815] Compiling OpenTelemetryApi DoubleHistogram.swift
[224/815] Compiling OpenTelemetryApi DoubleHistogramBuilder.swift
[225/815] Compiling OpenTelemetryApi DoubleUpDownCounter.swift
[226/815] Compiling OpenTelemetryApi DoubleUpDownCounterBuilder.swift
[227/815] Compiling OpenTelemetryApi LongCounter.swift
[228/815] Compiling OpenTelemetryApi LongCounterBuilder.swift
[229/815] Compiling ContainersPreview Producer+Map.swift
[230/815] Compiling ContainersPreview Producer+Reduce.swift
[231/815] Compiling ContainersPreview Producer.swift
[232/815] Compiling ContainersPreview InputSpan.swift
[233/815] Compiling ContainersPreview MutableRef.swift
[234/815] Compiling ContainersPreview Drain+Map.swift
[235/815] Compiling ContainersPreview Drain+Reduce.swift
[236/815] Compiling ContainersPreview Drain.swift
[237/815] Compiling ContainersPreview Producer+Collect.swift
[238/815] Compiling ContainersPreview Producer+Filter.swift
[239/815] Emitting module ContainersPreview
[240/815] Compiling CoreMetrics Metrics.swift
[241/815] Compiling CoreMetrics MappingMetricsFactory.swift
[242/815] Compiling CoreMetrics Locks.swift
[243/815] Emitting module CoreMetrics
[244/816] Compiling ContainersPreview PermutableContainer.swift
[245/816] Compiling ContainersPreview RandomAccessContainer.swift
[246/816] Compiling ContainersPreview RangeExpression2.swift
[247/816] Compiling ContainersPreview RangeReplaceableContainer.swift
[248/816] Compiling ContainersPreview Strideable+Limits.swift
[249/816] Compiling ContainersPreview Container+SpanwiseZip.swift
[250/816] Compiling ContainersPreview Container.swift
[251/816] Compiling ContainersPreview ContainerIterator.swift
[252/816] Compiling ContainersPreview DynamicContainer.swift
[253/816] Compiling ContainersPreview MutableContainer.swift
[254/816] Compiling ContainersPreview Ref.swift
[255/816] Compiling ContainersPreview Shared.swift
[256/816] Compiling ContainersPreview SpanIterator.swift
[257/816] Compiling ContainersPreview UniqueBox.swift
[258/817] Compiling OpenTelemetryApi Log_attributes.swift
[259/817] Compiling OpenTelemetryApi Mainframe_attributes.swift
[260/817] Compiling OpenTelemetryApi Messaging_attributes.swift
[261/817] Compiling OpenTelemetryApi Network_attributes.swift
[262/817] Compiling OpenTelemetryApi Nfs_attributes.swift
[263/817] Compiling OpenTelemetryApi Nodejs_attributes.swift
[264/817] Compiling OpenTelemetryApi Oci_attributes.swift
[265/817] Compiling OpenTelemetryApi OncRpc_attributes.swift
[266/817] Compiling OpenTelemetryApi Openai_attributes.swift
[267/817] Compiling OpenTelemetryApi Openshift_attributes.swift
[268/817] Compiling OpenTelemetryApi Opentracing_attributes.swift
[269/817] Compiling OpenTelemetryApi Os_attributes.swift
[270/817] Compiling OpenTelemetryApi Otel_attributes.swift
[271/817] Compiling OpenTelemetryApi Peer_attributes.swift
[272/817] Compiling OpenTelemetryApi Pprof_attributes.swift
[273/817] Compiling OpenTelemetryApi Process_attributes.swift
[274/817] Compiling OpenTelemetryApi Profile_attributes.swift
[275/817] Compiling OpenTelemetryApi Rpc_attributes.swift
[276/817] Compiling OpenTelemetryApi SecurityRule_attributes.swift
[277/817] Compiling OpenTelemetryApi Server_attributes.swift
[278/817] Compiling OpenTelemetryApi Service_attributes.swift
[279/817] Compiling OpenTelemetryApi Session_attributes.swift
[316/857] Compiling DequeModule RigidDeque+Container.swift
[317/857] Compiling DequeModule RigidDeque+Descriptions.swift
[318/857] Compiling DequeModule RigidDeque+Removals.swift
[319/857] Compiling DequeModule RigidDeque+Replacements.swift
[320/857] Compiling DequeModule RigidDeque+Testing.swift
[321/857] Compiling DequeModule RigidDeque.swift
[322/857] Compiling DequeModule UniqueDeque+Append.swift
[323/857] Compiling DequeModule UniqueDeque+Consumption.swift
[324/857] Compiling DequeModule UniqueDeque+Container.swift
[325/857] Compiling DequeModule UniqueDeque+Deprecated.swift
[326/857] Compiling DequeModule UniqueDeque+Descriptions.swift
[327/857] Compiling DequeModule UniqueDeque+Equatable.swift
[328/857] Compiling DequeModule UniqueDeque+Experimental.swift
[329/857] Compiling DequeModule UniqueDeque+Hashable.swift
[330/857] Compiling DequeModule UniqueDeque+Initializers.swift
[331/857] Compiling DequeModule UniqueDeque+Insertions.swift
[332/857] Compiling DequeModule UniqueDeque+Prepend.swift
[333/857] Compiling DequeModule UniqueDeque+Removals.swift
[334/857] Compiling OpenTelemetryApi Deployment_attributes.swift
[335/857] Compiling OpenTelemetryApi Destination_attributes.swift
[336/857] Compiling OpenTelemetryApi Device_attributes.swift
[337/857] Compiling OpenTelemetryApi Disk_attributes.swift
[348/862] Compiling DequeModule RigidDeque+Equatable.swift
[349/862] Compiling DequeModule RigidDeque+Experimental.swift
[350/862] Compiling DequeModule RigidDeque+Hashable.swift
[351/862] Compiling DequeModule RigidDeque+Initializers.swift
[352/862] Compiling DequeModule RigidDeque+Insertions.swift
[353/862] Compiling DequeModule RigidDeque+Prepend.swift
[353/862] Compiling handshake_server.cc
[370/862] Compiling DequeModule UniqueDeque+Replacements.swift
[371/862] Compiling DequeModule UniqueDeque.swift
[372/862] Compiling DequeModule _DequeSlot.swift
[373/862] Compiling DequeModule _UnsafeDequeHandle.swift
[374/862] Compiling DequeModule _UnsafeDequeSegments.swift
[377/862] Compiling handshake_client.cc
[377/862] Compiling s3_lib.cc
[377/862] Compiling s3_both.cc
BUILD FAILURE 6.1 android