The Swift Package Index logo.Swift Package Index

Build Information

Failed to build opentelemetry-swift, reference main (9cc02a), with Swift 6.3 for Wasm on 18 Apr 2026 08:53:06 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/cirruslabs/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/cirruslabs/opentelemetry-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9cc02a7 chore(deps): update prom/prometheus:latest docker digest to 1f0f50f (#1027)
Cloned https://github.com/cirruslabs/opentelemetry-swift.git
Revision (git rev-parse @):
9cc02a767c018ae3fb257c3caa944327fbee3c95
SUCCESS checkout https://github.com/cirruslabs/opentelemetry-swift.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/cirruslabs/opentelemetry-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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-protobuf.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/grpc/grpc-swift.git
Fetching https://github.com/open-telemetry/opentelemetry-swift-core.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-log.git
[1/3187] Fetching swift-metrics
[958/17189] Fetching swift-metrics, opentelemetry-swift-core
[3431/23824] Fetching swift-metrics, opentelemetry-swift-core, swift-log
[4560/75332] Fetching swift-metrics, opentelemetry-swift-core, swift-log, grpc-swift
[9276/122342] Fetching swift-metrics, opentelemetry-swift-core, swift-log, grpc-swift, swift-protobuf
[22461/205514] Fetching swift-metrics, opentelemetry-swift-core, swift-log, grpc-swift, swift-protobuf, swift-nio
Fetched https://github.com/apple/swift-metrics.git from cache (1.00s)
Fetched https://github.com/apple/swift-log.git from cache (1.00s)
[29332/195692] Fetching opentelemetry-swift-core, grpc-swift, swift-protobuf, swift-nio
Fetched https://github.com/open-telemetry/opentelemetry-swift-core.git from cache (1.18s)
[20311/181690] Fetching grpc-swift, swift-protobuf, swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (11.87s)
Fetched https://github.com/grpc/grpc-swift.git from cache (12.51s)
Fetched https://github.com/apple/swift-protobuf.git from cache (12.57s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.27.1 (15.33s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-collections.git
[1/2843] Fetching swift-nio-transport-services
[2844/4663] Fetching swift-nio-transport-services, swift-atomics
[3390/11173] Fetching swift-nio-transport-services, swift-atomics, swift-nio-extras
[4318/34742] Fetching swift-nio-transport-services, swift-atomics, swift-nio-extras, swift-collections
[9439/46850] Fetching swift-nio-transport-services, swift-atomics, swift-nio-extras, swift-collections, swift-nio-http2
[11942/62268] 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-extras.git from cache (0.72s)
[12938/55758] Fetching swift-nio-transport-services, swift-atomics, swift-collections, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git from cache (2.01s)
[42571/43650] Fetching swift-nio-transport-services, swift-atomics, swift-collections, swift-nio-ssl
Fetched https://github.com/apple/swift-collections.git from cache (2.51s)
Fetched https://github.com/apple/swift-atomics.git from cache (3.04s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (3.03s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.07s)
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.58s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.40s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.10.0 (0.35s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.43s)
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.41s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.36.1 (0.46s)
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.43s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.98.0 (0.71s)
Fetching https://github.com/apple/swift-system.git
[1/5601] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.43s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.89s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.59s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.34.0 (0.57s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1803] Fetching swift-asn1
[1804/4548] Fetching swift-asn1, swift-service-lifecycle
[2244/10606] Fetching swift-asn1, swift-service-lifecycle, swift-algorithms
[2448/11649] Fetching swift-asn1, swift-service-lifecycle, swift-algorithms, swift-http-types
[2951/12891] Fetching swift-asn1, swift-service-lifecycle, swift-algorithms, swift-http-types, swift-http-structured-headers
[10348/19138] Fetching swift-asn1, swift-service-lifecycle, swift-algorithms, swift-http-types, swift-http-structured-headers, swift-async-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.39s)
[13777/17896] Fetching swift-asn1, swift-service-lifecycle, swift-algorithms, swift-http-types, swift-async-algorithms
Fetched https://github.com/apple/swift-asn1.git from cache (0.40s)
[12470/16093] Fetching swift-service-lifecycle, swift-algorithms, swift-http-types, swift-async-algorithms
Fetching https://github.com/apple/swift-certificates.git
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.40s)
[10038/13348] Fetching swift-algorithms, swift-http-types, swift-async-algorithms
Fetched https://github.com/apple/swift-http-types.git from cache (0.61s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.61s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.62s)
[1/7151] Fetching swift-certificates
Fetched https://github.com/apple/swift-certificates.git from cache (0.63s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.50s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.42s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (0.83s)
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.48s)
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.38s)
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.43s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.38s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (0.45s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.19.0 (0.56s)
Fetching https://github.com/apple/swift-crypto.git
[1/17407] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.57s)
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 (2.99s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.4.0 (0.72s)
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-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.10.0
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-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-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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
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-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-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-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.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-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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.4.0
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.1
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-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-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-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-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-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.36.1
[1/1] Compiling plugin SwiftProtobufPlugin
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:264:42: warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL' [#DeprecatedDeclaration]
262 |     }
263 |
264 |     let workDirectory = PathLike(context.pluginWorkDirectory)
    |                                          |- warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL' [#DeprecatedDeclaration]
    |                                          `- note: use 'pluginWorkDirectoryURL' instead
265 |
266 |     return try self.createBuildCommands(
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:287:18: warning: 'init(_:)' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
285 |
286 |   init(_ path: String) {
287 |     self.value = Path(path)
    |                  `- warning: 'init(_:)' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
288 |   }
289 |
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:291:26: warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
289 |
290 |   init(_ element: FileList.Element) {
291 |     self.value = element.path
    |                          |- warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
    |                          `- note: use 'url' instead
292 |   }
293 |
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:295:26: warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
293 |
294 |   init(_ element: PluginContext.Tool) {
295 |     self.value = element.path
    |                          |- warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
    |                          `- note: use 'url' instead
296 |   }
297 |
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:303:23: warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
301 |
302 |   var lastComponent: String {
303 |     return self.value.lastComponent
    |                       `- warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
304 |   }
305 |
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:308:29: warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
306 |   func removingLastComponent() -> Self {
307 |     var copy = self
308 |     copy.value = self.value.removingLastComponent()
    |                             `- warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
309 |     return copy
310 |   }
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:314:29: warning: 'appending' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
312 |   func appending(_ path: String) -> Self {
313 |     var copy = self
314 |     copy.value = self.value.appending(path)
    |                             `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
315 |     return copy
316 |   }
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:327:17: warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
325 |     outputFiles: [PathLike]
326 |   ) -> PackagePlugin.Command {
327 |     return Self.buildCommand(
    |                 `- warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
328 |       displayName: displayName,
329 |       executable: executable.value,
/host/spi-builder-workspace/.build/checkouts/grpc-swift/Plugins/GRPCSwiftPlugin/plugin.swift:339:35: warning: 'appendInterpolation' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
337 | extension URL {
338 |   init(_ pathLike: PathLike) {
339 |     self = URL(fileURLWithPath: "\(pathLike.value)")
    |                                   `- warning: 'appendInterpolation' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
340 |   }
341 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[2/2] Compiling plugin GRPCSwiftPlugin
Building for debugging...
[2/494] Write sources
[24/494] Compiling _AtomicsShims.c
[25/494] Write sources
[41/494] Compiling CNIOWindows WSAStartup.c
[42/494] Write swift-version-24593BA9C3E375BF.txt
[43/494] Compiling CNIOWindows shim.c
[43/494] Compiling CNIOPosix event_loop_id.c
[43/494] Compiling CNIOWASI CNIOWASI.c
[43/494] Compiling CNIOOpenBSD shim.c
[47/494] Compiling CNIOLinux liburing_shims.c
[47/494] Compiling CNIOLinux shim.c
[49/494] Compiling CNIOLLHTTP c_nio_http.c
[51/762] Emitting module Logging
[51/762] Compiling CNIOLLHTTP c_nio_llhttp.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[53/767] 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
[54/788] Compiling CoreMetrics WithMetricsFactory.swift
[55/788] Emitting module InternalCollectionsUtilities
[56/790] Compiling CoreMetrics MappingMetricsFactory.swift
[57/790] Compiling OpenTelemetryApi FeatureFlag_attributes.swift
[58/790] Compiling OpenTelemetryApi File_attributes.swift
[59/790] Compiling OpenTelemetryApi Gcp_attributes.swift
[60/790] Compiling SwiftProtobuf Decoder.swift
[61/790] Compiling SwiftProtobuf DoubleParser.swift
[62/790] Compiling OpenTelemetryApi Dotnet_attributes.swift
[63/790] Compiling OpenTelemetryApi Elasticsearch_attributes.swift
[64/790] Compiling OpenTelemetryApi Enduser_attributes.swift
[65/790] Compiling OpenTelemetryApi Go_attributes.swift
[66/790] Compiling SwiftProtobuf BytecodeInterpreter.swift
[67/790] Compiling OpenTelemetryApi Error_attributes.swift
[68/790] Compiling OpenTelemetryApi Exception_attributes.swift
[69/790] Compiling OpenTelemetryApi Faas_attributes.swift
[70/790] Compiling SwiftProtobuf BytecodeReader.swift
[71/790] Compiling SwiftProtobuf CustomJSONCodable.swift
[72/790] Compiling OpenTelemetryApi GenAi_attributes.swift
[73/790] Compiling OpenTelemetryApi Geo_attributes.swift
[74/790] Compiling Logging LogHandler.swift
[75/790] Compiling Logging LogEvent.swift
[76/790] Compiling _NIODataStructures PriorityQueue.swift
[77/790] Compiling InternalCollectionsUtilities _SortedCollection.swift
[78/790] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[80/791] Compiling _NIOBase64 Base64.swift
[81/791] Emitting module _NIOBase64
[82/792] Compiling CNIOLLHTTP c_nio_api.c
[83/792] Wrapping AST for _NIOBase64 for debugging
[85/792] Compiling _NIODataStructures _TinyArray.swift
[85/792] Wrapping AST for InternalCollectionsUtilities for debugging
[86/793] Compiling CNIODarwin shim.c
[88/825] Compiling ContainersPreview Producer+Map.swift
[89/825] Compiling ContainersPreview Producer+Reduce.swift
[90/825] Compiling ContainersPreview Producer.swift
[91/825] Compiling ContainersPreview Borrow.swift
[92/829] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[93/829] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[94/829] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[95/829] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[96/829] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[97/829] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[98/829] Compiling ContainersPreview BorrowingSequence.swift
[99/829] Compiling ContainersPreview BidirectionalContainer.swift
[100/829] Compiling ContainersPreview Container+Filter.swift
[101/829] Compiling ContainersPreview Container+SpanwiseZip.swift
[102/829] Compiling ContainersPreview RandomAccessContainer.swift
[103/829] Compiling ContainersPreview RangeExpression2.swift
[104/829] Compiling ContainersPreview RangeReplaceableContainer.swift
[105/829] Compiling ContainersPreview Drain+Map.swift
[106/829] Compiling ContainersPreview Drain+Reduce.swift
[107/829] Compiling ContainersPreview Drain.swift
[108/829] Compiling ContainersPreview Producer+Collect.swift
[109/829] Compiling ContainersPreview Producer+Filter.swift
[110/829] Compiling ContainersPreview Container.swift
[111/829] Compiling ContainersPreview ContainerIterator.swift
[112/829] Compiling ContainersPreview DynamicContainer.swift
[113/829] Compiling ContainersPreview MutableContainer.swift
[114/829] Compiling ContainersPreview PermutableContainer.swift
[115/829] Compiling CoreMetrics Metrics.swift
[116/829] Compiling ContainersPreview Box.swift
[117/829] Compiling ContainersPreview Inout.swift
[118/829] Compiling ContainersPreview InputSpan.swift
[119/829] Compiling ContainersPreview Shared.swift
[120/829] Emitting module ContainersPreview
[121/829] Compiling ContainersPreview OutputSpan+Extras.swift
[122/829] Compiling ContainersPreview TemporaryAllocation.swift
[123/829] Compiling ContainersPreview BorrowingIteratorProtocol+Copy.swift
[124/829] Compiling ContainersPreview BorrowingIteratorProtocol+ElementsEqual.swift
[125/829] Compiling ContainersPreview BorrowingIteratorProtocol+Filter.swift
[127/870] Emitting module CoreMetrics
[128/870] Compiling CoreMetrics Locks.swift
[130/871] Compiling Logging MetadataProvider.swift
[131/871] Compiling Logging Locks.swift
[131/871] Compiling CNIOBoringSSLShims shims.c
[132/871] Wrapping AST for ContainersPreview for debugging
[134/871] Compiling DequeModule RigidDeque+Removals.swift
[135/871] Compiling DequeModule RigidDeque+Replacements.swift
[136/871] Compiling DequeModule RigidDeque+Testing.swift
[137/871] Compiling DequeModule RigidDeque.swift
[138/871] Compiling DequeModule UniqueDeque+Append.swift
[139/871] Compiling DequeModule UniqueDeque+Hashable.swift
[140/871] Compiling DequeModule UniqueDeque+Initializers.swift
[141/871] Compiling DequeModule UniqueDeque+Insertions.swift
[142/871] Compiling DequeModule UniqueDeque+Prepend.swift
[143/871] Compiling DequeModule UniqueDeque+Removals.swift
[144/871] Compiling DequeModule UniqueDeque+Consumption.swift
[145/871] Compiling DequeModule UniqueDeque+Container.swift
[146/871] Emitting module _NIODataStructures
[147/871] Compiling _NIODataStructures Heap.swift
[147/872] Compiling fiat_p256_adx_sqr.S
[149/872] Compiling DequeModule _DequeBuffer.swift
[150/872] Compiling DequeModule _DequeBufferHeader.swift
[151/872] Compiling DequeModule RigidDeque+Append.swift
[152/872] Compiling DequeModule RigidDeque+Consumption.swift
[153/872] Compiling DequeModule RigidDeque+Container.swift
[154/872] Compiling DequeModule RigidDeque+Descriptions.swift
[155/872] Compiling DequeModule Deque+Extras.swift
[156/872] Compiling DequeModule Deque+Hashable.swift
[157/872] Compiling DequeModule Deque+Testing.swift
[158/872] Compiling DequeModule Deque._Storage.swift
[159/872] Compiling DequeModule Deque._UnsafeHandle.swift
[160/872] Compiling DequeModule Deque.swift
[161/872] Compiling fiat_p256_adx_mul.S
error: emit-module command failed with exit code 1 (use -v to see invocation)
[163/872] 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)
[164/872] 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 |   }
[165/872] 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 |                     }
[168/872] Compiling DequeModule UniqueDeque+Descriptions.swift
[169/872] Compiling DequeModule UniqueDeque+Equatable.swift
[170/872] Compiling DequeModule UniqueDeque+Experimental.swift
[170/872] Compiling fiat_curve25519_adx_square.S
[171/888] Compiling fiat_curve25519_adx_mul.S
[171/888] Compiling tls_record.cc
BUILD FAILURE 6.3 wasm