Build Information
Failed to build opentelemetry-swift-core, reference 2.4.1 (84b9e3), with Swift 6.3 for Android on 12 Apr 2026 23:05:34 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.3-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.3
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.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-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.38s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.79s)
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--4F562202D5529B1.txt
[8/165] Compiling OpenTelemetryApi TracestateUtils.swift
[9/165] Compiling OpenTelemetryApi DefaultLogger.swift
[10/165] Compiling OpenTelemetryApi DefaultLoggerProvider.swift
[11/165] Compiling OpenTelemetryApi EventBuilder.swift
[12/165] Compiling OpenTelemetryApi LogRecordBuilder.swift
[13/165] Compiling OpenTelemetryApi Logger.swift
[14/165] Compiling OpenTelemetryApi LoggerBuilder.swift
[15/165] Compiling OpenTelemetryApi LoggerProvider.swift
[16/165] Compiling OpenTelemetryApi Severity.swift
[17/165] Compiling OpenTelemetryApi DefaultMeter.swift
[18/165] Compiling OpenTelemetryApi DefaultMeterProvider.swift
[19/165] Compiling OpenTelemetryApi DoubleCounter.swift
[20/165] Compiling OpenTelemetryApi DoubleCounterBuilder.swift
[21/165] Compiling OpenTelemetryApi DoubleGauge.swift
[22/165] Compiling OpenTelemetryApi DoubleGaugeBuilder.swift
[23/165] Compiling OpenTelemetryApi DoubleHistogram.swift
[24/165] Compiling OpenTelemetryApi DoubleHistogramBuilder.swift
[25/165] Compiling OpenTelemetryApi DoubleUpDownCounter.swift
[26/165] Compiling OpenTelemetryApi DoubleUpDownCounterBuilder.swift
[27/165] Compiling OpenTelemetryApi LongCounter.swift
[28/165] Compiling OpenTelemetryApi LongCounterBuilder.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[29/165] Compiling OpenTelemetryApi App_attributes.swift
[30/165] Compiling OpenTelemetryApi Artifact_attributes.swift
[31/165] Compiling OpenTelemetryApi Aspnetcore_attributes.swift
[32/165] Compiling OpenTelemetryApi Aws_attributes.swift
[33/165] Compiling OpenTelemetryApi Azure_attributes.swift
[34/165] Compiling OpenTelemetryApi Browser_attributes.swift
[35/165] Compiling OpenTelemetryApi Cassandra_attributes.swift
[36/165] Compiling OpenTelemetryApi Cicd_attributes.swift
[37/165] Compiling OpenTelemetryApi Client_attributes.swift
[38/165] Compiling OpenTelemetryApi Cloud_attributes.swift
[39/165] Compiling OpenTelemetryApi Cloudevents_attributes.swift
[40/165] Compiling OpenTelemetryApi Cloudfoundry_attributes.swift
[41/165] Compiling OpenTelemetryApi Code_attributes.swift
[42/165] Compiling OpenTelemetryApi Container_attributes.swift
[43/165] Compiling OpenTelemetryApi Cpu_attributes.swift
[44/165] Compiling OpenTelemetryApi Cpython_attributes.swift
[45/165] Compiling OpenTelemetryApi Db_attributes.swift
[46/165] Compiling OpenTelemetryApi Deployment_attributes.swift
[47/165] Compiling OpenTelemetryApi Destination_attributes.swift
[48/165] Compiling OpenTelemetryApi Device_attributes.swift
[49/165] Compiling OpenTelemetryApi Disk_attributes.swift
[50/165] Compiling OpenTelemetryApi Dns_attributes.swift
[51/165] 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
[52/165] Compiling OpenTelemetryApi Dotnet_attributes.swift
[53/165] Compiling OpenTelemetryApi Elasticsearch_attributes.swift
[54/165] Compiling OpenTelemetryApi Enduser_attributes.swift
[55/165] Compiling OpenTelemetryApi Error_attributes.swift
[56/165] Compiling OpenTelemetryApi Exception_attributes.swift
[57/165] Compiling OpenTelemetryApi Faas_attributes.swift
[58/165] Compiling OpenTelemetryApi FeatureFlag_attributes.swift
[59/165] Compiling OpenTelemetryApi File_attributes.swift
[60/165] Compiling OpenTelemetryApi Gcp_attributes.swift
[61/165] Compiling OpenTelemetryApi GenAi_attributes.swift
[62/165] Compiling OpenTelemetryApi Geo_attributes.swift
[63/165] Compiling OpenTelemetryApi Go_attributes.swift
[64/165] Compiling OpenTelemetryApi Graphql_attributes.swift
[65/165] Compiling OpenTelemetryApi Heroku_attributes.swift
[66/165] Compiling OpenTelemetryApi Host_attributes.swift
[67/165] Compiling OpenTelemetryApi Http_attributes.swift
[68/165] Compiling OpenTelemetryApi Hw_attributes.swift
[69/165] Compiling OpenTelemetryApi Ios_attributes.swift
[70/165] Compiling OpenTelemetryApi Jvm_attributes.swift
[71/165] Compiling OpenTelemetryApi K8s_attributes.swift
[72/165] Compiling OpenTelemetryApi Linux_attributes.swift
[73/165] Compiling OpenTelemetryApi Log_attributes.swift
[74/165] Compiling OpenTelemetryApi Baggage.swift
[75/165] Compiling OpenTelemetryApi BaggageBuilder.swift
[76/165] Compiling OpenTelemetryApi BaggageManager.swift
[77/165] Compiling OpenTelemetryApi BaggageManagerProvider.swift
[78/165] Compiling OpenTelemetryApi DefaultBaggage.swift
[79/165] Compiling OpenTelemetryApi DefaultBaggageBuilder.swift
[80/165] Compiling OpenTelemetryApi DefaultBaggageManager.swift
[81/165] Compiling OpenTelemetryApi DefaultBaggageManagerProvider.swift
[82/165] Compiling OpenTelemetryApi EmptyBaggage.swift
[83/165] Compiling OpenTelemetryApi EmptyBaggageBuilder.swift
[84/165] Compiling OpenTelemetryApi Entry.swift
[85/165] Compiling OpenTelemetryApi EntryKey.swift
[86/165] Compiling OpenTelemetryApi EntryMetadata.swift
[87/165] Compiling OpenTelemetryApi EntryValue.swift
[88/165] Compiling OpenTelemetryApi JaegerBaggagePropagator.swift
[89/165] Compiling OpenTelemetryApi TextMapBaggagePropagator.swift
[90/165] Compiling OpenTelemetryApi W3CBaggagePropagator.swift
[91/165] Compiling OpenTelemetryApi ZipkinBaggagePropagator.swift
[92/165] Compiling OpenTelemetryApi AttributeArray.swift
[93/165] Compiling OpenTelemetryApi AttributeSet.swift
[94/165] Compiling OpenTelemetryApi AttributeValue.swift
[95/165] Compiling OpenTelemetryApi Android_attributes.swift
[96/165] Compiling OpenTelemetryApi Mainframe_attributes.swift
[97/165] Compiling OpenTelemetryApi Messaging_attributes.swift
[98/165] Compiling OpenTelemetryApi Network_attributes.swift
[99/165] Compiling OpenTelemetryApi Nfs_attributes.swift
[100/165] Compiling OpenTelemetryApi Nodejs_attributes.swift
[101/165] Compiling OpenTelemetryApi Oci_attributes.swift
[102/165] Compiling OpenTelemetryApi OncRpc_attributes.swift
[103/165] Compiling OpenTelemetryApi Openai_attributes.swift
[104/165] Compiling OpenTelemetryApi Openshift_attributes.swift
[105/165] Compiling OpenTelemetryApi Opentracing_attributes.swift
[106/165] Compiling OpenTelemetryApi Os_attributes.swift
[107/165] Compiling OpenTelemetryApi Otel_attributes.swift
[108/165] Compiling OpenTelemetryApi Peer_attributes.swift
[109/165] Compiling OpenTelemetryApi Pprof_attributes.swift
[110/165] Compiling OpenTelemetryApi Process_attributes.swift
[111/165] Compiling OpenTelemetryApi Profile_attributes.swift
[112/165] Compiling OpenTelemetryApi Rpc_attributes.swift
[113/165] Compiling OpenTelemetryApi SecurityRule_attributes.swift
[114/165] Compiling OpenTelemetryApi Server_attributes.swift
[115/165] Compiling OpenTelemetryApi Service_attributes.swift
[116/165] Compiling OpenTelemetryApi Session_attributes.swift
[117/165] Compiling OpenTelemetryApi LongGauge.swift
[118/165] Compiling OpenTelemetryApi LongGaugeBuilder.swift
[119/165] Compiling OpenTelemetryApi LongHistogram.swift
[120/165] Compiling OpenTelemetryApi LongHistogramBuilder.swift
[121/165] Compiling OpenTelemetryApi LongUpDownCounter.swift
[122/165] Compiling OpenTelemetryApi LongUpDownCounterBuilder.swift
[123/165] Compiling OpenTelemetryApi Meter.swift
[124/165] Compiling OpenTelemetryApi MeterBuilder.swift
[125/165] Compiling OpenTelemetryApi MeterProvider.swift
[126/165] Compiling OpenTelemetryApi ObservableDoubleCounter.swift
[127/165] Compiling OpenTelemetryApi ObservableDoubleGauge.swift
[128/165] Compiling OpenTelemetryApi ObservableDoubleMeasurement.swift
[129/165] Compiling OpenTelemetryApi ObservableDoubleUpDownCounter.swift
[130/165] Compiling OpenTelemetryApi ObservableLongCounter.swift
[131/165] Compiling OpenTelemetryApi ObservableLongGauge.swift
[132/165] Compiling OpenTelemetryApi ObservableLongMeasurement.swift
[133/165] Compiling OpenTelemetryApi ObservableLongUpDownCounter.swift
[134/165] Compiling OpenTelemetryApi OpenTelemetry.swift
[135/165] Compiling OpenTelemetryApi ContextPropagators.swift
[136/165] Compiling OpenTelemetryApi DefaultContextPropagators.swift
[137/165] Compiling OpenTelemetryApi DefaultTracer.swift
[138/165] Compiling OpenTelemetryApi Signalr_attributes.swift
[139/165] Compiling OpenTelemetryApi Source_attributes.swift
[140/165] Compiling OpenTelemetryApi System_attributes.swift
[141/165] Compiling OpenTelemetryApi Telemetry_attributes.swift
[142/165] Compiling OpenTelemetryApi Test_attributes.swift
[143/165] Compiling OpenTelemetryApi Thread_attributes.swift
[144/165] Compiling OpenTelemetryApi Tls_attributes.swift
[145/165] Compiling OpenTelemetryApi Url_attributes.swift
[146/165] Compiling OpenTelemetryApi UserAgent_attributes.swift
[147/165] Compiling OpenTelemetryApi User_attributes.swift
[148/165] Compiling OpenTelemetryApi V8js_attributes.swift
[149/165] Compiling OpenTelemetryApi Vcs_attributes.swift
[150/165] Compiling OpenTelemetryApi Webengine_attributes.swift
[151/165] Compiling OpenTelemetryApi Zos_attributes.swift
[152/165] Compiling OpenTelemetryApi SemanticConventions.swift
[153/165] Compiling OpenTelemetryApi ActivityContextManager.swift
[154/165] Compiling OpenTelemetryApi ContextManager.swift
[155/165] Compiling OpenTelemetryApi OpenTelemetryContextProvider.swift
[156/165] Compiling OpenTelemetryApi TaskLocalContextManager.swift
[157/165] Compiling OpenTelemetryApi StringUtils.swift
[158/165] Compiling OpenTelemetryApi SwiftExtensions.swift
[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.3 android