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 GlobalConfModule, reference 0.4.4 (1ae8f4), with Swift 6.2 for Wasm on 13 Oct 2025 02:54:17 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/Frizlab/GlobalConfModule.git
Reference: 0.4.4
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/Frizlab/GlobalConfModule
 * tag               0.4.4      -> FETCH_HEAD
HEAD is now at 1ae8f45 Add support for swift-syntax 602
Cloned https://github.com/Frizlab/GlobalConfModule.git
Revision (git rev-parse @):
1ae8f4510c375217a8423864366b68f18b986d20
SUCCESS checkout https://github.com/Frizlab/GlobalConfModule.git at 0.4.4
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Frizlab/GlobalConfModule.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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-service-context.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/1117] Fetching swift-service-context
[1118/73587] Fetching swift-service-context, swift-syntax
Fetched https://github.com/apple/swift-service-context.git from cache (7.85s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (7.97s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (8.75s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (3.99s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.0
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
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Building for debugging...
[0/42] Write sources
[21/42] Compiling _SwiftSyntaxCShims PlatformMutex.c
[22/42] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/57] 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 |
[25/57] 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 |
[26/57] Emitting module SwiftSyntax509
[27/57] Emitting module SwiftSyntax510
[28/57] Emitting module SwiftSyntax602
[29/57] Emitting module SwiftSyntax601
BUILD FAILURE 6.2 wasm