The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build swift-otel-semantic-conventions, reference main (69185e), with Swift 6.2 for Wasm on 5 Nov 2025 12:49:01 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-otel/swift-otel-semantic-conventions.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/swift-otel/swift-otel-semantic-conventions
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 69185e4 build(deps): Bump github.com/swift-server/async-http-client (#48)
Cloned https://github.com/swift-otel/swift-otel-semantic-conventions.git
Revision (git rev-parse @):
69185e48088c4abdd438b74d332d103431849f63
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swift-otel/swift-otel-semantic-conventions.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/swift-otel/swift-otel-semantic-conventions.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f6b6b9bdb5d5605d727da337418fc455cd8a0394d3a815b70631008c48829755
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/apple/swift-distributed-tracing.git
[1/5533] Fetching swift-distributed-tracing
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.47s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.3.1 (1.05s)
Fetching https://github.com/apple/swift-service-context.git
[1/1162] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.73s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (1.21s)
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.2.1
Building for debugging...
[0/6] Write sources
[4/6] Compiling _CWASI _CWASI.c
[5/6] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/8] Emitting module ServiceContextModule
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContext.swift:237:6: error: unknown attribute 'TaskLocal'
235 |     /// A `ServiceContext` is automatically propagated through task-local storage. This API enables binding a top-level `ServiceContext` and
236 |     /// implicitly passes it to child tasks when using structured concurrency.
237 |     @TaskLocal public static var current: ServiceContext?
    |      `- error: unknown attribute 'TaskLocal'
238 |
239 |     /// Convenience API to bind the task-local ``ServiceContext/current`` to the passed `value`, and execute the passed `operation`.
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContext.swift:256:34: error: cannot find type 'Actor' in scope
254 |     public static func withValue<T>(
255 |         _ value: ServiceContext?,
256 |         isolation: isolated (any Actor)? = #isolation,
    |                                  `- error: cannot find type 'Actor' in scope
257 |         operation: () async throws -> T
258 |     ) async rethrows -> T {
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContext.swift:245:28: error: type 'ServiceContext' has no member '$current'
243 |     /// SeeAlso: [Swift Task Locals](https://developer.apple.com/documentation/swift/tasklocal)
244 |     public static func withValue<T>(_ value: ServiceContext?, operation: () throws -> T) rethrows -> T {
245 |         try ServiceContext.$current.withValue(value, operation: operation)
    |                            `- error: type 'ServiceContext' has no member '$current'
246 |     }
247 |
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContext.swift:259:34: error: type 'ServiceContext' has no member '$current'
257 |         operation: () async throws -> T
258 |     ) async rethrows -> T {
259 |         try await ServiceContext.$current.withValue(value, operation: operation)
    |                                  `- error: type 'ServiceContext' has no member '$current'
260 |     }
261 |
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContext.swift:266:34: error: type 'ServiceContext' has no member '$current'
264 |     @_disfavoredOverload
265 |     public static func withValue<T>(_ value: ServiceContext?, operation: () async throws -> T) async rethrows -> T {
266 |         try await ServiceContext.$current.withValue(value, operation: operation)
    |                                  `- error: type 'ServiceContext' has no member '$current'
267 |     }
268 |     #else
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContextKey.swift:73:31: error: 'init(describing:)' is unavailable: unavailable in embedded Swift
71 |     /// If no explicit name has been set on the wrapped key the type name is used.
72 |     public var name: String {
73 |         self._nameOverride ?? String(describing: self.keyType.self)
   |                               `- error: 'init(describing:)' is unavailable: unavailable in embedded Swift
74 |     }
75 |
Swift.String.init:2:8: note: 'init(describing:)' has been explicitly marked unavailable here
1 | struct String {
2 | public init<Subject>(describing instance: Subject)}
  |        `- note: 'init(describing:)' has been explicitly marked unavailable here
3 |
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContextKey.swift:84:9: error: initializer 'init(_:)' requires that 'any Any.Type' be a class type
82 | extension AnyServiceContextKey: Hashable {
83 |     public static func == (lhs: AnyServiceContextKey, rhs: AnyServiceContextKey) -> Bool {
84 |         ObjectIdentifier(lhs.keyType) == ObjectIdentifier(rhs.keyType)
   |         `- error: initializer 'init(_:)' requires that 'any Any.Type' be a class type
85 |     }
86 |
Swift.ObjectIdentifier.init:2:19: note: where 'Object' = 'any Any.Type'
1 | struct ObjectIdentifier {
2 | @inlinable public init<Object>(_ x: Object) where Object : AnyObject}
  |                   `- note: where 'Object' = 'any Any.Type'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContextKey.swift:84:42: error: initializer 'init(_:)' requires that 'any Any.Type' be a class type
82 | extension AnyServiceContextKey: Hashable {
83 |     public static func == (lhs: AnyServiceContextKey, rhs: AnyServiceContextKey) -> Bool {
84 |         ObjectIdentifier(lhs.keyType) == ObjectIdentifier(rhs.keyType)
   |                                          `- error: initializer 'init(_:)' requires that 'any Any.Type' be a class type
85 |     }
86 |
Swift.ObjectIdentifier.init:2:19: note: where 'Object' = 'any Any.Type'
1 | struct ObjectIdentifier {
2 | @inlinable public init<Object>(_ x: Object) where Object : AnyObject}
  |                   `- note: where 'Object' = 'any Any.Type'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContextKey.swift:88:24: error: initializer 'init(_:)' requires that 'any Any.Type' be a class type
86 |
87 |     public func hash(into hasher: inout Hasher) {
88 |         hasher.combine(ObjectIdentifier(self.keyType))
   |                        `- error: initializer 'init(_:)' requires that 'any Any.Type' be a class type
89 |     }
90 | }
Swift.ObjectIdentifier.init:2:19: note: where 'Object' = 'any Any.Type'
1 | struct ObjectIdentifier {
2 | @inlinable public init<Object>(_ x: Object) where Object : AnyObject}
  |                   `- note: where 'Object' = 'any Any.Type'
3 |
[8/8] Compiling ServiceContextModule ServiceContext.swift
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContext.swift:237:6: error: unknown attribute 'TaskLocal'
235 |     /// A `ServiceContext` is automatically propagated through task-local storage. This API enables binding a top-level `ServiceContext` and
236 |     /// implicitly passes it to child tasks when using structured concurrency.
237 |     @TaskLocal public static var current: ServiceContext?
    |      `- error: unknown attribute 'TaskLocal'
238 |
239 |     /// Convenience API to bind the task-local ``ServiceContext/current`` to the passed `value`, and execute the passed `operation`.
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContext.swift:256:34: error: cannot find type 'Actor' in scope
254 |     public static func withValue<T>(
255 |         _ value: ServiceContext?,
256 |         isolation: isolated (any Actor)? = #isolation,
    |                                  `- error: cannot find type 'Actor' in scope
257 |         operation: () async throws -> T
258 |     ) async rethrows -> T {
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContext.swift:245:28: error: type 'ServiceContext' has no member '$current'
243 |     /// SeeAlso: [Swift Task Locals](https://developer.apple.com/documentation/swift/tasklocal)
244 |     public static func withValue<T>(_ value: ServiceContext?, operation: () throws -> T) rethrows -> T {
245 |         try ServiceContext.$current.withValue(value, operation: operation)
    |                            `- error: type 'ServiceContext' has no member '$current'
246 |     }
247 |
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContext.swift:259:34: error: type 'ServiceContext' has no member '$current'
257 |         operation: () async throws -> T
258 |     ) async rethrows -> T {
259 |         try await ServiceContext.$current.withValue(value, operation: operation)
    |                                  `- error: type 'ServiceContext' has no member '$current'
260 |     }
261 |
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContext.swift:266:34: error: type 'ServiceContext' has no member '$current'
264 |     @_disfavoredOverload
265 |     public static func withValue<T>(_ value: ServiceContext?, operation: () async throws -> T) async rethrows -> T {
266 |         try await ServiceContext.$current.withValue(value, operation: operation)
    |                                  `- error: type 'ServiceContext' has no member '$current'
267 |     }
268 |     #else
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContextKey.swift:73:31: error: 'init(describing:)' is unavailable: unavailable in embedded Swift
71 |     /// If no explicit name has been set on the wrapped key the type name is used.
72 |     public var name: String {
73 |         self._nameOverride ?? String(describing: self.keyType.self)
   |                               `- error: 'init(describing:)' is unavailable: unavailable in embedded Swift
74 |     }
75 |
Swift.String.init:2:8: note: 'init(describing:)' has been explicitly marked unavailable here
1 | struct String {
2 | public init<Subject>(describing instance: Subject)}
  |        `- note: 'init(describing:)' has been explicitly marked unavailable here
3 |
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContextKey.swift:84:9: error: initializer 'init(_:)' requires that 'any Any.Type' be a class type
82 | extension AnyServiceContextKey: Hashable {
83 |     public static func == (lhs: AnyServiceContextKey, rhs: AnyServiceContextKey) -> Bool {
84 |         ObjectIdentifier(lhs.keyType) == ObjectIdentifier(rhs.keyType)
   |         `- error: initializer 'init(_:)' requires that 'any Any.Type' be a class type
85 |     }
86 |
Swift.ObjectIdentifier.init:2:19: note: where 'Object' = 'any Any.Type'
1 | struct ObjectIdentifier {
2 | @inlinable public init<Object>(_ x: Object) where Object : AnyObject}
  |                   `- note: where 'Object' = 'any Any.Type'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContextKey.swift:84:42: error: initializer 'init(_:)' requires that 'any Any.Type' be a class type
82 | extension AnyServiceContextKey: Hashable {
83 |     public static func == (lhs: AnyServiceContextKey, rhs: AnyServiceContextKey) -> Bool {
84 |         ObjectIdentifier(lhs.keyType) == ObjectIdentifier(rhs.keyType)
   |                                          `- error: initializer 'init(_:)' requires that 'any Any.Type' be a class type
85 |     }
86 |
Swift.ObjectIdentifier.init:2:19: note: where 'Object' = 'any Any.Type'
1 | struct ObjectIdentifier {
2 | @inlinable public init<Object>(_ x: Object) where Object : AnyObject}
  |                   `- note: where 'Object' = 'any Any.Type'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContextKey.swift:88:24: error: initializer 'init(_:)' requires that 'any Any.Type' be a class type
86 |
87 |     public func hash(into hasher: inout Hasher) {
88 |         hasher.combine(ObjectIdentifier(self.keyType))
   |                        `- error: initializer 'init(_:)' requires that 'any Any.Type' be a class type
89 |     }
90 | }
Swift.ObjectIdentifier.init:2:19: note: where 'Object' = 'any Any.Type'
1 | struct ObjectIdentifier {
2 | @inlinable public init<Object>(_ x: Object) where Object : AnyObject}
  |                   `- note: where 'Object' = 'any Any.Type'
3 |
BUILD FAILURE 6.2 wasm