The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SimpleNetworking, reference main (c624a7), with Swift 6.4 for Wasm on 8 Nov 2026 20:50:39 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-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.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xWDG/SimpleNetworking.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/0xWDG/SimpleNetworking
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c624a7c Updates
Cloned https://github.com/0xWDG/SimpleNetworking.git
Revision (git rev-parse @):
c624a7c102d985f026e2258c0234fe4da1eba212
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/0xWDG/SimpleNetworking.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/0xWDG/SimpleNetworking.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-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.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:439c9a525449f13061cf4a8f755895df6bdc90ef7885bc03630392396f826d74
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Building for debugging...
[Pre-planning 1 / 95]
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking.swift:65:34: error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |     /// Protects all mutable client state used by concurrent requests.
 64 |     internal let stateLock = NSLock()
 65 |     internal var cookieStorage: [HTTPCookie]? = []
    |                                  `- error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 66 |     internal var headerStorage: [HTTPHeader]? = []
 67 |     internal var fullResponseStorage: String? = ""
Foundation.HTTPCookie:2:18: note: 'HTTPCookie' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPCookie = AnyObject
  |                  `- note: 'HTTPCookie' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking.swift:70:26: error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |
 69 |     /// All the cookies. Prefer the cookie helper methods for atomic updates.
 70 |     public var cookies: [HTTPCookie]? {
    |                          `- error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |         get { withStateLock { cookieStorage } }
 72 |         set { withStateLock { cookieStorage = newValue } }
Foundation.HTTPCookie:2:18: note: 'HTTPCookie' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPCookie = AnyObject
  |                  `- note: 'HTTPCookie' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking.swift:100:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |
 99 |     /// custom session
100 |     internal var session: URLSession?
    |                           `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
101 |
102 |     /// Streaming response handler for connection open event
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking.swift:112:24: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
110 |
111 |     /// URLSession Data Task
112 |     internal var task: URLSessionDataTask?
    |                        `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
113 |
114 |     /// EventSource session
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking.swift:115:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
113 |
114 |     /// EventSource session
115 |     internal var ESsession: URLSession?
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
116 |
117 |     /// Websocket socket
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking.swift:118:28: error: cannot find type 'URLSessionWebSocketTask' in scope
116 |
117 |     /// Websocket socket
118 |     internal var WSSocket: URLSessionWebSocketTask?
    |                            `- error: cannot find type 'URLSessionWebSocketTask' in scope
119 |
120 |     /// Websocket connection tries
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking.swift:144:66: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
142 |
143 |     /// Create an isolated networking client with immutable initial settings.
144 |     public init(configuration: Configuration = .init(), session: URLSession? = nil) {
    |                                                                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
145 |         serverURL = configuration.serverURL
146 |         userAgent = configuration.userAgent
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking.swift:169:22: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
167 |         let authorization: String?
168 |         let headers: [HTTPHeader]
169 |         let session: URLSession?
    |                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
170 |         let mocks: [String: SNMock]
171 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking.swift:225:30: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
223 |     /// Set the session
224 |     /// - Parameter session: session
225 |     public func set(session: URLSession) {
    |                              `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
226 |         withStateLock { self.session = session }
227 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking.swift:245:36: error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
243 |     /// Add or replace a stored cookie by name.
244 |     /// - Parameter add: Cookie to store; any stored cookie with the same name is replaced.
245 |     public func cookie(add cookie: HTTPCookie) {
    |                                    `- error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
246 |         withStateLock {
247 |             cookieStorage?.removeAll(where: { $0.name == cookie.name })
Foundation.HTTPCookie:2:18: note: 'HTTPCookie' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPCookie = AnyObject
  |                  `- note: 'HTTPCookie' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking.swift:270:29: error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
268 |     /// Add or replace a stored cookie by name.
269 |     /// - Parameter add: Cookie to store; any stored cookie with the same name is replaced.
270 |     public func add(cookie: HTTPCookie) {
    |                             `- error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
271 |         withStateLock {
272 |             cookieStorage?.removeAll(where: { $0.name == cookie.name })
Foundation.HTTPCookie:2:18: note: 'HTTPCookie' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPCookie = AnyObject
  |                  `- note: 'HTTPCookie' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/EventSource.swift:83:38: error: cannot find type 'URLSessionDataDelegate' in scope
81 | }
82 |
83 | class EventSourceDelegate: NSObject, URLSessionDataDelegate, @unchecked Sendable {
   |                                      `- error: cannot find type 'URLSessionDataDelegate' in scope
84 |     internal var onMessage: ((Data) -> Void)?
85 |
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/EventSource.swift:90:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
88 |     }
89 |
90 |     public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
   |                                       `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
91 |         onMessage?(data)
92 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/EventSource.swift:90:61: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
88 |     }
89 |
90 |     public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
   |                                                             `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
91 |         onMessage?(data)
92 |     }
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/cookies.swift:19:40: error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 17 |
 18 | extension SimpleNetworking {
 19 |     internal func cookieSnapshot() -> [HTTPCookie] {
    |                                        `- error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 20 |         withStateLock { cookieStorage ?? [] }
 21 |     }
Foundation.HTTPCookie:2:18: note: 'HTTPCookie' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPCookie = AnyObject
  |                  `- note: 'HTTPCookie' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/cookies.swift:23:54: error: cannot find type 'URLRequest' in scope
 21 |     }
 22 |
 23 |     internal func addStoredCookies(to request: inout URLRequest) {
    |                                                      `- error: cannot find type 'URLRequest' in scope
 24 |         let storedCookies = withStateLock { cookieStorage ?? [] }
 25 |
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/cookies.swift:34:46: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |     }
 33 |
 34 |     internal func saveCookies(from response: URLResponse?) {
    |                                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 35 |         guard let httpResponse = response as? HTTPURLResponse,
 36 |               let url = httpResponse.url else {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/exec.swift:27:23: error: cannot find type 'URLRequest' in scope
 25 |     /// - Returns: ``NetworkResponse``
 26 |     internal func exec( // swiftlint:disable:this function_body_length
 27 |         with request: URLRequest,
    |                       `- error: cannot find type 'URLRequest' in scope
 28 |         file: String = #file,
 29 |         line: Int = #line,
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/exec.swift:115:23: error: cannot find type 'URLRequest' in scope
113 |     /// - Returns: ``NetworkResponse``
114 |     internal func exec(
115 |         with request: URLRequest,
    |                       `- error: cannot find type 'URLRequest' in scope
116 |         completionHandler: @escaping @Sendable (NetworkResponse) -> Void,
117 |         file: String = #file,
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/exec.swift:174:46: error: cannot find type 'URLRequest' in scope
172 |
173 |     /// Builds a response for a configured mock without starting a URL session.
174 |     private func mockedResponse(for request: URLRequest) -> NetworkResponse? {
    |                                              `- error: cannot find type 'URLRequest' in scope
175 |         guard let url = request.url,
176 |               let mock = requestSettings().mocks[url.absoluteString] else {
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/logging.swift:55:39: error: cannot find type 'URLRequest' in scope
 53 |     }
 54 |
 55 |     internal func networkLog(request: URLRequest?,
    |                                       `- error: cannot find type 'URLRequest' in scope
 56 |                              session: URLSession?,
 57 |                              response: URLResponse?,
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/logging.swift:56:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 54 |
 55 |     internal func networkLog(request: URLRequest?,
 56 |                              session: URLSession?,
    |                                       `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |                              response: URLResponse?,
 58 |                              data: Data?,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/logging.swift:57:40: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 55 |     internal func networkLog(request: URLRequest?,
 56 |                              session: URLSession?,
 57 |                              response: URLResponse?,
    |                                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 58 |                              data: Data?,
 59 |                              file: String = #file,
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/logging.swift:76:46: error: cannot find type 'URLRequest' in scope
 74 |     }
 75 |
 76 |     internal func networkLogRequest(request: URLRequest) {
    |                                              `- error: cannot find type 'URLRequest' in scope
 77 |         if [
 78 |             debug.requestURL,
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/logging.swift:116:48: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
114 |     }
115 |
116 |     internal func networkLogResponse(response: HTTPURLResponse) {
    |                                                `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
117 |         log("HTTPURLResponse: HTTP \(response.statusCode)")
118 |         for (header, cont) in response.allHeaderFields {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/request.swift:160:46: error: cannot find type 'URLRequest' in scope
158 |     }
159 |
160 |     internal func createRequest(url: URL) -> URLRequest {
    |                                              `- error: cannot find type 'URLRequest' in scope
161 |         let settings = requestSettings()
162 |         // Create a URL Request
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/transfers.swift:131:18: error: cannot find type 'URLRequest' in scope
129 |         response: URLResponse?,
130 |         error: Error?,
131 |         request: URLRequest
    |                  `- error: cannot find type 'URLRequest' in scope
132 |     ) -> NetworkResponse {
133 |         let statusCode = (response as? HTTPURLResponse)?.statusCode
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/transfers.swift:129:19: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
127 |     internal func response(
128 |         from data: Data?,
129 |         response: URLResponse?,
    |                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
130 |         error: Error?,
131 |         request: URLRequest
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/transfers.swift:168:41: error: cannot find type 'URLSessionDownloadDelegate' in scope
166 | }
167 |
168 | final class TransferDelegate: NSObject, URLSessionDownloadDelegate, URLSessionDataDelegate, @unchecked Sendable {
    |                                         `- error: cannot find type 'URLSessionDownloadDelegate' in scope
169 |     private let lock = NSLock()
170 |     private let progressHandler: @Sendable (SimpleNetworking.TransferProgress) -> Void
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/transfers.swift:168:69: error: cannot find type 'URLSessionDataDelegate' in scope
166 | }
167 |
168 | final class TransferDelegate: NSObject, URLSessionDownloadDelegate, URLSessionDataDelegate, @unchecked Sendable {
    |                                                                     `- error: cannot find type 'URLSessionDataDelegate' in scope
169 |     private let lock = NSLock()
170 |     private let progressHandler: @Sendable (SimpleNetworking.TransferProgress) -> Void
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/transfers.swift:185:49: error: cannot find type 'URLRequest' in scope
183 |     }
184 |
185 |     func download(session: URLSession, request: URLRequest) async -> SimpleNetworking.NetworkResponse {
    |                                                 `- error: cannot find type 'URLRequest' in scope
186 |         let task = session.downloadTask(with: request)
187 |         return await download(task: task)
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/transfers.swift:185:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
183 |     }
184 |
185 |     func download(session: URLSession, request: URLRequest) async -> SimpleNetworking.NetworkResponse {
    |                            `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
186 |         let task = session.downloadTask(with: request)
187 |         return await download(task: task)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/transfers.swift:190:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
188 |     }
189 |
190 |     func download(session: URLSession, resumeData: Data) async -> SimpleNetworking.NetworkResponse {
    |                            `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
191 |         let task = session.downloadTask(withResumeData: resumeData)
192 |         return await download(task: task)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/transfers.swift:195:33: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
193 |     }
194 |
195 |     private func download(task: URLSessionDownloadTask) async -> SimpleNetworking.NetworkResponse {
    |                                 `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
196 |         return await withTaskCancellationHandler(operation: {
197 |             await withCheckedContinuation { continuation in
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDownloadTask = AnyObject
  |                  `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/transfers.swift:208:47: error: cannot find type 'URLRequest' in scope
206 |     }
207 |
208 |     func upload(session: URLSession, request: URLRequest) async -> SimpleNetworking.NetworkResponse {
    |                                               `- error: cannot find type 'URLRequest' in scope
209 |         let task = session.uploadTask(with: request, from: request.httpBody ?? Data())
210 |         return await upload(task: task)
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/transfers.swift:208:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
206 |     }
207 |
208 |     func upload(session: URLSession, request: URLRequest) async -> SimpleNetworking.NetworkResponse {
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
209 |         let task = session.uploadTask(with: request, from: request.httpBody ?? Data())
210 |         return await upload(task: task)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/transfers.swift:213:47: error: cannot find type 'URLRequest' in scope
211 |     }
212 |
213 |     func upload(session: URLSession, request: URLRequest, bodyFile: URL) async -> SimpleNetworking.NetworkResponse {
    |                                               `- error: cannot find type 'URLRequest' in scope
214 |         let task = session.uploadTask(with: request, fromFile: bodyFile)
215 |         return await upload(task: task)
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/transfers.swift:213:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
211 |     }
212 |
213 |     func upload(session: URLSession, request: URLRequest, bodyFile: URL) async -> SimpleNetworking.NetworkResponse {
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
214 |         let task = session.uploadTask(with: request, fromFile: bodyFile)
215 |         return await upload(task: task)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/transfers.swift:218:31: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
216 |     }
217 |
218 |     private func upload(task: URLSessionUploadTask) async -> SimpleNetworking.NetworkResponse {
    |                               `- error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
219 |         return await withTaskCancellationHandler(operation: {
220 |             await withCheckedContinuation { continuation in
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionUploadTask = AnyObject
  |                  `- note: 'URLSessionUploadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/transfers.swift:232:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
230 |
231 |     func urlSession(
232 |         _ session: URLSession,
    |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
233 |         downloadTask: URLSessionDownloadTask,
234 |         didWriteData bytesWritten: Int64,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/transfers.swift:233:23: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
231 |     func urlSession(
232 |         _ session: URLSession,
233 |         downloadTask: URLSessionDownloadTask,
    |                       `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
234 |         didWriteData bytesWritten: Int64,
235 |         totalBytesWritten: Int64,
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDownloadTask = AnyObject
  |                  `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/transfers.swift:242:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
240 |
241 |     func urlSession(
242 |         _ session: URLSession,
    |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
243 |         task: URLSessionTask,
244 |         didSendBodyData bytesSent: Int64,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/transfers.swift:243:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
241 |     func urlSession(
242 |         _ session: URLSession,
243 |         task: URLSessionTask,
    |               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
244 |         didSendBodyData bytesSent: Int64,
245 |         totalBytesSent: Int64,
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/transfers.swift:251:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
249 |     }
250 |
251 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
252 |         do {
253 |             guard let destinationURL else { throw CocoaError(.fileNoSuchFile) }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/transfers.swift:251:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
249 |     }
250 |
251 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
    |                                                          `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
252 |         do {
253 |             guard let destinationURL else { throw CocoaError(.fileNoSuchFile) }
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDownloadTask = AnyObject
  |                  `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/transfers.swift:277:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
275 |     }
276 |
277 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
278 |         lock.lock()
279 |         uploadData = (uploadData ?? Data()) + data
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/transfers.swift:277:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
275 |     }
276 |
277 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
    |                                                      `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
278 |         lock.lock()
279 |         uploadData = (uploadData ?? Data()) + data
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/transfers.swift:283:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
281 |     }
282 |
283 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
284 |         lock.lock()
285 |         defer { lock.unlock() }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/transfers.swift:283:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
281 |     }
282 |
283 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
    |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
284 |         lock.lock()
285 |         defer { lock.unlock() }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/uploadMethods.swift:108:89: error: cannot find type 'URLRequest' in scope
106 |     ///   - uploadData: The multipart upload data
107 |     /// - Returns: URLRequest or nil if URL is invalid
108 |     internal func createUploadRequest(path: String, uploadData: MultipartUploadData) -> URLRequest? {
    |                                                                                         `- error: cannot find type 'URLRequest' in scope
109 |         guard let siteURL = self.isURL(path) else {
110 |             return nil
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/uploadMethods.swift:135:75: error: cannot find type 'URLRequest' in scope
133 |     }
134 |
135 |     private func createFileBackedUploadRequest(path: String) -> (request: URLRequest, boundary: String)? {
    |                                                                           `- error: cannot find type 'URLRequest' in scope
136 |         guard let siteURL = isURL(path) else { return nil }
137 |         let boundary = generateBoundary()
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/uploadMethods.swift:183:20: error: cannot find type 'URLRequest' in scope
181 |
182 |     private func uploadFileBackedRequest(
183 |         _ request: URLRequest,
    |                    `- error: cannot find type 'URLRequest' in scope
184 |         bodyFile: URL,
185 |         onProgress: @escaping @Sendable (TransferProgress) -> Void
/host/spi-builder-workspace/Sources/SimpleNetworking/Structs/NetworkResponse.swift:55:29: error: cannot find type 'URLRequest' in scope
 53 |
 54 |         /// Request
 55 |         public var request: URLRequest
    |                             `- error: cannot find type 'URLRequest' in scope
 56 |
 57 |         /// Whether this response has a 2xx HTTP status and no transport error.
/host/spi-builder-workspace/Sources/SimpleNetworking/Structs/NetworkResponse.swift:34:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |
 33 |         /// URL Response
 34 |         public var response: URLResponse?
    |                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 35 |
 36 |         /// HTTP Status code
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SimpleNetworking/Structs/NetworkResponse.swift:52:30: error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 50 |
 51 |         /// Received cookies.
 52 |         public var cookies: [HTTPCookie]?
    |                              `- error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 |
 54 |         /// Request
Foundation.HTTPCookie:2:18: note: 'HTTPCookie' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPCookie = AnyObject
  |                  `- note: 'HTTPCookie' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SimpleNetworking/Structs/RequestDescriptor.swift:35:33: error: cannot find type 'URLRequest' in scope
33 |         public let timeout: TimeInterval?
34 |         /// An optional URL loading cache policy.
35 |         public let cachePolicy: URLRequest.CachePolicy?
   |                                 `- error: cannot find type 'URLRequest' in scope
36 |         /// The body encoding used with standard methods that carry data.
37 |         public let encoding: POSTEncoding
/host/spi-builder-workspace/Sources/SimpleNetworking/Structs/RequestDescriptor.swift:46:26: error: cannot find type 'URLRequest' in scope
44 |             headers: [HTTPHeader] = [],
45 |             timeout: TimeInterval? = nil,
46 |             cachePolicy: URLRequest.CachePolicy? = nil,
   |                          `- error: cannot find type 'URLRequest' in scope
47 |             encoding: POSTEncoding = .auto
48 |         ) {
/host/spi-builder-workspace/Sources/SimpleNetworking/Structs/RequestDescriptor.swift:68:26: error: cannot find type 'URLRequest' in scope
66 |             headers: [HTTPHeader] = [],
67 |             timeout: TimeInterval? = nil,
68 |             cachePolicy: URLRequest.CachePolicy? = nil
   |                          `- error: cannot find type 'URLRequest' in scope
69 |         ) {
70 |             self.path = path
/host/spi-builder-workspace/Sources/SimpleNetworking/Structs/SNMock.swift:21:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 |     /// Mocked HTTP Response
21 |     public let response: URLResponse?
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 |     /// Mocked HTTP Response status code
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SimpleNetworking/Structs/SNMock.swift:35:40: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |     ///   - statusCode: Mocked HTTP Response status code
34 |     ///   - error: Mocked Error (if any)
35 |     public init(data: Data?, response: URLResponse?, statusCode: Int? = 200, error: Error?) {
   |                                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 |         self.data = data
37 |         self.response = response
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SimpleNetworking/Structs/SNMock.swift:48:42: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
46 |     ///   - statusCode: Mocked HTTP Response status code
47 |     ///   - error: Mocked Error (if any)
48 |     public init(data: String?, response: URLResponse?, statusCode: Int? = 200, error: Error?) {
   |                                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
49 |         self.data = data?.data(using: .utf8)
50 |         self.response = response
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/.build/out/Intermediates.noindex/SimpleNetworking.build/Debug-webassembly-wasm32/SimpleNetworking-t.build/DerivedSources/resource_bundle_accessor.swift /host/spi-builder-workspace/Sources/SimpleNetworking/Helpers/isURL.swift /host/spi-builder-workspace/Sources/SimpleNetworking/Helpers/toJSON.swift /host/spi-builder-workspace/Sources/SimpleNetworking/PropertyWrappers/Delete.swift /host/spi-builder-workspace/Sources/SimpleNetworking/PropertyWrappers/Get.swift /host/spi-builder-workspace/Sources/SimpleNetworking/PropertyWrappers/Post.swift /host/spi-builder-workspace/Sources/SimpleNetworking/PropertyWrappers/Put.swift /host/spi-builder-workspace/Sources/SimpleNetworking/PropertyWrappers/SimpleNetworkingWrapper.swift /host/spi-builder-workspace/Sources/SimpleNetworking/PropertyWrappers/Upload.swift /host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking.swift /host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/EventSource.swift /host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/WebSocket.swift /host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/cookies.swift /host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/createHTTPBody.swift /host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/exec.swift /host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/logging.swift /host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/request.swift /host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/transfers.swift /host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/uploadMethods.swift /host/spi-builder-workspace/Sources/SimpleNetworking/Structs/Debug.swift /host/spi-builder-workspace/Sources/SimpleNetworking/Structs/FileUpload.swift /host/spi-builder-workspace/Sources/SimpleNetworking/Structs/HTTPHeader.swift /host/spi-builder-workspace/Sources/SimpleNetworking/Structs/HTTPMethod.swift /host/spi-builder-workspace/Sources/SimpleNetworking/Structs/NetworkResponse.swift /host/spi-builder-workspace/Sources/SimpleNetworking/Structs/NetworkingError.swift /host/spi-builder-workspace/Sources/SimpleNetworking/Structs/POSTEncoding.swift /host/spi-builder-workspace/Sources/SimpleNetworking/Structs/RequestDescriptor.swift /host/spi-builder-workspace/Sources/SimpleNetworking/Structs/SNMock.swift /host/spi-builder-workspace/Sources/SimpleNetworking/Structs/TransferProgress.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature StrictConcurrency -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SimpleNetworking.build/Debug-webassembly-wasm32/SimpleNetworking-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SimpleNetworking.build/Debug-webassembly-wasm32/SimpleNetworking-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SimpleNetworking.build/Debug-webassembly-wasm32/SimpleNetworking-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SimpleNetworking -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/SimpleNetworking.build/Debug-webassembly-wasm32/SimpleNetworking-t.build/Objects-normal/wasm32/SimpleNetworking_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SimpleNetworking.build/Debug-webassembly-wasm32/SimpleNetworking-t.build/Objects-normal/wasm32/Modules/SimpleNetworking.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SimpleNetworking.build/Debug-webassembly-wasm32/SimpleNetworking-t.build/Objects-normal/wasm32/Modules/SimpleNetworking.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SimpleNetworking.build/Debug-webassembly-wasm32/SimpleNetworking-t.build/Objects-normal/wasm32/SimpleNetworking-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SimpleNetworking.build/Debug-webassembly-wasm32/SimpleNetworking-t.build/Objects-normal/wasm32/SimpleNetworking-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SimpleNetworking.build/Debug-webassembly-wasm32/SimpleNetworking-t.build/Objects-normal/wasm32/SimpleNetworking-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SimpleNetworking.build/Debug-webassembly-wasm32/SimpleNetworking-t.build/Objects-normal/wasm32/Modules/SimpleNetworking.swiftmodule
[33 / 41] SimpleNetworking
error: Build failed
BUILD FAILURE 6.4 wasm