Build Information
Failed to build opentelemetry-swift, reference main (54fa75), with Swift 6.3 for Wasm on 27 Nov 2026 12:11:29 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-58779149-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:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/open-telemetry/opentelemetry-swift.git
Reference: main
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
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 54fa759 Release 3.0.0 (#1324)
Cloned https://github.com/open-telemetry/opentelemetry-swift.git
Revision (git rev-parse @):
54fa75903ba6f8ccbd634a2da581335e56566109
SUCCESS checkout https://github.com/open-telemetry/opentelemetry-swift.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/open-telemetry/opentelemetry-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-58779149-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:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:c3e9b647a8a44b039f995a08aedc0aa863ba107df357cae1fa410b778751f9d2
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-protobuf.git
[1/1936] Fetching swift-atomics
[1937/59577] Fetching swift-atomics, swift-protobuf
Fetched https://github.com/apple/swift-atomics.git from cache (4.16s)
Fetched https://github.com/apple/swift-protobuf.git from cache (4.20s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.41.0 (4.39s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.16s)
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.41.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/44] Write sources
[24/44] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/285] 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:55:13: error: cannot find type 'NSException' in scope
53 |
54 | #if !os(Linux)
55 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
56 | public var type: String {
57 | name.rawValue
[27/306] Emitting module SwiftProtobuf
[28/317] Compiling InstrumentationSemanticConventions FederatedSemanticConventions.swift
[29/317] Compiling OpenTelemetryApi Rocketmq_attributes.swift
[30/317] Compiling OpenTelemetryApi Rpc_attributes.swift
[31/317] Compiling OpenTelemetryApi SecurityRule_attributes.swift
[32/317] Compiling OpenTelemetryApi Server_attributes.swift
[33/317] Compiling OpenTelemetryApi Service_attributes.swift
[34/317] Compiling OpenTelemetryApi Session_attributes.swift
[35/317] Compiling OpenTelemetryApi Baggage.swift
[36/317] Compiling OpenTelemetryApi BaggageBuilder.swift
[37/317] Compiling OpenTelemetryApi BaggageManager.swift
[38/317] Compiling OpenTelemetryApi BaggageManagerProvider.swift
[39/317] Compiling OpenTelemetryApi DefaultBaggage.swift
[40/317] Compiling OpenTelemetryApi DefaultBaggageBuilder.swift
[41/317] Compiling OpenTelemetryApi ActivityContextManager.swift
[42/317] Compiling OpenTelemetryApi ContextManager.swift
[43/317] Compiling OpenTelemetryApi OpenTelemetryContextProvider.swift
[44/317] Compiling OpenTelemetryApi TaskLocalContextManager.swift
[45/317] Compiling OpenTelemetryApi Locks.swift
[46/317] Compiling OpenTelemetryApi StringUtils.swift
[47/317] Compiling OpenTelemetryApi SwiftExtensions.swift
[48/317] Compiling OpenTelemetryApi TracestateUtils.swift
[49/317] Compiling OpenTelemetryApi Mainframe_attributes.swift
[50/317] Compiling OpenTelemetryApi Messaging_attributes.swift
[51/317] Compiling OpenTelemetryApi Network_attributes.swift
[52/317] Compiling OpenTelemetryApi Nfs_attributes.swift
[53/317] Compiling OpenTelemetryApi System_attributes.swift
[54/317] Compiling OpenTelemetryApi Telemetry_attributes.swift
[55/317] Compiling OpenTelemetryApi Test_attributes.swift
[56/317] Compiling OpenTelemetryApi Thread_attributes.swift
[57/317] Compiling OpenTelemetryApi Tls_attributes.swift
[58/317] Compiling OpenTelemetryApi Url_attributes.swift
[59/317] Compiling OpenTelemetryApi UserAgent_attributes.swift
[60/317] Compiling OpenTelemetryApi User_attributes.swift
[61/317] Compiling OpenTelemetryApi V8js_attributes.swift
[62/317] Compiling OpenTelemetryApi Vcs_attributes.swift
[63/317] Compiling OpenTelemetryApi Webengine_attributes.swift
[64/317] Compiling OpenTelemetryApi SemanticConventions.swift
[65/317] Compiling OpenTelemetryApi Cloudfoundry_attributes.swift
[66/317] Compiling OpenTelemetryApi Code_attributes.swift
[67/317] Compiling OpenTelemetryApi Container_attributes.swift
[68/317] Compiling OpenTelemetryApi Cpu_attributes.swift
[69/317] Compiling OpenTelemetryApi Cpython_attributes.swift
[70/317] Compiling OpenTelemetryApi Db_attributes.swift
[71/317] Compiling OpenTelemetryApi Deployment_attributes.swift
[72/317] Compiling OpenTelemetryApi Destination_attributes.swift
[73/317] Compiling OpenTelemetryApi Device_attributes.swift
[74/317] Compiling OpenTelemetryApi Disk_attributes.swift
[75/317] Compiling OpenTelemetryApi Signalr_attributes.swift
[76/317] 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:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[81/317] 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 |
[82/317] 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 |
[83/317] 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 |
[84/317] 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 |
[85/317] Compiling OpenTelemetryApi OracleCloud_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 |
[86/317] Compiling OpenTelemetryApi Oracle_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 |
[87/317] 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 |
[88/317] 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 |
[89/317] 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 |
[90/317] 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 |
[91/317] 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 |
[92/317] Compiling OpenTelemetryApi Rabbitmq_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:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[99/317] Compiling InstrumentationSemanticConventions SpanNames.swift
[100/317] Compiling InstrumentationSemanticConventions App_attributes.swift
[101/317] Emitting module InstrumentationSemanticConventions
[102/318] Compiling SwiftProtobuf field_mask.pb.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[103/318] Compiling SwiftProtobuf source_context.pb.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[104/318] Compiling SwiftProtobuf struct.pb.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[105/318] Compiling SwiftProtobuf timestamp.pb.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[106/318] Compiling SwiftProtobuf type.pb.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[107/318] Compiling SwiftProtobuf wrappers.pb.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[108/318] 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 |
[109/318] 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 |
[110/318] 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 |
[111/318] 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 |
[112/318] 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 |
[113/318] 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 |
[114/318] 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 |
[115/318] 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 |
[116/318] 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 |
[117/318] 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 |
[118/318] 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 |
[119/318] 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 |
[120/318] 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 |
[121/318] 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 |
[122/318] 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 |
[123/318] 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 |
[124/318] 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 |
[125/318] 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 |
[126/318] 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 |
[127/318] 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 |
[128/318] 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 |
[129/318] 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 |
[130/318] 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 |
[131/318] 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 |
[132/318] 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 |
[133/318] 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 |
[134/318] 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 |
[135/318] 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 |
[136/318] 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 |
[137/318] 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 |
[138/318] 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 |
[139/318] 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 |
[140/318] Compiling OpenTelemetryApi Jsonrpc_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 |
[141/318] 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 |
[142/318] 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 |
[143/318] Compiling OpenTelemetryApi Kafka_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 |
[144/318] 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 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
54 | /// one used by NIO.
55 | public final class Lock: @unchecked Sendable {
56 | private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
57 |
58 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: 'nil' requires a contextual type
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
63 |
64 | deinit {
65 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
66 | precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
67 | self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
73 | /// `unlock`, to simplify lock handling.
74 | public func lock() {
75 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
76 | precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
77 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
82 | /// `lock`, to simplify lock handling.
83 | public func unlock() {
84 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
85 | precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
86 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 | deinit {
124 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
125 | precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 | /// method and `unlock`, to simplify lock handling.
133 | public func lockRead() {
134 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 | precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 | /// method and `unlock`, to simplify lock handling.
142 | public func lockWrite() {
143 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 | precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
54 | /// one used by NIO.
55 | public final class Lock: @unchecked Sendable {
56 | private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
57 |
58 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: 'nil' requires a contextual type
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
63 |
64 | deinit {
65 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
66 | precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
67 | self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
73 | /// `unlock`, to simplify lock handling.
74 | public func lock() {
75 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
76 | precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
77 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
82 | /// `lock`, to simplify lock handling.
83 | public func unlock() {
84 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
85 | precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
86 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 | deinit {
124 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
125 | precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 | /// method and `unlock`, to simplify lock handling.
133 | public func lockRead() {
134 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 | precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 | /// method and `unlock`, to simplify lock handling.
142 | public func lockWrite() {
143 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 | precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
54 | /// one used by NIO.
55 | public final class Lock: @unchecked Sendable {
56 | private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
57 |
58 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: 'nil' requires a contextual type
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
63 |
64 | deinit {
65 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
66 | precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
67 | self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
73 | /// `unlock`, to simplify lock handling.
74 | public func lock() {
75 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
76 | precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
77 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
82 | /// `lock`, to simplify lock handling.
83 | public func unlock() {
84 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
85 | precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
86 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 | deinit {
124 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
125 | precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 | /// method and `unlock`, to simplify lock handling.
133 | public func lockRead() {
134 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 | precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 | /// method and `unlock`, to simplify lock handling.
142 | public func lockWrite() {
143 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 | precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
54 | /// one used by NIO.
55 | public final class Lock: @unchecked Sendable {
56 | private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
57 |
58 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: 'nil' requires a contextual type
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
63 |
64 | deinit {
65 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
66 | precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
67 | self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
73 | /// `unlock`, to simplify lock handling.
74 | public func lock() {
75 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
76 | precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
77 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
82 | /// `lock`, to simplify lock handling.
83 | public func unlock() {
84 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
85 | precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
86 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 | deinit {
124 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
125 | precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 | /// method and `unlock`, to simplify lock handling.
133 | public func lockRead() {
134 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 | precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 | /// method and `unlock`, to simplify lock handling.
142 | public func lockWrite() {
143 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 | precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
54 | /// one used by NIO.
55 | public final class Lock: @unchecked Sendable {
56 | private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
57 |
58 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: 'nil' requires a contextual type
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
63 |
64 | deinit {
65 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
66 | precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
67 | self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
73 | /// `unlock`, to simplify lock handling.
74 | public func lock() {
75 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
76 | precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
77 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
82 | /// `lock`, to simplify lock handling.
83 | public func unlock() {
84 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
85 | precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
86 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 | deinit {
124 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
125 | precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 | /// method and `unlock`, to simplify lock handling.
133 | public func lockRead() {
134 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 | precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 | /// method and `unlock`, to simplify lock handling.
142 | public func lockWrite() {
143 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 | precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
54 | /// one used by NIO.
55 | public final class Lock: @unchecked Sendable {
56 | private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
57 |
58 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: 'nil' requires a contextual type
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
63 |
64 | deinit {
65 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
66 | precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
67 | self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
73 | /// `unlock`, to simplify lock handling.
74 | public func lock() {
75 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
76 | precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
77 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
82 | /// `lock`, to simplify lock handling.
83 | public func unlock() {
84 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
85 | precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
86 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 | deinit {
124 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
125 | precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 | /// method and `unlock`, to simplify lock handling.
133 | public func lockRead() {
134 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 | precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 | /// method and `unlock`, to simplify lock handling.
142 | public func lockWrite() {
143 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 | precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
54 | /// one used by NIO.
55 | public final class Lock: @unchecked Sendable {
56 | private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
57 |
58 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: 'nil' requires a contextual type
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
63 |
64 | deinit {
65 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
66 | precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
67 | self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
73 | /// `unlock`, to simplify lock handling.
74 | public func lock() {
75 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
76 | precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
77 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
82 | /// `lock`, to simplify lock handling.
83 | public func unlock() {
84 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
85 | precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
86 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 | deinit {
124 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
125 | precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 | /// method and `unlock`, to simplify lock handling.
133 | public func lockRead() {
134 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 | precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 | /// method and `unlock`, to simplify lock handling.
142 | public func lockWrite() {
143 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 | precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
54 | /// one used by NIO.
55 | public final class Lock: @unchecked Sendable {
56 | private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
57 |
58 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: 'nil' requires a contextual type
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
63 |
64 | deinit {
65 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
66 | precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
67 | self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
73 | /// `unlock`, to simplify lock handling.
74 | public func lock() {
75 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
76 | precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
77 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
82 | /// `lock`, to simplify lock handling.
83 | public func unlock() {
84 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
85 | precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
86 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 | deinit {
124 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
125 | precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 | /// method and `unlock`, to simplify lock handling.
133 | public func lockRead() {
134 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 | precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 | /// method and `unlock`, to simplify lock handling.
142 | public func lockWrite() {
143 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 | precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
54 | /// one used by NIO.
55 | public final class Lock: @unchecked Sendable {
56 | private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
57 |
58 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: 'nil' requires a contextual type
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
63 |
64 | deinit {
65 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
66 | precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
67 | self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
73 | /// `unlock`, to simplify lock handling.
74 | public func lock() {
75 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
76 | precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
77 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
82 | /// `lock`, to simplify lock handling.
83 | public func unlock() {
84 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
85 | precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
86 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 | deinit {
124 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
125 | precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 | /// method and `unlock`, to simplify lock handling.
133 | public func lockRead() {
134 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 | precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 | /// method and `unlock`, to simplify lock handling.
142 | public func lockWrite() {
143 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 | precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
54 | /// one used by NIO.
55 | public final class Lock: @unchecked Sendable {
56 | private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
57 |
58 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: 'nil' requires a contextual type
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
63 |
64 | deinit {
65 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
66 | precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
67 | self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
73 | /// `unlock`, to simplify lock handling.
74 | public func lock() {
75 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
76 | precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
77 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
82 | /// `lock`, to simplify lock handling.
83 | public func unlock() {
84 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
85 | precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
86 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 | deinit {
124 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
125 | precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 | /// method and `unlock`, to simplify lock handling.
133 | public func lockRead() {
134 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 | precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 | /// method and `unlock`, to simplify lock handling.
142 | public func lockWrite() {
143 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 | precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
54 | /// one used by NIO.
55 | public final class Lock: @unchecked Sendable {
56 | private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
57 |
58 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: 'nil' requires a contextual type
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
63 |
64 | deinit {
65 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
66 | precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
67 | self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
73 | /// `unlock`, to simplify lock handling.
74 | public func lock() {
75 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
76 | precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
77 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
82 | /// `lock`, to simplify lock handling.
83 | public func unlock() {
84 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
85 | precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
86 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 | deinit {
124 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
125 | precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 | /// method and `unlock`, to simplify lock handling.
133 | public func lockRead() {
134 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 | precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 | /// method and `unlock`, to simplify lock handling.
142 | public func lockWrite() {
143 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 | precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
54 | /// one used by NIO.
55 | public final class Lock: @unchecked Sendable {
56 | private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
57 |
58 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: 'nil' requires a contextual type
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
63 |
64 | deinit {
65 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
66 | precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
67 | self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
73 | /// `unlock`, to simplify lock handling.
74 | public func lock() {
75 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
76 | precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
77 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
82 | /// `lock`, to simplify lock handling.
83 | public func unlock() {
84 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
85 | precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
86 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 | deinit {
124 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
125 | precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 | /// method and `unlock`, to simplify lock handling.
133 | public func lockRead() {
134 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 | precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 | /// method and `unlock`, to simplify lock handling.
142 | public func lockWrite() {
143 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 | precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
54 | /// one used by NIO.
55 | public final class Lock: @unchecked Sendable {
56 | private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
57 |
58 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: 'nil' requires a contextual type
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
63 |
64 | deinit {
65 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
66 | precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
67 | self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
73 | /// `unlock`, to simplify lock handling.
74 | public func lock() {
75 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
76 | precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
77 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
82 | /// `lock`, to simplify lock handling.
83 | public func unlock() {
84 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
85 | precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
86 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 | deinit {
124 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
125 | precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 | /// method and `unlock`, to simplify lock handling.
133 | public func lockRead() {
134 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 | precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 | /// method and `unlock`, to simplify lock handling.
142 | public func lockWrite() {
143 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 | precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
54 | /// one used by NIO.
55 | public final class Lock: @unchecked Sendable {
56 | private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
57 |
58 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: 'nil' requires a contextual type
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
63 |
64 | deinit {
65 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
66 | precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
67 | self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
73 | /// `unlock`, to simplify lock handling.
74 | public func lock() {
75 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
76 | precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
77 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
82 | /// `lock`, to simplify lock handling.
83 | public func unlock() {
84 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
85 | precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
86 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 | deinit {
124 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
125 | precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 | /// method and `unlock`, to simplify lock handling.
133 | public func lockRead() {
134 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 | precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 | /// method and `unlock`, to simplify lock handling.
142 | public func lockWrite() {
143 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 | precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
54 | /// one used by NIO.
55 | public final class Lock: @unchecked Sendable {
56 | private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
57 |
58 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: 'nil' requires a contextual type
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
63 |
64 | deinit {
65 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
66 | precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
67 | self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
73 | /// `unlock`, to simplify lock handling.
74 | public func lock() {
75 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
76 | precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
77 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
82 | /// `lock`, to simplify lock handling.
83 | public func unlock() {
84 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
85 | precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
86 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 | deinit {
124 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
125 | precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 | /// method and `unlock`, to simplify lock handling.
133 | public func lockRead() {
134 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 | precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 | /// method and `unlock`, to simplify lock handling.
142 | public func lockWrite() {
143 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 | precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
54 | /// one used by NIO.
55 | public final class Lock: @unchecked Sendable {
56 | private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
57 |
58 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: 'nil' requires a contextual type
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
63 |
64 | deinit {
65 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
66 | precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
67 | self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
73 | /// `unlock`, to simplify lock handling.
74 | public func lock() {
75 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
76 | precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
77 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
82 | /// `lock`, to simplify lock handling.
83 | public func unlock() {
84 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
85 | precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
86 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 | deinit {
124 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
125 | precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 | /// method and `unlock`, to simplify lock handling.
133 | public func lockRead() {
134 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 | precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 | /// method and `unlock`, to simplify lock handling.
142 | public func lockWrite() {
143 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 | precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
54 | /// one used by NIO.
55 | public final class Lock: @unchecked Sendable {
56 | private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
57 |
58 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: 'nil' requires a contextual type
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
63 |
64 | deinit {
65 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
66 | precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
67 | self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
73 | /// `unlock`, to simplify lock handling.
74 | public func lock() {
75 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
76 | precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
77 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
82 | /// `lock`, to simplify lock handling.
83 | public func unlock() {
84 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
85 | precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
86 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 | deinit {
124 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
125 | precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 | /// method and `unlock`, to simplify lock handling.
133 | public func lockRead() {
134 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 | precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 | /// method and `unlock`, to simplify lock handling.
142 | public func lockWrite() {
143 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 | precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
54 | /// one used by NIO.
55 | public final class Lock: @unchecked Sendable {
56 | private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
57 |
58 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: 'nil' requires a contextual type
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
63 |
64 | deinit {
65 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
66 | precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
67 | self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
73 | /// `unlock`, to simplify lock handling.
74 | public func lock() {
75 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
76 | precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
77 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
82 | /// `lock`, to simplify lock handling.
83 | public func unlock() {
84 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
85 | precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
86 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 | deinit {
124 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
125 | precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 | /// method and `unlock`, to simplify lock handling.
133 | public func lockRead() {
134 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 | precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 | /// method and `unlock`, to simplify lock handling.
142 | public func lockWrite() {
143 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 | precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
54 | /// one used by NIO.
55 | public final class Lock: @unchecked Sendable {
56 | private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
57 |
58 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: 'nil' requires a contextual type
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
63 |
64 | deinit {
65 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
66 | precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
67 | self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
73 | /// `unlock`, to simplify lock handling.
74 | public func lock() {
75 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
76 | precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
77 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
82 | /// `lock`, to simplify lock handling.
83 | public func unlock() {
84 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
85 | precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
86 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 | deinit {
124 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
125 | precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 | /// method and `unlock`, to simplify lock handling.
133 | public func lockRead() {
134 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 | precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 | /// method and `unlock`, to simplify lock handling.
142 | public func lockWrite() {
143 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 | precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
54 | /// one used by NIO.
55 | public final class Lock: @unchecked Sendable {
56 | private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
57 |
58 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: 'nil' requires a contextual type
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
63 |
64 | deinit {
65 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
66 | precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
67 | self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
73 | /// `unlock`, to simplify lock handling.
74 | public func lock() {
75 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
76 | precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
77 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
82 | /// `lock`, to simplify lock handling.
83 | public func unlock() {
84 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
85 | precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
86 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 | deinit {
124 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
125 | precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 | /// method and `unlock`, to simplify lock handling.
133 | public func lockRead() {
134 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 | precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 | /// method and `unlock`, to simplify lock handling.
142 | public func lockWrite() {
143 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 | precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
54 | /// one used by NIO.
55 | public final class Lock: @unchecked Sendable {
56 | private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
57 |
58 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: 'nil' requires a contextual type
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
63 |
64 | deinit {
65 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
66 | precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
67 | self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
73 | /// `unlock`, to simplify lock handling.
74 | public func lock() {
75 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
76 | precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
77 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
82 | /// `lock`, to simplify lock handling.
83 | public func unlock() {
84 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
85 | precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
86 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 | deinit {
124 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
125 | precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 | /// method and `unlock`, to simplify lock handling.
133 | public func lockRead() {
134 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 | precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 | /// method and `unlock`, to simplify lock handling.
142 | public func lockWrite() {
143 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 | precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
54 | /// one used by NIO.
55 | public final class Lock: @unchecked Sendable {
56 | private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
57 |
58 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: 'nil' requires a contextual type
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
63 |
64 | deinit {
65 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
66 | precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
67 | self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
73 | /// `unlock`, to simplify lock handling.
74 | public func lock() {
75 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
76 | precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
77 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
82 | /// `lock`, to simplify lock handling.
83 | public func unlock() {
84 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
85 | precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
86 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 | deinit {
124 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
125 | precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 | /// method and `unlock`, to simplify lock handling.
133 | public func lockRead() {
134 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 | precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 | /// method and `unlock`, to simplify lock handling.
142 | public func lockWrite() {
143 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 | precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
[168/318] 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:55:13: error: cannot find type 'NSException' in scope
53 |
54 | #if !os(Linux)
55 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
56 | public var type: String {
57 | name.rawValue
[169/318] 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:55:13: error: cannot find type 'NSException' in scope
53 |
54 | #if !os(Linux)
55 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
56 | public var type: String {
57 | name.rawValue
[170/318] 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:55:13: error: cannot find type 'NSException' in scope
53 |
54 | #if !os(Linux)
55 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
56 | public var type: String {
57 | name.rawValue
[171/318] 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:55:13: error: cannot find type 'NSException' in scope
53 |
54 | #if !os(Linux)
55 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
56 | public var type: String {
57 | name.rawValue
[172/318] 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:55:13: error: cannot find type 'NSException' in scope
53 |
54 | #if !os(Linux)
55 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
56 | public var type: String {
57 | name.rawValue
[173/318] 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:55:13: error: cannot find type 'NSException' in scope
53 |
54 | #if !os(Linux)
55 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
56 | public var type: String {
57 | name.rawValue
[174/318] 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:55:13: error: cannot find type 'NSException' in scope
53 |
54 | #if !os(Linux)
55 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
56 | public var type: String {
57 | name.rawValue
[175/318] 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:55:13: error: cannot find type 'NSException' in scope
53 |
54 | #if !os(Linux)
55 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
56 | public var type: String {
57 | name.rawValue
[176/318] 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:55:13: error: cannot find type 'NSException' in scope
53 |
54 | #if !os(Linux)
55 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
56 | public var type: String {
57 | name.rawValue
[177/318] 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:55:13: error: cannot find type 'NSException' in scope
53 |
54 | #if !os(Linux)
55 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
56 | public var type: String {
57 | name.rawValue
[178/318] 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:55:13: error: cannot find type 'NSException' in scope
53 |
54 | #if !os(Linux)
55 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
56 | public var type: String {
57 | name.rawValue
[179/318] 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:55:13: error: cannot find type 'NSException' in scope
53 |
54 | #if !os(Linux)
55 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
56 | public var type: String {
57 | name.rawValue
[180/318] 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:55:13: error: cannot find type 'NSException' in scope
53 |
54 | #if !os(Linux)
55 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
56 | public var type: String {
57 | name.rawValue
[181/318] 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:55:13: error: cannot find type 'NSException' in scope
53 |
54 | #if !os(Linux)
55 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
56 | public var type: String {
57 | name.rawValue
[182/318] 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:55:13: error: cannot find type 'NSException' in scope
53 |
54 | #if !os(Linux)
55 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
56 | public var type: String {
57 | name.rawValue
[183/318] 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:55:13: error: cannot find type 'NSException' in scope
53 |
54 | #if !os(Linux)
55 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
56 | public var type: String {
57 | name.rawValue
[184/318] 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:55:13: error: cannot find type 'NSException' in scope
53 |
54 | #if !os(Linux)
55 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
56 | public var type: String {
57 | name.rawValue
[185/318] 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:55:13: error: cannot find type 'NSException' in scope
53 |
54 | #if !os(Linux)
55 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
56 | public var type: String {
57 | name.rawValue
[186/318] 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:55:13: error: cannot find type 'NSException' in scope
53 |
54 | #if !os(Linux)
55 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
56 | public var type: String {
57 | name.rawValue
[187/318] 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:55:13: error: cannot find type 'NSException' in scope
53 |
54 | #if !os(Linux)
55 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
56 | public var type: String {
57 | name.rawValue
[188/318] 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:55:13: error: cannot find type 'NSException' in scope
53 |
54 | #if !os(Linux)
55 | extension NSException: SpanException {
| `- error: cannot find type 'NSException' in scope
56 | public var type: String {
57 | name.rawValue
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[193/318] 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 |
[195/318] Compiling OpenTelemetryApi DefaultBaggageManagerProvider.swift
[196/318] 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 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[199/318] Compiling OpenTelemetryApi EmptyBaggageBuilder.swift
[200/318] Compiling OpenTelemetryApi Entry.swift
[201/318] Compiling OpenTelemetryApi EntryKey.swift
[202/318] 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 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[205/318] Compiling OpenTelemetryApi EntryValue.swift
[206/318] Compiling OpenTelemetryApi BaggagePropagationLimits.swift
[207/318] 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 |
[209/318] 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 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[217/318] Compiling SwiftProtobuf any.pb.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[218/318] Compiling SwiftProtobuf api.pb.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[219/318] Compiling SwiftProtobuf descriptor.pb.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[220/318] Compiling SwiftProtobuf duration.pb.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[221/318] Compiling SwiftProtobuf empty.pb.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[222/318] 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 |
[223/318] 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 |
[224/318] 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 |
[225/318] 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 |
[226/318] 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 |
[227/318] 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 |
[228/318] 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 |
[229/318] 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 |
[230/318] 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 |
[231/318] 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 |
[232/318] 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 |
[233/318] 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 |
[234/318] 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 |
[235/318] 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 |
[236/318] 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 |
[237/318] 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 |
[238/318] 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 |
[239/318] 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 |
[240/318] 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 |
[241/318] 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 |
[242/318] 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 |
[243/318] 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 |
[244/318] 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 |
[245/318] 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 |
[246/318] 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 |
[247/318] 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 |
[248/318] 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 |
[249/318] 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 |
[250/318] 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 |
[251/318] 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 |
[252/318] 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 |
[253/318] 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 |
[254/318] 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 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
BUILD FAILURE 6.3 wasm