The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-api-client, reference 1.74.1 (609467), with Swift 6.3 for Wasm on 17 Apr 2026 13:45:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/dankinsoid/swift-api-client.git
Reference: 1.74.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/dankinsoid/swift-api-client
 * tag               1.74.1     -> FETCH_HEAD
HEAD is now at 6094670 fix: revert swift-tools-version to 5.9 to avoid strict concurrency errors
Cloned https://github.com/dankinsoid/swift-api-client.git
Revision (git rev-parse @):
609467015ac4d513194ce3774d169ddf2c547091
SUCCESS checkout https://github.com/dankinsoid/swift-api-client.git at 1.74.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/dankinsoid/swift-api-client.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/swiftlang/swift-syntax
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-metrics.git
[32/3173] Fetching swift-metrics
[12/4216] Fetching swift-metrics, swift-http-types
[2187/10846] Fetching swift-metrics, swift-http-types, swift-log
[8262/85829] Fetching swift-metrics, swift-http-types, swift-log, swift-syntax
Fetched https://github.com/apple/swift-metrics.git from cache (1.01s)
Fetched https://github.com/apple/swift-http-types.git from cache (1.03s)
[7049/81613] Fetching swift-log, swift-syntax
Fetched https://github.com/apple/swift-log.git from cache (12.49s)
Fetched https://github.com/swiftlang/swift-syntax from cache (12.59s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (13.51s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.10.0 (1.00s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 603.0.0 (5.38s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.92s)
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/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 603.0.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-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.5.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.0/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.0/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz (0.64s)
Building for debugging...
[0/17] Write sources
[13/17] Write swift-version-24593BA9C3E375BF.txt
[15/62] Emitting module HTTPTypes
[16/63] Compiling CoreMetrics WithMetricsFactory.swift
[17/63] Compiling HTTPTypes HTTPField.swift
[18/63] Compiling HTTPTypes HTTPFieldName.swift
[19/64] Compiling Logging LogEvent.swift
[20/64] Compiling HTTPTypes ISOLatin1String.swift
[21/64] Compiling CoreMetrics MappingMetricsFactory.swift
[22/64] Compiling CoreMetrics Metrics.swift
[23/64] Compiling HTTPTypes HTTPResponse.swift
[24/64] Compiling HTTPTypes HTTPRequest.swift
[25/64] Compiling SwiftAPIClientMacros SwiftAPIClientMacros.swift
/host/spi-builder-workspace/Sources/SwiftAPIClientMacros/SwiftAPIClientMacros.swift:149:15: warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter [#DeprecatedDeclaration]
147 | }
148 |
149 | public struct SwiftAPIClientPathMacro: MemberMacro, MemberAttributeMacro, PeerMacro, ExtensionMacro {
    |               `- warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter [#DeprecatedDeclaration]
150 |
151 | 	public static func expansion(
SwiftSyntaxMacros.MemberMacro.expansion:3:22: note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
1 | protocol MemberMacro {
2 | @available(*, deprecated, message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter")
3 |   public static func expansion(of node: SwiftSyntax.AttributeSyntax, providingMembersOf declaration: some SwiftSyntax.DeclGroupSyntax, conformingTo protocols: [SwiftSyntax.TypeSyntax], in context: some SwiftSyntaxMacros.MacroExpansionContext) throws -> [SwiftSyntax.DeclSyntax]}
  |                      `- note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
4 |
SwiftSyntaxMacros.MemberMacro.expansion:2:13: note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
1 | protocol MemberMacro {
2 | static func expansion(of node: SwiftSyntax.AttributeSyntax, providingMembersOf declaration: some SwiftSyntax.DeclGroupSyntax, conformingTo protocols: [SwiftSyntax.TypeSyntax], in context: some SwiftSyntaxMacros.MacroExpansionContext) throws -> [SwiftSyntax.DeclSyntax]}
  |             `- note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
3 |
/host/spi-builder-workspace/Sources/SwiftAPIClientMacros/SwiftAPIClientMacros.swift:41:40: warning: 'throwsSpecifier' is deprecated: use throwsClause.throwsSpecifier [#DeprecatedDeclaration]
 39 | 			funcDecl.signature.effectSpecifiers = FunctionEffectSpecifiersSyntax()
 40 | 		}
 41 | 		funcDecl.signature.effectSpecifiers?.throwsSpecifier = "throws"
    |                                        `- warning: 'throwsSpecifier' is deprecated: use throwsClause.throwsSpecifier [#DeprecatedDeclaration]
 42 |
 43 | 		let isAsync = attribute.caller == "http" || funcDecl.signature.effectSpecifiers?.asyncSpecifier != nil
/host/spi-builder-workspace/Sources/SwiftAPIClientMacros/SwiftAPIClientMacros.swift:278:19: warning: 'macro' is deprecated: renamed to 'macroName' [#DeprecatedDeclaration]
276 |
277 | 	public static func expansion(of node: some FreestandingMacroExpansionSyntax, in context: some MacroExpansionContext) throws -> [DeclSyntax] {
278 | 		let name = node.macro.text.lowercased()
    |                   |- warning: 'macro' is deprecated: renamed to 'macroName' [#DeprecatedDeclaration]
    |                   `- note: use 'macroName' instead
279 | 		var type = node.argumentList.first?.expression.trimmed.description ?? ""
280 | 		if type.hasSuffix(".self") {
/host/spi-builder-workspace/Sources/SwiftAPIClientMacros/SwiftAPIClientMacros.swift:279:19: warning: 'argumentList' is deprecated: renamed to 'arguments' [#DeprecatedDeclaration]
277 | 	public static func expansion(of node: some FreestandingMacroExpansionSyntax, in context: some MacroExpansionContext) throws -> [DeclSyntax] {
278 | 		let name = node.macro.text.lowercased()
279 | 		var type = node.argumentList.first?.expression.trimmed.description ?? ""
    |                   |- warning: 'argumentList' is deprecated: renamed to 'arguments' [#DeprecatedDeclaration]
    |                   `- note: use 'arguments' instead
280 | 		if type.hasSuffix(".self") {
281 | 			type.removeLast(5)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[26/64] Compiling Logging LogEvent.swift
[27/64] Compiling CoreMetrics WithMetricsFactory.swift
[28/64] Compiling HTTPTypes ISOLatin1String.swift
[29/64] Compiling HTTPTypes HTTPRequest.swift
[30/64] Compiling HTTPTypes HTTPResponse.swift
[31/64] Compiling CoreMetrics MappingMetricsFactory.swift
[32/64] Compiling CoreMetrics Metrics.swift
[33/64] Compiling HTTPTypes NIOLock.swift
[34/64] Compiling Logging Locks.swift
[35/64] Emitting module Logging
[36/64] Compiling Logging MetadataProvider.swift
[37/64] Compiling CoreMetrics Locks.swift
[38/64] Emitting module CoreMetrics
[39/65] Compiling Logging MetadataProvider.swift
[40/65] Compiling HTTPTypes NIOLock.swift
[41/65] Compiling HTTPTypes HTTPParsedFields.swift
[42/65] Compiling HTTPTypes HTTPRequest+URL.swift
[43/65] Compiling HTTPTypes HTTPParsedFields.swift
[44/65] Compiling HTTPTypes HTTPRequest+URL.swift
[46/65] Emitting module CoreMetrics
[47/65] Compiling CoreMetrics Locks.swift
[48/66] Compiling Logging Locks.swift
[49/66] Emitting module Logging
[51/68] Compiling SwiftAPIClientMacros Collection++.swift
[52/68] Emitting module SwiftAPIClientMacros
/host/spi-builder-workspace/Sources/SwiftAPIClientMacros/SwiftAPIClientMacros.swift:149:15: warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter [#DeprecatedDeclaration]
147 | }
148 |
149 | public struct SwiftAPIClientPathMacro: MemberMacro, MemberAttributeMacro, PeerMacro, ExtensionMacro {
    |               `- warning: deprecated default implementation is used to satisfy static method 'expansion(of:providingMembersOf:conformingTo:in:)' required by protocol 'MemberMacro': `MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter [#DeprecatedDeclaration]
150 |
151 | 	public static func expansion(
SwiftSyntaxMacros.MemberMacro.expansion:3:22: note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
1 | protocol MemberMacro {
2 | @available(*, deprecated, message: "`MemberMacro` conformance should implement the `expansion` function that takes a `conformingTo` parameter")
3 |   public static func expansion(of node: SwiftSyntax.AttributeSyntax, providingMembersOf declaration: some SwiftSyntax.DeclGroupSyntax, conformingTo protocols: [SwiftSyntax.TypeSyntax], in context: some SwiftSyntaxMacros.MacroExpansionContext) throws -> [SwiftSyntax.DeclSyntax]}
  |                      `- note: 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
4 |
SwiftSyntaxMacros.MemberMacro.expansion:2:13: note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
1 | protocol MemberMacro {
2 | static func expansion(of node: SwiftSyntax.AttributeSyntax, providingMembersOf declaration: some SwiftSyntax.DeclGroupSyntax, conformingTo protocols: [SwiftSyntax.TypeSyntax], in context: some SwiftSyntaxMacros.MacroExpansionContext) throws -> [SwiftSyntax.DeclSyntax]}
  |             `- note: requirement 'expansion(of:providingMembersOf:conformingTo:in:)' declared here
3 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[53/68] Compiling SwiftAPIClientMacros MacroError.swift
[54/68] Compiling SwiftAPIClientMacros String++.swift
[55/71] Wrapping AST for SwiftAPIClientMacros for debugging
[56/71] Write Objects.LinkFileList
[58/71] Compiling Logging Logging.swift
[59/71] Compiling Logging LogHandler.swift
[61/72] Compiling Logging Logging.swift
[62/72] Compiling Logging LogHandler.swift
[63/73] Linking SwiftAPIClientMacros-tool
[65/73] Emitting module HTTPTypes
[66/73] Compiling HTTPTypes HTTPFields.swift
[68/80] Emitting module HTTPTypesFoundation
[69/80] Emitting module Metrics
[70/80] Compiling Metrics Metrics.swift
[72/81] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[73/81] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[74/81] Compiling HTTPTypesFoundation HTTPTypesFoundation.swift
[75/81] Compiling Metrics Metrics.swift
[76/81] Emitting module Metrics
[77/82] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[78/82] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
[81/111] Compiling SwiftAPIClient String++.swift
[82/111] Compiling SwiftAPIClient URLComponentBuilder.swift
[83/111] Compiling HTTPTypes HTTPFields.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[85/161] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[86/161] Emitting module HTTPTypesFoundation
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:51:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 49 |
 50 | @available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
 51 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 52 |     /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
 53 |     ///
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:155:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
153 |
154 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
155 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
156 |     /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
157 |     ///
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[87/161] Compiling HTTPTypesFoundation HTTPTypesFoundation.swift
[88/161] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[89/161] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[90/161] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:51:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 49 |
 50 | @available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
 51 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 52 |     /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
 53 |     ///
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:155:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
153 |
154 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
155 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
156 |     /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
157 |     ///
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:59:19: error: cannot find type 'URLSessionTaskDelegate' in scope
 57 |     public func data(
 58 |         for request: HTTPRequest,
 59 |         delegate: URLSessionTaskDelegate? = nil
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
 60 |     ) async throws -> (Data, HTTPResponse) {
 61 |         guard let urlRequest = URLRequest(httpRequest: request) else {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:80:19: error: cannot find type 'URLSessionTaskDelegate' in scope
 78 |         for request: HTTPRequest,
 79 |         fromFile fileURL: URL,
 80 |         delegate: URLSessionTaskDelegate? = nil
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
 81 |     ) async throws -> (Data, HTTPResponse) {
 82 |         guard let urlRequest = URLRequest(httpRequest: request) else {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:101:19: error: cannot find type 'URLSessionTaskDelegate' in scope
 99 |         for request: HTTPRequest,
100 |         from bodyData: Data,
101 |         delegate: URLSessionTaskDelegate? = nil
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
102 |     ) async throws -> (Data, HTTPResponse) {
103 |         guard let urlRequest = URLRequest(httpRequest: request) else {
/host/spi-builder-workspace/.build/checkouts/swift-http-types/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:120:19: error: cannot find type 'URLSessionTaskDelegate' in scope
118 |     public func download(
119 |         for request: HTTPRequest,
120 |         delegate: URLSessionTaskDelegate? = nil
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
121 |     ) async throws -> (URL, HTTPResponse) {
122 |         guard let urlRequest = URLRequest(httpRequest: request) else {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
/host/spi-builder-workspace/Sources/SwiftAPIClient/APIClientConfigs.swift:12:15: warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' contains non-Sendable type 'PartialKeyPath<APIClient.Configs>'; this is an error in the Swift 6 language mode
 10 | 	struct Configs: Sendable {
 11 |
 12 | 		private var values: [PartialKeyPath<APIClient.Configs>: Any] = [:]
    |               `- warning: stored property 'values' of 'Sendable'-conforming struct 'Configs' contains non-Sendable type 'PartialKeyPath<APIClient.Configs>'; this is an error in the Swift 6 language mode
 13 |
 14 | 		/// Initializes a new configuration set for `APIClient`.
Swift.PartialKeyPath:1:14: note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
1 | public class PartialKeyPath<Root> : AnyKeyPath {
  |              `- note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
2 |     deinit
3 | }
BUILD FAILURE 6.3 wasm