The Swift Package Index logo.Swift Package Index

Build Information

Failed to build opentelemetry-swift, reference main (54fa75), with Swift 6.2 for Android on 27 Nov 2026 12:16:53 UTC.

Build Command

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

Build 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.2
Building package at path:  $PWD
https://github.com/open-telemetry/opentelemetry-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:137647a7354f821d45324be20c09d635b92207b61b70d1acd112aed5623da806
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/grpc/grpc-swift.git
Fetching https://github.com/apple/swift-nio.git
[1/8597] Fetching swift-log
[1635/12262] Fetching swift-log, swift-metrics
[9955/19012] Fetching swift-log, swift-metrics, swift-distributed-tracing
[19013/70616] Fetching swift-log, swift-metrics, swift-distributed-tracing, grpc-swift
[19014/128257] Fetching swift-log, swift-metrics, swift-distributed-tracing, grpc-swift, swift-protobuf
[61839/215500] Fetching swift-log, swift-metrics, swift-distributed-tracing, grpc-swift, swift-protobuf, swift-nio
Fetched https://github.com/grpc/grpc-swift.git from cache (1.57s)
Fetching https://github.com/apple/swift-atomics.git
[108015/163896] Fetching swift-log, swift-metrics, swift-distributed-tracing, swift-protobuf, swift-nio
[149160/165832] Fetching swift-log, swift-metrics, swift-distributed-tracing, swift-protobuf, swift-nio, swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.50s)
[159285/163896] Fetching swift-log, swift-metrics, swift-distributed-tracing, swift-protobuf, swift-nio
Fetched https://github.com/apple/swift-metrics.git from cache (3.46s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (3.46s)
Fetched https://github.com/apple/swift-log.git from cache (3.46s)
Fetched https://github.com/apple/swift-nio.git from cache (3.50s)
Fetched https://github.com/apple/swift-protobuf.git from cache (4.56s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.7.4 (4.72s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.13.1 (0.15s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.17.2 (0.15s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.41.0 (0.18s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.27.6 (0.25s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2881] Fetching swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.45s)
[1/17006] Fetching swift-nio-ssl
[2/23796] Fetching swift-nio-ssl, swift-nio-extras
[9853/54361] Fetching swift-nio-ssl, swift-nio-extras, swift-collections
[15968/66802] Fetching swift-nio-ssl, swift-nio-extras, swift-collections, swift-nio-http2
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.38s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.38s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.43s)
Fetched https://github.com/apple/swift-collections.git from cache (1.44s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.105.2 (1.82s)
Fetching https://github.com/apple/swift-system.git
[1/7601] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.78s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.94s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (0.16s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.1 (0.16s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.9.0 (0.18s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.6 (0.24s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.3 (0.27s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-http-types.git
[1/1284] Fetching swift-http-structured-headers
[40/3372] Fetching swift-http-structured-headers, swift-asn1
[1411/5362] Fetching swift-http-structured-headers, swift-asn1, swift-http-types
[3473/8299] Fetching swift-http-structured-headers, swift-asn1, swift-http-types, swift-service-lifecycle
Fetched https://github.com/apple/swift-http-types.git from cache (0.44s)
Fetching https://github.com/apple/swift-algorithms.git
[1/7107] Fetching swift-async-algorithms
[2560/14798] Fetching swift-async-algorithms, swift-certificates
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.60s)
[4846/7691] Fetching swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.68s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.68s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.68s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.68s)
[1/6208] Fetching swift-algorithms
Fetched https://github.com/apple/swift-algorithms.git from cache (0.53s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.85s)
Fetching https://github.com/apple/swift-numerics.git
[1/6862] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.59s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.74s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.15s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.8.0 (0.17s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.13.0 (0.14s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.7 (0.20s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.5 (0.18s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.8 (0.19s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.2 (0.21s)
Fetching https://github.com/apple/swift-crypto.git
[1/19023] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.21s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.2.0 (1.72s)
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.8.0
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.7.4
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.5
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.2
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.17.2
Creating working copy for https://github.com/grpc/grpc-swift.git
Working copy of https://github.com/grpc/grpc-swift.git resolved at 1.27.6
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.105.2
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.13.1
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.2.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.7
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.6
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.46.1
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.13.0
Creating working copy for https://github.com/apple/swift-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-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.35.3
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.9.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.8
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
[1/1] Compiling plugin SwiftProtobufPlugin
[2/2] Compiling plugin GRPCSwiftPlugin
Building for debugging...
[2/516] Write sources
[49/516] Compiling CNIOWindows shim.c
[50/516] Compiling _AtomicsShims.c
[51/516] Compiling CNIOWindows WSAStartup.c
[52/516] Compiling CNIOWASI CNIOWASI.c
[53/516] Compiling CNIOPosix event_loop_id.c
[54/516] Compiling CNIOOpenBSD shim.c
[55/516] Compiling CNIOLinux liburing_shims.c
[56/516] Compiling CNIOLinux shim.c
[57/516] Compiling CNIOLLHTTP c_nio_http.c
[58/516] Compiling CNIOLLHTTP c_nio_api.c
[59/516] Compiling CNIOFreeBSD shim.c
[60/516] Compiling CNIODarwin shim.c
[61/516] Compiling CNIOLLHTTP c_nio_llhttp.c
[62/516] Compiling fiat_p256_adx_sqr.S
[63/516] Compiling fiat_p256_adx_mul.S
[64/516] Compiling fiat_curve25519_adx_square.S
[65/516] Compiling fiat_curve25519_adx_mul.S
[66/516] Compiling CNIOBoringSSLShims shims.c
[67/516] Compiling s3_pkt.cc
[68/516] Compiling s3_lib.cc
[69/516] Compiling ssl_aead_ctx.cc
[70/516] Write swift-version--11D90AFD9DD3AB2.txt
[71/516] Compiling ssl_buffer.cc
[72/520] Compiling ssl_asn1.cc
[73/522] Compiling tls_record.cc
[74/538] Compiling tls_method.cc
[75/759] Compiling tls13_server.cc
[76/770] Compiling tls13_both.cc
[77/770] Compiling tls13_client.cc
[78/775] Compiling tls13_enc.cc
[80/811] Emitting module Instrumentation
[81/811] Emitting module InternalCollectionsUtilities
error: emit-module command failed with exit code 1 (use -v to see invocation)
[82/814] Emitting module OpenTelemetryApi
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: error: Unsupported platform
 39 |   import Musl
 40 | #else
 41 |   #error("Unsupported platform")
    |          `- error: Unsupported platform
 42 | #endif
 43 |
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:56:43: error: cannot find type 'pthread_mutex_t' in scope
 54 | /// one used by NIO.
 55 | public final class Lock: @unchecked Sendable {
 56 |   private let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                           `- error: cannot find type 'pthread_mutex_t' in scope
 57 |
 58 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:115:44: error: cannot find type 'pthread_rwlock_t' in scope
113 | /// multiple concurrent readers or a single exclusive writer.
114 | public final class ReadWriteLock: @unchecked Sendable {
115 |   private let rwlock: UnsafeMutablePointer<pthread_rwlock_t> = UnsafeMutablePointer.allocate(capacity: 1)
    |                                            `- error: cannot find type 'pthread_rwlock_t' in scope
116 |
117 |   /// Create a new lock.
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanException.swift: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
[83/835] Emitting module _NIODataStructures
[84/835] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[85/835] Compiling InternalCollectionsUtilities _SortedCollection.swift
[86/835] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[87/835] Compiling InternalCollectionsUtilities Span+Extras.swift
[88/835] Compiling InternalCollectionsUtilities Strideable+LimitHelpers.swift
[89/835] Compiling InternalCollectionsUtilities String+Padding.swift
[90/835] Compiling InternalCollectionsUtilities TemporaryAllocation.swift
[91/835] Compiling InternalCollectionsUtilities UInt+reversed.swift
[92/835] Compiling InternalCollectionsUtilities Iterable+CopyContents.swift
[93/835] Compiling InternalCollectionsUtilities Iterable+Equality.swift
[94/835] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[95/835] Compiling InternalCollectionsUtilities MutableRef.swift
[96/835] Compiling InternalCollectionsUtilities MutableSpan+Extras.swift
[97/835] Compiling InternalCollectionsUtilities OutputSpan+Extras.swift
[98/835] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[99/835] Compiling Logging LoggingSystem.swift
[100/836] Compiling InstrumentationSemanticConventions FederatedSemanticConventions.swift
[101/836] Emitting module _NIOBase64
[102/836] Compiling _NIOBase64 Base64.swift
[106/837] Compiling Instrumentation InstrumentationSystem.swift
[107/837] Compiling Instrumentation MultiplexInstrument.swift
[108/837] Compiling Instrumentation InstrumentationContextKey.swift
[109/837] Compiling Instrumentation InstrumentationContext.swift
[110/837] Compiling Instrumentation Instrument.swift
[111/837] Compiling _NIODataStructures Heap.swift
[112/837] Compiling _NIODataStructures PriorityQueue.swift
[113/837] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[114/837] Compiling InternalCollectionsUtilities UnsafeMutablePointer+Extras.swift
[115/837] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[116/837] Compiling InternalCollectionsUtilities UnsafePointer+Extras.swift
[117/841] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Equality.swift
[118/841] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Extras.swift
[119/841] Compiling InternalCollectionsUtilities Debugging.swift
[120/841] Compiling InternalCollectionsUtilities Descriptions.swift
[121/841] Compiling InternalCollectionsUtilities Immortalize.swift
[122/841] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[123/841] Compiling InternalCollectionsUtilities Integer rank.swift
[124/841] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[125/842] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[126/842] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[127/842] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[128/842] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[129/843] Wrapping AST for _NIOBase64 for debugging
[131/843] Compiling Logging Logger.swift
[132/843] Compiling Logging Logger+With.swift
[133/843] Compiling Logging Logger+Attributes.swift
[134/847] Compiling _NIODataStructures _TinyArray.swift
[136/848] Compiling SpanPreview InputSpan.swift
[137/848] Compiling SpanPreview OutputSpan+InputSpanHelpers.swift
[138/848] Compiling SpanPreview MutableSpan+InputSpanHelpers.swift
[139/848] Emitting module SpanPreview
[139/849] Wrapping AST for _NIODataStructures for debugging
[141/849] Wrapping AST for InternalCollectionsUtilities for debugging
[143/882] Compiling CoreMetrics WithMetricsFactory.swift
[144/884] Compiling CoreMetrics MappingMetricsFactory.swift
[145/884] Compiling CoreMetrics Metrics.swift
[146/891] Compiling DequeModule RigidDeque+Prepend.swift
[147/891] Compiling DequeModule RigidDeque+Removals.swift
[148/891] Compiling DequeModule RigidDeque+Replacements.swift
[149/891] Compiling DequeModule RigidDeque+Testing.swift
[150/891] Compiling DequeModule RigidDeque.swift
[151/891] Compiling DequeModule UniqueDeque+Append.swift
[152/891] Compiling DequeModule UniqueDeque+Consumption.swift
[153/891] Compiling DequeModule UniqueDeque+ContainerOperations.swift
[154/891] Compiling DequeModule UniqueDeque+Deprecations.swift
[155/891] Compiling DequeModule UniqueDeque+Descriptions.swift
[156/891] Compiling DequeModule UniqueDeque+Equatable.swift
[157/891] Compiling DequeModule UniqueDeque+Hashable.swift
[158/891] Compiling DequeModule UniqueDeque+Initializers.swift
[159/891] Compiling DequeModule UniqueDeque+Insertions.swift
[160/891] Compiling DequeModule UniqueDeque+Iterable.swift
[161/891] Compiling DequeModule UniqueDeque+Prepend.swift
[162/891] Compiling DequeModule UniqueDeque+Removals.swift
[163/896] Compiling DequeModule RigidDeque+Descriptions.swift
[164/896] Compiling DequeModule RigidDeque+Equatable.swift
[165/896] Compiling DequeModule RigidDeque+Hashable.swift
[166/896] Compiling DequeModule RigidDeque+Initializers.swift
[167/896] Compiling DequeModule RigidDeque+Insertions.swift
[168/896] Compiling DequeModule RigidDeque+Iterable.swift
[169/896] Compiling DequeModule _DequeBuffer.swift
[170/896] Compiling DequeModule _DequeBufferHeader.swift
[171/896] Compiling DequeModule RigidDeque+Append.swift
[172/896] Compiling DequeModule RigidDeque+Consumption.swift
[173/896] Compiling DequeModule RigidDeque+ContainerOperations.swift
[174/896] Compiling DequeModule RigidDeque+Deprecations.swift
[175/896] Emitting module SwiftProtobuf
[176/907] Compiling DequeModule Deque+Codable.swift
[177/907] Compiling DequeModule Deque+Collection.swift
[178/907] Compiling DequeModule Deque+CustomReflectable.swift
[179/907] Compiling DequeModule Deque+Descriptions.swift
[180/907] Compiling DequeModule Deque+Equatable.swift
[181/907] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[182/907] Compiling DequeModule Deque+Extras.swift
[183/907] Compiling DequeModule Deque+Hashable.swift
[184/907] Compiling DequeModule Deque+Testing.swift
[185/907] Compiling DequeModule Deque._Storage.swift
[186/907] Compiling DequeModule Deque._UnsafeHandle.swift
[187/907] Compiling DequeModule Deque.swift
[188/907] Compiling Logging MetadataProvider.swift
[189/907] Compiling Instrumentation NoOpInstrument.swift
[190/907] Compiling Instrumentation Locks.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[192/908] Emitting module CoreMetrics
[193/908] Emitting module Logging
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Handlers/StreamLogHandler.swift:291:6: error: unknown attribute 'nonexhaustive'
289 | extension StreamLogHandler {
290 |     /// The precision of the timestamp that a ``StreamLogHandler`` writes at the start of each log line.
291 |     @nonexhaustive
    |      `- error: unknown attribute 'nonexhaustive'
292 |     public enum TimestampPrecision: Sendable, Hashable {
293 |         /// Whole seconds, for example `2025-06-01T14:03:07+0000`.
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Handlers/StreamLogHandler.swift:291:6: error: unknown attribute 'nonexhaustive'
289 | extension StreamLogHandler {
290 |     /// The precision of the timestamp that a ``StreamLogHandler`` writes at the start of each log line.
291 |     @nonexhaustive
    |      `- error: unknown attribute 'nonexhaustive'
292 |     public enum TimestampPrecision: Sendable, Hashable {
293 |         /// Whole seconds, for example `2025-06-01T14:03:07+0000`.
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Handlers/StreamLogHandler.swift:291:6: error: unknown attribute 'nonexhaustive'
289 | extension StreamLogHandler {
290 |     /// The precision of the timestamp that a ``StreamLogHandler`` writes at the start of each log line.
291 |     @nonexhaustive
    |      `- error: unknown attribute 'nonexhaustive'
292 |     public enum TimestampPrecision: Sendable, Hashable {
293 |         /// Whole seconds, for example `2025-06-01T14:03:07+0000`.
[198/908] Compiling CoreMetrics Locks.swift
[198/909] Wrapping AST for SpanPreview for debugging
/host/spi-builder-workspace/Sources/OpenTelemetryApi/Internal/Locks.swift:41:10: 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 |   }
[198/909] Compiling t1_enc.cc
BUILD FAILURE 6.2 android