The Swift Package Index logo.Swift Package Index

Build Information

Failed to build EXIFKit, reference v0.4.0 (f5bfee), with Swift 6.4 for Wasm on 30 Oct 2026 09:59:16 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-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/RuiNelson/EXIFKit.git
Reference: v0.4.0
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/RuiNelson/EXIFKit
 * tag               v0.4.0     -> FETCH_HEAD
HEAD is now at f5bfeea Add WebP support
Cloned https://github.com/RuiNelson/EXIFKit.git
Revision (git rev-parse @):
f5bfeea7ef20991984f36395d534f0b863d26fd0
SUCCESS checkout https://github.com/RuiNelson/EXIFKit.git at v0.4.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/RuiNelson/EXIFKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-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:0ad19d16955074ecc72bbe910025b19c4e4614184c1a48afc82660d4c7620121
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/hummingbird-project/hummingbird.git
[1/28999] Fetching hummingbird
Fetched https://github.com/hummingbird-project/hummingbird.git (0.97s)
Computing version for https://github.com/hummingbird-project/hummingbird.git
Computed https://github.com/hummingbird-project/hummingbird.git at 2.28.0 (1.19s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2867] Fetching swift-nio-transport-services
[116/6482] Fetching swift-nio-transport-services, swift-metrics
[6483/13192] Fetching swift-nio-transport-services, swift-metrics, swift-nio-extras
[13193/25511] Fetching swift-nio-transport-services, swift-metrics, swift-nio-extras, swift-nio-http2
Fetched https://github.com/apple/swift-nio-transport-services.git (0.58s)
[10941/22644] Fetching swift-metrics, swift-nio-extras, swift-nio-http2
Fetched https://github.com/apple/swift-nio-extras.git (0.58s)
[4355/15934] Fetching swift-metrics, swift-nio-http2
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-ssl.git
[6203/18826] Fetching swift-metrics, swift-nio-http2, swift-service-lifecycle
[15625/35351] Fetching swift-metrics, swift-nio-http2, swift-service-lifecycle, async-http-client
Fetched https://github.com/apple/swift-nio-http2.git (1.01s)
Fetching https://github.com/apple/swift-http-types.git
[1/8381] Fetching swift-log
Fetched https://github.com/swift-server/swift-service-lifecycle.git (1.06s)
Fetched https://github.com/apple/swift-metrics.git (1.06s)
Fetched https://github.com/swift-server/async-http-client.git (1.07s)
Fetching https://github.com/apple/swift-configuration.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-distributed-tracing.git
[8382/25275] Fetching swift-log, swift-nio-ssl
Fetched https://github.com/apple/swift-log.git (0.62s)
Fetching https://github.com/apple/swift-collections.git
[676/16894] Fetching swift-nio-ssl
[4732/18855] Fetching swift-nio-ssl, swift-http-types
Fetched https://github.com/apple/swift-http-types.git (0.46s)
[9630/16894] Fetching swift-nio-ssl
Fetching https://github.com/apple/swift-async-algorithms.git
[10138/21068] Fetching swift-nio-ssl, swift-configuration
[17099/27765] Fetching swift-nio-ssl, swift-configuration, swift-distributed-tracing
Fetched https://github.com/apple/swift-configuration.git (0.57s)
[22721/23591] Fetching swift-nio-ssl, swift-distributed-tracing
Fetching https://github.com/apple/swift-atomics.git
Fetched https://github.com/apple/swift-distributed-tracing.git (0.64s)
[1/29375] Fetching swift-collections
[5876/36200] Fetching swift-collections, swift-async-algorithms
Fetched https://github.com/apple/swift-nio-ssl.git (1.35s)
[6559/122896] Fetching swift-collections, swift-async-algorithms, swift-nio
[7857/124789] Fetching swift-collections, swift-async-algorithms, swift-nio, swift-atomics
Fetched https://github.com/apple/swift-async-algorithms.git (0.58s)
[22399/117964] Fetching swift-collections, swift-nio, swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.46s)
[22240/116071] Fetching swift-collections, swift-nio
Fetched https://github.com/apple/swift-collections.git (1.27s)
[38147/86696] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (4.18s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.8.0 (5.43s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (0.16s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.19s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.7.3 (0.15s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.2 (0.97s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-asn1.git
[1/2051] Fetching swift-asn1
[678/3335] Fetching swift-asn1, swift-http-structured-headers
[1553/9494] Fetching swift-asn1, swift-http-structured-headers, swift-algorithms
[3167/17101] Fetching swift-asn1, swift-http-structured-headers, swift-algorithms, swift-certificates
Fetched https://github.com/apple/swift-algorithms.git (0.50s)
Fetched https://github.com/apple/swift-http-structured-headers.git (0.56s)
Fetched https://github.com/apple/swift-asn1.git (0.56s)
Fetched https://github.com/apple/swift-certificates.git (0.56s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.45s)
Fetching https://github.com/apple/swift-numerics.git
[1/6766] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.53s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.69s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.13.0 (0.15s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.2 (0.16s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.14s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.26s)
Fetching https://github.com/apple/swift-system.git
[1/7394] Fetching swift-system
Fetched https://github.com/apple/swift-system.git (0.67s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.4.0 (0.88s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.15s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.13.0 (0.14s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.7 (0.18s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.5 (0.23s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.18s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (0.16s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.36.2 (0.17s)
Fetching https://github.com/apple/swift-service-context.git
[1/1546] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git (0.41s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.5.1 (0.56s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.1 (0.21s)
Fetching https://github.com/apple/swift-crypto.git
[1/18859] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (1.22s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (1.41s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.3 (0.23s)
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.7.3
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.36.2
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.1
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.7
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
Creating working copy for https://github.com/apple/swift-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.0.3
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/hummingbird-project/hummingbird.git
Working copy of https://github.com/hummingbird-project/hummingbird.git resolved at 2.28.0
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.8.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.13.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.46.0
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.35.2
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.5
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.5
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.13.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.16.2
Building for debugging...
[Constructing description]
[Creating build graph]
[32 / 40] EXIFKit
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPFileHandle.swift:164:37: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
162 |     }
163 |
164 |     private func accept(_ response: HTTPURLResponse) async throws {
    |                                     `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
165 |         guard (200 ..< 300).contains(response.statusCode) else {
166 |             throw invalidHTTPResponse(response, "HTTP write returned \(response.statusCode)")
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/EXIFKit/FileHandles/HTTP/HTTPFileHandle.swift:182:79: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
180 |     }
181 |
182 |     private func upload(method: String, range: Range<UInt64>) async throws -> HTTPURLResponse {
    |                                                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
183 |         try Task.checkCancellation()
184 |         let bodyURL: URL
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/EXIFKit/FileHandles/HTTP/HTTPFileHandle.swift:266:23: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
264 |     let header: String
265 |     let value: String
266 |     init?(_ response: HTTPURLResponse) {
    |                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
267 |         if let etag = response.value(forHTTPHeaderField: "ETag"), !etag.hasPrefix("W/") {
268 |             header = "ETag"
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/EXIFKit/FileHandles/HTTP/HTTPFileHandle.swift:283:19: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
281 |     let size: UInt64
282 |     let validator: HTTPValidator?
283 |     let response: URLResponse
    |                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
284 | }
285 |
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/EXIFKit/FileHandles/HTTP/HTTPFileHandle.swift:283:9: error: stored property 'response' of 'Sendable'-conforming struct 'HTTPRangeResponse' has non-Sendable type 'AnyObject'
281 |     let size: UInt64
282 |     let validator: HTTPValidator?
283 |     let response: URLResponse
    |         `- error: stored property 'response' of 'Sendable'-conforming struct 'HTTPRangeResponse' has non-Sendable type 'AnyObject'
284 | }
285 |
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPFileHandle.swift:286:38: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
284 | }
285 |
286 | func invalidHTTPResponse(_ response: URLResponse, _ detail: String) -> URLError {
    |                                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
287 |     var info: [String: Any] = [NSLocalizedDescriptionKey: detail, "HTTPURLResponse": response]
288 |     if let url = response.url {
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/EXIFKit/FileHandles/HTTP/HTTPFileHandle.swift:294:36: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
292 | }
293 |
294 | func validateHTTPRange(_ response: URLResponse, offset: UInt64, count: Int, size: UInt64?, validator: HTTPValidator?) throws -> UInt64 {
    |                                    `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
295 |     guard let http = response as? HTTPURLResponse else { throw invalidHTTPResponse(response, "Expected HTTP response") }
296 |     if http.statusCode == 416, size == nil, http.value(forHTTPHeaderField: "Content-Range") == "bytes */0" {
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/EXIFKit/FileHandles/HTTP/HTTPFileHandle.swift:320:94: error: cannot find type 'URLRequest' in scope
318 | }
319 |
320 | func httpRangeURLRequest(url: URL, offset: UInt64, count: Int, validator: HTTPValidator?) -> URLRequest {
    |                                                                                              `- error: cannot find type 'URLRequest' in scope
321 |     var request = URLRequest(url: url)
322 |     request.setValue("bytes=\(offset)-\(offset + UInt64(count) - 1)", forHTTPHeaderField: "Range")
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPFileHandle.swift:36:76: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 34 |             resourceExists = true
 35 |         } catch let error as URLError
 36 |             where (error.userInfo["HTTPURLResponse"] as? HTTPURLResponse)?.statusCode == 404
    |                                                                            `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 37 |         {
 38 |             length = 0
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPFileUpload.swift:10:33: error: cannot find type 'URLRequest' in scope
 8 | /// Errors produced by URLSession pass through unchanged.
 9 | enum HTTPFileUpload {
10 |     static func send(_ request: URLRequest, fromFile url: URL, session: HTTPSession) async throws -> HTTPURLResponse {
   |                                 `- error: cannot find type 'URLRequest' in scope
11 |         try await HTTPUploadRequest.send(request, fromFile: url, session: session)
12 |     }
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPFileUpload.swift:10:102: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 | /// Errors produced by URLSession pass through unchanged.
 9 | enum HTTPFileUpload {
10 |     static func send(_ request: URLRequest, fromFile url: URL, session: HTTPSession) async throws -> HTTPURLResponse {
   |                                                                                                      `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |         try await HTTPUploadRequest.send(request, fromFile: url, session: session)
12 |     }
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/EXIFKit/FileHandles/HTTP/HTTPFileUpload.swift:22:25: error: type 'HTTPUploadRequest.State' does not conform to the 'Sendable' protocol
14 |
15 | private final class HTTPUploadRequest: HTTPTaskHandler {
16 |     private struct State {
   |                    `- note: consider making struct 'State' conform to the 'Sendable' protocol
17 |         var continuation: CheckedContinuation<HTTPURLResponse, any Error>?
18 |         var task: URLSessionUploadTask?
   :
20 |     }
21 |
22 |     private let state = HTTPLockedState(State())
   |                         `- error: type 'HTTPUploadRequest.State' does not conform to the 'Sendable' protocol
23 |
24 |     static func send(_ request: URLRequest, fromFile file: URL, session: HTTPSession) async throws -> HTTPURLResponse {
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPFileUpload.swift:22:25: error: type 'HTTPUploadRequest.State' does not conform to the 'Sendable' protocol
14 |
15 | private final class HTTPUploadRequest: HTTPTaskHandler {
16 |     private struct State {
   |                    `- note: consider making struct 'State' conform to the 'Sendable' protocol
17 |         var continuation: CheckedContinuation<HTTPURLResponse, any Error>?
18 |         var task: URLSessionUploadTask?
   :
20 |     }
21 |
22 |     private let state = HTTPLockedState(State())
   |                         `- error: type 'HTTPUploadRequest.State' does not conform to the 'Sendable' protocol
23 |
24 |     static func send(_ request: URLRequest, fromFile file: URL, session: HTTPSession) async throws -> HTTPURLResponse {
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPFileUpload.swift:17:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | private final class HTTPUploadRequest: HTTPTaskHandler {
16 |     private struct State {
17 |         var continuation: CheckedContinuation<HTTPURLResponse, any Error>?
   |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         var task: URLSessionUploadTask?
19 |         var cancelled = false
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/EXIFKit/FileHandles/HTTP/HTTPFileUpload.swift:18:19: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |     private struct State {
17 |         var continuation: CheckedContinuation<HTTPURLResponse, any Error>?
18 |         var task: URLSessionUploadTask?
   |                   `- error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |         var cancelled = false
20 |     }
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/EXIFKit/FileHandles/HTTP/HTTPFileUpload.swift:22:17: error: type 'HTTPUploadRequest.State' does not conform to the 'Sendable' protocol
14 |
15 | private final class HTTPUploadRequest: HTTPTaskHandler {
16 |     private struct State {
   |                    `- note: consider making struct 'State' conform to the 'Sendable' protocol
17 |         var continuation: CheckedContinuation<HTTPURLResponse, any Error>?
18 |         var task: URLSessionUploadTask?
   :
20 |     }
21 |
22 |     private let state = HTTPLockedState(State())
   |                 `- error: type 'HTTPUploadRequest.State' does not conform to the 'Sendable' protocol
23 |
24 |     static func send(_ request: URLRequest, fromFile file: URL, session: HTTPSession) async throws -> HTTPURLResponse {
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPFileUpload.swift:24:33: error: cannot find type 'URLRequest' in scope
22 |     private let state = HTTPLockedState(State())
23 |
24 |     static func send(_ request: URLRequest, fromFile file: URL, session: HTTPSession) async throws -> HTTPURLResponse {
   |                                 `- error: cannot find type 'URLRequest' in scope
25 |         let delegate = HTTPUploadRequest()
26 |         return try await withTaskCancellationHandler {
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPFileUpload.swift:24:103: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     private let state = HTTPLockedState(State())
23 |
24 |     static func send(_ request: URLRequest, fromFile file: URL, session: HTTPSession) async throws -> HTTPURLResponse {
   |                                                                                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |         let delegate = HTTPUploadRequest()
26 |         return try await withTaskCancellationHandler {
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/EXIFKit/FileHandles/HTTP/HTTPFileUpload.swift:49:60: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
47 |     func urlSession(
48 |         _: URLSession, dataTask _: URLSessionDataTask, didReceive response: URLResponse,
49 |         completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void
   |                                                            `- error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
50 |     ) {
51 |         state.withLock { state in
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPFileUpload.swift:48:12: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
46 |
47 |     func urlSession(
48 |         _: URLSession, dataTask _: URLSessionDataTask, didReceive response: URLResponse,
   |            `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
49 |         completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void
50 |     ) {
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/EXIFKit/FileHandles/HTTP/HTTPFileUpload.swift:48:36: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
46 |
47 |     func urlSession(
48 |         _: URLSession, dataTask _: URLSessionDataTask, didReceive response: URLResponse,
   |                                    `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
49 |         completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void
50 |     ) {
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/EXIFKit/FileHandles/HTTP/HTTPFileUpload.swift:48:77: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
46 |
47 |     func urlSession(
48 |         _: URLSession, dataTask _: URLSessionDataTask, didReceive response: URLResponse,
   |                                                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
49 |         completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void
50 |     ) {
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/EXIFKit/FileHandles/HTTP/HTTPFileUpload.swift:63:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
61 |
62 |     /// The response is cancelled at headers; its body is never retained.
63 |     func urlSession(_: URLSession, dataTask _: URLSessionDataTask, didReceive _: Data) {}
   |                        `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
64 |
65 |     func urlSession(_: URLSession, task _: URLSessionTask, didCompleteWithError error: (any Error)?) {
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/EXIFKit/FileHandles/HTTP/HTTPFileUpload.swift:63:48: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
61 |
62 |     /// The response is cancelled at headers; its body is never retained.
63 |     func urlSession(_: URLSession, dataTask _: URLSessionDataTask, didReceive _: Data) {}
   |                                                `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
64 |
65 |     func urlSession(_: URLSession, task _: URLSessionTask, didCompleteWithError error: (any Error)?) {
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/EXIFKit/FileHandles/HTTP/HTTPFileUpload.swift:65:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
63 |     func urlSession(_: URLSession, dataTask _: URLSessionDataTask, didReceive _: Data) {}
64 |
65 |     func urlSession(_: URLSession, task _: URLSessionTask, didCompleteWithError error: (any Error)?) {
   |                        `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 |         state.withLock { state in
67 |             defer {
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/EXIFKit/FileHandles/HTTP/HTTPFileUpload.swift:65:44: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
63 |     func urlSession(_: URLSession, dataTask _: URLSessionDataTask, didReceive _: Data) {}
64 |
65 |     func urlSession(_: URLSession, task _: URLSessionTask, didCompleteWithError error: (any Error)?) {
   |                                            `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 |         state.withLock { state in
67 |             defer {
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/EXIFKit/FileHandles/HTTP/HTTPFileUpload.swift:22:17: error: stored property 'state' of 'Sendable'-conforming class 'HTTPUploadRequest' contains non-Sendable type 'HTTPUploadRequest.State'
14 |
15 | private final class HTTPUploadRequest: HTTPTaskHandler {
16 |     private struct State {
   |                    `- note: consider making struct 'State' conform to the 'Sendable' protocol
17 |         var continuation: CheckedContinuation<HTTPURLResponse, any Error>?
18 |         var task: URLSessionUploadTask?
   :
20 |     }
21 |
22 |     private let state = HTTPLockedState(State())
   |                 `- error: stored property 'state' of 'Sendable'-conforming class 'HTTPUploadRequest' contains non-Sendable type 'HTTPUploadRequest.State'
23 |
24 |     static func send(_ request: URLRequest, fromFile file: URL, session: HTTPSession) async throws -> HTTPURLResponse {
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPSession.swift:29:60: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
27 |     func urlSession(
28 |         _ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse,
29 |         completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void
   |                                                            `- error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
30 |     )
31 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data)
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPRangeRequest.swift:13:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 |         var continuation: CheckedContinuation<HTTPRangeResponse, any Error>?
 12 |         var bytes = Data()
 13 |         var response: URLResponse?
    |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 14 |         var responseSize: UInt64 = 0
 15 |         var failure: (any Error)?
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/EXIFKit/FileHandles/HTTP/HTTPRangeRequest.swift:16:19: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 14 |         var responseSize: UInt64 = 0
 15 |         var failure: (any Error)?
 16 |         var task: URLSessionDataTask?
    |                   `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 17 |         var cancelled = false
 18 |     }
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/EXIFKit/FileHandles/HTTP/HTTPRangeRequest.swift:20:25: error: type 'HTTPRangeRequest.State' does not conform to the 'Sendable' protocol
  8 | /// The handle's session routes this task's callbacks here.
  9 | final class HTTPRangeRequest: HTTPTaskHandler {
 10 |     private struct State {
    |                    `- note: consider making struct 'State' conform to the 'Sendable' protocol
 11 |         var continuation: CheckedContinuation<HTTPRangeResponse, any Error>?
 12 |         var bytes = Data()
    :
 18 |     }
 19 |
 20 |     private let state = HTTPLockedState(State())
    |                         `- error: type 'HTTPRangeRequest.State' does not conform to the 'Sendable' protocol
 21 |     private let offset: UInt64
 22 |     private let count: Int
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPRangeRequest.swift:20:25: error: type 'HTTPRangeRequest.State' does not conform to the 'Sendable' protocol
  8 | /// The handle's session routes this task's callbacks here.
  9 | final class HTTPRangeRequest: HTTPTaskHandler {
 10 |     private struct State {
    |                    `- note: consider making struct 'State' conform to the 'Sendable' protocol
 11 |         var continuation: CheckedContinuation<HTTPRangeResponse, any Error>?
 12 |         var bytes = Data()
    :
 18 |     }
 19 |
 20 |     private let state = HTTPLockedState(State())
    |                         `- error: type 'HTTPRangeRequest.State' does not conform to the 'Sendable' protocol
 21 |     private let offset: UInt64
 22 |     private let count: Int
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPRangeRequest.swift:20:17: error: type 'HTTPRangeRequest.State' does not conform to the 'Sendable' protocol
  8 | /// The handle's session routes this task's callbacks here.
  9 | final class HTTPRangeRequest: HTTPTaskHandler {
 10 |     private struct State {
    |                    `- note: consider making struct 'State' conform to the 'Sendable' protocol
 11 |         var continuation: CheckedContinuation<HTTPRangeResponse, any Error>?
 12 |         var bytes = Data()
    :
 18 |     }
 19 |
 20 |     private let state = HTTPLockedState(State())
    |                 `- error: type 'HTTPRangeRequest.State' does not conform to the 'Sendable' protocol
 21 |     private let offset: UInt64
 22 |     private let count: Int
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPRangeRequest.swift:61:60: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 59 |     func urlSession(
 60 |         _: URLSession, dataTask _: URLSessionDataTask, didReceive response: URLResponse,
 61 |         completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void
    |                                                            `- error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 62 |     ) {
 63 |         do {
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPRangeRequest.swift:60:12: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 58 |
 59 |     func urlSession(
 60 |         _: URLSession, dataTask _: URLSessionDataTask, didReceive response: URLResponse,
    |            `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 61 |         completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void
 62 |     ) {
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/EXIFKit/FileHandles/HTTP/HTTPRangeRequest.swift:60:36: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 58 |
 59 |     func urlSession(
 60 |         _: URLSession, dataTask _: URLSessionDataTask, didReceive response: URLResponse,
    |                                    `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 61 |         completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void
 62 |     ) {
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/EXIFKit/FileHandles/HTTP/HTTPRangeRequest.swift:60:77: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 58 |
 59 |     func urlSession(
 60 |         _: URLSession, dataTask _: URLSessionDataTask, didReceive response: URLResponse,
    |                                                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 61 |         completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void
 62 |     ) {
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/EXIFKit/FileHandles/HTTP/HTTPRangeRequest.swift:78:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 76 |     }
 77 |
 78 |     func urlSession(_: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
    |                        `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 79 |         let cancel = state.withLock { state in
 80 |             guard data.count <= count - state.bytes.count else {
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/EXIFKit/FileHandles/HTTP/HTTPRangeRequest.swift:78:46: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 76 |     }
 77 |
 78 |     func urlSession(_: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
    |                                              `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 79 |         let cancel = state.withLock { state in
 80 |             guard data.count <= count - state.bytes.count else {
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/EXIFKit/FileHandles/HTTP/HTTPRangeRequest.swift:94:24: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 92 |     }
 93 |
 94 |     func urlSession(_: URLSession, task _: URLSessionTask, didCompleteWithError error: (any Error)?) {
    |                        `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 95 |         state.withLock { state in
 96 |             defer {
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/EXIFKit/FileHandles/HTTP/HTTPRangeRequest.swift:94:44: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 92 |     }
 93 |
 94 |     func urlSession(_: URLSession, task _: URLSessionTask, didCompleteWithError error: (any Error)?) {
    |                                            `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 95 |         state.withLock { state in
 96 |             defer {
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/EXIFKit/FileHandles/HTTP/HTTPRangeRequest.swift:20:17: error: stored property 'state' of 'Sendable'-conforming class 'HTTPRangeRequest' contains non-Sendable type 'HTTPRangeRequest.State'
  8 | /// The handle's session routes this task's callbacks here.
  9 | final class HTTPRangeRequest: HTTPTaskHandler {
 10 |     private struct State {
    |                    `- note: consider making struct 'State' conform to the 'Sendable' protocol
 11 |         var continuation: CheckedContinuation<HTTPRangeResponse, any Error>?
 12 |         var bytes = Data()
    :
 18 |     }
 19 |
 20 |     private let state = HTTPLockedState(State())
    |                 `- error: stored property 'state' of 'Sendable'-conforming class 'HTTPRangeRequest' contains non-Sendable type 'HTTPRangeRequest.State'
 21 |     private let offset: UInt64
 22 |     private let count: Int
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPSession.swift:9:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 | /// One URLSession per handle, so its requests reuse open connections instead of repeating TCP and TLS setup.
 8 | final class HTTPSession: Sendable {
 9 |     let session: URLSession
   |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |     /// Session callbacks are routed to the delegate registered for each task.
11 |     let router = HTTPTaskRouter()
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/EXIFKit/FileHandles/HTTP/HTTPSession.swift:9:9: error: stored property 'session' of 'Sendable'-conforming class 'HTTPSession' has non-Sendable type 'AnyObject'
 7 | /// One URLSession per handle, so its requests reuse open connections instead of repeating TCP and TLS setup.
 8 | final class HTTPSession: Sendable {
 9 |     let session: URLSession
   |         `- error: stored property 'session' of 'Sendable'-conforming class 'HTTPSession' has non-Sendable type 'AnyObject'
10 |     /// Session callbacks are routed to the delegate registered for each task.
11 |     let router = HTTPTaskRouter()
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPSession.swift:28:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 | protocol HTTPTaskHandler: Sendable {
27 |     func urlSession(
28 |         _ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |         completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void
30 |     )
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/EXIFKit/FileHandles/HTTP/HTTPSession.swift:28:42: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 | protocol HTTPTaskHandler: Sendable {
27 |     func urlSession(
28 |         _ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse,
   |                                          `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |         completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void
30 |     )
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/EXIFKit/FileHandles/HTTP/HTTPSession.swift:28:83: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 | protocol HTTPTaskHandler: Sendable {
27 |     func urlSession(
28 |         _ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse,
   |                                                                                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |         completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void
30 |     )
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/EXIFKit/FileHandles/HTTP/HTTPSession.swift:31:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |         completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void
30 |     )
31 |     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.
32 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: (any Error)?)
33 | }
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/EXIFKit/FileHandles/HTTP/HTTPSession.swift:31:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |         completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void
30 |     )
31 |     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.
32 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: (any Error)?)
33 | }
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/EXIFKit/FileHandles/HTTP/HTTPSession.swift:32:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |     )
31 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data)
32 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: (any Error)?)
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 | }
34 |
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/EXIFKit/FileHandles/HTTP/HTTPSession.swift:32:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |     )
31 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data)
32 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: (any Error)?)
   |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 | }
34 |
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/EXIFKit/FileHandles/HTTP/HTTPSession.swift:35:39: error: cannot find type 'URLSessionDataDelegate' in scope
33 | }
34 |
35 | final class HTTPTaskRouter: NSObject, URLSessionDataDelegate, Sendable {
   |                                       `- error: cannot find type 'URLSessionDataDelegate' in scope
36 |     private let handlers = HTTPLockedState<[Int: any HTTPTaskHandler]>([:])
37 |
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPSession.swift:39:61: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 |
38 |     /// Register before resuming the task so no callback is missed.
39 |     func register(_ handler: any HTTPTaskHandler, for task: URLSessionTask) {
   |                                                             `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |         handlers.withLock { $0[task.taskIdentifier] = handler }
41 |     }
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/EXIFKit/FileHandles/HTTP/HTTPSession.swift:43:34: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |     }
42 |
43 |     private func handler(_ task: URLSessionTask) -> (any HTTPTaskHandler)? {
   |                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 |         handlers.withLock { $0[task.taskIdentifier] }
45 |     }
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/EXIFKit/FileHandles/HTTP/HTTPSession.swift:49:60: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
47 |     func urlSession(
48 |         _ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse,
49 |         completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void
   |                                                            `- error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
50 |     ) {
51 |         guard let handler = handler(dataTask) else { return completionHandler(.cancel) }
/host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPSession.swift:48:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
46 |
47 |     func urlSession(
48 |         _ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
49 |         completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void
50 |     ) {
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/EXIFKit/FileHandles/HTTP/HTTPSession.swift:48:42: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
46 |
47 |     func urlSession(
48 |         _ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse,
   |                                          `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
49 |         completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void
50 |     ) {
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/EXIFKit/FileHandles/HTTP/HTTPSession.swift:48:83: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
46 |
47 |     func urlSession(
48 |         _ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse,
   |                                                                                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
49 |         completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void
50 |     ) {
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/EXIFKit/FileHandles/HTTP/HTTPSession.swift:55:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |     }
54 |
55 |     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.
56 |         handler(dataTask)?.urlSession(session, dataTask: dataTask, didReceive: data)
57 |     }
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/EXIFKit/FileHandles/HTTP/HTTPSession.swift:55:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |     }
54 |
55 |     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.
56 |         handler(dataTask)?.urlSession(session, dataTask: dataTask, didReceive: data)
57 |     }
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/EXIFKit/FileHandles/HTTP/HTTPSession.swift:59:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 |     }
58 |
59 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: (any Error)?) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 |         let handler = handlers.withLock { $0.removeValue(forKey: task.taskIdentifier) }
61 |         handler?.urlSession(session, task: task, didCompleteWithError: error)
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/EXIFKit/FileHandles/HTTP/HTTPSession.swift:59:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 |     }
58 |
59 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: (any Error)?) {
   |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 |         let handler = handlers.withLock { $0.removeValue(forKey: task.taskIdentifier) }
61 |         handler?.urlSession(session, task: task, didCompleteWithError: error)
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
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/EXIFKit/EXIFKit.swift /host/spi-builder-workspace/Sources/EXIFKit/FileHandles/AbstractFileHandle.swift /host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPFileHandle.swift /host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPFileUpload.swift /host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPRangeRequest.swift /host/spi-builder-workspace/Sources/EXIFKit/FileHandles/HTTP/HTTPSession.swift /host/spi-builder-workspace/Sources/EXIFKit/FileHandles/InMemoryFileHandle.swift /host/spi-builder-workspace/Sources/EXIFKit/FileHandles/LocalFileHandle.swift /host/spi-builder-workspace/Sources/EXIFKit/Formats/ISOBaseMedia/HEIF.swift /host/spi-builder-workspace/Sources/EXIFKit/Formats/ISOBaseMedia/ISOBMFF.swift /host/spi-builder-workspace/Sources/EXIFKit/Formats/ISOBaseMedia/JXL.swift /host/spi-builder-workspace/Sources/EXIFKit/Formats/JPEG.swift /host/spi-builder-workspace/Sources/EXIFKit/Formats/PNG.swift /host/spi-builder-workspace/Sources/EXIFKit/Formats/RAW/CR3.swift /host/spi-builder-workspace/Sources/EXIFKit/Formats/RAW/RAF.swift /host/spi-builder-workspace/Sources/EXIFKit/Formats/RAW/RAWFormats.swift /host/spi-builder-workspace/Sources/EXIFKit/Formats/TIFF/CameraMake.swift /host/spi-builder-workspace/Sources/EXIFKit/Formats/TIFF/IFD.swift /host/spi-builder-workspace/Sources/EXIFKit/Formats/TIFF/ImageColorSpace.swift /host/spi-builder-workspace/Sources/EXIFKit/Formats/TIFF/ImageOrientation.swift /host/spi-builder-workspace/Sources/EXIFKit/Formats/TIFF/LensMake.swift /host/spi-builder-workspace/Sources/EXIFKit/Formats/TIFF/TIFF.swift /host/spi-builder-workspace/Sources/EXIFKit/Formats/TIFF/TIFFFile.swift /host/spi-builder-workspace/Sources/EXIFKit/Formats/TIFF/TIFFStructure+Convenience.swift /host/spi-builder-workspace/Sources/EXIFKit/Formats/TIFF/TIFFStructure+CoreLocation.swift /host/spi-builder-workspace/Sources/EXIFKit/Formats/TIFF/Tags.swift /host/spi-builder-workspace/Sources/EXIFKit/Formats/TIFF/Thumbnail.swift /host/spi-builder-workspace/Sources/EXIFKit/Formats/WebP.swift /host/spi-builder-workspace/Sources/EXIFKit/Metadata/FileEditing.swift /host/spi-builder-workspace/Sources/EXIFKit/Metadata/MetadataEditing.swift /host/spi-builder-workspace/Sources/EXIFKit/Metadata/MetadataReader.swift /host/spi-builder-workspace/Sources/EXIFKit/Support/ByteReader.swift /host/spi-builder-workspace/Sources/EXIFKit/Support/ContainerIndex.swift /host/spi-builder-workspace/Sources/EXIFKit/Types.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 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -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/EXIFKit.build/Debug-webassembly-wasm32/EXIFKit-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/EXIFKit.build/Debug-webassembly-wasm32/EXIFKit-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/EXIFKit.build/Debug-webassembly-wasm32/EXIFKit-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name EXIFKit -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/EXIFKit.build/Debug-webassembly-wasm32/EXIFKit-t.build/Objects-normal/wasm32/EXIFKit_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/EXIFKit.build/Debug-webassembly-wasm32/EXIFKit-t.build/Objects-normal/wasm32/Modules/EXIFKit.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/EXIFKit.build/Debug-webassembly-wasm32/EXIFKit-t.build/Objects-normal/wasm32/Modules/EXIFKit.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/EXIFKit.build/Debug-webassembly-wasm32/EXIFKit-t.build/Objects-normal/wasm32/EXIFKit-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/EXIFKit.build/Debug-webassembly-wasm32/EXIFKit-t.build/Objects-normal/wasm32/EXIFKit-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/EXIFKit.build/Debug-webassembly-wasm32/EXIFKit-t.build/Objects-normal/wasm32/EXIFKit-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/EXIFKit.build/Debug-webassembly-wasm32/EXIFKit-t.build/Objects-normal/wasm32/Modules/EXIFKit.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm