Build Information
Failed to build opentelemetry-swift, reference main (54fa75), with Swift 6.3 for Android on 27 Nov 2026 12:16:27 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344846-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&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: android
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-54344846-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:456a0db6fb3cfb8f98bfbd2540edcdeb716848f9352219df1a9ea239639f96ab
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.3-latest
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-protobuf.git
[1/1936] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.48s)
[1/57641] Fetching swift-protobuf
Fetched https://github.com/apple/swift-protobuf.git from cache (3.87s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.41.0 (4.06s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.15s)
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-272D24FF697CF451.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 OpenTelemetryApi Baggage.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[29/317] Compiling OpenTelemetryApi BaggageBuilder.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[30/317] Compiling OpenTelemetryApi BaggageManager.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[31/317] Compiling OpenTelemetryApi BaggageManagerProvider.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[32/317] Compiling OpenTelemetryApi DefaultBaggage.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[33/317] Compiling OpenTelemetryApi DefaultBaggageBuilder.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[34/317] 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 |
[35/317] Compiling OpenTelemetryApi DefaultBaggageManagerProvider.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[36/317] 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 |
[37/317] Compiling OpenTelemetryApi EmptyBaggageBuilder.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[38/317] Compiling OpenTelemetryApi Entry.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[39/317] Compiling OpenTelemetryApi EntryKey.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[40/317] 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 |
[41/317] Compiling OpenTelemetryApi EntryValue.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[42/317] Compiling OpenTelemetryApi BaggagePropagationLimits.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[43/317] 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 |
[44/317] 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 |
[45/317] Compiling OpenTelemetryApi W3CBaggagePropagator.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[46/317] Compiling OpenTelemetryApi ZipkinBaggagePropagator.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[47/317] Compiling OpenTelemetryApi AttributeArray.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[48/317] Compiling OpenTelemetryApi AttributeSet.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[49/317] Compiling OpenTelemetryApi AttributeValue.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[56/317] Compiling OpenTelemetryApi Signalr_attributes.swift
[57/317] Compiling OpenTelemetryApi Source_attributes.swift
[58/317] Compiling OpenTelemetryApi System_attributes.swift
[59/317] Compiling OpenTelemetryApi Telemetry_attributes.swift
[60/317] Compiling OpenTelemetryApi Test_attributes.swift
[61/317] Compiling OpenTelemetryApi Thread_attributes.swift
[62/317] Compiling OpenTelemetryApi Android_attributes.swift
[63/317] Compiling OpenTelemetryApi App_attributes.swift
[64/317] Compiling OpenTelemetryApi Artifact_attributes.swift
[65/317] Compiling OpenTelemetryApi Aspnetcore_attributes.swift
[66/317] Compiling OpenTelemetryApi Aws_attributes.swift
[67/317] Compiling OpenTelemetryApi Azure_attributes.swift
[68/317] Compiling OpenTelemetryApi Browser_attributes.swift
[69/317] Compiling OpenTelemetryApi Cassandra_attributes.swift
[70/317] Compiling OpenTelemetryApi Cicd_attributes.swift
[71/317] Compiling OpenTelemetryApi Client_attributes.swift
[72/317] Compiling OpenTelemetryApi Cloud_attributes.swift
[73/317] 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 |
/host/spi-builder-workspace/Sources/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 Cloudfoundry_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[87/317] Compiling OpenTelemetryApi Code_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[88/317] Compiling OpenTelemetryApi Container_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[89/317] Compiling OpenTelemetryApi Cpu_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[90/317] Compiling OpenTelemetryApi Cpython_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[91/317] Compiling OpenTelemetryApi Db_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[92/317] Compiling OpenTelemetryApi Deployment_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[93/317] Compiling OpenTelemetryApi Destination_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[94/317] Compiling OpenTelemetryApi Device_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[95/317] Compiling OpenTelemetryApi Disk_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[96/317] Compiling OpenTelemetryApi LongGauge.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[97/317] Compiling OpenTelemetryApi LongGaugeBuilder.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[98/317] Compiling OpenTelemetryApi LongHistogram.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[99/317] Compiling OpenTelemetryApi LongHistogramBuilder.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[100/317] Compiling OpenTelemetryApi LongUpDownCounter.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[101/317] Compiling OpenTelemetryApi LongUpDownCounterBuilder.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[102/317] Compiling OpenTelemetryApi Meter.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[103/317] Compiling OpenTelemetryApi MeterBuilder.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[104/317] Compiling OpenTelemetryApi MeterProvider.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[105/317] Compiling OpenTelemetryApi ObservableDoubleCounter.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[106/317] Compiling OpenTelemetryApi ObservableDoubleGauge.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[107/317] Compiling OpenTelemetryApi ObservableDoubleMeasurement.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[108/317] Compiling OpenTelemetryApi ObservableDoubleUpDownCounter.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[109/317] Compiling OpenTelemetryApi ObservableLongCounter.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[110/317] Compiling OpenTelemetryApi ObservableLongGauge.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[111/317] Compiling OpenTelemetryApi ObservableLongMeasurement.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[112/317] Compiling OpenTelemetryApi ObservableLongUpDownCounter.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[113/317] Compiling OpenTelemetryApi OpenTelemetry.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[114/317] Compiling OpenTelemetryApi ContextPropagators.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[115/317] Compiling OpenTelemetryApi DefaultContextPropagators.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[116/317] Compiling OpenTelemetryApi DefaultTracer.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[117/317] 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
[118/317] 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
[119/317] 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
[120/317] 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
[121/317] 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
[122/317] 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
[123/317] 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
[124/317] 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
[125/317] 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
[126/317] 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
[127/317] 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
[128/317] 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
[129/317] 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
[130/317] 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
[131/317] 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
[132/317] 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
[133/317] 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
[134/317] 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
[135/317] 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
[136/317] 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
[137/317] 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
[138/317] Compiling OpenTelemetryApi DoubleGaugeBuilder.swift
[139/317] Compiling OpenTelemetryApi DoubleHistogram.swift
[140/317] Compiling OpenTelemetryApi DoubleHistogramBuilder.swift
[141/317] Compiling OpenTelemetryApi DoubleUpDownCounter.swift
[142/317] Compiling OpenTelemetryApi DoubleUpDownCounterBuilder.swift
[143/317] Compiling OpenTelemetryApi LongCounter.swift
[144/317] Compiling OpenTelemetryApi LongCounterBuilder.swift
[149/317] Compiling InstrumentationSemanticConventions App_attributes.swift
[150/317] Compiling InstrumentationSemanticConventions FederatedSemanticConventions.swift
[151/317] Emitting module InstrumentationSemanticConventions
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: 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 | }
[158/317] Compiling OpenTelemetryApi Tls_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
54 | /// one used by NIO.
55 | public final class Lock: @unchecked Sendable {
56 | private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
57 |
58 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: 'nil' requires a contextual type
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
63 |
64 | deinit {
65 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
66 | precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
67 | self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
73 | /// `unlock`, to simplify lock handling.
74 | public func lock() {
75 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
76 | precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
77 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
82 | /// `lock`, to simplify lock handling.
83 | public func unlock() {
84 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
85 | precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
86 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 | deinit {
124 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
125 | precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 | /// method and `unlock`, to simplify lock handling.
133 | public func lockRead() {
134 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 | precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 | /// method and `unlock`, to simplify lock handling.
142 | public func lockWrite() {
143 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 | precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
[159/317] Compiling OpenTelemetryApi Url_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
54 | /// one used by NIO.
55 | public final class Lock: @unchecked Sendable {
56 | private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
57 |
58 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: 'nil' requires a contextual type
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
63 |
64 | deinit {
65 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
66 | precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
67 | self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
73 | /// `unlock`, to simplify lock handling.
74 | public func lock() {
75 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
76 | precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
77 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
82 | /// `lock`, to simplify lock handling.
83 | public func unlock() {
84 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
85 | precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
86 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 | deinit {
124 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
125 | precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 | /// method and `unlock`, to simplify lock handling.
133 | public func lockRead() {
134 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 | precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 | /// method and `unlock`, to simplify lock handling.
142 | public func lockWrite() {
143 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 | precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
[160/317] Compiling OpenTelemetryApi UserAgent_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
54 | /// one used by NIO.
55 | public final class Lock: @unchecked Sendable {
56 | private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
57 |
58 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: 'nil' requires a contextual type
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
63 |
64 | deinit {
65 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
66 | precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
67 | self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
73 | /// `unlock`, to simplify lock handling.
74 | public func lock() {
75 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
76 | precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
77 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
82 | /// `lock`, to simplify lock handling.
83 | public func unlock() {
84 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
85 | precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
86 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 | deinit {
124 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
125 | precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 | /// method and `unlock`, to simplify lock handling.
133 | public func lockRead() {
134 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 | precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 | /// method and `unlock`, to simplify lock handling.
142 | public func lockWrite() {
143 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 | precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
[161/317] Compiling OpenTelemetryApi User_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
54 | /// one used by NIO.
55 | public final class Lock: @unchecked Sendable {
56 | private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
57 |
58 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: 'nil' requires a contextual type
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
63 |
64 | deinit {
65 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
66 | precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
67 | self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
73 | /// `unlock`, to simplify lock handling.
74 | public func lock() {
75 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
76 | precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
77 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
82 | /// `lock`, to simplify lock handling.
83 | public func unlock() {
84 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
85 | precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
86 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 | deinit {
124 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
125 | precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 | /// method and `unlock`, to simplify lock handling.
133 | public func lockRead() {
134 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 | precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 | /// method and `unlock`, to simplify lock handling.
142 | public func lockWrite() {
143 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 | precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
[162/317] Compiling OpenTelemetryApi V8js_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
54 | /// one used by NIO.
55 | public final class Lock: @unchecked Sendable {
56 | private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
57 |
58 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: 'nil' requires a contextual type
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
63 |
64 | deinit {
65 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
66 | precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
67 | self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
73 | /// `unlock`, to simplify lock handling.
74 | public func lock() {
75 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
76 | precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
77 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
82 | /// `lock`, to simplify lock handling.
83 | public func unlock() {
84 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
85 | precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
86 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 | deinit {
124 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
125 | precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 | /// method and `unlock`, to simplify lock handling.
133 | public func lockRead() {
134 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 | precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 | /// method and `unlock`, to simplify lock handling.
142 | public func lockWrite() {
143 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 | precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
[163/317] Compiling OpenTelemetryApi Vcs_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
54 | /// one used by NIO.
55 | public final class Lock: @unchecked Sendable {
56 | private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
57 |
58 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: 'nil' requires a contextual type
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
63 |
64 | deinit {
65 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
66 | precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
67 | self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
73 | /// `unlock`, to simplify lock handling.
74 | public func lock() {
75 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
76 | precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
77 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
82 | /// `lock`, to simplify lock handling.
83 | public func unlock() {
84 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
85 | precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
86 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 | deinit {
124 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
125 | precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 | /// method and `unlock`, to simplify lock handling.
133 | public func lockRead() {
134 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 | precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 | /// method and `unlock`, to simplify lock handling.
142 | public func lockWrite() {
143 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 | precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
[164/317] Compiling OpenTelemetryApi Webengine_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
54 | /// one used by NIO.
55 | public final class Lock: @unchecked Sendable {
56 | private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
57 |
58 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: 'nil' requires a contextual type
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
63 |
64 | deinit {
65 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
66 | precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
67 | self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
73 | /// `unlock`, to simplify lock handling.
74 | public func lock() {
75 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
76 | precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
77 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
82 | /// `lock`, to simplify lock handling.
83 | public func unlock() {
84 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
85 | precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
86 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 | deinit {
124 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
125 | precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 | /// method and `unlock`, to simplify lock handling.
133 | public func lockRead() {
134 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 | precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 | /// method and `unlock`, to simplify lock handling.
142 | public func lockWrite() {
143 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 | precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
[165/317] Compiling OpenTelemetryApi SemanticConventions.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
54 | /// one used by NIO.
55 | public final class Lock: @unchecked Sendable {
56 | private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
57 |
58 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: 'nil' requires a contextual type
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
63 |
64 | deinit {
65 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
66 | precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
67 | self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
73 | /// `unlock`, to simplify lock handling.
74 | public func lock() {
75 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
76 | precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
77 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
82 | /// `lock`, to simplify lock handling.
83 | public func unlock() {
84 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
85 | precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
86 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 | deinit {
124 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
125 | precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 | /// method and `unlock`, to simplify lock handling.
133 | public func lockRead() {
134 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 | precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 | /// method and `unlock`, to simplify lock handling.
142 | public func lockWrite() {
143 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 | precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
[166/317] Compiling OpenTelemetryApi ActivityContextManager.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
54 | /// one used by NIO.
55 | public final class Lock: @unchecked Sendable {
56 | private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
57 |
58 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: 'nil' requires a contextual type
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
63 |
64 | deinit {
65 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
66 | precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
67 | self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
73 | /// `unlock`, to simplify lock handling.
74 | public func lock() {
75 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
76 | precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
77 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
82 | /// `lock`, to simplify lock handling.
83 | public func unlock() {
84 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
85 | precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
86 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 | deinit {
124 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
125 | precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 | /// method and `unlock`, to simplify lock handling.
133 | public func lockRead() {
134 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 | precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 | /// method and `unlock`, to simplify lock handling.
142 | public func lockWrite() {
143 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 | precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
[167/317] Compiling OpenTelemetryApi ContextManager.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
54 | /// one used by NIO.
55 | public final class Lock: @unchecked Sendable {
56 | private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
57 |
58 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: 'nil' requires a contextual type
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
63 |
64 | deinit {
65 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
66 | precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
67 | self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
73 | /// `unlock`, to simplify lock handling.
74 | public func lock() {
75 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
76 | precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
77 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
82 | /// `lock`, to simplify lock handling.
83 | public func unlock() {
84 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
85 | precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
86 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 | deinit {
124 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
125 | precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 | /// method and `unlock`, to simplify lock handling.
133 | public func lockRead() {
134 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 | precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 | /// method and `unlock`, to simplify lock handling.
142 | public func lockWrite() {
143 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 | precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
[168/317] Compiling OpenTelemetryApi OpenTelemetryContextProvider.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
54 | /// one used by NIO.
55 | public final class Lock: @unchecked Sendable {
56 | private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
57 |
58 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: 'nil' requires a contextual type
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
63 |
64 | deinit {
65 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
66 | precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
67 | self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
73 | /// `unlock`, to simplify lock handling.
74 | public func lock() {
75 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
76 | precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
77 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
82 | /// `lock`, to simplify lock handling.
83 | public func unlock() {
84 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
85 | precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
86 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 | deinit {
124 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
125 | precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 | /// method and `unlock`, to simplify lock handling.
133 | public func lockRead() {
134 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 | precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 | /// method and `unlock`, to simplify lock handling.
142 | public func lockWrite() {
143 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 | precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
[169/317] Compiling OpenTelemetryApi TaskLocalContextManager.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
54 | /// one used by NIO.
55 | public final class Lock: @unchecked Sendable {
56 | private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
57 |
58 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: 'nil' requires a contextual type
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
63 |
64 | deinit {
65 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
66 | precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
67 | self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
73 | /// `unlock`, to simplify lock handling.
74 | public func lock() {
75 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
76 | precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
77 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
82 | /// `lock`, to simplify lock handling.
83 | public func unlock() {
84 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
85 | precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
86 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 | deinit {
124 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
125 | precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 | /// method and `unlock`, to simplify lock handling.
133 | public func lockRead() {
134 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 | precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 | /// method and `unlock`, to simplify lock handling.
142 | public func lockWrite() {
143 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 | precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
[170/317] 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 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
54 | /// one used by NIO.
55 | public final class Lock: @unchecked Sendable {
56 | private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
57 |
58 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: 'nil' requires a contextual type
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
63 |
64 | deinit {
65 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
66 | precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
67 | self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
73 | /// `unlock`, to simplify lock handling.
74 | public func lock() {
75 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
76 | precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
77 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
82 | /// `lock`, to simplify lock handling.
83 | public func unlock() {
84 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
85 | precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
86 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 | deinit {
124 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
125 | precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 | /// method and `unlock`, to simplify lock handling.
133 | public func lockRead() {
134 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 | precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 | /// method and `unlock`, to simplify lock handling.
142 | public func lockWrite() {
143 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 | precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
[171/317] Compiling InstrumentationSemanticConventions SpanNames.swift
[172/317] 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 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
54 | /// one used by NIO.
55 | public final class Lock: @unchecked Sendable {
56 | private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
57 |
58 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: 'nil' requires a contextual type
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
63 |
64 | deinit {
65 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
66 | precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
67 | self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
73 | /// `unlock`, to simplify lock handling.
74 | public func lock() {
75 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
76 | precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
77 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
82 | /// `lock`, to simplify lock handling.
83 | public func unlock() {
84 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
85 | precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
86 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 | deinit {
124 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
125 | precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 | /// method and `unlock`, to simplify lock handling.
133 | public func lockRead() {
134 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 | precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 | /// method and `unlock`, to simplify lock handling.
142 | public func lockWrite() {
143 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 | precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
[173/317] 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 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
54 | /// one used by NIO.
55 | public final class Lock: @unchecked Sendable {
56 | private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
57 |
58 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: 'nil' requires a contextual type
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
63 |
64 | deinit {
65 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
66 | precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
67 | self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
73 | /// `unlock`, to simplify lock handling.
74 | public func lock() {
75 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
76 | precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
77 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
82 | /// `lock`, to simplify lock handling.
83 | public func unlock() {
84 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
85 | precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
86 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 | deinit {
124 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
125 | precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 | /// method and `unlock`, to simplify lock handling.
133 | public func lockRead() {
134 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 | precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 | /// method and `unlock`, to simplify lock handling.
142 | public func lockWrite() {
143 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 | precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
[174/317] 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 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
54 | /// one used by NIO.
55 | public final class Lock: @unchecked Sendable {
56 | private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
57 |
58 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 | private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 | /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:15: error: cannot find 'pthread_mutex_init' in scope
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: cannot find 'pthread_mutex_init' in scope
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:60:41: error: 'nil' requires a contextual type
58 | /// Create a new lock.
59 | public init() {
60 | let err = pthread_mutex_init(mutex, nil)
| `- error: 'nil' requires a contextual type
61 | precondition(err == 0, "pthread_mutex_init failed with error \(err)")
62 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:65:15: error: cannot find 'pthread_mutex_destroy' in scope
63 |
64 | deinit {
65 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
66 | precondition(err == 0, "pthread_mutex_destroy failed with error \(err)")
67 | self.mutex.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:75:15: error: cannot find 'pthread_mutex_lock' in scope
73 | /// `unlock`, to simplify lock handling.
74 | public func lock() {
75 | let err = pthread_mutex_lock(mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
76 | precondition(err == 0, "pthread_mutex_lock failed with error \(err)")
77 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:84:15: error: cannot find 'pthread_mutex_unlock' in scope
82 | /// `lock`, to simplify lock handling.
83 | public func unlock() {
84 | let err = pthread_mutex_unlock(mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
85 | precondition(err == 0, "pthread_mutex_unlock failed with error \(err)")
86 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:15: error: cannot find 'pthread_rwlock_init' in scope
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:119:43: error: 'nil' requires a contextual type
117 | /// Create a new lock.
118 | public init() {
119 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
120 | precondition(err == 0, "pthread_rwlock_init failed with error \(err)")
121 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:124:15: error: cannot find 'pthread_rwlock_destroy' in scope
122 |
123 | deinit {
124 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
125 | precondition(err == 0, "pthread_rwlock_destroy failed with error \(err)")
126 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:134:15: error: cannot find 'pthread_rwlock_rdlock' in scope
132 | /// method and `unlock`, to simplify lock handling.
133 | public func lockRead() {
134 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
135 | precondition(err == 0, "pthread_rwlock_rdlock failed with error \(err)")
136 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:143:15: error: cannot find 'pthread_rwlock_wrlock' in scope
141 | /// method and `unlock`, to simplify lock handling.
142 | public func lockWrite() {
143 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
144 | precondition(err == 0, "pthread_rwlock_wrlock failed with error \(err)")
145 | }
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:152:15: error: cannot find 'pthread_rwlock_unlock' in scope
150 | /// instead of this method, to simplify lock handling.
151 | public func unlock() {
152 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
153 | precondition(err == 0, "pthread_rwlock_unlock failed with error \(err)")
154 | }
[175/317] 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 |
[176/317] 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 |
[177/317] 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 |
[178/317] 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 |
[179/317] 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 |
[180/317] 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 |
[181/317] 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 |
[182/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 |
[183/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 |
[184/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 |
[185/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 |
[186/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 |
[187/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 |
[188/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 |
[189/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 |
[190/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 |
[191/317] Compiling OpenTelemetryApi Rocketmq_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 |
[192/317] Compiling OpenTelemetryApi Rpc_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[193/317] Compiling OpenTelemetryApi SecurityRule_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[194/317] Compiling OpenTelemetryApi Server_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[195/317] Compiling OpenTelemetryApi Service_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[196/317] Compiling OpenTelemetryApi Session_attributes.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[197/317] Compiling OpenTelemetryApi InternalLogger.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[198/317] Compiling OpenTelemetryApi DefaultLogger.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[199/317] Compiling OpenTelemetryApi DefaultLoggerProvider.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[200/317] Compiling OpenTelemetryApi EventBuilder.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[201/317] Compiling OpenTelemetryApi LogRecordBuilder.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[202/317] Compiling OpenTelemetryApi Logger.swift
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
39 | import Musl
40 | #else
41 | #error("Unsupported platform")
| `- error: Unsupported platform
42 | #endif
43 |
[203/317] 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 |
[204/317] 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 |
[205/317] 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 |
[206/317] 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 |
[207/317] 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 |
[208/317] 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 |
[209/317] 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 |
[210/317] 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 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: 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 |
[218/317] 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 |
[219/317] 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 |
[220/317] 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 |
[221/317] 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 |
[222/317] 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 |
[223/317] 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 |
[224/317] 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 |
[225/317] 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 |
[226/317] 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 |
[227/317] 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 |
[228/317] 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 |
[229/317] 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 |
[230/317] 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 |
[231/317] 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 |
[232/317] 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 |
[233/317] 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 |
[234/317] 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 |
[235/317] 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 |
[236/317] 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 |
[237/317] 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 |
[238/317] 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 |
[239/317] 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 |
BUILD FAILURE 6.3 android