Build Information
Failed to build HTTPRequestable, reference develop (ab0a56), with Swift 6.1 for Wasm on 19 Mar 2026 05:03:41 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wmalloc/HTTPRequestable.git
Reference: develop
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/wmalloc/HTTPRequestable
* branch develop -> FETCH_HEAD
* [new branch] develop -> origin/develop
HEAD is now at ab0a56a Merge branch 'main' into develop
Cloned https://github.com/wmalloc/HTTPRequestable.git
Revision (git rev-parse @):
ab0a56a113b29d1621be92dabd6f0356811b3765
SUCCESS checkout https://github.com/wmalloc/HTTPRequestable.git at develop
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/wmalloc/HTTPRequestable.git
https://github.com/wmalloc/HTTPRequestable.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"default_localization" : "en",
"dependencies" : [
{
"identity" : "swift-http-types",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-http-types.git"
}
],
"manifest_display_name" : "HTTPRequestable",
"name" : "HTTPRequestable",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "tvos",
"version" : "16.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "9.0"
},
{
"name" : "maccatalyst",
"version" : "16.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "HTTPRequestable",
"targets" : [
"HTTPRequestable"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MockURLProtocol",
"targets" : [
"MockURLProtocol"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MockURLProtocol",
"module_type" : "SwiftTarget",
"name" : "MockURLProtocol",
"path" : "Sources/MockURLProtocol",
"product_dependencies" : [
"HTTPTypes",
"HTTPTypesFoundation"
],
"product_memberships" : [
"MockURLProtocol"
],
"sources" : [
"Bundle+LoadData.swift",
"HTTPField.Name+Testing.swift",
"HTTPRequestConfigurable+Testing.swift",
"MockURLProtocol.swift",
"RequestHandlerStorage.swift",
"String+Testing.swift",
"TestIdentifiable.swift"
],
"target_dependencies" : [
"HTTPRequestable"
],
"type" : "library"
},
{
"c99name" : "HTTPRequestableTests",
"module_type" : "SwiftTarget",
"name" : "HTTPRequestableTests",
"path" : "Tests/HTTPRequestableTests",
"product_dependencies" : [
"HTTPTypes",
"HTTPTypesFoundation"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/HTTPRequestableTests/MockData",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"BundleCertificatesTests.swift",
"HTTPContentTypeTests.swift",
"HTTPFieldValuesTests.swift",
"HTTPHeadersTests.swift",
"HTTPRequestModifierTests.swift",
"HTTPRequestableTests.swift",
"HackerNews.swift",
"HackerNewsAPITests.swift",
"HeaderFieldsTests.swift",
"MultiformDataTests.swift",
"QualityEncodedTests.swift",
"RequestInterceptorTests.swift",
"StoryListRequest.swift",
"URLSessionConfigurationTests.swift"
],
"target_dependencies" : [
"HTTPRequestable",
"MockURLProtocol"
],
"type" : "test"
},
{
"c99name" : "HTTPRequestable",
"module_type" : "SwiftTarget",
"name" : "HTTPRequestable",
"path" : "Sources/HTTPRequestable",
"product_dependencies" : [
"HTTPTypes",
"HTTPTypesFoundation"
],
"product_memberships" : [
"HTTPRequestable",
"MockURLProtocol"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/HTTPRequestable/Resources/Localizable.xcstrings",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Extensions/Data+Validation.swift",
"Extensions/FileManager+Temp.swift",
"Extensions/HTTPField+Common.swift",
"Extensions/HTTPField+Default.swift",
"Extensions/HTTPField.Name+Common.swift",
"Extensions/HTTPFields+Default.swift",
"Extensions/HTTPFields+Transferable.swift",
"Extensions/HTTPRequest+ContentTypes.swift",
"Extensions/HTTPResponse+ContentType.swift",
"Extensions/HTTPResponse+Error.swift",
"Extensions/HTTPURLResponse+Status.swift",
"Extensions/OperatingSystemVersion+Version.swift",
"Extensions/ProcessInfo+AppName.swift",
"Extensions/String+ASCII.swift",
"Extensions/String+OSName.swift",
"Extensions/String+UserAgent.swift",
"Extensions/URL+QueryItems.swift",
"Extensions/URLRequest+Builder.swift",
"Extensions/URLRequest+HTTPField.swift",
"Extensions/URLRequest+HTTPFields.swift",
"Extensions/URLResponse+HTTPResponse.swift",
"Extensions/URLSessionConfiguration+HTTPFields.swift",
"HTTPContentType.swift",
"HTTPDataResponse.swift",
"HTTPEnvironment.swift",
"HTTPError.swift",
"HTTPRequestConfigurable+Builder.swift",
"HTTPRequestConfigurable.swift",
"HTTPRequestConvertible.swift",
"HTTPTransferable.swift",
"HTTPTransportable.swift",
"Interceptors/HTTPInterceptor.swift",
"Interceptors/LoggerInterceptor.swift",
"Interceptors/OSLogInterceptor.swift",
"Model/KeyedItem.swift",
"Model/Quality+Languages.swift",
"Model/Quality.swift",
"MultipartForm/AnyMultipartFormBodyPart.swift",
"MultipartForm/Data+OutputStream.swift",
"MultipartForm/FileManager+Size.swift",
"MultipartForm/MultipartForm.swift",
"MultipartForm/MultipartFormBodyPart.swift",
"MultipartForm/MultipartFormError.swift",
"MultipartForm/String+MultipartForm.swift",
"MultipartForm/URLRequest+Multipart.swift",
"RequestModifier/HTTPRequest+Modifier.swift",
"RequestModifier/HTTPRequestHeadersModifier.swift",
"RequestModifier/HTTPRequestModifier.swift",
"RequestModifier/URLRequest+Modifier.swift",
"Security/Bundle+Certificates.swift",
"Security/HTTPServerTrustEvaluating.swift",
"Security/SecCertificate+Trust.swift",
"Security/SecKey+Trust.swift",
"Security/SecTrust+Trust.swift",
"Security/TrustError.swift",
"URLConvertible.swift",
"URLRequestConvertible.swift",
"URLSession+API.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a7b4552feb759c014e60bb7d16019351f72ce4b9f19dbbaa081e1f5551c90672
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-http-types.git
[1/951] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.24s)
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.81s)
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
Building for debugging...
[0/7] Write sources
[0/7] Copying Info.plist
[1/7] Write sources
[1/7] Copying Localizable.xcstrings
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/16] Compiling HTTPTypes ISOLatin1String.swift
[9/16] Compiling HTTPTypes HTTPResponse.swift
[10/17] Compiling HTTPTypes HTTPRequest.swift
[11/17] Compiling HTTPTypes NIOLock.swift
[12/17] Compiling HTTPTypes HTTPParsedFields.swift
[13/17] Compiling HTTPTypes HTTPRequest+URL.swift
[14/17] Compiling HTTPTypes HTTPField.swift
[15/17] Compiling HTTPTypes HTTPFieldName.swift
[16/17] Emitting module HTTPTypes
[17/17] Compiling HTTPTypes HTTPFields.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/24] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[20/24] 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
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
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
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
156 | /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
157 | ///
[21/24] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[22/24] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[23/24] Compiling HTTPTypesFoundation HTTPTypesFoundation.swift
[24/24] 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
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
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
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
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 {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a7b4552feb759c014e60bb7d16019351f72ce4b9f19dbbaa081e1f5551c90672
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/10] Compiling HTTPTypes ISOLatin1String.swift
[3/11] Compiling HTTPTypes HTTPParsedFields.swift
[4/11] Compiling HTTPTypes HTTPRequest+URL.swift
[5/11] Compiling HTTPTypes NIOLock.swift
[6/11] Compiling HTTPTypes HTTPRequest.swift
[7/11] Compiling HTTPTypes HTTPResponse.swift
[8/11] Compiling HTTPTypes HTTPField.swift
[9/11] Compiling HTTPTypes HTTPFieldName.swift
[10/11] Emitting module HTTPTypes
[11/11] Compiling HTTPTypes HTTPFields.swift
[13/18] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[14/18] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[15/18] 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
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
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
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
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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/18] Compiling HTTPTypesFoundation HTTPTypesFoundation.swift
[17/18] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[18/18] 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
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
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
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
156 | /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
157 | ///
BUILD FAILURE 6.1 wasm