The Swift Package Index logo.Swift Package Index

Build Information

Failed to build opentelemetry-swift, reference main (30c146), with Swift 6.3 for Wasm on 20 Apr 2026 13:12:00 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:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
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 30c1468 Updated opentelemetry-swift-core to 2.4.1
Cloned https://github.com/open-telemetry/opentelemetry-swift.git
Revision (git rev-parse @):
30c1468d385bf4485d93ca12c4b71aaeb9c974a6
SUCCESS checkout https://github.com/open-telemetry/opentelemetry-swift.git at main
========================================
Build
========================================
Selected platform:         wasm
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-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:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/grpc/grpc-swift.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/open-telemetry/opentelemetry-swift-core.git
[1/3187] Fetching swift-metrics
[193/17189] Fetching swift-metrics, opentelemetry-swift-core
[2232/23824] Fetching swift-metrics, opentelemetry-swift-core, swift-log
[8032/75332] Fetching swift-metrics, opentelemetry-swift-core, swift-log, grpc-swift
[22341/122344] Fetching swift-metrics, opentelemetry-swift-core, swift-log, grpc-swift, swift-protobuf
[35358/205522] Fetching swift-metrics, opentelemetry-swift-core, swift-log, grpc-swift, swift-protobuf, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (3.23s)
[170535/198887] Fetching swift-metrics, opentelemetry-swift-core, grpc-swift, swift-protobuf, swift-nio
Fetched https://github.com/grpc/grpc-swift.git from cache (3.28s)
[120330/147379] Fetching swift-metrics, opentelemetry-swift-core, swift-protobuf, swift-nio
Fetched https://github.com/open-telemetry/opentelemetry-swift-core.git from cache (7.99s)
Fetched https://github.com/apple/swift-nio.git from cache (8.13s)
Fetched https://github.com/apple/swift-metrics.git from cache (8.15s)
Fetched https://github.com/apple/swift-protobuf.git from cache (8.25s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.36.1 (10.27s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.27.5 (3.08s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2843] Fetching swift-nio-transport-services
[172/4663] Fetching swift-nio-transport-services, swift-atomics
[2481/11173] Fetching swift-nio-transport-services, swift-atomics, swift-nio-extras
[4227/34749] Fetching swift-nio-transport-services, swift-atomics, swift-nio-extras, swift-collections
[8560/46857] Fetching swift-nio-transport-services, swift-atomics, swift-nio-extras, swift-collections, swift-nio-http2
[13022/62276] Fetching swift-nio-transport-services, swift-atomics, swift-nio-extras, swift-collections, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.48s)
[13186/59433] Fetching swift-atomics, swift-nio-extras, swift-collections, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.66s)
[8448/52923] Fetching swift-atomics, swift-collections, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.85s)
[36961/40815] Fetching swift-atomics, swift-collections, swift-nio-ssl
Fetched https://github.com/apple/swift-atomics.git from cache (2.09s)
Fetched https://github.com/apple/swift-collections.git from cache (2.13s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.60s)
Computing version for https://github.com/open-telemetry/opentelemetry-swift-core.git
Computed https://github.com/open-telemetry/opentelemetry-swift-core.git at 2.4.1 (3.63s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.42s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.98.0 (1.18s)
Fetching https://github.com/apple/swift-system.git
[1/5601] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.43s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.10.0 (2.12s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.78s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.27.0 (0.75s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.43.0 (0.74s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.70s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.89s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.34.0 (3.62s)
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1803] Fetching swift-asn1
[777/8955] Fetching swift-asn1, swift-certificates
[1390/10197] Fetching swift-asn1, swift-certificates, swift-http-structured-headers
[1464/12942] Fetching swift-asn1, swift-certificates, swift-http-structured-headers, swift-service-lifecycle
[2529/19000] Fetching swift-asn1, swift-certificates, swift-http-structured-headers, swift-service-lifecycle, swift-algorithms
[6859/25247] Fetching swift-asn1, swift-certificates, swift-http-structured-headers, swift-service-lifecycle, swift-algorithms, swift-async-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.80s)
[14983/24005] Fetching swift-asn1, swift-certificates, swift-service-lifecycle, swift-algorithms, swift-async-algorithms
Fetching https://github.com/apple/swift-http-types.git
[24006/25048] Fetching swift-asn1, swift-certificates, swift-service-lifecycle, swift-algorithms, swift-async-algorithms, swift-http-types
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.68s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.94s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.76s)
Fetched https://github.com/apple/swift-asn1.git from cache (1.77s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.77s)
Fetched https://github.com/apple/swift-algorithms.git from cache (1.77s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.42s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.45s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (1.00s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.0 (0.65s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.11.0 (0.56s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (0.62s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.40s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (0.48s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.19.0 (0.54s)
Fetching https://github.com/apple/swift-crypto.git
[1/17429] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.84s)
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 (3.23s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.4.0 (0.59s)
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 4.4.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.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
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.3
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.19.0
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.98.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.34.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.36.1
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.5
Creating working copy for https://github.com/open-telemetry/opentelemetry-swift-core.git
Working copy of https://github.com/open-telemetry/opentelemetry-swift-core.git resolved at 2.4.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.0
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.43.0
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.0
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.27.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.10.0
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.11.0
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.5.1
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
[1/1] Compiling plugin SwiftProtobufPlugin
[2/2] Compiling plugin GRPCSwiftPlugin
Building for debugging...
[2/494] Write sources
[21/494] Compiling _AtomicsShims.c
[22/494] Write sources
[41/494] Compiling CNIOWindows WSAStartup.c
[41/494] Compiling CNIOWindows shim.c
[43/494] Compiling CNIOWASI CNIOWASI.c
[44/494] Compiling CNIOLinux shim.c
[45/494] Compiling CNIOPosix event_loop_id.c
[45/494] Compiling CNIOOpenBSD shim.c
[47/494] Write swift-version-24593BA9C3E375BF.txt
[48/494] Compiling CNIOLinux liburing_shims.c
[49/494] Compiling CNIODarwin shim.c
[49/494] Compiling CNIOLLHTTP c_nio_http.c
[51/494] Compiling fiat_p256_adx_mul.S
[52/494] Compiling CNIOLLHTTP c_nio_api.c
[53/504] Compiling fiat_p256_adx_sqr.S
[54/542] Compiling CNIOBoringSSLShims shims.c
[55/762] Compiling CNIOLLHTTP c_nio_llhttp.c
[57/767] Emitting module InternalCollectionsUtilities
[58/769] Emitting module SwiftProtobuf
[59/780] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[60/780] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[61/780] Compiling InternalCollectionsUtilities _SortedCollection.swift
[62/780] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[63/780] Compiling InternalCollectionsUtilities Integer rank.swift
[64/780] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[65/780] Compiling InternalCollectionsUtilities UInt+reversed.swift
[66/780] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[67/780] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[68/780] Compiling CoreMetrics WithMetricsFactory.swift
[69/780] Compiling InternalCollectionsUtilities Debugging.swift
[70/780] Compiling InternalCollectionsUtilities Descriptions.swift
[71/780] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[72/780] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[73/780] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[74/780] Compiling InternalCollectionsUtilities Span+Extras.swift
[75/780] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[76/780] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[77/780] Compiling InternalCollectionsUtilities String+Padding.swift
[78/780] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[80/781] Compiling Logging LogEvent.swift
[81/781] Compiling _NIODataStructures _TinyArray.swift
[82/781] Compiling _NIODataStructures PriorityQueue.swift
[82/781] Compiling fiat_curve25519_adx_square.S
[84/781] Compiling _NIOBase64 Base64.swift
[85/781] Emitting module _NIOBase64
[86/782] Wrapping AST for _NIOBase64 for debugging
[87/815] Wrapping AST for InternalCollectionsUtilities for debugging
[89/815] Emitting module ContainersPreview
[90/815] Compiling ContainersPreview RandomAccessContainer.swift
[91/815] Compiling ContainersPreview RangeExpression2.swift
[92/815] Compiling ContainersPreview RangeReplaceableContainer.swift
[93/815] Compiling ContainersPreview Drain+Map.swift
[93/815] Compiling fiat_curve25519_adx_mul.S
[95/819] Compiling ContainersPreview Drain+Reduce.swift
[96/819] Compiling ContainersPreview Drain.swift
[97/819] Compiling ContainersPreview Producer+Collect.swift
[98/819] Compiling ContainersPreview Producer+Filter.swift
[99/819] Compiling ContainersPreview Producer+Map.swift
[100/819] Compiling ContainersPreview Producer+Reduce.swift
[101/819] Compiling ContainersPreview Producer.swift
[102/819] Compiling ContainersPreview Borrow.swift
[103/819] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[104/819] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[105/819] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[106/819] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[107/819] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[108/819] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[109/819] Compiling ContainersPreview BorrowingSequence.swift
[110/819] Compiling ContainersPreview BidirectionalContainer.swift
[111/819] Compiling ContainersPreview Container+Filter.swift
[112/819] Compiling ContainersPreview Container+SpanwiseZip.swift
[113/819] Compiling ContainersPreview Container.swift
[114/819] Compiling ContainersPreview ContainerIterator.swift
[115/819] Compiling ContainersPreview DynamicContainer.swift
[116/819] Compiling ContainersPreview MutableContainer.swift
[117/819] Compiling ContainersPreview PermutableContainer.swift
[118/819] Compiling CoreMetrics Locks.swift
[119/819] Emitting module CoreMetrics
[120/819] Compiling Logging MetadataProvider.swift
[121/819] Compiling ContainersPreview Box.swift
[122/819] Compiling ContainersPreview Inout.swift
[123/819] Compiling ContainersPreview InputSpan.swift
[124/819] Compiling ContainersPreview Shared.swift
[125/819] Compiling Logging Locks.swift
[126/819] Emitting module Logging
[127/819] Emitting module _NIODataStructures
[128/819] Compiling _NIODataStructures Heap.swift
[129/820] Compiling CoreMetrics MappingMetricsFactory.swift
[130/820] Compiling CoreMetrics Metrics.swift
[131/820] Compiling ContainersPreview OutputSpan+Extras.swift
[132/820] Compiling ContainersPreview TemporaryAllocation.swift
[133/820] Compiling ContainersPreview BorrowingIteratorProtocol+Copy.swift
[134/820] Compiling ContainersPreview BorrowingIteratorProtocol+ElementsEqual.swift
[135/820] Compiling ContainersPreview BorrowingIteratorProtocol+Filter.swift
[138/822] Wrapping AST for _NIODataStructures for debugging
[139/822] Wrapping AST for ContainersPreview for debugging
[141/862] Compiling SwiftProtobuf Message+BinaryAdditions_Data.swift
[142/862] Compiling SwiftProtobuf Message+FieldMask.swift
[143/862] Compiling SwiftProtobuf Message+JSONAdditions.swift
[144/862] Compiling SwiftProtobuf Message+JSONAdditions_Data.swift
[145/862] Compiling SwiftProtobuf Message+JSONArrayAdditions.swift
[146/862] Compiling SwiftProtobuf Message+JSONArrayAdditions_Data.swift
[147/862] Compiling SwiftProtobuf Message+TextFormatAdditions.swift
[148/862] Compiling SwiftProtobuf Message.swift
[149/862] Compiling SwiftProtobuf MessageExtension.swift
[150/862] Compiling SwiftProtobuf NameMap.swift
[151/862] Compiling SwiftProtobuf PathDecoder.swift
[152/862] Compiling SwiftProtobuf PathVisitor.swift
[153/862] Compiling SwiftProtobuf Google_Protobuf_Any+Extensions.swift
[154/862] Compiling SwiftProtobuf Google_Protobuf_Any+Registry.swift
[155/862] Compiling SwiftProtobuf Google_Protobuf_Duration+Extensions.swift
[156/862] Compiling SwiftProtobuf Google_Protobuf_FieldMask+Extensions.swift
[157/862] Compiling SwiftProtobuf Google_Protobuf_ListValue+Extensions.swift
[158/862] Compiling SwiftProtobuf Google_Protobuf_NullValue+Extensions.swift
[159/862] Compiling SwiftProtobuf Google_Protobuf_Struct+Extensions.swift
[160/862] Compiling SwiftProtobuf Google_Protobuf_Timestamp+Extensions.swift
[161/862] Compiling SwiftProtobuf Google_Protobuf_Value+Extensions.swift
[162/862] Compiling SwiftProtobuf Google_Protobuf_Wrappers+Extensions.swift
[163/862] Compiling SwiftProtobuf HashVisitor.swift
[164/862] Compiling SwiftProtobuf Internal.swift
[165/862] Compiling SwiftProtobuf empty.pb.swift
[166/862] Compiling SwiftProtobuf field_mask.pb.swift
[167/862] Compiling SwiftProtobuf source_context.pb.swift
[168/862] Compiling SwiftProtobuf struct.pb.swift
[169/862] Compiling SwiftProtobuf timestamp.pb.swift
[170/862] Compiling SwiftProtobuf type.pb.swift
[171/862] Compiling SwiftProtobuf wrappers.pb.swift
[172/862] Compiling OpenTelemetryApi Openai_attributes.swift
[173/862] Compiling OpenTelemetryApi Openshift_attributes.swift
[174/862] Compiling OpenTelemetryApi Opentracing_attributes.swift
[175/862] Compiling OpenTelemetryApi Os_attributes.swift
[176/862] Compiling OpenTelemetryApi Otel_attributes.swift
[177/862] Compiling OpenTelemetryApi Peer_attributes.swift
[178/862] Compiling OpenTelemetryApi Pprof_attributes.swift
[179/862] Compiling OpenTelemetryApi Process_attributes.swift
[180/862] Compiling OpenTelemetryApi Profile_attributes.swift
[181/862] Compiling OpenTelemetryApi Rpc_attributes.swift
[182/862] Compiling OpenTelemetryApi SecurityRule_attributes.swift
[183/862] Compiling OpenTelemetryApi Server_attributes.swift
[184/862] Compiling OpenTelemetryApi Service_attributes.swift
[185/862] Compiling OpenTelemetryApi Session_attributes.swift
[186/883] Compiling SharedTestUtils XCTestCase+Wait.swift
/host/spi-builder-workspace/Tests/Shared/TestUtils/XCTestCase+Wait.swift:10:23: error: use of local variable 'expectation' before its declaration
 8 | extension XCTestCase {
 9 |   public func wait(timeout: TimeInterval = 3, interval: TimeInterval = 0.1, until block: @escaping () throws -> Bool) {
10 |     let expectation = expectation(description: "wait for block to pass")
   |         |             `- error: use of local variable 'expectation' before its declaration
   |         `- note: 'expectation' declared here
11 |     let timer = Timer.scheduledTimer(withTimeInterval: interval, repeats: true) { _ in
12 |       do {
/host/spi-builder-workspace/Tests/Shared/TestUtils/XCTestCase+Wait.swift:21:15: error: extra argument 'for' in call
19 |     }
20 |
21 |     wait(for: [expectation], timeout: timeout)
   |               `- error: extra argument 'for' in call
22 |     timer.invalidate()
23 |   }
/host/spi-builder-workspace/Tests/Shared/TestUtils/XCTestCase+Wait.swift:21:46: error: missing argument for parameter 'until' in call
 7 |
 8 | extension XCTestCase {
 9 |   public func wait(timeout: TimeInterval = 3, interval: TimeInterval = 0.1, until block: @escaping () throws -> Bool) {
   |               `- note: 'wait(timeout:interval:until:)' declared here
10 |     let expectation = expectation(description: "wait for block to pass")
11 |     let timer = Timer.scheduledTimer(withTimeInterval: interval, repeats: true) { _ in
   :
19 |     }
20 |
21 |     wait(for: [expectation], timeout: timeout)
   |                                              `- error: missing argument for parameter 'until' in call
22 |     timer.invalidate()
23 |   }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[187/883] Emitting module OpenTelemetryApi
/host/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/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
[188/883] Compiling DequeModule Deque+Codable.swift
[189/883] Compiling DequeModule Deque+Collection.swift
[190/883] Compiling DequeModule Deque+CustomReflectable.swift
[191/883] Compiling DequeModule Deque+Descriptions.swift
[192/883] Compiling DequeModule Deque+Equatable.swift
[193/883] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[194/883] Compiling DequeModule _DequeBuffer.swift
[195/883] Compiling DequeModule _DequeBufferHeader.swift
[196/883] Compiling DequeModule RigidDeque+Append.swift
[197/883] Compiling DequeModule RigidDeque+Consumption.swift
[198/883] Compiling DequeModule RigidDeque+Container.swift
[199/883] Compiling DequeModule RigidDeque+Descriptions.swift
[200/883] Compiling DequeModule Deque+Extras.swift
[201/883] Compiling DequeModule Deque+Hashable.swift
[202/883] Compiling DequeModule Deque+Testing.swift
[203/883] Compiling DequeModule Deque._Storage.swift
[204/883] Compiling DequeModule Deque._UnsafeHandle.swift
[205/883] Compiling DequeModule Deque.swift
[206/883] Compiling DequeModule RigidDeque+Equatable.swift
[207/883] Compiling DequeModule RigidDeque+Experimental.swift
[208/883] Compiling DequeModule RigidDeque+Hashable.swift
[209/883] Compiling DequeModule RigidDeque+Initializers.swift
[210/883] Compiling SwiftProtobuf TextFormatDecoder.swift
[211/883] Compiling SwiftProtobuf TextFormatDecodingError.swift
[212/883] Compiling SwiftProtobuf TextFormatDecodingOptions.swift
[213/883] Compiling SwiftProtobuf TextFormatEncoder.swift
[226/883] Compiling SwiftProtobuf JSONDecoder.swift
[227/883] Compiling SwiftProtobuf JSONDecodingError.swift
[228/883] Compiling SwiftProtobuf JSONDecodingOptions.swift
[229/883] Compiling SwiftProtobuf JSONEncoder.swift
[230/883] Compiling SwiftProtobuf JSONEncodingError.swift
[231/883] Compiling SwiftProtobuf JSONEncodingOptions.swift
[232/883] Compiling SharedTestUtils HttpTestServer.swift
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:26:30: error: cannot find type 'DispatchQueue' in scope
 24 |     public private(set) var serverPort: Int = 0
 25 |     private var isRunning = false
 26 |     private var serverQueue: DispatchQueue?
    |                              `- error: cannot find type 'DispatchQueue' in scope
 27 |     private let startSemaphore = DispatchSemaphore(value: 0)
 28 |
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:27:34: error: cannot find 'DispatchSemaphore' in scope
 25 |     private var isRunning = false
 26 |     private var serverQueue: DispatchQueue?
 27 |     private let startSemaphore = DispatchSemaphore(value: 0)
    |                                  `- error: cannot find 'DispatchSemaphore' in scope
 28 |
 29 |     // Request tracking for OTLP tests
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:31:42: error: cannot find 'DispatchQueue' in scope
 29 |     // Request tracking for OTLP tests
 30 |     internal var receivedRequests: [(request: HTTPRequestData, body: Data)] = []
 31 |     internal let receivedRequestsQueue = DispatchQueue(label: "HttpTestServer.requests")
    |                                          `- error: cannot find 'DispatchQueue' in scope
 32 |
 33 |     // Configuration for URLSession tests
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:56:34: error: cannot find type 'DispatchSemaphore' in scope
 54 |     }
 55 |
 56 |     public func start(semaphore: DispatchSemaphore?) throws {
    |                                  `- error: cannot find type 'DispatchSemaphore' in scope
 57 |         // Create socket
 58 |         #if canImport(Darwin)
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:53:30: error: argument passed to call that takes no arguments
 51 |
 52 |     public func start() throws {
 53 |         try start(semaphore: nil)
    |                              `- error: argument passed to call that takes no arguments
 54 |     }
 55 |
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:53:30: error: 'nil' requires a contextual type
 51 |
 52 |     public func start() throws {
 53 |         try start(semaphore: nil)
    |                              `- error: 'nil' requires a contextual type
 54 |     }
 55 |
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:61:24: error: cannot find 'socket' in scope
 59 |         serverSocket = socket(AF_INET, SOCK_STREAM, 0)
 60 |         #else
 61 |         serverSocket = socket(AF_INET, Int32(SOCK_STREAM.rawValue), 0)
    |                        `- error: cannot find 'socket' in scope
 62 |         #endif
 63 |         guard serverSocket >= 0 else {
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:61:46: error: cannot find 'SOCK_STREAM' in scope
 59 |         serverSocket = socket(AF_INET, SOCK_STREAM, 0)
 60 |         #else
 61 |         serverSocket = socket(AF_INET, Int32(SOCK_STREAM.rawValue), 0)
    |                                              `- error: cannot find 'SOCK_STREAM' in scope
 62 |         #endif
 63 |         guard serverSocket >= 0 else {
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:69:9: error: cannot find 'setsockopt' in scope
 67 |         // Allow reuse
 68 |         var yes: Int32 = 1
 69 |         setsockopt(serverSocket, SOL_SOCKET, SO_REUSEADDR, &yes, socklen_t(MemoryLayout<Int32>.size))
    |         `- error: cannot find 'setsockopt' in scope
 70 |
 71 |         // Set non-blocking mode for OTLP tests
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:69:46: error: cannot find 'SO_REUSEADDR' in scope
 67 |         // Allow reuse
 68 |         var yes: Int32 = 1
 69 |         setsockopt(serverSocket, SOL_SOCKET, SO_REUSEADDR, &yes, socklen_t(MemoryLayout<Int32>.size))
    |                                              `- error: cannot find 'SO_REUSEADDR' in scope
 70 |
 71 |         // Set non-blocking mode for OTLP tests
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:75:58: error: cannot find 'O_NONBLOCK' in scope
 73 |             let flags = fcntl(serverSocket, F_GETFL, 0)
 74 |             if flags >= 0 {
 75 |                 _ = fcntl(serverSocket, F_SETFL, flags | O_NONBLOCK)
    |                                                          `- error: cannot find 'O_NONBLOCK' in scope
 76 |             }
 77 |         }
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:86:13: error: cannot find 'bind' in scope
 84 |
 85 |         let bindResult = withUnsafePointer(to: &addr) { ptr in
 86 |             bind(serverSocket, UnsafeRawPointer(ptr).assumingMemoryBound(to: sockaddr.self), socklen_t(MemoryLayout<sockaddr_in>.size))
    |             `- error: cannot find 'bind' in scope
 87 |         }
 88 |
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:98:13: error: cannot find 'getsockname' in scope
 96 |         var actualAddrLen = socklen_t(MemoryLayout<sockaddr_in>.size)
 97 |         let getResult = withUnsafeMutablePointer(to: &actualAddr) { ptr in
 98 |             getsockname(serverSocket, UnsafeMutableRawPointer(ptr).assumingMemoryBound(to: sockaddr.self), &actualAddrLen)
    |             `- error: cannot find 'getsockname' in scope
 99 |         }
100 |
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:114:15: error: cannot find 'listen' in scope
112 |
113 |         // Listen
114 |         guard listen(serverSocket, 10) >= 0 else {
    |               `- error: cannot find 'listen' in scope
115 |             close(serverSocket)
116 |             throw TestServerError.listenFailed
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:120:23: error: cannot find 'DispatchQueue' in scope
118 |
119 |         isRunning = true
120 |         serverQueue = DispatchQueue(label: "HttpTestServer", attributes: .concurrent)
    |                       `- error: cannot find 'DispatchQueue' in scope
121 |
122 |         // Start accept loop
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:120:75: error: cannot infer contextual base in reference to member 'concurrent'
118 |
119 |         isRunning = true
120 |         serverQueue = DispatchQueue(label: "HttpTestServer", attributes: .concurrent)
    |                                                                           `- error: cannot infer contextual base in reference to member 'concurrent'
121 |
122 |         // Start accept loop
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:155:35: error: cannot infer contextual base in reference to member 'barrier'
153 |
154 |         // Wait for queue to finish
155 |         serverQueue?.sync(flags: .barrier) {}
    |                                   `- error: cannot infer contextual base in reference to member 'barrier'
156 |         serverQueue = nil
157 |     }
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:181:13: error: cannot find 'Thread' in scope
179 |                 return HTTPRequest(data: request.request, body: request.body)
180 |             }
181 |             Thread.sleep(forTimeInterval: 0.1)
    |             `- error: cannot find 'Thread' in scope
182 |         }
183 |         return nil
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:231:21: error: cannot find 'Thread' in scope
229 |             if clientSocket < 0 {
230 |                 if errno == EAGAIN || errno == EWOULDBLOCK {
231 |                     Thread.sleep(forTimeInterval: 0.01)
    |                     `- error: cannot find 'Thread' in scope
232 |                     continue
233 |                 }
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:254:21: error: cannot find 'Thread' in scope
252 |             guard bytesRead > 0 else {
253 |                 if bytesRead < 0 && errno == EAGAIN {
254 |                     Thread.sleep(forTimeInterval: 0.01)
    |                     `- error: cannot find 'Thread' in scope
255 |                     continue
256 |                 }
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:323:25: error: cannot find 'Thread' in scope
321 |                 guard bytesRead > 0 else {
322 |                     if bytesRead < 0 && errno == EAGAIN {
323 |                         Thread.sleep(forTimeInterval: 0.01)
    |                         `- error: cannot find 'Thread' in scope
324 |                         continue
325 |                     }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[233/883] Emitting module SharedTestUtils
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:26:30: error: cannot find type 'DispatchQueue' in scope
 24 |     public private(set) var serverPort: Int = 0
 25 |     private var isRunning = false
 26 |     private var serverQueue: DispatchQueue?
    |                              `- error: cannot find type 'DispatchQueue' in scope
 27 |     private let startSemaphore = DispatchSemaphore(value: 0)
 28 |
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:27:34: error: cannot find 'DispatchSemaphore' in scope
 25 |     private var isRunning = false
 26 |     private var serverQueue: DispatchQueue?
 27 |     private let startSemaphore = DispatchSemaphore(value: 0)
    |                                  `- error: cannot find 'DispatchSemaphore' in scope
 28 |
 29 |     // Request tracking for OTLP tests
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:31:42: error: cannot find 'DispatchQueue' in scope
 29 |     // Request tracking for OTLP tests
 30 |     internal var receivedRequests: [(request: HTTPRequestData, body: Data)] = []
 31 |     internal let receivedRequestsQueue = DispatchQueue(label: "HttpTestServer.requests")
    |                                          `- error: cannot find 'DispatchQueue' in scope
 32 |
 33 |     // Configuration for URLSession tests
/host/spi-builder-workspace/Tests/Shared/TestUtils/HttpTestServer.swift:56:34: error: cannot find type 'DispatchSemaphore' in scope
 54 |     }
 55 |
 56 |     public func start(semaphore: DispatchSemaphore?) throws {
    |                                  `- error: cannot find type 'DispatchSemaphore' in scope
 57 |         // Create socket
 58 |         #if canImport(Darwin)
[233/883] Compiling tls_record.cc
[233/883] Compiling tls_method.cc
[233/883] Compiling tls13_server.cc
BUILD FAILURE 6.3 wasm