The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/open-telemetry/opentelemetry-swift-core.git
Reference: 2.6.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/open-telemetry/opentelemetry-swift-core
 * tag               2.6.0      -> FETCH_HEAD
HEAD is now at c6fcee7 Release 2.6.0
Cloned https://github.com/open-telemetry/opentelemetry-swift-core.git
Revision (git rev-parse @):
c6fcee77cfc21ba400366f12475217c7b6e1d605
SUCCESS checkout https://github.com/open-telemetry/opentelemetry-swift-core.git at 2.6.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/open-telemetry/opentelemetry-swift-core.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:f47b2a33897778fb58ca39c1139e193fa7f391fa362fe0d23c00db9747030994
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-atomics.git
[1/1885] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.84s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.29s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Building for debugging...
[0/14] Write sources
[6/14] Write swift-version--11D90AFD9DD3AB2.txt
[8/167] Compiling OpenTelemetryApi Android_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[9/167] Compiling OpenTelemetryApi App_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[10/167] Compiling OpenTelemetryApi Artifact_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[11/167] Compiling OpenTelemetryApi Aspnetcore_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[12/167] Compiling OpenTelemetryApi Aws_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[13/167] Compiling OpenTelemetryApi Azure_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[14/167] Compiling OpenTelemetryApi Browser_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[15/167] Compiling OpenTelemetryApi Cassandra_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[16/167] Compiling OpenTelemetryApi Cicd_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[17/167] Compiling OpenTelemetryApi Client_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[18/167] Compiling OpenTelemetryApi Cloud_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[19/167] Compiling OpenTelemetryApi Cloudevents_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[20/167] Compiling OpenTelemetryApi Cloudfoundry_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[21/167] Compiling OpenTelemetryApi Code_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[22/167] Compiling OpenTelemetryApi Container_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[23/167] Compiling OpenTelemetryApi Cpu_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[24/167] Compiling OpenTelemetryApi Cpython_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[25/167] Compiling OpenTelemetryApi Db_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[26/167] Compiling OpenTelemetryApi Deployment_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[27/167] Compiling OpenTelemetryApi Destination_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[28/167] Compiling OpenTelemetryApi Device_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[29/167] Compiling OpenTelemetryApi Disk_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[30/167] Compiling OpenTelemetryApi Dns_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[31/167] Compiling OpenTelemetryApi Dotnet_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[32/167] Compiling OpenTelemetryApi Elasticsearch_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[33/167] Compiling OpenTelemetryApi Enduser_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[34/167] Compiling OpenTelemetryApi Error_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[35/167] Compiling OpenTelemetryApi Exception_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[36/167] Compiling OpenTelemetryApi Faas_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[37/167] Compiling OpenTelemetryApi FeatureFlag_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[38/167] Compiling OpenTelemetryApi File_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[39/167] Compiling OpenTelemetryApi Gcp_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[40/167] Compiling OpenTelemetryApi GenAi_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[41/167] Compiling OpenTelemetryApi Geo_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[42/167] Compiling OpenTelemetryApi Go_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[43/167] Compiling OpenTelemetryApi Graphql_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[44/167] Compiling OpenTelemetryApi Heroku_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[45/167] Compiling OpenTelemetryApi Host_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[46/167] Compiling OpenTelemetryApi Http_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[47/167] Compiling OpenTelemetryApi Hw_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[48/167] Compiling OpenTelemetryApi Ios_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[49/167] Compiling OpenTelemetryApi Jvm_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[50/167] Compiling OpenTelemetryApi K8s_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[51/167] Compiling OpenTelemetryApi Linux_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[52/167] Compiling OpenTelemetryApi Signalr_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |               `- error: cannot find 'pthread_mutex_init' in scope
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |                                         `- error: 'nil' requires a contextual type
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |   deinit {
 65 |     let err = pthread_mutex_destroy(self.mutex)
    |               `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
 67 |     self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
 73 |   /// `unlock`, to simplify lock handling.
 74 |   public func lock() {
 75 |     let err = pthread_mutex_lock(mutex)
    |               `- error: cannot find 'pthread_mutex_lock' in scope
 76 |     precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
 77 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
 82 |   /// `lock`, to simplify lock handling.
 83 |   public func unlock() {
 84 |     let err = pthread_mutex_unlock(mutex)
    |               `- error: cannot find 'pthread_mutex_unlock' in scope
 85 |     precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
 86 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |               `- error: cannot find 'pthread_rwlock_init' in scope
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |                                           `- error: 'nil' requires a contextual type
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 |   deinit {
124 |     let err = pthread_rwlock_destroy(self.rwlock)
    |               `- error: cannot find 'pthread_rwlock_destroy' in scope
125 |     precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 |     self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 |   /// method and `unlock`, to simplify lock handling.
133 |   public func lockRead() {
134 |     let err = pthread_rwlock_rdlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 |     precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 |   /// method and `unlock`, to simplify lock handling.
142 |   public func lockWrite() {
143 |     let err = pthread_rwlock_wrlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 |     precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 |   /// instead of this method, to simplify lock handling.
151 |   public func unlock() {
152 |     let err = pthread_rwlock_unlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_unlock' in scope
153 |     precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 |   }
[53/167] Compiling OpenTelemetryApi Source_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |               `- error: cannot find 'pthread_mutex_init' in scope
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |                                         `- error: 'nil' requires a contextual type
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |   deinit {
 65 |     let err = pthread_mutex_destroy(self.mutex)
    |               `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
 67 |     self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
 73 |   /// `unlock`, to simplify lock handling.
 74 |   public func lock() {
 75 |     let err = pthread_mutex_lock(mutex)
    |               `- error: cannot find 'pthread_mutex_lock' in scope
 76 |     precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
 77 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
 82 |   /// `lock`, to simplify lock handling.
 83 |   public func unlock() {
 84 |     let err = pthread_mutex_unlock(mutex)
    |               `- error: cannot find 'pthread_mutex_unlock' in scope
 85 |     precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
 86 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |               `- error: cannot find 'pthread_rwlock_init' in scope
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |                                           `- error: 'nil' requires a contextual type
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 |   deinit {
124 |     let err = pthread_rwlock_destroy(self.rwlock)
    |               `- error: cannot find 'pthread_rwlock_destroy' in scope
125 |     precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 |     self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 |   /// method and `unlock`, to simplify lock handling.
133 |   public func lockRead() {
134 |     let err = pthread_rwlock_rdlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 |     precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 |   /// method and `unlock`, to simplify lock handling.
142 |   public func lockWrite() {
143 |     let err = pthread_rwlock_wrlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 |     precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 |   /// instead of this method, to simplify lock handling.
151 |   public func unlock() {
152 |     let err = pthread_rwlock_unlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_unlock' in scope
153 |     precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 |   }
[54/167] Compiling OpenTelemetryApi System_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |               `- error: cannot find 'pthread_mutex_init' in scope
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |                                         `- error: 'nil' requires a contextual type
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |   deinit {
 65 |     let err = pthread_mutex_destroy(self.mutex)
    |               `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
 67 |     self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
 73 |   /// `unlock`, to simplify lock handling.
 74 |   public func lock() {
 75 |     let err = pthread_mutex_lock(mutex)
    |               `- error: cannot find 'pthread_mutex_lock' in scope
 76 |     precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
 77 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
 82 |   /// `lock`, to simplify lock handling.
 83 |   public func unlock() {
 84 |     let err = pthread_mutex_unlock(mutex)
    |               `- error: cannot find 'pthread_mutex_unlock' in scope
 85 |     precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
 86 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |               `- error: cannot find 'pthread_rwlock_init' in scope
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |                                           `- error: 'nil' requires a contextual type
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 |   deinit {
124 |     let err = pthread_rwlock_destroy(self.rwlock)
    |               `- error: cannot find 'pthread_rwlock_destroy' in scope
125 |     precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 |     self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 |   /// method and `unlock`, to simplify lock handling.
133 |   public func lockRead() {
134 |     let err = pthread_rwlock_rdlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 |     precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 |   /// method and `unlock`, to simplify lock handling.
142 |   public func lockWrite() {
143 |     let err = pthread_rwlock_wrlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 |     precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 |   /// instead of this method, to simplify lock handling.
151 |   public func unlock() {
152 |     let err = pthread_rwlock_unlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_unlock' in scope
153 |     precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 |   }
[55/167] Compiling OpenTelemetryApi Telemetry_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |               `- error: cannot find 'pthread_mutex_init' in scope
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |                                         `- error: 'nil' requires a contextual type
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |   deinit {
 65 |     let err = pthread_mutex_destroy(self.mutex)
    |               `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
 67 |     self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
 73 |   /// `unlock`, to simplify lock handling.
 74 |   public func lock() {
 75 |     let err = pthread_mutex_lock(mutex)
    |               `- error: cannot find 'pthread_mutex_lock' in scope
 76 |     precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
 77 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
 82 |   /// `lock`, to simplify lock handling.
 83 |   public func unlock() {
 84 |     let err = pthread_mutex_unlock(mutex)
    |               `- error: cannot find 'pthread_mutex_unlock' in scope
 85 |     precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
 86 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |               `- error: cannot find 'pthread_rwlock_init' in scope
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |                                           `- error: 'nil' requires a contextual type
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 |   deinit {
124 |     let err = pthread_rwlock_destroy(self.rwlock)
    |               `- error: cannot find 'pthread_rwlock_destroy' in scope
125 |     precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 |     self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 |   /// method and `unlock`, to simplify lock handling.
133 |   public func lockRead() {
134 |     let err = pthread_rwlock_rdlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 |     precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 |   /// method and `unlock`, to simplify lock handling.
142 |   public func lockWrite() {
143 |     let err = pthread_rwlock_wrlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 |     precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 |   /// instead of this method, to simplify lock handling.
151 |   public func unlock() {
152 |     let err = pthread_rwlock_unlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_unlock' in scope
153 |     precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 |   }
[56/167] Compiling OpenTelemetryApi Test_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |               `- error: cannot find 'pthread_mutex_init' in scope
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |                                         `- error: 'nil' requires a contextual type
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |   deinit {
 65 |     let err = pthread_mutex_destroy(self.mutex)
    |               `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
 67 |     self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
 73 |   /// `unlock`, to simplify lock handling.
 74 |   public func lock() {
 75 |     let err = pthread_mutex_lock(mutex)
    |               `- error: cannot find 'pthread_mutex_lock' in scope
 76 |     precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
 77 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
 82 |   /// `lock`, to simplify lock handling.
 83 |   public func unlock() {
 84 |     let err = pthread_mutex_unlock(mutex)
    |               `- error: cannot find 'pthread_mutex_unlock' in scope
 85 |     precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
 86 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |               `- error: cannot find 'pthread_rwlock_init' in scope
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |                                           `- error: 'nil' requires a contextual type
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 |   deinit {
124 |     let err = pthread_rwlock_destroy(self.rwlock)
    |               `- error: cannot find 'pthread_rwlock_destroy' in scope
125 |     precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 |     self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 |   /// method and `unlock`, to simplify lock handling.
133 |   public func lockRead() {
134 |     let err = pthread_rwlock_rdlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 |     precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 |   /// method and `unlock`, to simplify lock handling.
142 |   public func lockWrite() {
143 |     let err = pthread_rwlock_wrlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 |     precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 |   /// instead of this method, to simplify lock handling.
151 |   public func unlock() {
152 |     let err = pthread_rwlock_unlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_unlock' in scope
153 |     precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 |   }
[57/167] Compiling OpenTelemetryApi Thread_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |               `- error: cannot find 'pthread_mutex_init' in scope
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |                                         `- error: 'nil' requires a contextual type
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |   deinit {
 65 |     let err = pthread_mutex_destroy(self.mutex)
    |               `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
 67 |     self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
 73 |   /// `unlock`, to simplify lock handling.
 74 |   public func lock() {
 75 |     let err = pthread_mutex_lock(mutex)
    |               `- error: cannot find 'pthread_mutex_lock' in scope
 76 |     precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
 77 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
 82 |   /// `lock`, to simplify lock handling.
 83 |   public func unlock() {
 84 |     let err = pthread_mutex_unlock(mutex)
    |               `- error: cannot find 'pthread_mutex_unlock' in scope
 85 |     precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
 86 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |               `- error: cannot find 'pthread_rwlock_init' in scope
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |                                           `- error: 'nil' requires a contextual type
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 |   deinit {
124 |     let err = pthread_rwlock_destroy(self.rwlock)
    |               `- error: cannot find 'pthread_rwlock_destroy' in scope
125 |     precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 |     self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 |   /// method and `unlock`, to simplify lock handling.
133 |   public func lockRead() {
134 |     let err = pthread_rwlock_rdlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 |     precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 |   /// method and `unlock`, to simplify lock handling.
142 |   public func lockWrite() {
143 |     let err = pthread_rwlock_wrlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 |     precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 |   /// instead of this method, to simplify lock handling.
151 |   public func unlock() {
152 |     let err = pthread_rwlock_unlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_unlock' in scope
153 |     precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 |   }
[58/167] Compiling OpenTelemetryApi Tls_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |               `- error: cannot find 'pthread_mutex_init' in scope
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |                                         `- error: 'nil' requires a contextual type
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |   deinit {
 65 |     let err = pthread_mutex_destroy(self.mutex)
    |               `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
 67 |     self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
 73 |   /// `unlock`, to simplify lock handling.
 74 |   public func lock() {
 75 |     let err = pthread_mutex_lock(mutex)
    |               `- error: cannot find 'pthread_mutex_lock' in scope
 76 |     precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
 77 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
 82 |   /// `lock`, to simplify lock handling.
 83 |   public func unlock() {
 84 |     let err = pthread_mutex_unlock(mutex)
    |               `- error: cannot find 'pthread_mutex_unlock' in scope
 85 |     precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
 86 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |               `- error: cannot find 'pthread_rwlock_init' in scope
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |                                           `- error: 'nil' requires a contextual type
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 |   deinit {
124 |     let err = pthread_rwlock_destroy(self.rwlock)
    |               `- error: cannot find 'pthread_rwlock_destroy' in scope
125 |     precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 |     self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 |   /// method and `unlock`, to simplify lock handling.
133 |   public func lockRead() {
134 |     let err = pthread_rwlock_rdlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 |     precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 |   /// method and `unlock`, to simplify lock handling.
142 |   public func lockWrite() {
143 |     let err = pthread_rwlock_wrlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 |     precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 |   /// instead of this method, to simplify lock handling.
151 |   public func unlock() {
152 |     let err = pthread_rwlock_unlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_unlock' in scope
153 |     precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 |   }
[59/167] Compiling OpenTelemetryApi Url_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |               `- error: cannot find 'pthread_mutex_init' in scope
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |                                         `- error: 'nil' requires a contextual type
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |   deinit {
 65 |     let err = pthread_mutex_destroy(self.mutex)
    |               `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
 67 |     self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
 73 |   /// `unlock`, to simplify lock handling.
 74 |   public func lock() {
 75 |     let err = pthread_mutex_lock(mutex)
    |               `- error: cannot find 'pthread_mutex_lock' in scope
 76 |     precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
 77 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
 82 |   /// `lock`, to simplify lock handling.
 83 |   public func unlock() {
 84 |     let err = pthread_mutex_unlock(mutex)
    |               `- error: cannot find 'pthread_mutex_unlock' in scope
 85 |     precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
 86 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |               `- error: cannot find 'pthread_rwlock_init' in scope
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |                                           `- error: 'nil' requires a contextual type
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 |   deinit {
124 |     let err = pthread_rwlock_destroy(self.rwlock)
    |               `- error: cannot find 'pthread_rwlock_destroy' in scope
125 |     precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 |     self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 |   /// method and `unlock`, to simplify lock handling.
133 |   public func lockRead() {
134 |     let err = pthread_rwlock_rdlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 |     precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 |   /// method and `unlock`, to simplify lock handling.
142 |   public func lockWrite() {
143 |     let err = pthread_rwlock_wrlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 |     precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 |   /// instead of this method, to simplify lock handling.
151 |   public func unlock() {
152 |     let err = pthread_rwlock_unlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_unlock' in scope
153 |     precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 |   }
[60/167] Compiling OpenTelemetryApi UserAgent_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |               `- error: cannot find 'pthread_mutex_init' in scope
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |                                         `- error: 'nil' requires a contextual type
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |   deinit {
 65 |     let err = pthread_mutex_destroy(self.mutex)
    |               `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
 67 |     self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
 73 |   /// `unlock`, to simplify lock handling.
 74 |   public func lock() {
 75 |     let err = pthread_mutex_lock(mutex)
    |               `- error: cannot find 'pthread_mutex_lock' in scope
 76 |     precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
 77 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
 82 |   /// `lock`, to simplify lock handling.
 83 |   public func unlock() {
 84 |     let err = pthread_mutex_unlock(mutex)
    |               `- error: cannot find 'pthread_mutex_unlock' in scope
 85 |     precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
 86 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |               `- error: cannot find 'pthread_rwlock_init' in scope
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |                                           `- error: 'nil' requires a contextual type
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 |   deinit {
124 |     let err = pthread_rwlock_destroy(self.rwlock)
    |               `- error: cannot find 'pthread_rwlock_destroy' in scope
125 |     precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 |     self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 |   /// method and `unlock`, to simplify lock handling.
133 |   public func lockRead() {
134 |     let err = pthread_rwlock_rdlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 |     precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 |   /// method and `unlock`, to simplify lock handling.
142 |   public func lockWrite() {
143 |     let err = pthread_rwlock_wrlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 |     precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 |   /// instead of this method, to simplify lock handling.
151 |   public func unlock() {
152 |     let err = pthread_rwlock_unlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_unlock' in scope
153 |     precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 |   }
[61/167] Compiling OpenTelemetryApi User_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |               `- error: cannot find 'pthread_mutex_init' in scope
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |                                         `- error: 'nil' requires a contextual type
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |   deinit {
 65 |     let err = pthread_mutex_destroy(self.mutex)
    |               `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
 67 |     self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
 73 |   /// `unlock`, to simplify lock handling.
 74 |   public func lock() {
 75 |     let err = pthread_mutex_lock(mutex)
    |               `- error: cannot find 'pthread_mutex_lock' in scope
 76 |     precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
 77 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
 82 |   /// `lock`, to simplify lock handling.
 83 |   public func unlock() {
 84 |     let err = pthread_mutex_unlock(mutex)
    |               `- error: cannot find 'pthread_mutex_unlock' in scope
 85 |     precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
 86 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |               `- error: cannot find 'pthread_rwlock_init' in scope
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |                                           `- error: 'nil' requires a contextual type
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 |   deinit {
124 |     let err = pthread_rwlock_destroy(self.rwlock)
    |               `- error: cannot find 'pthread_rwlock_destroy' in scope
125 |     precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 |     self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 |   /// method and `unlock`, to simplify lock handling.
133 |   public func lockRead() {
134 |     let err = pthread_rwlock_rdlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 |     precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 |   /// method and `unlock`, to simplify lock handling.
142 |   public func lockWrite() {
143 |     let err = pthread_rwlock_wrlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 |     precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 |   /// instead of this method, to simplify lock handling.
151 |   public func unlock() {
152 |     let err = pthread_rwlock_unlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_unlock' in scope
153 |     precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 |   }
[62/167] Compiling OpenTelemetryApi V8js_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |               `- error: cannot find 'pthread_mutex_init' in scope
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |                                         `- error: 'nil' requires a contextual type
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |   deinit {
 65 |     let err = pthread_mutex_destroy(self.mutex)
    |               `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
 67 |     self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
 73 |   /// `unlock`, to simplify lock handling.
 74 |   public func lock() {
 75 |     let err = pthread_mutex_lock(mutex)
    |               `- error: cannot find 'pthread_mutex_lock' in scope
 76 |     precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
 77 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
 82 |   /// `lock`, to simplify lock handling.
 83 |   public func unlock() {
 84 |     let err = pthread_mutex_unlock(mutex)
    |               `- error: cannot find 'pthread_mutex_unlock' in scope
 85 |     precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
 86 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |               `- error: cannot find 'pthread_rwlock_init' in scope
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |                                           `- error: 'nil' requires a contextual type
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 |   deinit {
124 |     let err = pthread_rwlock_destroy(self.rwlock)
    |               `- error: cannot find 'pthread_rwlock_destroy' in scope
125 |     precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 |     self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 |   /// method and `unlock`, to simplify lock handling.
133 |   public func lockRead() {
134 |     let err = pthread_rwlock_rdlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 |     precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 |   /// method and `unlock`, to simplify lock handling.
142 |   public func lockWrite() {
143 |     let err = pthread_rwlock_wrlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 |     precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 |   /// instead of this method, to simplify lock handling.
151 |   public func unlock() {
152 |     let err = pthread_rwlock_unlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_unlock' in scope
153 |     precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 |   }
[63/167] Compiling OpenTelemetryApi Vcs_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |               `- error: cannot find 'pthread_mutex_init' in scope
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |                                         `- error: 'nil' requires a contextual type
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |   deinit {
 65 |     let err = pthread_mutex_destroy(self.mutex)
    |               `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
 67 |     self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
 73 |   /// `unlock`, to simplify lock handling.
 74 |   public func lock() {
 75 |     let err = pthread_mutex_lock(mutex)
    |               `- error: cannot find 'pthread_mutex_lock' in scope
 76 |     precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
 77 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
 82 |   /// `lock`, to simplify lock handling.
 83 |   public func unlock() {
 84 |     let err = pthread_mutex_unlock(mutex)
    |               `- error: cannot find 'pthread_mutex_unlock' in scope
 85 |     precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
 86 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |               `- error: cannot find 'pthread_rwlock_init' in scope
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |                                           `- error: 'nil' requires a contextual type
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 |   deinit {
124 |     let err = pthread_rwlock_destroy(self.rwlock)
    |               `- error: cannot find 'pthread_rwlock_destroy' in scope
125 |     precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 |     self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 |   /// method and `unlock`, to simplify lock handling.
133 |   public func lockRead() {
134 |     let err = pthread_rwlock_rdlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 |     precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 |   /// method and `unlock`, to simplify lock handling.
142 |   public func lockWrite() {
143 |     let err = pthread_rwlock_wrlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 |     precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 |   /// instead of this method, to simplify lock handling.
151 |   public func unlock() {
152 |     let err = pthread_rwlock_unlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_unlock' in scope
153 |     precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 |   }
[64/167] Compiling OpenTelemetryApi Webengine_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |               `- error: cannot find 'pthread_mutex_init' in scope
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |                                         `- error: 'nil' requires a contextual type
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |   deinit {
 65 |     let err = pthread_mutex_destroy(self.mutex)
    |               `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
 67 |     self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
 73 |   /// `unlock`, to simplify lock handling.
 74 |   public func lock() {
 75 |     let err = pthread_mutex_lock(mutex)
    |               `- error: cannot find 'pthread_mutex_lock' in scope
 76 |     precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
 77 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
 82 |   /// `lock`, to simplify lock handling.
 83 |   public func unlock() {
 84 |     let err = pthread_mutex_unlock(mutex)
    |               `- error: cannot find 'pthread_mutex_unlock' in scope
 85 |     precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
 86 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |               `- error: cannot find 'pthread_rwlock_init' in scope
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |                                           `- error: 'nil' requires a contextual type
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 |   deinit {
124 |     let err = pthread_rwlock_destroy(self.rwlock)
    |               `- error: cannot find 'pthread_rwlock_destroy' in scope
125 |     precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 |     self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 |   /// method and `unlock`, to simplify lock handling.
133 |   public func lockRead() {
134 |     let err = pthread_rwlock_rdlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 |     precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 |   /// method and `unlock`, to simplify lock handling.
142 |   public func lockWrite() {
143 |     let err = pthread_rwlock_wrlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 |     precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 |   /// instead of this method, to simplify lock handling.
151 |   public func unlock() {
152 |     let err = pthread_rwlock_unlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_unlock' in scope
153 |     precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 |   }
[65/167] Compiling OpenTelemetryApi Zos_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |               `- error: cannot find 'pthread_mutex_init' in scope
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |                                         `- error: 'nil' requires a contextual type
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |   deinit {
 65 |     let err = pthread_mutex_destroy(self.mutex)
    |               `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
 67 |     self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
 73 |   /// `unlock`, to simplify lock handling.
 74 |   public func lock() {
 75 |     let err = pthread_mutex_lock(mutex)
    |               `- error: cannot find 'pthread_mutex_lock' in scope
 76 |     precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
 77 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
 82 |   /// `lock`, to simplify lock handling.
 83 |   public func unlock() {
 84 |     let err = pthread_mutex_unlock(mutex)
    |               `- error: cannot find 'pthread_mutex_unlock' in scope
 85 |     precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
 86 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |               `- error: cannot find 'pthread_rwlock_init' in scope
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |                                           `- error: 'nil' requires a contextual type
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 |   deinit {
124 |     let err = pthread_rwlock_destroy(self.rwlock)
    |               `- error: cannot find 'pthread_rwlock_destroy' in scope
125 |     precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 |     self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 |   /// method and `unlock`, to simplify lock handling.
133 |   public func lockRead() {
134 |     let err = pthread_rwlock_rdlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 |     precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 |   /// method and `unlock`, to simplify lock handling.
142 |   public func lockWrite() {
143 |     let err = pthread_rwlock_wrlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 |     precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 |   /// instead of this method, to simplify lock handling.
151 |   public func unlock() {
152 |     let err = pthread_rwlock_unlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_unlock' in scope
153 |     precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 |   }
[66/167] Compiling OpenTelemetryApi SemanticConventions.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |               `- error: cannot find 'pthread_mutex_init' in scope
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |                                         `- error: 'nil' requires a contextual type
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |   deinit {
 65 |     let err = pthread_mutex_destroy(self.mutex)
    |               `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
 67 |     self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
 73 |   /// `unlock`, to simplify lock handling.
 74 |   public func lock() {
 75 |     let err = pthread_mutex_lock(mutex)
    |               `- error: cannot find 'pthread_mutex_lock' in scope
 76 |     precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
 77 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
 82 |   /// `lock`, to simplify lock handling.
 83 |   public func unlock() {
 84 |     let err = pthread_mutex_unlock(mutex)
    |               `- error: cannot find 'pthread_mutex_unlock' in scope
 85 |     precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
 86 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |               `- error: cannot find 'pthread_rwlock_init' in scope
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |                                           `- error: 'nil' requires a contextual type
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 |   deinit {
124 |     let err = pthread_rwlock_destroy(self.rwlock)
    |               `- error: cannot find 'pthread_rwlock_destroy' in scope
125 |     precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 |     self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 |   /// method and `unlock`, to simplify lock handling.
133 |   public func lockRead() {
134 |     let err = pthread_rwlock_rdlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 |     precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 |   /// method and `unlock`, to simplify lock handling.
142 |   public func lockWrite() {
143 |     let err = pthread_rwlock_wrlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 |     precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 |   /// instead of this method, to simplify lock handling.
151 |   public func unlock() {
152 |     let err = pthread_rwlock_unlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_unlock' in scope
153 |     precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 |   }
[67/167] Compiling OpenTelemetryApi ActivityContextManager.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |               `- error: cannot find 'pthread_mutex_init' in scope
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |                                         `- error: 'nil' requires a contextual type
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |   deinit {
 65 |     let err = pthread_mutex_destroy(self.mutex)
    |               `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
 67 |     self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
 73 |   /// `unlock`, to simplify lock handling.
 74 |   public func lock() {
 75 |     let err = pthread_mutex_lock(mutex)
    |               `- error: cannot find 'pthread_mutex_lock' in scope
 76 |     precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
 77 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
 82 |   /// `lock`, to simplify lock handling.
 83 |   public func unlock() {
 84 |     let err = pthread_mutex_unlock(mutex)
    |               `- error: cannot find 'pthread_mutex_unlock' in scope
 85 |     precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
 86 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |               `- error: cannot find 'pthread_rwlock_init' in scope
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |                                           `- error: 'nil' requires a contextual type
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 |   deinit {
124 |     let err = pthread_rwlock_destroy(self.rwlock)
    |               `- error: cannot find 'pthread_rwlock_destroy' in scope
125 |     precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 |     self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 |   /// method and `unlock`, to simplify lock handling.
133 |   public func lockRead() {
134 |     let err = pthread_rwlock_rdlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 |     precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 |   /// method and `unlock`, to simplify lock handling.
142 |   public func lockWrite() {
143 |     let err = pthread_rwlock_wrlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 |     precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 |   /// instead of this method, to simplify lock handling.
151 |   public func unlock() {
152 |     let err = pthread_rwlock_unlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_unlock' in scope
153 |     precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 |   }
[68/167] Compiling OpenTelemetryApi ContextManager.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |               `- error: cannot find 'pthread_mutex_init' in scope
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |                                         `- error: 'nil' requires a contextual type
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |   deinit {
 65 |     let err = pthread_mutex_destroy(self.mutex)
    |               `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
 67 |     self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
 73 |   /// `unlock`, to simplify lock handling.
 74 |   public func lock() {
 75 |     let err = pthread_mutex_lock(mutex)
    |               `- error: cannot find 'pthread_mutex_lock' in scope
 76 |     precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
 77 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
 82 |   /// `lock`, to simplify lock handling.
 83 |   public func unlock() {
 84 |     let err = pthread_mutex_unlock(mutex)
    |               `- error: cannot find 'pthread_mutex_unlock' in scope
 85 |     precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
 86 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |               `- error: cannot find 'pthread_rwlock_init' in scope
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |                                           `- error: 'nil' requires a contextual type
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 |   deinit {
124 |     let err = pthread_rwlock_destroy(self.rwlock)
    |               `- error: cannot find 'pthread_rwlock_destroy' in scope
125 |     precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 |     self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 |   /// method and `unlock`, to simplify lock handling.
133 |   public func lockRead() {
134 |     let err = pthread_rwlock_rdlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 |     precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 |   /// method and `unlock`, to simplify lock handling.
142 |   public func lockWrite() {
143 |     let err = pthread_rwlock_wrlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 |     precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 |   /// instead of this method, to simplify lock handling.
151 |   public func unlock() {
152 |     let err = pthread_rwlock_unlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_unlock' in scope
153 |     precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 |   }
[69/167] Compiling OpenTelemetryApi OpenTelemetryContextProvider.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |               `- error: cannot find 'pthread_mutex_init' in scope
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |                                         `- error: 'nil' requires a contextual type
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |   deinit {
 65 |     let err = pthread_mutex_destroy(self.mutex)
    |               `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
 67 |     self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
 73 |   /// `unlock`, to simplify lock handling.
 74 |   public func lock() {
 75 |     let err = pthread_mutex_lock(mutex)
    |               `- error: cannot find 'pthread_mutex_lock' in scope
 76 |     precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
 77 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
 82 |   /// `lock`, to simplify lock handling.
 83 |   public func unlock() {
 84 |     let err = pthread_mutex_unlock(mutex)
    |               `- error: cannot find 'pthread_mutex_unlock' in scope
 85 |     precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
 86 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |               `- error: cannot find 'pthread_rwlock_init' in scope
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |                                           `- error: 'nil' requires a contextual type
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 |   deinit {
124 |     let err = pthread_rwlock_destroy(self.rwlock)
    |               `- error: cannot find 'pthread_rwlock_destroy' in scope
125 |     precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 |     self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 |   /// method and `unlock`, to simplify lock handling.
133 |   public func lockRead() {
134 |     let err = pthread_rwlock_rdlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 |     precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 |   /// method and `unlock`, to simplify lock handling.
142 |   public func lockWrite() {
143 |     let err = pthread_rwlock_wrlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 |     precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 |   /// instead of this method, to simplify lock handling.
151 |   public func unlock() {
152 |     let err = pthread_rwlock_unlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_unlock' in scope
153 |     precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 |   }
[70/167] Compiling OpenTelemetryApi TaskLocalContextManager.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |               `- error: cannot find 'pthread_mutex_init' in scope
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |                                         `- error: 'nil' requires a contextual type
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |   deinit {
 65 |     let err = pthread_mutex_destroy(self.mutex)
    |               `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
 67 |     self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
 73 |   /// `unlock`, to simplify lock handling.
 74 |   public func lock() {
 75 |     let err = pthread_mutex_lock(mutex)
    |               `- error: cannot find 'pthread_mutex_lock' in scope
 76 |     precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
 77 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
 82 |   /// `lock`, to simplify lock handling.
 83 |   public func unlock() {
 84 |     let err = pthread_mutex_unlock(mutex)
    |               `- error: cannot find 'pthread_mutex_unlock' in scope
 85 |     precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
 86 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |               `- error: cannot find 'pthread_rwlock_init' in scope
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |                                           `- error: 'nil' requires a contextual type
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 |   deinit {
124 |     let err = pthread_rwlock_destroy(self.rwlock)
    |               `- error: cannot find 'pthread_rwlock_destroy' in scope
125 |     precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 |     self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 |   /// method and `unlock`, to simplify lock handling.
133 |   public func lockRead() {
134 |     let err = pthread_rwlock_rdlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 |     precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 |   /// method and `unlock`, to simplify lock handling.
142 |   public func lockWrite() {
143 |     let err = pthread_rwlock_wrlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 |     precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 |   /// instead of this method, to simplify lock handling.
151 |   public func unlock() {
152 |     let err = pthread_rwlock_unlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_unlock' in scope
153 |     precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 |   }
[71/167] Compiling OpenTelemetryApi Locks.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |               `- error: cannot find 'pthread_mutex_init' in scope
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |                                         `- error: 'nil' requires a contextual type
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |   deinit {
 65 |     let err = pthread_mutex_destroy(self.mutex)
    |               `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
 67 |     self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
 73 |   /// `unlock`, to simplify lock handling.
 74 |   public func lock() {
 75 |     let err = pthread_mutex_lock(mutex)
    |               `- error: cannot find 'pthread_mutex_lock' in scope
 76 |     precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
 77 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
 82 |   /// `lock`, to simplify lock handling.
 83 |   public func unlock() {
 84 |     let err = pthread_mutex_unlock(mutex)
    |               `- error: cannot find 'pthread_mutex_unlock' in scope
 85 |     precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
 86 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |               `- error: cannot find 'pthread_rwlock_init' in scope
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |                                           `- error: 'nil' requires a contextual type
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 |   deinit {
124 |     let err = pthread_rwlock_destroy(self.rwlock)
    |               `- error: cannot find 'pthread_rwlock_destroy' in scope
125 |     precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 |     self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 |   /// method and `unlock`, to simplify lock handling.
133 |   public func lockRead() {
134 |     let err = pthread_rwlock_rdlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 |     precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 |   /// method and `unlock`, to simplify lock handling.
142 |   public func lockWrite() {
143 |     let err = pthread_rwlock_wrlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 |     precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 |   /// instead of this method, to simplify lock handling.
151 |   public func unlock() {
152 |     let err = pthread_rwlock_unlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_unlock' in scope
153 |     precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 |   }
[72/167] Compiling OpenTelemetryApi StringUtils.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |               `- error: cannot find 'pthread_mutex_init' in scope
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |                                         `- error: 'nil' requires a contextual type
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |   deinit {
 65 |     let err = pthread_mutex_destroy(self.mutex)
    |               `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
 67 |     self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
 73 |   /// `unlock`, to simplify lock handling.
 74 |   public func lock() {
 75 |     let err = pthread_mutex_lock(mutex)
    |               `- error: cannot find 'pthread_mutex_lock' in scope
 76 |     precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
 77 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
 82 |   /// `lock`, to simplify lock handling.
 83 |   public func unlock() {
 84 |     let err = pthread_mutex_unlock(mutex)
    |               `- error: cannot find 'pthread_mutex_unlock' in scope
 85 |     precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
 86 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |               `- error: cannot find 'pthread_rwlock_init' in scope
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |                                           `- error: 'nil' requires a contextual type
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 |   deinit {
124 |     let err = pthread_rwlock_destroy(self.rwlock)
    |               `- error: cannot find 'pthread_rwlock_destroy' in scope
125 |     precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 |     self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 |   /// method and `unlock`, to simplify lock handling.
133 |   public func lockRead() {
134 |     let err = pthread_rwlock_rdlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 |     precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 |   /// method and `unlock`, to simplify lock handling.
142 |   public func lockWrite() {
143 |     let err = pthread_rwlock_wrlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 |     precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 |   /// instead of this method, to simplify lock handling.
151 |   public func unlock() {
152 |     let err = pthread_rwlock_unlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_unlock' in scope
153 |     precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 |   }
[73/167] Compiling OpenTelemetryApi SwiftExtensions.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |               `- error: cannot find 'pthread_mutex_init' in scope
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
 58 |   /// Create a new lock.
 59 |   public init() {
 60 |     let err = pthread_mutex_init(mutex, nil)
    |                                         `- error: 'nil' requires a contextual type
 61 |     precondition(err == 0, "pthread_mutex_init failed with error \(err)")
 62 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
 63 |
 64 |   deinit {
 65 |     let err = pthread_mutex_destroy(self.mutex)
    |               `- error: cannot find 'pthread_mutex_destroy' in scope
 66 |     precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
 67 |     self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
 73 |   /// `unlock`, to simplify lock handling.
 74 |   public func lock() {
 75 |     let err = pthread_mutex_lock(mutex)
    |               `- error: cannot find 'pthread_mutex_lock' in scope
 76 |     precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
 77 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
 82 |   /// `lock`, to simplify lock handling.
 83 |   public func unlock() {
 84 |     let err = pthread_mutex_unlock(mutex)
    |               `- error: cannot find 'pthread_mutex_unlock' in scope
 85 |     precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
 86 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |               `- error: cannot find 'pthread_rwlock_init' in scope
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 |   /// Create a new lock.
118 |   public init() {
119 |     let err = pthread_rwlock_init(rwlock, nil)
    |                                           `- error: 'nil' requires a contextual type
120 |     precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 |   deinit {
124 |     let err = pthread_rwlock_destroy(self.rwlock)
    |               `- error: cannot find 'pthread_rwlock_destroy' in scope
125 |     precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 |     self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 |   /// method and `unlock`, to simplify lock handling.
133 |   public func lockRead() {
134 |     let err = pthread_rwlock_rdlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 |     precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 |   /// method and `unlock`, to simplify lock handling.
142 |   public func lockWrite() {
143 |     let err = pthread_rwlock_wrlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 |     precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 |   }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 |   /// instead of this method, to simplify lock handling.
151 |   public func unlock() {
152 |     let err = pthread_rwlock_unlock(rwlock)
    |               `- error: cannot find 'pthread_rwlock_unlock' in scope
153 |     precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 |   }
[74/188] Compiling OpenTelemetryApi Baggage.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[75/188] Compiling OpenTelemetryApi BaggageBuilder.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[76/188] Compiling OpenTelemetryApi BaggageManager.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[77/188] Compiling OpenTelemetryApi BaggageManagerProvider.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[78/188] Compiling OpenTelemetryApi DefaultBaggage.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[79/188] Compiling OpenTelemetryApi DefaultBaggageBuilder.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[80/188] Compiling OpenTelemetryApi DefaultBaggageManager.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[81/188] Compiling OpenTelemetryApi DefaultBaggageManagerProvider.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[82/188] Compiling OpenTelemetryApi EmptyBaggage.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[83/188] Compiling OpenTelemetryApi EmptyBaggageBuilder.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[84/188] Compiling OpenTelemetryApi Entry.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[85/188] Compiling OpenTelemetryApi EntryKey.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[86/188] Compiling OpenTelemetryApi EntryMetadata.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[87/188] Compiling OpenTelemetryApi EntryValue.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[88/188] Compiling OpenTelemetryApi BaggagePropagationLimits.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[89/188] Compiling OpenTelemetryApi JaegerBaggagePropagator.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[90/188] Compiling OpenTelemetryApi TextMapBaggagePropagator.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[91/188] Compiling OpenTelemetryApi W3CBaggagePropagator.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[92/188] Compiling OpenTelemetryApi ZipkinBaggagePropagator.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[93/188] Compiling OpenTelemetryApi AttributeArray.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[94/188] Compiling OpenTelemetryApi AttributeSet.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[95/188] Compiling OpenTelemetryApi AttributeValue.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[96/188] Compiling OpenTelemetryApi LongGauge.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[97/188] Compiling OpenTelemetryApi LongGaugeBuilder.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[98/188] Compiling OpenTelemetryApi LongHistogram.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[99/188] Compiling OpenTelemetryApi LongHistogramBuilder.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[100/188] Compiling OpenTelemetryApi LongUpDownCounter.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[101/188] Compiling OpenTelemetryApi LongUpDownCounterBuilder.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[102/188] Compiling OpenTelemetryApi Meter.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[103/188] Compiling OpenTelemetryApi MeterBuilder.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[104/188] Compiling OpenTelemetryApi MeterProvider.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[105/188] Compiling OpenTelemetryApi ObservableDoubleCounter.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[106/188] Compiling OpenTelemetryApi ObservableDoubleGauge.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[107/188] Compiling OpenTelemetryApi ObservableDoubleMeasurement.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[108/188] Compiling OpenTelemetryApi ObservableDoubleUpDownCounter.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[109/188] Compiling OpenTelemetryApi ObservableLongCounter.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[110/188] Compiling OpenTelemetryApi ObservableLongGauge.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[111/188] Compiling OpenTelemetryApi ObservableLongMeasurement.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[112/188] Compiling OpenTelemetryApi ObservableLongUpDownCounter.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[113/188] Compiling OpenTelemetryApi OpenTelemetry.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[114/188] Compiling OpenTelemetryApi ContextPropagators.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[115/188] Compiling OpenTelemetryApi DefaultContextPropagators.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[116/188] Compiling OpenTelemetryApi DefaultTracer.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[117/188] Compiling OpenTelemetryApi Log_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[118/188] Compiling OpenTelemetryApi Mainframe_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[119/188] Compiling OpenTelemetryApi Messaging_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[120/188] Compiling OpenTelemetryApi Network_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[121/188] Compiling OpenTelemetryApi Nfs_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[122/188] Compiling OpenTelemetryApi Nodejs_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[123/188] Compiling OpenTelemetryApi Oci_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[124/188] Compiling OpenTelemetryApi OncRpc_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[125/188] Compiling OpenTelemetryApi Openai_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[126/188] Compiling OpenTelemetryApi Openshift_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[127/188] Compiling OpenTelemetryApi Opentracing_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[128/188] Compiling OpenTelemetryApi Os_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[129/188] Compiling OpenTelemetryApi Otel_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[130/188] Compiling OpenTelemetryApi Peer_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[131/188] Compiling OpenTelemetryApi Pprof_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[132/188] Compiling OpenTelemetryApi Process_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[133/188] Compiling OpenTelemetryApi Profile_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[134/188] Compiling OpenTelemetryApi Rpc_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[135/188] Compiling OpenTelemetryApi SecurityRule_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[136/188] Compiling OpenTelemetryApi Server_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[137/188] Compiling OpenTelemetryApi Service_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[138/188] Compiling OpenTelemetryApi Session_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[139/188] Emitting module OpenTelemetryApi
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 |   extension NSException: SpanException {
   |             `- error: cannot find type 'NSException' in scope
31 |     public var type: String {
32 |       name.rawValue
[140/188] Compiling OpenTelemetryApi TracestateUtils.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[141/188] Compiling OpenTelemetryApi DefaultLogger.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[142/188] Compiling OpenTelemetryApi DefaultLoggerProvider.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[143/188] Compiling OpenTelemetryApi EventBuilder.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[144/188] Compiling OpenTelemetryApi LogRecordBuilder.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[145/188] Compiling OpenTelemetryApi Logger.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[146/188] Compiling OpenTelemetryApi LoggerBuilder.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[147/188] Compiling OpenTelemetryApi LoggerProvider.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[148/188] Compiling OpenTelemetryApi Severity.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[149/188] Compiling OpenTelemetryApi DefaultMeter.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[150/188] Compiling OpenTelemetryApi DefaultMeterProvider.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[151/188] Compiling OpenTelemetryApi DoubleCounter.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[152/188] Compiling OpenTelemetryApi DoubleCounterBuilder.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[153/188] Compiling OpenTelemetryApi DoubleGauge.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[154/188] Compiling OpenTelemetryApi DoubleGaugeBuilder.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[155/188] Compiling OpenTelemetryApi DoubleHistogram.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[156/188] Compiling OpenTelemetryApi DoubleHistogramBuilder.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[157/188] Compiling OpenTelemetryApi DoubleUpDownCounter.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[158/188] Compiling OpenTelemetryApi DoubleUpDownCounterBuilder.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[159/188] Compiling OpenTelemetryApi LongCounter.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[160/188] Compiling OpenTelemetryApi LongCounterBuilder.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
[161/188] Compiling OpenTelemetryApi DefaultTracerProvider.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 |   extension NSException: SpanException {
   |             `- error: cannot find type 'NSException' in scope
31 |     public var type: String {
32 |       name.rawValue
[162/188] Compiling OpenTelemetryApi PropagatedSpan.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 |   extension NSException: SpanException {
   |             `- error: cannot find type 'NSException' in scope
31 |     public var type: String {
32 |       name.rawValue
[163/188] Compiling OpenTelemetryApi PropagatedSpanBuilder.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 |   extension NSException: SpanException {
   |             `- error: cannot find type 'NSException' in scope
31 |     public var type: String {
32 |       name.rawValue
[164/188] Compiling OpenTelemetryApi B3Propagator.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 |   extension NSException: SpanException {
   |             `- error: cannot find type 'NSException' in scope
31 |     public var type: String {
32 |       name.rawValue
[165/188] Compiling OpenTelemetryApi BinaryFormattable.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 |   extension NSException: SpanException {
   |             `- error: cannot find type 'NSException' in scope
31 |     public var type: String {
32 |       name.rawValue
[166/188] Compiling OpenTelemetryApi JaegerPropagator.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 |   extension NSException: SpanException {
   |             `- error: cannot find type 'NSException' in scope
31 |     public var type: String {
32 |       name.rawValue
[167/188] Compiling OpenTelemetryApi TextMapPropagator.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 |   extension NSException: SpanException {
   |             `- error: cannot find type 'NSException' in scope
31 |     public var type: String {
32 |       name.rawValue
[168/188] Compiling OpenTelemetryApi W3CTraceContextPropagator.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 |   extension NSException: SpanException {
   |             `- error: cannot find type 'NSException' in scope
31 |     public var type: String {
32 |       name.rawValue
[169/188] Compiling OpenTelemetryApi SemanticAttributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 |   extension NSException: SpanException {
   |             `- error: cannot find type 'NSException' in scope
31 |     public var type: String {
32 |       name.rawValue
[170/188] Compiling OpenTelemetryApi Span.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 |   extension NSException: SpanException {
   |             `- error: cannot find type 'NSException' in scope
31 |     public var type: String {
32 |       name.rawValue
[171/188] Compiling OpenTelemetryApi SpanBuilder.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 |   extension NSException: SpanException {
   |             `- error: cannot find type 'NSException' in scope
31 |     public var type: String {
32 |       name.rawValue
[172/188] Compiling OpenTelemetryApi SpanContext.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 |   extension NSException: SpanException {
   |             `- error: cannot find type 'NSException' in scope
31 |     public var type: String {
32 |       name.rawValue
[173/188] Compiling OpenTelemetryApi SpanException.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 |   extension NSException: SpanException {
   |             `- error: cannot find type 'NSException' in scope
31 |     public var type: String {
32 |       name.rawValue
[174/188] Compiling OpenTelemetryApi SpanId.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 |   extension NSException: SpanException {
   |             `- error: cannot find type 'NSException' in scope
31 |     public var type: String {
32 |       name.rawValue
[175/188] Compiling OpenTelemetryApi SpanKind.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 |   extension NSException: SpanException {
   |             `- error: cannot find type 'NSException' in scope
31 |     public var type: String {
32 |       name.rawValue
[176/188] Compiling OpenTelemetryApi Status.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 |   extension NSException: SpanException {
   |             `- error: cannot find type 'NSException' in scope
31 |     public var type: String {
32 |       name.rawValue
[177/188] Compiling OpenTelemetryApi TraceFlags.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 |   extension NSException: SpanException {
   |             `- error: cannot find type 'NSException' in scope
31 |     public var type: String {
32 |       name.rawValue
[178/188] Compiling OpenTelemetryApi TraceId.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 |   extension NSException: SpanException {
   |             `- error: cannot find type 'NSException' in scope
31 |     public var type: String {
32 |       name.rawValue
[179/188] Compiling OpenTelemetryApi TraceState.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 |   extension NSException: SpanException {
   |             `- error: cannot find type 'NSException' in scope
31 |     public var type: String {
32 |       name.rawValue
[180/188] Compiling OpenTelemetryApi Tracer.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 |   extension NSException: SpanException {
   |             `- error: cannot find type 'NSException' in scope
31 |     public var type: String {
32 |       name.rawValue
[181/188] Compiling OpenTelemetryApi TracerProvider.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanException.swift:30:13: error: cannot find type 'NSException' in scope
28 |
29 | #if !os(Linux)
30 |   extension NSException: SpanException {
   |             `- error: cannot find type 'NSException' in scope
31 |     public var type: String {
32 |       name.rawValue
BUILD FAILURE 6.2 android