The Swift Package Index logo.Swift Package Index

Build Information

Failed to build opentelemetry-swift, reference 2.4.1 (3375e5), with Swift 6.2 for Wasm on 30 Apr 2026 20:31:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/DataDog/opentelemetry-swift-packages.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/DataDog/opentelemetry-swift-packages
 * tag               2.4.1      -> FETCH_HEAD
HEAD is now at 3375e53 Merge pull request #37 from DataDog/marroz/2.4.1
Cloned https://github.com/DataDog/opentelemetry-swift-packages.git
Revision (git rev-parse @):
3375e53a77250f8c7177146c68033a27aac3568c
SUCCESS checkout https://github.com/DataDog/opentelemetry-swift-packages.git at 2.4.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/DataDog/opentelemetry-swift-packages.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/153] Compiling OpenTelemetryApi Signalr_attributes.swift
[4/153] Compiling OpenTelemetryApi Source_attributes.swift
[5/153] Compiling OpenTelemetryApi System_attributes.swift
[6/153] Compiling OpenTelemetryApi Telemetry_attributes.swift
[7/153] Compiling OpenTelemetryApi Test_attributes.swift
[8/153] Compiling OpenTelemetryApi Thread_attributes.swift
[9/153] Compiling OpenTelemetryApi Tls_attributes.swift
[10/153] Compiling OpenTelemetryApi Url_attributes.swift
[11/153] Compiling OpenTelemetryApi UserAgent_attributes.swift
[12/153] Compiling OpenTelemetryApi User_attributes.swift
[13/153] Compiling OpenTelemetryApi V8js_attributes.swift
[14/153] Compiling OpenTelemetryApi Vcs_attributes.swift
[15/153] Compiling OpenTelemetryApi Webengine_attributes.swift
[16/153] Compiling OpenTelemetryApi Zos_attributes.swift
[17/153] Compiling OpenTelemetryApi SemanticConventions.swift
[18/153] Compiling OpenTelemetryApi ActivityContextManager.swift
[19/153] Compiling OpenTelemetryApi ContextManager.swift
[20/153] Compiling OpenTelemetryApi OpenTelemetryContextProvider.swift
[21/153] Compiling OpenTelemetryApi TaskLocalContextManager.swift
[22/153] Compiling OpenTelemetryApi StringUtils.swift
[23/153] Compiling OpenTelemetryApi SwiftExtensions.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/174] Compiling OpenTelemetryApi TracestateUtils.swift
[25/174] Compiling OpenTelemetryApi DefaultLogger.swift
[26/174] Compiling OpenTelemetryApi DefaultLoggerProvider.swift
[27/174] Compiling OpenTelemetryApi EventBuilder.swift
[28/174] Compiling OpenTelemetryApi LogRecordBuilder.swift
[29/174] Compiling OpenTelemetryApi Logger.swift
[30/174] Compiling OpenTelemetryApi LoggerBuilder.swift
[31/174] Compiling OpenTelemetryApi LoggerProvider.swift
[32/174] Compiling OpenTelemetryApi Severity.swift
[33/174] Compiling OpenTelemetryApi DefaultMeter.swift
[34/174] Compiling OpenTelemetryApi DefaultMeterProvider.swift
[35/174] Compiling OpenTelemetryApi DoubleCounter.swift
[36/174] Compiling OpenTelemetryApi DoubleCounterBuilder.swift
[37/174] Compiling OpenTelemetryApi DoubleGauge.swift
[38/174] Compiling OpenTelemetryApi DoubleGaugeBuilder.swift
[39/174] Compiling OpenTelemetryApi DoubleHistogram.swift
[40/174] Compiling OpenTelemetryApi DoubleHistogramBuilder.swift
[41/174] Compiling OpenTelemetryApi DoubleUpDownCounter.swift
[42/174] Compiling OpenTelemetryApi DoubleUpDownCounterBuilder.swift
[43/174] Compiling OpenTelemetryApi LongCounter.swift
[44/174] Compiling OpenTelemetryApi LongCounterBuilder.swift
[45/174] 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
[46/174] Compiling OpenTelemetryApi Dotnet_attributes.swift
[47/174] Compiling OpenTelemetryApi Elasticsearch_attributes.swift
[48/174] Compiling OpenTelemetryApi Enduser_attributes.swift
[49/174] Compiling OpenTelemetryApi Error_attributes.swift
[50/174] Compiling OpenTelemetryApi Exception_attributes.swift
[51/174] Compiling OpenTelemetryApi Faas_attributes.swift
[52/174] Compiling OpenTelemetryApi FeatureFlag_attributes.swift
[53/174] Compiling OpenTelemetryApi File_attributes.swift
[54/174] Compiling OpenTelemetryApi Gcp_attributes.swift
[55/174] Compiling OpenTelemetryApi GenAi_attributes.swift
[56/174] Compiling OpenTelemetryApi Geo_attributes.swift
[57/174] Compiling OpenTelemetryApi Go_attributes.swift
[58/174] Compiling OpenTelemetryApi Graphql_attributes.swift
[59/174] Compiling OpenTelemetryApi Heroku_attributes.swift
[60/174] Compiling OpenTelemetryApi Host_attributes.swift
[61/174] Compiling OpenTelemetryApi Http_attributes.swift
[62/174] Compiling OpenTelemetryApi Hw_attributes.swift
[63/174] Compiling OpenTelemetryApi Ios_attributes.swift
[64/174] Compiling OpenTelemetryApi Jvm_attributes.swift
[65/174] Compiling OpenTelemetryApi K8s_attributes.swift
[66/174] Compiling OpenTelemetryApi Linux_attributes.swift
[67/174] Compiling OpenTelemetryApi Log_attributes.swift
[68/174] Compiling OpenTelemetryApi LongGauge.swift
[69/174] Compiling OpenTelemetryApi LongGaugeBuilder.swift
[70/174] Compiling OpenTelemetryApi LongHistogram.swift
[71/174] Compiling OpenTelemetryApi LongHistogramBuilder.swift
[72/174] Compiling OpenTelemetryApi LongUpDownCounter.swift
[73/174] Compiling OpenTelemetryApi LongUpDownCounterBuilder.swift
[74/174] Compiling OpenTelemetryApi Meter.swift
[75/174] Compiling OpenTelemetryApi MeterBuilder.swift
[76/174] Compiling OpenTelemetryApi MeterProvider.swift
[77/174] Compiling OpenTelemetryApi ObservableDoubleCounter.swift
[78/174] Compiling OpenTelemetryApi ObservableDoubleGauge.swift
[79/174] Compiling OpenTelemetryApi ObservableDoubleMeasurement.swift
[80/174] Compiling OpenTelemetryApi ObservableDoubleUpDownCounter.swift
[81/174] Compiling OpenTelemetryApi ObservableLongCounter.swift
[82/174] Compiling OpenTelemetryApi ObservableLongGauge.swift
[83/174] Compiling OpenTelemetryApi ObservableLongMeasurement.swift
[84/174] Compiling OpenTelemetryApi ObservableLongUpDownCounter.swift
[85/174] Compiling OpenTelemetryApi OpenTelemetry.swift
[86/174] Compiling OpenTelemetryApi ContextPropagators.swift
[87/174] Compiling OpenTelemetryApi DefaultContextPropagators.swift
[88/174] Compiling OpenTelemetryApi DefaultTracer.swift
[89/174] Compiling OpenTelemetryApi Mainframe_attributes.swift
[90/174] Compiling OpenTelemetryApi Messaging_attributes.swift
[91/174] Compiling OpenTelemetryApi Network_attributes.swift
[92/174] Compiling OpenTelemetryApi Nfs_attributes.swift
[93/174] Compiling OpenTelemetryApi Nodejs_attributes.swift
[94/174] Compiling OpenTelemetryApi Oci_attributes.swift
[95/174] Compiling OpenTelemetryApi OncRpc_attributes.swift
[96/174] Compiling OpenTelemetryApi Openai_attributes.swift
[97/174] Compiling OpenTelemetryApi Openshift_attributes.swift
[98/174] Compiling OpenTelemetryApi Opentracing_attributes.swift
[99/174] Compiling OpenTelemetryApi Os_attributes.swift
[100/174] Compiling OpenTelemetryApi Otel_attributes.swift
[101/174] Compiling OpenTelemetryApi Peer_attributes.swift
[102/174] Compiling OpenTelemetryApi Pprof_attributes.swift
[103/174] Compiling OpenTelemetryApi Process_attributes.swift
[104/174] Compiling OpenTelemetryApi Profile_attributes.swift
[105/174] Compiling OpenTelemetryApi Rpc_attributes.swift
[106/174] Compiling OpenTelemetryApi SecurityRule_attributes.swift
[107/174] Compiling OpenTelemetryApi Server_attributes.swift
[108/174] Compiling OpenTelemetryApi Service_attributes.swift
[109/174] Compiling OpenTelemetryApi Session_attributes.swift
[110/174] Compiling OpenTelemetryApi App_attributes.swift
[111/174] Compiling OpenTelemetryApi Artifact_attributes.swift
[112/174] Compiling OpenTelemetryApi Aspnetcore_attributes.swift
[113/174] Compiling OpenTelemetryApi Aws_attributes.swift
[114/174] Compiling OpenTelemetryApi Azure_attributes.swift
[115/174] Compiling OpenTelemetryApi Browser_attributes.swift
[116/174] Compiling OpenTelemetryApi Cassandra_attributes.swift
[117/174] Compiling OpenTelemetryApi Cicd_attributes.swift
[118/174] Compiling OpenTelemetryApi Client_attributes.swift
[119/174] Compiling OpenTelemetryApi Cloud_attributes.swift
[120/174] Compiling OpenTelemetryApi Cloudevents_attributes.swift
[121/174] Compiling OpenTelemetryApi Cloudfoundry_attributes.swift
[122/174] Compiling OpenTelemetryApi Code_attributes.swift
[123/174] Compiling OpenTelemetryApi Container_attributes.swift
[124/174] Compiling OpenTelemetryApi Cpu_attributes.swift
[125/174] Compiling OpenTelemetryApi Cpython_attributes.swift
[126/174] Compiling OpenTelemetryApi Db_attributes.swift
[127/174] Compiling OpenTelemetryApi Deployment_attributes.swift
[128/174] Compiling OpenTelemetryApi Destination_attributes.swift
[129/174] Compiling OpenTelemetryApi Device_attributes.swift
[130/174] Compiling OpenTelemetryApi Disk_attributes.swift
[131/174] Compiling OpenTelemetryApi Dns_attributes.swift
[132/174] Compiling OpenTelemetryApi Baggage.swift
[133/174] Compiling OpenTelemetryApi BaggageBuilder.swift
[134/174] Compiling OpenTelemetryApi BaggageManager.swift
[135/174] Compiling OpenTelemetryApi BaggageManagerProvider.swift
[136/174] Compiling OpenTelemetryApi DefaultBaggage.swift
[137/174] Compiling OpenTelemetryApi DefaultBaggageBuilder.swift
[138/174] Compiling OpenTelemetryApi DefaultBaggageManager.swift
[139/174] Compiling OpenTelemetryApi DefaultBaggageManagerProvider.swift
[140/174] Compiling OpenTelemetryApi EmptyBaggage.swift
[141/174] Compiling OpenTelemetryApi EmptyBaggageBuilder.swift
[142/174] Compiling OpenTelemetryApi Entry.swift
[143/174] Compiling OpenTelemetryApi EntryKey.swift
[144/174] Compiling OpenTelemetryApi EntryMetadata.swift
[145/174] Compiling OpenTelemetryApi EntryValue.swift
[146/174] Compiling OpenTelemetryApi JaegerBaggagePropagator.swift
[147/174] Compiling OpenTelemetryApi TextMapBaggagePropagator.swift
[148/174] Compiling OpenTelemetryApi W3CBaggagePropagator.swift
[149/174] Compiling OpenTelemetryApi ZipkinBaggagePropagator.swift
[150/174] Compiling OpenTelemetryApi AttributeArray.swift
[151/174] Compiling OpenTelemetryApi AttributeSet.swift
[152/174] Compiling OpenTelemetryApi AttributeValue.swift
[153/174] Compiling OpenTelemetryApi Android_attributes.swift
[154/174] 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
[155/174] 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
[156/174] 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
[157/174] 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
[158/174] 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
[159/174] 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
[160/174] 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
[161/174] 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
[162/174] 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
[163/174] 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
[164/174] 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
[165/174] 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
[166/174] 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
[167/174] 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
[168/174] 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
[169/174] 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
[170/174] 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
[171/174] 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
[172/174] 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
[173/174] 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
[174/174] 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 wasm