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