The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SimpleNetworking, reference main (dd786c), with Swift 6.4 for Wasm on 25 Sep 2026 19:25:04 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
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 dd786cd Fix lint error
Cloned https://github.com/0xWDG/SimpleNetworking.git
Revision (git rev-parse @):
dd786cdde42a983874689ccbb2d2dea537d9f48d
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-54344847-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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Building for debugging...
[Planning deferred tasks]
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking.swift:52:41: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 50 |
 51 |     /// custom session
 52 |     internal var session: URLSession? = URLSession(configuration: .ephemeral)
    |                                         `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 53 |
 54 |     /// Streaming response handler for connection open event
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking.swift:52:41: error: value of type '_' expected to be instance of class or class-constrained type
 50 |
 51 |     /// custom session
 52 |     internal var session: URLSession? = URLSession(configuration: .ephemeral)
    |                                         `- error: value of type '_' expected to be instance of class or class-constrained type
 53 |
 54 |     /// Streaming response handler for connection open event
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking.swift:70:28: error: cannot find type 'URLSessionWebSocketTask' in scope
 68 |
 69 |     /// Websocket socket
 70 |     internal var WSSocket: URLSessionWebSocketTask?
    |                            `- error: cannot find type 'URLSessionWebSocketTask' in scope
 71 |
 72 |     /// Websocket connection tries
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking.swift:28:26: error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 26 |
 27 |     /// All the cookies
 28 |     public var cookies: [HTTPCookie]? = []
    |                          `- error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |
 30 |     /// Protects mutable shared state used by concurrent async requests.
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:64:24: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 62 |
 63 |     /// URLSession Data Task
 64 |     internal var task: URLSessionDataTask?
    |                        `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 65 |
 66 |     /// 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:67:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 65 |
 66 |     /// EventSource session
 67 |     internal var ESsession: URLSession?
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |
 69 |     /// 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:117:30: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |     /// Set the session
116 |     /// - Parameter session: session
117 |     public func set(session: URLSession) {
    |                              `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
118 |         self.session = session
119 |     }
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:137:36: error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
135 |     /// Add a cookie to the storage
136 |     /// - Parameter add: cookie
137 |     public func cookie(add cookie: HTTPCookie) {
    |                                    `- error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
138 |         stateLock.lock()
139 |         defer { stateLock.unlock() }
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:161:29: error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
159 |     /// Add a cookie to the storage
160 |     /// - Parameter add: cookie
161 |     public func add(cookie: HTTPCookie) {
    |                             `- error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
162 |         stateLock.lock()
163 |         defer { stateLock.unlock() }
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:82:38: error: cannot find type 'URLSessionDataDelegate' in scope
80 | }
81 |
82 | class EventSourceDelegate: NSObject, URLSessionDataDelegate, @unchecked Sendable {
   |                                      `- error: cannot find type 'URLSessionDataDelegate' in scope
83 |     internal var onMessage: ((Data) -> Void)?
84 |
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/EventSource.swift:89:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
87 |     }
88 |
89 |     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.
90 |         onMessage?(data)
91 |     }
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:89:61: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
87 |     }
88 |
89 |     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.
90 |         onMessage?(data)
91 |     }
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 |         stateLock.lock()
 21 |         defer { stateLock.unlock() }
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:26:54: error: cannot find type 'URLRequest' in scope
 24 |     }
 25 |
 26 |     internal func addStoredCookies(to request: inout URLRequest) {
    |                                                      `- error: cannot find type 'URLRequest' in scope
 27 |         stateLock.lock()
 28 |         let storedCookies = cookies ?? []
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/cookies.swift:39:46: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 37 |     }
 38 |
 39 |     internal func saveCookies(from response: URLResponse?) {
    |                                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 40 |         guard let httpResponse = response as? HTTPURLResponse,
 41 |               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:111:23: error: cannot find type 'URLRequest' in scope
109 |     /// - Returns: ``NetworkResponse``
110 |     internal func exec(
111 |         with request: URLRequest,
    |                       `- error: cannot find type 'URLRequest' in scope
112 |         completionHandler: @escaping @Sendable (NetworkResponse) -> Void,
113 |         file: String = #file,
/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:107:46: error: cannot find type 'URLRequest' in scope
105 |     }
106 |
107 |     internal func createRequest(url: URL) -> URLRequest {
    |                                              `- error: cannot find type 'URLRequest' in scope
108 |         // Create a URL Request
109 |         var request = URLRequest(url: url)
/host/spi-builder-workspace/Sources/SimpleNetworking/SimpleNetworking/uploadMethods.swift:89:88: error: cannot find type 'URLRequest' in scope
 87 |     ///   - uploadData: The multipart upload data
 88 |     /// - Returns: URLRequest or nil if URL is invalid
 89 |     private func createUploadRequest(path: String, uploadData: MultipartUploadData) -> URLRequest? {
    |                                                                                        `- error: cannot find type 'URLRequest' in scope
 90 |         guard let siteURL = self.isURL(path) else {
 91 |             return nil
/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 |         /// Request as cURL command.
/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/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:47:42: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |     ///   - statusCode: Mocked HTTP Response status code
46 |     ///   - error: Mocked Error (if any)
47 |     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.
48 |         self.data = data?.data(using: .utf8)
49 |         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/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/SNMock.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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
error: Build failed
BUILD FAILURE 6.4 wasm