Build Information
Failed to build swift-http-error-handling, reference main (ee3026), with Swift 6.3 for Wasm on 14 Apr 2026 06:09:12 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fumoboy007/swift-http-error-handling.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/fumoboy007/swift-http-error-handling
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ee3026b Rename `_AdditionalSnippetDependencies` product/target to be more specific to avoid name collisions across packages.
Cloned https://github.com/fumoboy007/swift-http-error-handling.git
Revision (git rev-parse @):
ee3026b915f6a43391992e5b9027c2b928a57406
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/fumoboy007/swift-http-error-handling.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/fumoboy007/swift-http-error-handling.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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-docc-plugin.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/fumoboy007/swift-retry.git
[1/229] Fetching swift-retry
[230/1262] Fetching swift-retry, swift-http-types
[809/3533] Fetching swift-retry, swift-http-types, swift-docc-plugin
Fetched https://github.com/fumoboy007/swift-retry.git from cache (0.25s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.27s)
[273/2271] Fetching swift-docc-plugin
[1069/8832] Fetching swift-docc-plugin, swift-log
Fetched https://github.com/apple/swift-docc-plugin.git from cache (0.42s)
[6561/6561] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.55s)
Computing version for https://github.com/fumoboy007/swift-retry.git
Computed https://github.com/fumoboy007/swift-retry.git at 0.2.4 (1.24s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.4.6 (3.85s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.60s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.32s)
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.39s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (1.39s)
Creating working copy for https://github.com/fumoboy007/swift-retry.git
Working copy of https://github.com/fumoboy007/swift-retry.git resolved at 0.2.4
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/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.4.6
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.11.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/47] Write sources
[16/47] Write swift-version-24593BA9C3E375BF.txt
[18/62] Compiling HTTPTypes ISOLatin1String.swift
[19/63] Compiling HTTPTypes HTTPParsedFields.swift
[20/63] Compiling HTTPTypes HTTPResponse.swift
[21/63] Compiling HTTPTypes HTTPRequest.swift
[22/63] Compiling HTTPTypes HTTPRequest+URL.swift
[23/63] Compiling Logging Locks.swift
[24/63] Compiling HTTPTypes NIOLock.swift
[25/63] Compiling Logging MetadataProvider.swift
[26/63] Compiling Logging LogEvent.swift
[27/63] Emitting module Logging
[28/63] Compiling Logging LogHandler.swift
[29/63] Compiling Logging Logging.swift
[30/64] Wrapping AST for Logging for debugging
[32/79] Compiling Retry Error+OriginalError.swift
[33/79] Compiling Retry NotRetryable.swift
[34/79] Compiling Retry Retryable.swift
[35/79] Compiling Retry RetryableRequest+SafeRetry.swift
[36/79] Compiling Retry Logger+RetryMetadataKey.swift
[37/79] Compiling Retry RecoveryAction.swift
[38/79] Compiling Retry Backoff.swift
[39/79] Compiling Retry BackoffAlgorithm.swift
[40/80] Compiling Retry RetryableRequest.swift
[41/80] Emitting module HTTPTypes
[42/80] Compiling Retry ConstantBackoff.swift
[43/80] Compiling Retry FullJitterExponentialBackoff.swift
[44/80] Compiling HTTPTypes HTTPFields.swift
[45/80] Emitting module Retry
[46/80] Compiling Retry RandomNumberGenerator.swift
[47/80] Compiling Retry StandardRandomNumberGenerator.swift
[50/81] Wrapping AST for HTTPTypes for debugging
[52/87] Compiling Retry Retry.swift
[53/87] Compiling Retry RetryConfiguration.swift
[54/96] Wrapping AST for Retry for debugging
[56/97] Compiling HTTPErrorHandling HTTPRequestMethod+IsIdempotent.swift
[57/98] Compiling HTTPErrorHandling HTTPResponseStatus+Interpretation.swift
[58/98] Compiling HTTPErrorHandling HTTPApplicationError.swift
[59/98] Compiling HTTPErrorHandling HTTPApplicationErrorProtocol.swift
[60/98] Compiling HTTPErrorHandling HTTPRequest+RetryableRequest.swift
/host/spi-builder-workspace/Sources/HTTPErrorHandling/Retry/HTTPRequest+RetryableRequest.swift:43:1: warning: extension declares a conformance of imported type 'HTTPRequest' to imported protocol 'RetryableRequest'; this will not behave correctly if the owners of 'HTTPTypes' introduce this conformance in the future
41 | ///
42 | /// - SeeAlso: [`Retry`](https://fumoboy007.github.io/swift-retry/documentation/retry/)
43 | extension HTTPRequest: RetryableRequest {
| |- warning: extension declares a conformance of imported type 'HTTPRequest' to imported protocol 'RetryableRequest'; this will not behave correctly if the owners of 'HTTPTypes' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
44 | public var isIdempotent: Bool {
45 | return method.isIdempotent
/host/spi-builder-workspace/Sources/HTTPErrorHandling/Retry/HTTPRequest+RetryableRequest.swift:50:8: warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
48 | public func unsafeRetryIgnoringIdempotency<ClockType, ReturnType>(
49 | with configuration: RetryConfiguration<ClockType>,
50 | @_inheritActorContext @_implicitSelfCapture operation: (Self) async throws -> ReturnType
| `- warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
51 | ) async throws -> ReturnType {
52 | let configuration = configuration.withRecoverFromFailure { error in
[61/98] Compiling HTTPErrorHandling HTTPResponse+Interpretation.swift
/host/spi-builder-workspace/Sources/HTTPErrorHandling/Interpretation/HTTPResponse+Interpretation.swift:68:8: warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
66 | successStatuses: Set<Status> = HTTPResponse.Status.successes,
67 | transientFailureStatuses: Set<Status> = HTTPResponse.Status.transientFailures,
68 | @_inheritActorContext @_implicitSelfCapture makeResponseBody: () async throws -> ResponseBodyType
| `- warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
69 | ) async throws {
70 | precondition(successStatuses.isDisjoint(with: transientFailureStatuses))
[62/98] Emitting module HTTPErrorHandling
/host/spi-builder-workspace/Sources/HTTPErrorHandling/Interpretation/HTTPResponse+Interpretation.swift:68:8: warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
66 | successStatuses: Set<Status> = HTTPResponse.Status.successes,
67 | transientFailureStatuses: Set<Status> = HTTPResponse.Status.transientFailures,
68 | @_inheritActorContext @_implicitSelfCapture makeResponseBody: () async throws -> ResponseBodyType
| `- warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
69 | ) async throws {
70 | precondition(successStatuses.isDisjoint(with: transientFailureStatuses))
/host/spi-builder-workspace/Sources/HTTPErrorHandling/Retry/HTTPRequest+RetryableRequest.swift:43:1: warning: extension declares a conformance of imported type 'HTTPRequest' to imported protocol 'RetryableRequest'; this will not behave correctly if the owners of 'HTTPTypes' introduce this conformance in the future
41 | ///
42 | /// - SeeAlso: [`Retry`](https://fumoboy007.github.io/swift-retry/documentation/retry/)
43 | extension HTTPRequest: RetryableRequest {
| |- warning: extension declares a conformance of imported type 'HTTPRequest' to imported protocol 'RetryableRequest'; this will not behave correctly if the owners of 'HTTPTypes' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
44 | public var isIdempotent: Bool {
45 | return method.isIdempotent
/host/spi-builder-workspace/Sources/HTTPErrorHandling/Retry/HTTPRequest+RetryableRequest.swift:50:8: warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
48 | public func unsafeRetryIgnoringIdempotency<ClockType, ReturnType>(
49 | with configuration: RetryConfiguration<ClockType>,
50 | @_inheritActorContext @_implicitSelfCapture operation: (Self) async throws -> ReturnType
| `- warning: @_inheritActorContext only applies to 'sending' parameters or parameters with '@Sendable' function types; this will be an error in a future Swift language mode
51 | ) async throws -> ReturnType {
52 | let configuration = configuration.withRecoverFromFailure { error in
error: emit-module command failed with exit code 1 (use -v to see invocation)
[63/98] 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>
[64/98] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[65/98] Compiling HTTPErrorHandling RecoveryAction+FromHTTPApplicationError.swift
[66/98] 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>
[67/98] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[68/98] Compiling HTTPTypesFoundation HTTPTypesFoundation.swift
[69/98] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[70/98] Compiling HTTPErrorHandling Date+FromHTTPDateString.swift
[71/98] Compiling HTTPErrorHandling HTTPResponse+RetryAfterValue.swift
BUILD FAILURE 6.3 wasm