The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build GitHubKit, reference main (0635f8), with Swift 6.1 for Wasm on 1 Dec 2025 13:18:01 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/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/zunda-pixel/GitHubKit.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/zunda-pixel/GitHubKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 0635f85 Bump actions/checkout from 5 to 6 (#19)
Cloned https://github.com/zunda-pixel/GitHubKit.git
Revision (git rev-parse @):
0635f85a436c54a3aaa6d8a6a04be9fb41992d31
SUCCESS checkout https://github.com/zunda-pixel/GitHubKit.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/zunda-pixel/GitHubKit.git
https://github.com/zunda-pixel/GitHubKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-http-types",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-http-types"
    },
    {
      "identity" : "swift-tagged",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.10.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-tagged"
    },
    {
      "identity" : "http-client",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/zunda-pixel/http-client"
    }
  ],
  "manifest_display_name" : "GitHubKit",
  "name" : "GitHubKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "GitHubAPI",
      "targets" : [
        "GitHubAPI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GitHubKitTests",
      "module_type" : "SwiftTarget",
      "name" : "GitHubKitTests",
      "path" : "Tests/GitHubKitTests",
      "sources" : [
        "API.swift",
        "Activity/EventsTests.swift",
        "Activity/NotificationsTests.swift",
        "CollaboratorsTests.swift",
        "DataCodableTests.swift",
        "DiscussionsTests.swift",
        "GitignoreTests.swift",
        "IssuesTests.swift",
        "Licenses/LicensesTests.swift",
        "OAuthTests.swift",
        "PullRequestsTests.swift",
        "ReleasesTests.swift",
        "RepositoriesTests.swift",
        "SearchTests.swift",
        "UserTests.swift"
      ],
      "target_dependencies" : [
        "GitHubAPI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GitHubData",
      "module_type" : "SwiftTarget",
      "name" : "GitHubData",
      "path" : "Sources/GitHubData",
      "product_dependencies" : [
        "Tagged"
      ],
      "product_memberships" : [
        "GitHubAPI"
      ],
      "sources" : [
        "Branch/AutoMerge.swift",
        "Branch/Branch.swift",
        "Branch/MergeState.swift",
        "Collaborators/Collaborator.swift",
        "Collaborators/Role.swift",
        "Contributors/Contributor.swift",
        "Discussions/Category.swift",
        "Discussions/Discussion.swift",
        "Discussions/DiscussionComment.swift",
        "Discussions/DiscussionLabel.swift",
        "Discussions/DiscussionPoll.swift",
        "Discussions/DiscussionPollOption.swift",
        "Discussions/DiscussionReaction.swift",
        "Discussions/DiscussionStateReason.swift",
        "Discussions/DiscussionUser.swift",
        "Discussions/PageInfo.swift",
        "Discussions/SubscriptionState.swift",
        "Events/Commit/Commit.swift",
        "Events/Commit/CommitComment.swift",
        "Events/Commit/CommitUser.swift",
        "Events/Event.swift",
        "Events/EventAction.swift",
        "Events/EventPage.swift",
        "Events/EventRepository.swift",
        "Events/EventType.swift",
        "Events/EventUser.swift",
        "Events/Payload.swift",
        "Gitignore/GitignoreTemplate.swift",
        "Issue/Issue.swift",
        "Issue/IssueComment.swift",
        "Issue/IssueState.swift",
        "Issue/IssueStateReason.swift",
        "Label/Label.swift",
        "License/Encoding.swift",
        "License/License.swift",
        "License/LicenseType.swift",
        "License/TemplateLicense.swift",
        "Milestone/Milestone.swift",
        "Milestone/MilestoneState.swift",
        "Notifications/Notification.swift",
        "Notifications/NotificationReason.swift",
        "Notifications/Subject.swift",
        "Notifications/SubjectType.swift",
        "Other/ActiveLockReason.swift",
        "Other/AuthorAssociation.swift",
        "Other/PerformGitHubApp.swift",
        "Other/PermissionType.swift",
        "Other/Plan.swift",
        "PullRequest/PullComment.swift",
        "PullRequest/PullRequest.swift",
        "PullRequest/PullReview.swift",
        "PullRequest/PullState.swift",
        "PullRequest/SimplePull.swift",
        "Reaction/Reaction.swift",
        "Releases/Asset.swift",
        "Releases/AssetState.swift",
        "Releases/Release.swift",
        "Repository/CodeConduct.swift",
        "Repository/MergeCommit.swift",
        "Repository/Permission.swift",
        "Repository/ProtectionTag.swift",
        "Repository/RepositoriesResponse.swift",
        "Repository/Repository.swift",
        "Repository/SecurityAnalytics.swift",
        "Repository/SimpleLicense.swift",
        "Repository/SquashMergeCommit.swift",
        "Repository/Tag.swift",
        "Repository/TemplateRepository.swift",
        "Repository/Visibility.swift",
        "Teams/NotificationSettings.swift",
        "Teams/ParentTeam.swift",
        "Teams/Privacy.swift",
        "Teams/Team.swift",
        "User/Hovercard.swift",
        "User/SocialAccount.swift",
        "User/User.swift",
        "User/UserType.swift",
        "User/UsersResponse.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "GitHubAPI",
      "module_type" : "SwiftTarget",
      "name" : "GitHubAPI",
      "path" : "Sources/GitHubAPI",
      "product_dependencies" : [
        "HTTPTypes",
        "HTTPClient"
      ],
      "product_memberships" : [
        "GitHubAPI"
      ],
      "sources" : [
        "Acitivity/Events/Events.swift",
        "Acitivity/Events/NetworkEvents.swift",
        "Acitivity/Events/OrganizationEvents.swift",
        "Acitivity/Events/PublicEvents.swift",
        "Acitivity/Events/ReceivedEvents.swift",
        "Acitivity/Events/RepositoryEvents.swift",
        "Acitivity/Notifications/Notifications.swift",
        "Acitivity/Starring/Stargazers.swift",
        "AuthorizationType.swift",
        "Codable++.swift",
        "Collaborators/Collaborators.swift",
        "Decoder.swift",
        "Discussions/Discussion.swift",
        "Discussions/DiscussionComments.swift",
        "Discussions/DiscussionOrderField.swift",
        "Discussions/DiscussionResponse.swift",
        "Discussions/Discussions.swift",
        "Error/ErrorResponse.swift",
        "Error/RequestError.swift",
        "Error/UnknownError.swift",
        "GitHubAPI.swift",
        "GitHubErrorError.swift",
        "Gitignore/AllGitignoreTemplateNames.swift",
        "Gitignore/GitIgnoreTemplate.swift",
        "Issue/Comments.swift",
        "Issue/Issue.swift",
        "Issue/IssueSearchSortType.swift",
        "Issue/IssueSearchState.swift",
        "Issue/Issues.swift",
        "License/Licenses.swift",
        "License/TemplateLicenses.swift",
        "OAuth/OAuth.swift",
        "OAuth/OAuthRequest.swift",
        "OAuth/OAuthResponse.swift",
        "OAuth/Scope.swift",
        "OAuth/TokenType.swift",
        "OrderType.swift",
        "PullRequets/PullRequest.swift",
        "PullRequets/PullRequests.swift",
        "Releases/Release.swift",
        "Releases/Releases.swift",
        "Repositories/Foks/CreateFork.swift",
        "Repositories/Foks/Forks.swift",
        "Repositories/Foks/ForksSearchSortType.swift",
        "Repositories/ProtentionTags/CreateProtectionTag.swift",
        "Repositories/ProtentionTags/DeleteProtectionTag.swift",
        "Repositories/ProtentionTags/ProtectionTags.swift",
        "Repositories/Repositories/Contributors.swift",
        "Repositories/Repositories/CreateRepository.swift",
        "Repositories/Repositories/CreateRepositoryWithTemplate.swift",
        "Repositories/Repositories/DeleteRepository.swift",
        "Repositories/Repositories/Languages.swift",
        "Repositories/Repositories/NewRepository.swift",
        "Repositories/Repositories/OrganizationRepositories.swift",
        "Repositories/Repositories/OrganizationRepositorySearchType.swift",
        "Repositories/Repositories/OwnedRepositories.swift",
        "Repositories/Repositories/Repositories.swift",
        "Repositories/Repositories/Repository.swift",
        "Repositories/Repositories/RepositorySearchType.swift",
        "Repositories/Repositories/RepositorySortType.swift",
        "Repositories/Repositories/SetTopics.swift",
        "Repositories/Repositories/Tags.swift",
        "Repositories/Repositories/Teams.swift",
        "Repositories/Repositories/Topics.swift",
        "Repositories/Repositories/TopicsResponse.swift",
        "Repositories/Repositories/UpdateRepository.swift",
        "Search/RepositorySearchSortType.swift",
        "Search/SearchRepositories.swift",
        "Search/SearchUsers.swift",
        "Search/UserSortType.swift",
        "URL++.swift",
        "User/Blocking/BlockUser.swift",
        "User/Blocking/BlockingUsers.swift",
        "User/Blocking/IsBlocked.swift",
        "User/Blocking/UnblockUser.swift",
        "User/Followers/Follow.swift",
        "User/Followers/Followers.swift",
        "User/Followers/Following.swift",
        "User/Followers/IsFollowing.swift",
        "User/SocialAccounts/AddSocialAccount.swift",
        "User/SocialAccounts/DeleteSocialAccount.swift",
        "User/SocialAccounts/SocialAccounts.swift",
        "User/User/Hovercards.swift",
        "User/User/UpdateMe.swift",
        "User/User/UpdateUser.swift",
        "User/User/User.swift",
        "User/User/me.swift",
        "VerifyResopnseStatus.swift",
        "exported.swift"
      ],
      "target_dependencies" : [
        "GitHubData"
      ],
      "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/finestructure/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 finestructure/spi-images
Digest: sha256:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/zunda-pixel/http-client
Fetching https://github.com/apple/swift-http-types
Fetching https://github.com/pointfreeco/swift-tagged
[1/943] Fetching swift-http-types
[944/1092] Fetching swift-http-types, http-client
[1093/2310] Fetching swift-http-types, http-client, swift-tagged
Fetched https://github.com/apple/swift-http-types from cache (0.28s)
Fetched https://github.com/zunda-pixel/http-client from cache (0.33s)
Fetched https://github.com/pointfreeco/swift-tagged from cache (0.33s)
Computing version for https://github.com/pointfreeco/swift-tagged
Computed https://github.com/pointfreeco/swift-tagged at 0.10.0 (2.83s)
Computing version for https://github.com/zunda-pixel/http-client
Computed https://github.com/zunda-pixel/http-client at 0.3.1 (0.58s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.5.1 (0.60s)
Creating working copy for https://github.com/zunda-pixel/http-client
Working copy of https://github.com/zunda-pixel/http-client resolved at 0.3.1
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.5.1
Creating working copy for https://github.com/pointfreeco/swift-tagged
Working copy of https://github.com/pointfreeco/swift-tagged resolved at 0.10.0
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/19] Compiling HTTPTypes HTTPResponse.swift
[9/19] Compiling HTTPTypes ISOLatin1String.swift
[10/20] Compiling HTTPTypes HTTPRequest.swift
[11/20] Compiling HTTPTypes NIOLock.swift
[12/20] Compiling HTTPTypes HTTPParsedFields.swift
[13/20] Compiling HTTPTypes HTTPRequest+URL.swift
[14/20] Emitting module Tagged
[15/20] Compiling Tagged Tagged.swift
[16/20] Compiling Tagged UUID.swift
[18/91] Compiling HTTPTypes HTTPFields.swift
[19/91] Compiling GitHubData AutoMerge.swift
[20/91] Compiling GitHubData Branch.swift
[21/91] Emitting module HTTPTypes
[23/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
 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 {
[24/98] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[25/98] Compiling HTTPTypesFoundation HTTPTypesFoundation.swift
[26/98] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/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
 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 |     ///
[28/98] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
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/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/13] Compiling Tagged UUID.swift
[3/13] Emitting module Tagged
[4/13] Compiling HTTPTypes ISOLatin1String.swift
[5/14] Compiling Tagged Tagged.swift
[6/15] Compiling HTTPTypes NIOLock.swift
[7/15] Compiling HTTPTypes HTTPResponse.swift
[9/15] Emitting module HTTPTypes
[10/15] Compiling HTTPTypes HTTPField.swift
[11/15] Compiling HTTPTypes HTTPFieldName.swift
[12/15] Compiling HTTPTypes HTTPRequest.swift
[13/15] Compiling HTTPTypes HTTPParsedFields.swift
[14/15] Compiling HTTPTypes HTTPFields.swift
[15/15] Compiling HTTPTypes HTTPRequest+URL.swift
[17/92] Compiling HTTPTypesFoundation HTTPTypesFoundation.swift
[18/92] 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 {
[19/92] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[20/92] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/92] 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 |     ///
[22/92] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
BUILD FAILURE 6.1 wasm