The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-http-types, reference main (c98018), with Swift 6.1 for Wasm on 2 Apr 2026 20:23:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-http-types.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/apple/swift-http-types
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c980182 Drop Swift 6.0 (#114)
Cloned https://github.com/apple/swift-http-types.git
Revision (git rev-parse @):
c98018204baf1e2515508f3e4430af3dc07b5733
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-http-types.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/apple/swift-http-types.git
https://github.com/apple/swift-http-types.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-http-types",
  "name" : "swift-http-types",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "HTTPTypes",
      "targets" : [
        "HTTPTypes"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "HTTPTypesFoundation",
      "targets" : [
        "HTTPTypesFoundation"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HTTPTypesTests",
      "module_type" : "SwiftTarget",
      "name" : "HTTPTypesTests",
      "path" : "Tests/HTTPTypesTests",
      "sources" : [
        "HTTPTypesTests.swift",
        "HTTPTypesURLTests.swift"
      ],
      "target_dependencies" : [
        "HTTPTypes"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HTTPTypesFoundationTests",
      "module_type" : "SwiftTarget",
      "name" : "HTTPTypesFoundationTests",
      "path" : "Tests/HTTPTypesFoundationTests",
      "sources" : [
        "HTTPTypesFoundationTests.swift"
      ],
      "target_dependencies" : [
        "HTTPTypesFoundation"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HTTPTypesFoundation",
      "module_type" : "SwiftTarget",
      "name" : "HTTPTypesFoundation",
      "path" : "Sources/HTTPTypesFoundation",
      "product_memberships" : [
        "HTTPTypesFoundation"
      ],
      "sources" : [
        "HTTPTypes+ISOLatin1.swift",
        "HTTPTypesFoundation.swift",
        "URLRequest+HTTPTypes.swift",
        "URLResponse+HTTPTypes.swift",
        "URLSession+HTTPTypes.swift"
      ],
      "target_dependencies" : [
        "HTTPTypes"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HTTPTypes",
      "module_type" : "SwiftTarget",
      "name" : "HTTPTypes",
      "path" : "Sources/HTTPTypes",
      "product_memberships" : [
        "HTTPTypes",
        "HTTPTypesFoundation"
      ],
      "sources" : [
        "HTTPField.swift",
        "HTTPFieldName.swift",
        "HTTPFields.swift",
        "HTTPParsedFields.swift",
        "HTTPRequest+URL.swift",
        "HTTPRequest.swift",
        "HTTPResponse.swift",
        "ISOLatin1String.swift",
        "NIOLock.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:c3bd0c8eb125dea46564a1eb8b09ee779ba7ae350b1ee58b5e9d6ff6c39cef37
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/12] Compiling HTTPTypes ISOLatin1String.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[5/13] Compiling HTTPTypes HTTPRequest.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[6/13] Compiling HTTPTypes HTTPResponse.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[7/13] Compiling HTTPTypes HTTPRequest+URL.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[8/13] Compiling HTTPTypes HTTPParsedFields.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[9/13] Compiling HTTPTypes NIOLock.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[10/13] Compiling HTTPTypes HTTPField.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[11/13] Compiling HTTPTypes HTTPFieldName.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[12/13] Emitting module HTTPTypes
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[13/13] Compiling HTTPTypes HTTPFields.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/20] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[16/20] Emitting module HTTPTypesFoundation
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:49:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 47 |
 48 | @available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
 49 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 50 |     /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
 51 |     ///
/host/spi-builder-workspace/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:153:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
151 |
152 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
153 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
154 |     /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
155 |     ///
[17/20] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:49:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 47 |
 48 | @available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
 49 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 50 |     /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
 51 |     ///
/host/spi-builder-workspace/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:153:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
151 |
152 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
153 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
154 |     /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
155 |     ///
/host/spi-builder-workspace/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:57:19: error: cannot find type 'URLSessionTaskDelegate' in scope
 55 |     public func data(
 56 |         for request: HTTPRequest,
 57 |         delegate: URLSessionTaskDelegate? = nil
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
 58 |     ) async throws -> (Data, HTTPResponse) {
 59 |         guard let urlRequest = URLRequest(httpRequest: request) else {
/host/spi-builder-workspace/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:78:19: error: cannot find type 'URLSessionTaskDelegate' in scope
 76 |         for request: HTTPRequest,
 77 |         fromFile fileURL: URL,
 78 |         delegate: URLSessionTaskDelegate? = nil
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
 79 |     ) async throws -> (Data, HTTPResponse) {
 80 |         guard let urlRequest = URLRequest(httpRequest: request) else {
/host/spi-builder-workspace/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:99:19: error: cannot find type 'URLSessionTaskDelegate' in scope
 97 |         for request: HTTPRequest,
 98 |         from bodyData: Data,
 99 |         delegate: URLSessionTaskDelegate? = nil
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
100 |     ) async throws -> (Data, HTTPResponse) {
101 |         guard let urlRequest = URLRequest(httpRequest: request) else {
/host/spi-builder-workspace/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:118:19: error: cannot find type 'URLSessionTaskDelegate' in scope
116 |     public func download(
117 |         for request: HTTPRequest,
118 |         delegate: URLSessionTaskDelegate? = nil
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
119 |     ) async throws -> (URL, HTTPResponse) {
120 |         guard let urlRequest = URLRequest(httpRequest: request) else {
[18/20] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[19/20] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[20/20] Compiling HTTPTypesFoundation HTTPTypesFoundation.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:c3bd0c8eb125dea46564a1eb8b09ee779ba7ae350b1ee58b5e9d6ff6c39cef37
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 NIOLock.swift
[4/11] Emitting module HTTPTypes
[5/11] Compiling HTTPTypes HTTPField.swift
[6/11] Compiling HTTPTypes HTTPFieldName.swift
[7/11] Compiling HTTPTypes HTTPRequest+URL.swift
[8/11] Compiling HTTPTypes HTTPRequest.swift
[9/11] Compiling HTTPTypes HTTPResponse.swift
[10/11] Compiling HTTPTypes HTTPParsedFields.swift
[11/11] Compiling HTTPTypes HTTPFields.swift
[13/18] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[14/18] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
/host/spi-builder-workspace/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:49:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 47 |
 48 | @available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
 49 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 50 |     /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
 51 |     ///
/host/spi-builder-workspace/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:153:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
151 |
152 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
153 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
154 |     /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
155 |     ///
/host/spi-builder-workspace/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:57:19: error: cannot find type 'URLSessionTaskDelegate' in scope
 55 |     public func data(
 56 |         for request: HTTPRequest,
 57 |         delegate: URLSessionTaskDelegate? = nil
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
 58 |     ) async throws -> (Data, HTTPResponse) {
 59 |         guard let urlRequest = URLRequest(httpRequest: request) else {
/host/spi-builder-workspace/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:78:19: error: cannot find type 'URLSessionTaskDelegate' in scope
 76 |         for request: HTTPRequest,
 77 |         fromFile fileURL: URL,
 78 |         delegate: URLSessionTaskDelegate? = nil
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
 79 |     ) async throws -> (Data, HTTPResponse) {
 80 |         guard let urlRequest = URLRequest(httpRequest: request) else {
/host/spi-builder-workspace/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:99:19: error: cannot find type 'URLSessionTaskDelegate' in scope
 97 |         for request: HTTPRequest,
 98 |         from bodyData: Data,
 99 |         delegate: URLSessionTaskDelegate? = nil
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
100 |     ) async throws -> (Data, HTTPResponse) {
101 |         guard let urlRequest = URLRequest(httpRequest: request) else {
/host/spi-builder-workspace/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:118:19: error: cannot find type 'URLSessionTaskDelegate' in scope
116 |     public func download(
117 |         for request: HTTPRequest,
118 |         delegate: URLSessionTaskDelegate? = nil
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
119 |     ) async throws -> (URL, HTTPResponse) {
120 |         guard let urlRequest = URLRequest(httpRequest: request) else {
[15/18] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
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/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:49:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 47 |
 48 | @available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
 49 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 50 |     /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
 51 |     ///
/host/spi-builder-workspace/Sources/HTTPTypesFoundation/URLSession+HTTPTypes.swift:153:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
151 |
152 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
153 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
154 |     /// Convenience method to load data using an `HTTPRequest`; creates and resumes a `URLSessionDataTask` internally.
155 |     ///
BUILD FAILURE 6.1 wasm