The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-http-types, reference 1.8.0 (bff4b6), with Swift 6.2 for Wasm on 7 Sep 2026 14:59:21 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-http-types.git
Reference: 1.8.0
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/apple/swift-http-types
 * tag               1.8.0      -> FETCH_HEAD
HEAD is now at bff4b69 Regression fix: `HTTPField.Name.init(parsed:)` rejects uppercased names again (#155)
Cloned https://github.com/apple/swift-http-types.git
Revision (git rev-parse @):
bff4b6903cdc99dda49649dd52f46c11cfd3ed50
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-http-types.git at 1.8.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/apple/swift-http-types.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:70428a4f4110aef5b17a27427e965f31cf3855e8cf1dfdc416ed61c780337965
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/13] Emitting module HTTPTypes
[5/14] Compiling HTTPTypes HTTPResponse.swift
[6/14] Compiling HTTPTypes HTTP2ErrorCode.swift
[7/14] Compiling HTTPTypes HTTP3ErrorCode.swift
[8/14] Compiling HTTPTypes HTTPRequest.swift
[9/14] Compiling HTTPTypes HTTPField.swift
[10/14] Compiling HTTPTypes HTTPFieldName.swift
[11/14] Compiling HTTPTypes HTTPFieldValue.swift
[12/14] Compiling HTTPTypes HTTPParsedFields.swift
[13/14] Compiling HTTPTypes HTTPRequest+URL.swift
[14/14] Compiling HTTPTypes HTTPFields.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/21] Emitting module HTTPTypesFoundation
/host/spi-builder-workspace/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:50:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 48 | @available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
 49 | @available(HTTPTypes 1.0, *)
 50 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 51 |     /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
 52 |     ///
/host/spi-builder-workspace/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:155:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
153 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
154 | @available(HTTPTypes 1.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>
[17/21] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[18/21] Compiling HTTPTypesFoundation HTTPTypesFoundation.swift
[19/21] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
/host/spi-builder-workspace/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:50:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 48 | @available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
 49 | @available(HTTPTypes 1.0, *)
 50 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 51 |     /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
 52 |     ///
/host/spi-builder-workspace/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:155:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
153 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
154 | @available(HTTPTypes 1.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/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:15:8: warning: public import of 'Foundation' was not used in public declarations or inlinable code
 13 | //===----------------------------------------------------------------------===//
 14 |
 15 | public import Foundation
    |        `- warning: public import of 'Foundation' was not used in public declarations or inlinable code
 16 |
 17 | #if canImport(FoundationNetworking)
/host/spi-builder-workspace/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:58:19: error: cannot find type 'URLSessionTaskDelegate' in scope
 56 |     public func data(
 57 |         for request: HTTPRequest,
 58 |         delegate: URLSessionTaskDelegate? = nil
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
 59 |     ) async throws -> (Data, HTTPResponse) {
 60 |         guard let urlRequest = URLRequest(httpRequest: request) else {
/host/spi-builder-workspace/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:79:19: error: cannot find type 'URLSessionTaskDelegate' in scope
 77 |         for request: HTTPRequest,
 78 |         fromFile fileURL: URL,
 79 |         delegate: URLSessionTaskDelegate? = nil
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
 80 |     ) async throws -> (Data, HTTPResponse) {
 81 |         guard let urlRequest = URLRequest(httpRequest: request) else {
/host/spi-builder-workspace/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:100:19: error: cannot find type 'URLSessionTaskDelegate' in scope
 98 |         for request: HTTPRequest,
 99 |         from bodyData: Data,
100 |         delegate: URLSessionTaskDelegate? = nil
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
101 |     ) async throws -> (Data, HTTPResponse) {
102 |         guard let urlRequest = URLRequest(httpRequest: request) else {
/host/spi-builder-workspace/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:119:19: error: cannot find type 'URLSessionTaskDelegate' in scope
117 |     public func download(
118 |         for request: HTTPRequest,
119 |         delegate: URLSessionTaskDelegate? = nil
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
120 |     ) async throws -> (URL, HTTPResponse) {
121 |         guard let urlRequest = URLRequest(httpRequest: request) else {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[20/21] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
/host/spi-builder-workspace/Sources/HTTPTypesFoundation/URLResponse+HTTPTypes.swift:15:8: warning: public import of 'Foundation' was not used in public declarations or inlinable code
13 | //===----------------------------------------------------------------------===//
14 |
15 | public import Foundation
   |        `- warning: public import of 'Foundation' was not used in public declarations or inlinable code
16 |
17 | #if canImport(FoundationNetworking)
[21/21] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
/host/spi-builder-workspace/Sources/HTTPTypesFoundation/URLRequest+HTTPTypes.swift:18:8: warning: public import of 'Foundation' was not used in public declarations or inlinable code
 16 | public import FoundationNetworking
 17 | #else
 18 | public import Foundation
    |        `- warning: public import of 'Foundation' was not used in public declarations or inlinable code
 19 | #endif
 20 |
BUILD FAILURE 6.2 wasm